goma_cave_waterway.c
Goma Cave: the waterway rooms, where a stump leaps away under Move.
games/tbs/src/scene/goma_cave_waterway.c on GitHub
Goma Cave: the waterway rooms, where a stump leaps away under Move.
Functions
Event_MoveStump
static void Event_MoveStump(void)
Move on the stump: from column 24 it spins, leaps away and lies where it lands.
Used by gGomaCaveEntranceEvents, gGomaCaveWaterwayEventsOther.
Scene_Initialize
s32 Scene_Initialize(void)
Arriving by entrance 5 shows no place name; otherwise the stump lies where the party moved it.
GomaCaveWaterway_SpinStump
static void GomaCaveWaterway_SpinStump(union FieldObject *object)
The leaping stump's update hook turns its sprite a fixed amount per frame.
Used by GomaCaveWaterway_LeapStump.
GomaCaveWaterway_LeapStump
static void GomaCaveWaterway_LeapStump(s32 no)
The stump spins in place, leaps and lands with a shake and a ring of dust, then comes to rest a little further on.
Used by Event_MoveStump.
Also, functions without a comment: Scene_GetEntrances, Scene_GetRegions, Scene_GetExits, Scene_GetPlacements, Scene_GetEvents.
Macros, without a comment: STUMP.
Globals, without a comment: gEffectScript0, gEffectScript1, gEffectScript2, gEffectScripts, gGomaCaveWaterwayEntrancesOther, gGomaCaveWaterwayEntrances2, gGomaCaveWaterwayExits, gGomaCaveWaterwayPlacementsOther, gGomaCaveWaterwayPlacements2, gGomaCaveWaterwayEventsOther, gGomaCaveWaterwayEvents2.