Just use the var that you used in the var number box. Then put the value (0x1 0x2 ect) in the value box. Rember if your var value is 0x1 leave the var value box in A-Map 0000. This is because the var value determines a set order in which events occur. For example, a script with var number 0x6000 0x2 will only happen after var 0x6000 0x1 is set. (At least I think, I could be wrong. Test it out for me and see what happens) If I am wrong then I do know another way you can use var values but I'll leave that for another time.
Hey thanks! I now finally understand the whole flag concept, thanks to you
But, of course, I have another question (they will never stop :O XD)
You said, for the aplpymovement script to work on a Script Tile, I have to use setvar. So if I were to do this: setvar 0x1771 (6001 in Hex) 0x1 or something. In A-Map, what do I put in when I select the script tile. I'; m talking about Var number and Var value, would the value be 0x1 and the number 0x1771? And how do I put that in the boxes? just 1771 or do I use dec instead of Hex? Thx
Wait, is this on a script tile? If so you HAVE to have a setvar at the end and put it in the var box on the script tile. About the other thing, all you have to do is use a free flag/var. I'm pretty sure there's a list of used flags/vars in XSE, just use the one after the highest used one and up. If that doesn't work I know that flags 1000 and up are free and vars 6000 and up are free.
Sorry to bother you, but again the applymovement script. It's not working for me on either VBA or No$GBA. Tried tweaking it, with faceplayer and lock, without etc that kinda stuff. But the thing is, when it was without message, it worked, the applymovement. And with message, just freezes. This is the script:
And I have another question actually, how do I make sure, that when I step on the tile again, it doesn't re-happens. Flags right? But I don't understand quite how I can know which flag/special to use, or how to use setvar in a way to help me.
The only alternate method of making a script happen once is the setvar command, you use these on every script tile but if you use the command by itself, the script will only happen once. The only way you didn't mention how you can use falgs is making what I call sequence events. Basically you set a flag at the end of one script, check the same falg at another script, and then you will have one script only do something after the completion of another script. For example, say you wanted to have a guy stand in front of a cave and not move, for him to move the player has to get a letter. Let's say the postman is on the other side of town and if the player talks to him they get the letter. In the postman's script you want to set a flag, let's say 0x1000. Then if you go back to the guy in front of the cave he will let you in. This is because in his script you have a checkflag 0x1000 (or any other flag that you used) and if that flag is set he moves out of the way.
S I tried about everything, but the applymovement, I think it just might be a faulty script or something.
But again I have a question
It's about flags. I know that with flags, you can make an OW disappear, and activate badges and Pokemon menu and stuff. But is there a way to use them differently? Let's say, I want to let an event happen, but only once. And I can't use one of the flags mentioned earlier. What do I do?
Thanks again for all your help!
Firstly I would use VBA instead and I really don't know, sorry. I think you should take this one to the script help thread. The only thing I could even try to recommend is to make your movements in groups of 9 instead of groups of 10.
Ok I listed them in a different way still didn't work. So I tried it in an entire clean rom. Then, when I stand on the script tile, I get a message from No$GBA: The Rom-Image has crashed.
Thanks for everything btw.