So I recently got Shiney570's Quicksave script, thinking that it would give a more authentic, emulated experience in my fangame. But I ran into problems right away
Whenever I load a previously saved state, my dependencies get messed up.
Like, if I have a pokemon following me when I have saved a state, when afterwards I load that particular state, the dependent pokemon is miles away from me and when I move, it moves too, but it moves int its particular region. Here's a screenshot-