Ok, this is frustrating. I'm working on a map that has several actions to complete (Pokéball, Pokédex etc). And I want to make it so that if you walk away before you get your Pokémon you will get MSG A and do Movement A (walk up). That way you can't get away before you have your Pokémon.
After you have your Pokémon and you walk away, I want to get MSG B and Movement A untill you talk to the only person there so he can tell you to get a Pokédex. If you talked to him and you then walk away before getting the Pokedex, I want to get MSG C and Movement A. If you get the Pokédex and then walk away I want to get MSG D and Movement A. If you then talk to the person again, I want the script to finish and you can walk through without any messages.
I KNOW how to do it, the only problem is that everytime I fix one part of one of the script, another part seems to **** UP. Either a part of the script becomes something COMPLETELY else or a message becomes random signs.
It's like the whole thing is a line getting from A to B and along the way are several points. And everytime I straighten one point out, so it becomes a line, another point gets ****ed up and I have to straighten that one out. But if I do that, a different point gets ****ed up. And I keep straightening everything and it keeps getting ****ed up.
How the **** do I fix this, because it's becoming really frustrating?
To add: here are the scripts as they SHOULD be, without any lines getting messed up.
First this one, this will take you to the next map:
Then you should take a Pokémon, but to prevent you from walking away there is this script. This script also prevents you from walking off before you get your Pokedex (after getting the Pokemon) and after talking to a person for the last time (after getting your Pokedex):
After getting the Pokémon, the previous scripts prevents you from walking away. You need to talk to someone. This is the script for that someone.
This person tells you to get the Pokédex, which has the following script:
The following things get messed up:
In the first script:
becomes random signs.
In the second script:
dissapears and becomes the word 'nop'
In the third script
the setvar 0x7022 0x1 command changes into setvar 0x7022 0xD9D1, strange enough.
In the last script
just becomes nonsense.