The frames begin at around 35 due to wandering NPC's. Past there, just call Elm a few times and look for the combination you get.
For encounter slots, use the Bug-Contest function in 9.94 (the frames are wrong, though, so just use it to calculate encounter slots for a spread.)