Apr 6, 2010 at 3:26 AM
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
Flags 101, again
Alright, I'm guessing you have no idea how flags work...
Allow me to link you to a previous post of mine about Flags. {Bit flags are different from what you're asking for, but you should learn them nonetheless}
After you read that, you should understand what you want to do better.
Basically, I'm guessing you want the "Entrance" event, the one that runs on the map that you're <TRA-ing too, to have the Flag jump and do something else.
Here's how you should basically set it up.
Let Event 0094 be the normal event, and let Event 0095 be the one you want to use later.
Now, see the <FLJ command? The first set of digits is the flag it checks. If that flag is set, it will jump to the event specified in the next set of digits. {In this case, event 0095} If not, it will resume the current event like normal.
As long as Flag 0001 is not set, event 94 will always run and music 0000 will play.
If Flag 0001 is set, event 95 will run instead and music 0001 will play.
<FL+0001 would set 0001, and <FL-0001 would unset it.
Use this in combination with several other flags and commands and such, let your imagination run wild, and you've got a lot of room to do most anything, here.
I love flags
Alright, I'm guessing you have no idea how flags work...
Allow me to link you to a previous post of mine about Flags. {Bit flags are different from what you're asking for, but you should learn them nonetheless}
After you read that, you should understand what you want to do better.
Basically, I'm guessing you want the "Entrance" event, the one that runs on the map that you're <TRA-ing too, to have the Flag jump and do something else.
Here's how you should basically set it up.
Let Event 0094 be the normal event, and let Event 0095 be the one you want to use later.
Code:
#0094
[B]<FLJ0001:0095[/B]<MNA<CMU0000<FAI0000<END
#0095
<MNA<CMU0001<FAI0000<END
As long as Flag 0001 is not set, event 94 will always run and music 0000 will play.
If Flag 0001 is set, event 95 will run instead and music 0001 will play.
<FL+0001 would set 0001, and <FL-0001 would unset it.
Use this in combination with several other flags and commands and such, let your imagination run wild, and you've got a lot of room to do most anything, here.
I love flags
Last edited by a moderator: