Cutscene help, move route help, NPC won't change direction

Hi. I'm really new to this program so apologies if this is something that's really obvious.

I want the player to follow this NPC into the tiny room, but for some reason the NPC never turns up and walks up despite the code telling him to move up in the move route, he just runs straight into the wall. When I set him to through, he just keeps going left to the end of the map. I know for a fact I didn't give him that many left codes which is why I'm so confused.

I have one single auto run event controlling everything in a wall. Here are some screenshots.

[IMG]http://gyazo.com/6a2c442cec28371d6ed403a4f32053c2.png[/IMG]

[IMG]http://gyazo.com/fad31b417fce731579194b9386e25b6a.png[/IMG]

[IMG]http://gyazo.com/e023221ba55c393f661bea462130c4ab.png[/IMG]

[IMG]http://gyazo.com/dc9e69220babfa100357c2969f829e56.png[/IMG]

I know the player move route right now is probably wrong, I'm not worried about him right now since the guard is in the way.

Thankyou for your time.

EDIT: Even if I erase the guards code and give him only one left code he goes all the way to the wall...
An autorun event repeats by default. So once it's run once, it'll go to the top and start over. Your NPC will keep walking, even after it's completed the path you told it to follow. At the end of your move routes, turn on a self switch, then add an extra page conditioned by that self switch, leaving EVERYTHING else as it already is.


Though, if you have more for them to do, you should really add it in to the same page. Don't use heaps of events with multiple pages and switches and autoruns to try and botch together a complete cutscene - it's easier if you just do it all within the one event, whenever possible. Use a Wait on your second move route so it'll finish, and then you can add whatever you want to happen next.
I got it to work! Thank you very much Shaz! You probably saved me 5 hours of head scratching!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/cutscene-help-move-route-help-npc-wont-change-direction.15613/