I'm sorry, but it's a bit weird.
How would that work?
I know it really isn't that hard to understand, but for some reason, i can't figure that out. Like for example, do i put that in the same event or a different one? and why is there lock but no faceplayer?
Yeah sorry, I know it's a bit hard to understand. It was just an example to show how to use the flags. You could add in whatever you want.
The reason there is no faceplayer is because there was no NPC to talk to the player in that example.
Look again at that script, just pay attention to what the flags are doing.
Flag 0x1001 is set when you do the event, for example in the first town.
Like collecting Oak's Parcel.
Because the script just ends if this flag is not set, when the player walks over the tile for the first time, on the way from Pallet Town, just after recieving a Pokémon, nothing happens.
On the way back down, because the player did the event and set the flag 0x1001, the script jumps to the point at which it does something. You could add a movement or wildbattle or whatever.
At the end of this the script sets another flag, 0x1002 which is added into the script before it's set (if that makes sense) to ensure that the event is not repeated. Alternatively the part that goes
checkflag 0x1002
if B_true goto $done
could be placed at the top of the script after the 'lock' command. That 0x1002 flag is set by the script on the route.
I hope you understand this because, I'm not very good at explaining stuff! If you're still having trouble i'll PM you a complete script to put into your game.
Right now though, I have to go to bed. It's getting late in England!
can someone make me a script where someone follows though the whole game
That's near on impossible to do, unless you're any good at ASM. Don't look at me because just looking at the ASM tutorials give me a headache.
You could always add in somebody to the players sprite, but they would follow you right from the beginning and it looks dodgy when you go round corners!