Game Development Reference
In-Depth Information
@>Control Variables: [0002:X] = Player's Map X
@>Control Variables: [0003:Y] = Player's Map Y
@>Conditional Branch: Variable [0002:X] == 24
@>Conditional Branch: Variable [0003:Y] == 51
@>Control Variables: [0011:DungeonLocation] = 0
@>Transfer Player:[015:Cave Entrance] (029,005), Down
@>
: Branch End
@>
: Branch End
@>
Next, we have to handle the other possible dungeon exit. The following code belongs to the transfer event in
Rocksdale:
@>Control Variables: [0002:X] = Player's Map X
@>Control Variables: [0003:Y] = Player's Map Y
@>Conditional Branch: Variable [0002:X] == 30
@>Conditional Branch: Variable [0003:Y] == 44
@>Control Variables: [0011:DungeonLocation] = 4
@>Transfer Player:[016:Abandoned MineFB1] (003,034), Up
@>
: Branch End
@>
: Branch End
@>
Note how we set DungeonLocation to 4 here instead of 3. The last transfer event to be tweaked is the one that
leads from the staircase at Abandoned Mine FB1 to the mountain village.
@>Control Variables: [0002:X] = Player's Map X
@>Control Variables: [0003:Y] = Player's Map Y
@>Conditional Branch: Variable [0002:X] == 4
@>Conditional Branch: Variable [0003:Y] == 34
@>Control Variables: [0011:DungeonLocation] = 0
@>Transfer Player:[019:Mountain Village] (030,045), Down
@>
: Branch End
@>
: Branch End
@>
With that said and done, we have only to tweak the common event that governs our exit code, and we're all set,
like so:
@>Conditional Branch: Variable [0011:DungeonLocation] == 3
@>Change Items: [Exit Scroll], -1
@>Control Variables: [0011:DungeonLocation] = 0
@>Transfer Player:[003:Field 3] (021,067), Down
@>
: Branch End
 
Search WWH ::




Custom Search