Opcode Details | ||
---|---|---|
Opcode | 0x3B | |
Name | FlipWorld | |
Supported In | All | |
Category | Miscellaneous Opcodes | |
All Opcodes | ||
Previous Opcode | 0x3A CutsceneEndWorld | |
Next Opcode | 0x3C PlayCD |
Arguments:
- byte sideFlag
Description[]
If flag is 0, load Clouds data. If flag is 1, load Darkside data.
Notes[]
This does not actually move to the given side instantly, nor automatically. Instead, it appears to set an internal flag (byte_618B2) which is later used in the loadMap (and other) function. The flag may be checked at the end of event handling. More investigation is required.[verification needed]
Code actually only accepts 0 or 1, and does nothing otherwise, but should be easy enough to extend to support multi-world games.
TODO: Once the flag is set, when is it acted upon?[verification needed]