Goma Cave's entrance: the stump caught in ivy, the two pillars, and Ivan, who rejoins the party and blows the ivy away with Whirlwind. More...
Go to the source code of this file.
Macros | |
| #define | STUMP 8 |
| #define | WEST_PILLAR 9 |
| #define | EAST_PILLAR 10 |
| #define | STUMP_IVY 15 |
| the ivy holding the stump | |
| #define | IVY 16 |
Functions | |
| static void | GomaCaveEntrance_WhirlwindOnStumpIvy (void) |
| Ivan casts Whirlwind on the stump's ivy, and the scene waits for it. | |
| static void | GomaCaveEntrance_LeapStump (s32 id) |
| The stump spins in place, leaps and lands with a shake and a ring of dust, then comes to rest a little further on. | |
| static void | GomaCaveEntrance_GiveShamansRod (void) |
| Gives Ivan the Shaman's Rod and equips it. | |
| static void | GomaCaveEntrance_SayThenWait (s32 actorId, s32 frames) |
| Shows the next message over the speaker, then pauses. | |
| const struct SceneEntrance * | Scene_GetEntrances (void) |
| const struct SceneRegion * | Scene_GetRegions (void) |
| const u32 * | Scene_GetExits (void) |
| Both scenes share one exit table. | |
| const struct ScenePlacement * | Scene_GetPlacements (void) |
| static void | Event_MoveWestPillar (void) |
| Move on the west pillar, and after each push: the pillar stands on one of three columns, and the map cells and flags follow it. | |
| static void | Event_MoveEastPillar (void) |
| Move on the east pillar: once it reaches column 23 it settles into the floor and can be walked over. | |
| static void | Event_PushWestPillar (void) |
| Walking into the west pillar from the west (trigger 5) or the east (trigger 6): the leader leans on it and pushes it one step. | |
| static UNUSED void | GomaCaveEntrance_NoOpA (void) |
| Reserved overlay hook; no current scene calls it. | |
| static UNUSED void | GomaCaveEntrance_NoOpB (void) |
| A second reserved hook, also unused by the scene. | |
| static void | Event_BlowAwayIvy (void) |
| Whirlwind on the other ivy: it is blown away for good. | |
| const struct SceneEvent * | Scene_GetEvents (void) |
| s32 | Scene_Initialize (void) |
| Puts the stump and pillars where the party left them, and the stump's ivy away once Ivan has blown it off. | |
| static void | Event_IvanRejoins (void) |
| Move on the stump while the ivy holds it: Garet says their Psynergy is not strong enough. | |
| static void | Event_MoveStump (void) |
| Move on the freed stump: from column 11 it spins, leaps away and lies where it lands. | |
| static void | GomaCaveEntrance_SpinStump (union FieldObject *fieldObject) |
| The leaping stump's update hook turns its sprite a fixed amount per frame. | |
Variables | |
| s32 | gEffectScript0 [] |
| s32 | gEffectScript1 [] |
| s32 | gEffectScript2 [] |
| const s32 * | gEffectScripts [] |
| s32 | gGomaCaveEntranceTallIvyScript [] |
| struct SceneEntrance | gGomaCaveEntranceEntrances [] |
| u32 | gGomaCaveEntranceExits [] |
| struct ScenePlacement | gGomaCaveEntrancePlacements [] |
| struct SceneEvent | gGomaCaveEntranceEvents [] |
Goma Cave's entrance: the stump caught in ivy, the two pillars, and Ivan, who rejoins the party and blows the ivy away with Whirlwind.
Definition in file goma_cave_entrance.c.
| #define STUMP 8 |
Definition at line 43 of file goma_cave_entrance.c.
Referenced by Event_MoveStump(), Event_MoveStump(), Event_PushStumpOver(), GomaCavePillar_SpawnStumpDust(), and Scene_Initialize().
| #define WEST_PILLAR 9 |
Definition at line 44 of file goma_cave_entrance.c.
Referenced by Event_MoveWestPillar(), Event_MoveWestPillar(), Event_PushWestPillar(), and Scene_Initialize().
| #define EAST_PILLAR 10 |
Definition at line 45 of file goma_cave_entrance.c.
Referenced by Event_MoveEastPillar(), Event_WitnessCheersForgeCaught(), GomaCavePillar_SettleEastPillar(), and Scene_Initialize().
| #define STUMP_IVY 15 |
the ivy holding the stump
Definition at line 46 of file goma_cave_entrance.c.
Referenced by GomaCaveEntrance_WhirlwindOnStumpIvy(), and Scene_Initialize().
| #define IVY 16 |
Definition at line 47 of file goma_cave_entrance.c.
|
static |
Ivan casts Whirlwind on the stump's ivy, and the scene waits for it.
Definition at line 441 of file goma_cave_entrance.c.
Referenced by Event_IvanRejoins(), and GomaCaveEntrance_WhirlwindOnStumpIvy().
|
static |
The stump spins in place, leaps and lands with a shake and a ring of dust, then comes to rest a little further on.
Definition at line 473 of file goma_cave_entrance.c.
Referenced by Event_MoveStump(), and GomaCaveEntrance_LeapStump().
|
static |
Gives Ivan the Shaman's Rod and equips it.
With his items full, he drops another to make room; later patches skip items marked only indispensable.
Definition at line 540 of file goma_cave_entrance.c.
Referenced by Event_IvanRejoins(), and GomaCaveEntrance_GiveShamansRod().
Shows the next message over the speaker, then pauses.
Definition at line 59 of file goma_cave_entrance.c.
Referenced by Event_IvanRejoins(), and GomaCaveEntrance_SayThenWait().
| const struct SceneEntrance * Scene_GetEntrances | ( | void | ) |
Definition at line 64 of file goma_cave_entrance.c.
| const struct SceneRegion * Scene_GetRegions | ( | void | ) |
Definition at line 68 of file goma_cave_entrance.c.
| const u32 * Scene_GetExits | ( | void | ) |
Both scenes share one exit table.
Definition at line 70 of file goma_cave_entrance.c.
| const struct ScenePlacement * Scene_GetPlacements | ( | void | ) |
Definition at line 72 of file goma_cave_entrance.c.
|
static |
Move on the west pillar, and after each push: the pillar stands on one of three columns, and the map cells and flags follow it.
Definition at line 78 of file goma_cave_entrance.c.
Referenced by Event_MoveWestPillar(), Event_MoveWestPillar(), and Event_PushWestPillar().
|
static |
Move on the east pillar: once it reaches column 23 it settles into the floor and can be walked over.
Definition at line 99 of file goma_cave_entrance.c.
Referenced by Event_MoveEastPillar(), Event_MoveEastPillar(), Event_MoveEastPillar(), and Event_PushEastPillar().
|
static |
Walking into the west pillar from the west (trigger 5) or the east (trigger 6): the leader leans on it and pushes it one step.
Definition at line 117 of file goma_cave_entrance.c.
Referenced by Event_PushWestPillar().
|
static |
Reserved overlay hook; no current scene calls it.
Definition at line 142 of file goma_cave_entrance.c.
Referenced by GomaCaveEntrance_NoOpA().
|
static |
A second reserved hook, also unused by the scene.
Definition at line 145 of file goma_cave_entrance.c.
Referenced by GomaCaveEntrance_NoOpB().
|
static |
Whirlwind on the other ivy: it is blown away for good.
Definition at line 148 of file goma_cave_entrance.c.
Referenced by Event_BlowAwayIvy().
| const struct SceneEvent * Scene_GetEvents | ( | void | ) |
Definition at line 154 of file goma_cave_entrance.c.
| s32 Scene_Initialize | ( | void | ) |
Puts the stump and pillars where the party left them, and the stump's ivy away once Ivan has blown it off.
Sets up whichever scene is being entered and runs its arrival events.
Definition at line 160 of file goma_cave_entrance.c.
|
static |
Move on the stump while the ivy holds it: Garet says their Psynergy is not strong enough.
Once the thieves in Vault are jailed, Ivan turns up, blows the ivy away with Whirlwind and asks to join the party, and gets back the Shaman's Rod.
Definition at line 216 of file goma_cave_entrance.c.
Referenced by Event_IvanRejoins().
|
static |
Move on the freed stump: from column 11 it spins, leaps away and lies where it lands.
Definition at line 423 of file goma_cave_entrance.c.
Referenced by Event_MoveStump(), and Event_MoveStump().
|
static |
The leaping stump's update hook turns its sprite a fixed amount per frame.
Definition at line 460 of file goma_cave_entrance.c.
Referenced by GomaCaveEntrance_LeapStump(), and GomaCaveEntrance_SpinStump().
| s32 gEffectScript0[] |
Definition at line 589 of file goma_cave_entrance.c.
| s32 gEffectScript1[] |
| s32 gEffectScript2[] |
| const s32* gEffectScripts[] |
Definition at line 604 of file goma_cave_entrance.c.
| s32 gGomaCaveEntranceTallIvyScript[] |
Definition at line 610 of file goma_cave_entrance.c.
| struct SceneEntrance gGomaCaveEntranceEntrances[] |
Definition at line 615 of file goma_cave_entrance.c.
Referenced by Scene_GetEntrances().
| u32 gGomaCaveEntranceExits[] |
Definition at line 622 of file goma_cave_entrance.c.
Referenced by Scene_GetExits().
| struct ScenePlacement gGomaCaveEntrancePlacements[] |
Definition at line 630 of file goma_cave_entrance.c.
Referenced by Scene_GetPlacements().
| struct SceneEvent gGomaCaveEntranceEvents[] |
Definition at line 656 of file goma_cave_entrance.c.
Referenced by Scene_GetEvents().