Ok, I know that I keep asking a ton of questions and never seem to get anywhere, but this is really bugging me.
I followed what Rocket Boss Giovanni said about calling Elm until I was one frame away, but still I am getting the wrong IVs. I've tried it twice, by the way, with different seeds...