Yes, I did notice that. Just to make sure, you are using the person event number that you can change, correct? You wouldn't be the first to mess that up, myself included.
Just a trick, open it up after you compiled it. Does it look like it should?
Also, it is not necessary to specify the person event number on waitmovement. Waitmovement 0x0 will halt all execution until all preceding applymovement scripts have completed.