[SOLVED] Turns out changing the Unknown, Var Number and Var Value numbers fixed the problem. This can be marked Solved.
I'm working on a FireRed hack and I want Oak to upgrade the Pokedex before the player leaves Pallet Town after getting the Pokedex. I'm running into a problem with my script. It works up until after the lockall command (I believe, it could be the movements that are wrong). [EDIT] I can say for certain that the script is no longer the problem. I must be something else. I don't have any value in the Unknown, Var Number and Var Value boxes if that's the problem.
Notes are in <<<>>>
So help to get this working would mean a lot. I'm new to scripting.