Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
November 7th, 2012 (7:25 AM).
Originally Posted by
Basically, in a part of your trigger your script, you are going to want to check if a separate event happened first before it activates: then it goes to the right script depending on whether the event happened or not.
So somewhere in your trigger script, you'll need to put a:
checkflag 0x200 (or any other flag number)
if 0x1 goto @done (or any pointer)
It'll make the script check if another event has happened yet. Therefore, in a separate event, you'll need to put a:
setflag 0x200 (the same flag number we are checkign for above)
When that flag is set, the trigger script will check and see that the event already happened, and allow you to do anything you want (advance into next area, etc..)
Ok so I tried doing that and came up with this script.
if 0x1 goto @done
applymovement 0x4 @move
msgbox @1 0x6
applymovement 0x4 @move2
msgbox @2 0x6
= Wait! You cant go out\pWithout a Pokemon!
It made the game freeze as soon as I stepped on the tile
Do you know what I did wrong?
Joined Nov 2012
View Public Profile
Send a private message to crystalmole
Find all posts by crystalmole
Find threads started by crystalmole
Ignore Posts by crystalmole