I use the default one, hit the seed and see what frame I got. Then, I use the frame I got to subtract the target frame to see how many advance that I need to do less.Very good. Can you confirm which value you used to calculate advances required? Did you use the default (seems to be 28), or use the "calculate initial frame" tick box?
For example: I use the default 28 and my target frame is 32 so I have to say no to prof. Juniper 4 times. Then, I will find the frame I hit (like Princess of Johto's guide said). The frame I hit is 33 but the frame I want to get is 32 so I subtract them. 33 - 32 = 1 so I will have to say no to Prof. Juniper 1 less advance. I start the game again but this time I say no to Prof. Juniper 3 times instead of 4 and that's how I got the ID I want.