Game Development Reference
In-Depth Information
@>Change Items: [Arena Token], + 2
@>Control Switches: [0014:RankDChallenge] = OFF
@>Control Switches: [0014:ArenaWin] = OFF
@>Jump to Label: Done
@>
: Branch End
@>Label: Done
@>Recover All: Entire Party
@>
This is the first half of the pair of events for Rank D challenges. As the pair of conditional branches and their
contained text will imply, this is the page that requires that the player clear his/her challenge. We start with a Fadein
(as the event on the other map ended with a Fadeout) and a one-second wait time after the screen fades in. Afterward,
what executes next depends on whether the player has cleared Rank D before or not. If he/she has not, the first branch
triggers, and the player is congratulated on the first-time win and earns two Arena Tokens. (I replaced item #14 to add
them to the game; they are a Key Item that cannot be consumed, used, or sold from the player's inventory.) Afterward,
because the player is through competing for the moment, we flip off the pair of switches that have been flipped on
(in this case, RankDChallenge and ArenaWin ) and flip on the RankDClear switch. That Jump to Label is not superfluous.
Because the player now has RankDClear switched on, the next branch will execute automatically, unless we skip it
via a label jump. That branch, incidentally, is what executes when the player has already beaten Rank D before and is
just repeating the challenge. After a minor berating by the NPC, the player earns his/her reward, and the two relevant
switches flip off. On the other hand, here's the loss event for Rank D challenges:
@>Fadein Screen
@>Wait: 60 frame(s)
@>Text: -, -, Normal, Bottom
: : Don't sweat it. It happens to the best of
: : us. Get a bit stronger and come back fighting!
@>Recover All: Entire Party
@>Control Switches: [0014:RankDChallenge] = OFF
@>Control Switches: [0012:ArenaLoss] = OFF
@>
As you can see, it's pretty much a little fluff, then the party is healed, and then the challenge and arena loss
switches are flipped off. Rather simple compared to the win event, isn't it? Now, win or lose, we're back at our starting
location. The player can choose to attempt another challenge (including taking the Rank C challenge, if he/she beats
Rank D on his/her first attempt) or go do something else.
Miscellaneous Arena Considerations
There are only two things left to cover with the arena. First, let's include the code of the Arena Battle event when the
player has beaten Rank D.
@>Conditional Branch: Switch [0008:RankDClear] == ON
@>Conditional Branch: Switch [0009:RankCClear] == OFF
@>Show Choices: Rank D, Rank C, Nevermind
: When [Rank D]
@>Jump to Label: RankDChallenge
@>
: When [Rank C]
 
Search WWH ::




Custom Search