No Encounter Slots have nothing to do with the frame
Each frame has a different encounter slot
You need to find the frame with your desired encounter slot
Advance your frame to that encounter slot and you have your pokemon
Obviously sweet scenting before your frame because Sweet scent advances the frame by 2 in grass caves (in DPPt)
And 3 on water (In DPPt)
Im not sure about HG/SS
Each frame has a different encounter slot
You need to find the frame with your desired encounter slot
Advance your frame to that encounter slot and you have your pokemon
Obviously sweet scenting before your frame because Sweet scent advances the frame by 2 in grass caves (in DPPt)
And 3 on water (In DPPt)
Im not sure about HG/SS