This continues documentation of the distortion world overlay by
identifying the events for 4F and documenting the various event commands
used.
This floor only contains two events that plays the animation where
Giratina's shadow flies through the screen (once horizontally, and once
vertically).
The following event commands were identified:
- Event command 7: plays the Giratina shadow animation based on the
specified template
- Event command 8: sets a flag in the Giratina animation system var
The values of the Giratina shadow animation generated enum were also
updated to better reflect where they are being used.
Signed-off-by: Kuruyia <github@kuruyia.net>
This continues documentation of the distortion world overlay by
identifying the events for 2F and documenting the various event commands
used.
This floor contains the moving platform puzzle in which the player must
take the correct sequence of platforms to progress to the next floor.
This is why this floor contains a good amount of events, all
corresponding to triggers that move platforms around.
As such, the following naming scheme has been adopted to name the event
structs and related command parameter structs:
- Event structs: `sMapEventB2F_P<Platform><Cardinal>`
- Command parameter structs: `sMapEventCmdParamsB2F_P<Platform><Cardinal>_<Event command #>`
Using the following variables:
- `<Platform>`: the platform number on which the event trigger is
located
- `<Cardinal>`: the first letter of the cardinal direction where the
event trigger is located on the platform (N/E/S/W for
North/East/South/West)
The following event commands were identified:
- Event command 0: plays an animation on the map object with the
specified local ID
- Event command 1: moves the specified moving platform to the specified
relative coordinates, with the specified speed
Signed-off-by: Kuruyia <github@kuruyia.net>