src/scene/gondowan_cave.c
Gondowan Passage and Gondowan Cave, south and south-east of Tolbi. More…
#include "ability_ids.h"#include "flags.h"#include "item_ids.h"#include "battle/battle.h"#include "debug/debug.h"#include "field/field_effect.h"#include "graphics/graphics.h"#include "text/msg_ids.h"#include "shared/field_effect_create.c"#include "shared/field_effect_spawn.c"#include "shared/pushed_actor.c"#include "shared/field_effect_duration_scripts.c"#include "shared/pushed_actor_tables.c"#include "shared/scene_entrances_default.c"
Macros
| Name | Description | |
|---|---|---|
#define | STUMP_COLUMN 31 | The stump's column at the edge of its ledge (its placement, x 496). |
#define | PILLAR_DROP_COLUMN 43 | The crevice's column, two east of the pillar's first metatile (x 696, where ACTOR_DROPPED_PILLAR stands). |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { METATILE_BEHAVIOR_GONDOWAN_PASSAGE_GATE, METATILE_BEHAVIOR_G … } | The metatiles of the bridge and the cave that run scripts. |
enum | GONDOWAN_PASSAGE_ACTOR_ID { ACTOR_FIRST_SOLDIER, ACTOR_SECOND_SOLDIER, ACTOR_THIRD_SOLDI … } | Gondowan Passage's placed actors, numbered in the order of GondowanPassageActorPlacements and GondowanPassageActorPlacementsWithIodem from ACTOR_FIRST_PLACED. |
enum | GONDOWAN_CAVE_RIVER_ACTOR_ID { ACTOR_RIVER_BOULDER } | The river room's placed actor, the one row of GondowanCaveRiverActorPlacements that a cue names. |
enum | GONDOWAN_CAVE_ACTOR_ID { ACTOR_STUMP, ACTOR_PILLAR, ACTOR_DROPPED_PILLAR, ACTOR_BOULD … } | Gondowan Cave's placed actors, numbered in the order of GondowanCaveActorPlacements from ACTOR_FIRST_PLACED. |
Functions
| Name | Description | |
|---|---|---|
static void | scGondowanCaveMovePillar (void) | Move on the tall pillar beside the crevice in the east cave, and each push of it: once it reaches the crevice (metatile (43, 17)) it drops into the water at its foot with a splash and stays there, clearing the way to the edge. |
static void | scGondowanCaveLeapStump (Sint32 actorId) | The actor spins in place, leaps off the ledge and lands with a shake and a ring of dust, then hops on into the water with a splash and floats there. |
const SCENE_ENTRANCE * | scGetEntrances (void) | The six rooms share one entrance table. |
const SCENE_EXIT_REGION * | scGetExitRegions (void) | The scene has no exit regions: its regions entry returns none. |
const Uint32 * | scGetExits (void) | Every scene of the overlay shares one exit table. |
const ACTOR_PLACE * | scGetActorPlacements (void) | Iodem waits on Gondowan Passage once Babi has sent the party after Colosso. |
const CUE * | scGetCues (void) | The cues of each scene, with Iodem's in Gondowan Passage when he is there. |
static void | scGondowanCaveIodemAsksWhyTurningBack (void) | Isaac heads back north through the gatehouse's gate on Gondowan Passage, metatiles (8, 7) to (10, 7), with Iodem in the party, before Iodem has reached Babi Lighthouse: Iodem steps out beside him and asks whether he needs something he left behind. |
static void | scGondowanCaveIodemComesAlong (void) | Isaac talks to Iodem, waiting at the north end of the drawbridge on Gondowan Passage, or walks up to him (metatiles (8, 14) to (10, 14)): Iodem says he has been waiting and they should go to Babi Lighthouse, walks into Isaac and travels with the party from then on. |
static void | scGondowanCaveSoldierAsksAboutCrossing (void) | Isaac talks to the soldier on the road south of the gatehouse on Gondowan Passage, before Babi has sent the party on: he asks whether they wish to cross into Gondowan. |
static void | scGondowanCaveReadSoldierMind (void) | Mind Read on the soldier west of the gate on Gondowan Passage, before Babi has sent the party on: he grumbles about being stuck on guard duty, while the warriors fight or, once it is over, through all of Colosso. |
static void | scGondowanCaveLeaveToWorldMapEast (void) | Isaac walks out of Gondowan Cave by its east mouth, at the foot of the path in the south-east corner of the east cave (metatile (49, 29)), and comes out on the world map. |
static void | scGondowanCaveJumpCrevice (void) | Isaac walks to the edge of the narrow crevice in the east cave, metatile (42, 17) on its west side or (44, 17) on its east, and keeps walking: he jumps across it. |
static void | scGondowanCaveMoveStump (void) | Move on the squat stump on the ledge in the middle of the east cave, steered west: it spins, hops off the ledge onto the ground below in a ring of dust, and on into the water with a splash, where it floats (metatile (27, 19)) for Isaac to hop on. |
static void | scGondowanCavePushPillar (void) | Isaac, standing where the tall pillar first stood beside the crevice (metatile (41, 17)), walks into it: he pushes it a metatile east, and at the crevice it drops in. |
static inline void | scGondowanCavePlaceDroppedPillar (Sint32 animation) | Hides the pillar and shows the actor that stands in for it in its place. |
static UNUSED void | scGondowanCaveUnusedNoOperationA (void) | Unused: an empty function nothing refers to. |
static void | scGondowanCaveSpinStump (ACTOR *actor) | Spins the leaping stump a sixty-fourth of a turn each tick. |
static void | scGondowanCaveWaitBelowHeight (ACTOR *actor, Sint32 height) | Waits until the actor has come down to height (16.16), forty ticks at most: scActorWaitBelowHeight with a shorter limit. |
static UNUSED void | scGondowanCaveUnusedNoOperationB (void) | Unused: an empty function nothing refers to. |
static void | scGondowanCaveLiftBoulder (void) | Lift on the boulder in the right fork north of the cave's west mouth raises it away, and clears the short way north to the east cave. |
Sint32 | scInit (void) | Bars Retreat on the bridge and keeps Iodem out of sight while he travels with the party; in the cave, puts the stump and the pillar back where the party left them. |
Variables
| Name | Description | |
|---|---|---|
extern SCENE_ENTRANCE | GondowanPassageEntrances [] | |
extern SCENE_ENTRANCE | GondowanCaveRiverEntrances [] | |
extern SCENE_ENTRANCE | GondowanCaveEntrances [] | |
extern Uint32 | GondowanCaveExits [] | |
extern ACTOR_PLACE | GondowanCaveActorPlacementsOther [] | |
extern ACTOR_PLACE | GondowanPassageActorPlacements [] | |
extern ACTOR_PLACE | GondowanPassageActorPlacementsWithIodem [] | |
extern ACTOR_PLACE | GondowanCaveRiverActorPlacements [] | |
extern ACTOR_PLACE | GondowanCaveActorPlacements [] | |
extern CUE | GondowanCaveCuesOther [] | |
extern CUE | GondowanPassageCues [] | |
extern CUE | GondowanPassageCuesWithIodem [] | |
extern CUE | GondowanCaveRiverCues [] | |
extern CUE | GondowanCaveCues [] | Move on the tall pillar runs while FLAG_SCENE_TEMP(0x05) is clear, which is always, since nothing sets it; once the pillar has dropped it stands at (0, 0), out of reach. |
const Sint32 * | FieldEffectDurationScripts [] | The resident copy of the scripts EFFECT_SCRIPT_MASK picks, by enum EFFECT_DURATION. |
Description
Gondowan Passage and Gondowan Cave, south and south-east of Tolbi.
Gondowan Passage (SceneIdGondowanPassage) is the bridge from Tolbi into
Gondowan: a gatehouse at its north end, three soldiers in spiked helmets at
the gate, then a drawbridge and a long stone bridge running south over the
water. The soldiers swear nobody gets through the cave to the east to Kalay.
Once Babi has sent the party after Colosso (FLAG_BABI_SPOKE_AFTER_COLOSSO),
Iodem waits at the north end of the drawbridge and comes along to Babi
Lighthouse. While he travels with the party (FLAG_IODEM_FOLLOWING_PARTY) his
actor is kept out of sight, and heading back north through the gate with him
makes him step out and ask why. Retreat does not work on the bridge
(FLAG_RETREAT_BLOCKED).
Gondowan Cave (SceneIdGondowanCave) is the way the soldiers say is
impossible: a cave from the world map east of the bridge through to the Kalay
side. Its west mouth opens on a passage that forks. The right fork, the short
way to the east cave, is blocked by a boulder that only Lift clears. The left
fork leads to the river room (SceneIdGondowanCaveRiver), where Isaac hops
along a line of posts in the water to the chest on its islet, and from there
into the east cave. In the east cave Move sends a stump off its ledge into
the water, where it floats as one more post to hop on, and the tall pillar by
the narrow crevice is moved into the crevice to clear the way to it. Isaac
jumps the crevice and walks out of the cave's east mouth.
One exit table serves every scene. The other getters choose by
MainRoutineStateWork.next, and Gondowan Passage's actor placements and cues
also by FLAG_BABI_SPOKE_AFTER_COLOSSO. An empty set answers any other scene.
Every scene's cue table carries the river room's two chests.
The stump and the pillar are kept in story flags, so the cave stays solved
and scInit puts them back: FLAG_GONDOWAN_CAVE_STUMP_MOVED once the stump has
leapt in, FLAG_GONDOWAN_CAVE_PILLAR_DROPPED once the pillar has dropped into
the crevice, shown from then on by ACTOR_DROPPED_PILLAR.
Dropping the pillar also copies map metatile (108, 17) over (107, 17), the crevice's metatile (43, 17) as the second layer of the map holds it, 64 columns over, and every arrival by the east mouth makes the same copy, solved or not. Nothing on screen depends on it: the crevice looks the same, Isaac jumps it from either side, and the pillar settles at the same height wherever it drops.
Macros in detail
STUMP_COLUMN
#define STUMP_COLUMN 31
The stump's column at the edge of its ledge (its placement, x 496). Move west takes it off this column, and it leaps into the water.
Referenced by scGondowanCaveMoveStump().
Definition at line 149 of file gondowan_cave.c.
PILLAR_DROP_COLUMN
#define PILLAR_DROP_COLUMN 43
The crevice's column, two east of the pillar's first metatile (x 696, where
ACTOR_DROPPED_PILLAR stands). Pushed or moved this far, the pillar drops in.
Referenced by scGondowanCaveMovePillar().
Definition at line 153 of file gondowan_cave.c.
Enumerations in detail
anonymous enum
enum { METATILE_BEHAVIOR_GONDOWAN_PASSAGE_GATE, METATILE_BEHAVIOR_GONDOWAN_PASSAGE_IODEM, METATILE_BEHAVIOR_GONDOWAN_CAVE_CREVICE_WEST_EDGE, METATILE_BEHAVIOR_GONDOWAN_CAVE_CREVICE_EAST_EDGE, … }
The metatiles of the bridge and the cave that run scripts. The cave's way out
east is a step cue whose metatile is its exit's number
(GONDOWAN_CAVE_WORLD_MAP_EAST).
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_GONDOWAN_PASSAGE_GATE | 10 | Gondowan Passage: the gate through the gatehouse, at its north end. |
METATILE_BEHAVIOR_GONDOWAN_PASSAGE_IODEM | 11 | Gondowan Passage: the |
METATILE_BEHAVIOR_GONDOWAN_CAVE_CREVICE_WEST_EDGE | 10 | north end of the drawbridge, where Iodem waits. Gondowan Cave: the west edge of the crevice beside the tall pillar. |
METATILE_BEHAVIOR_GONDOWAN_CAVE_CREVICE_EAST_EDGE | 11 | Gondowan Cave: the east edge of the crevice. |
METATILE_BEHAVIOR_GONDOWAN_CAVE_PILLAR | 50 | Gondowan Cave: the tall pillar's first metatile, west of the crevice. |
Definition at line 69 of file gondowan_cave.c.
GONDOWAN_PASSAGE_ACTOR_ID
enum GONDOWAN_PASSAGE_ACTOR_ID
Gondowan Passage's placed actors, numbered in the order of
GondowanPassageActorPlacements and GondowanPassageActorPlacementsWithIodem
from ACTOR_FIRST_PLACED.
They are the soldiers who guard the bridge, and in the second table Iodem after them.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_FIRST_SOLDIER | ACTOR_FIRST_PLACED | On the road south of the gatehouse; asks whether the party will cross into Gondowan. |
ACTOR_SECOND_SOLDIER | West of the gate. | |
ACTOR_THIRD_SOLDIER | East of the gate; says nobody gets through the cave to the east to Kalay. | |
ACTOR_IODEM | Waits at the north end of the drawbridge once Babi has sent the party after Colosso. |
Definition at line 95 of file gondowan_cave.c.
GONDOWAN_CAVE_RIVER_ACTOR_ID
enum GONDOWAN_CAVE_RIVER_ACTOR_ID
The river room's placed actor, the one row of
GondowanCaveRiverActorPlacements that a cue names.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_RIVER_BOULDER | ACTOR_FIRST_PLACED | The boulder in the passage south of the river, raised by Lift. |
Definition at line 111 of file gondowan_cave.c.
GONDOWAN_CAVE_ACTOR_ID
enum GONDOWAN_CAVE_ACTOR_ID
Gondowan Cave's placed actors, numbered in the order of
GondowanCaveActorPlacements from ACTOR_FIRST_PLACED.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_STUMP | ACTOR_FIRST_PLACED | The squat stump on the ledge in the middle of the east cave, beside the torch; Move sends it into the water west of the ledge. It is drawn in the sprite of the Goma Cave stump. |
ACTOR_PILLAR | The tall pillar on the west side of the crevice, pushed or moved with Move, in the sprite the stone pillars of other scenes use (crossbone_isle_stepping_stones.c). | |
ACTOR_DROPPED_PILLAR | Stands in for the pillar once it has dropped in. It is out of sight at first. It is drawn in the stump's sprite, splashing in (STUMP_ANIMATION_SPLASH) and on later visits afloat (STUMP_ANIMATION_SINK). | |
ACTOR_BOULDER | The boulder in the right fork north of the west mouth, raised by Lift. | |
ACTOR_BOULDER_GAP | An invisible actor (SPRITE_BLANK, its shadow turned off) 16 pixels west of the boulder. It fills the gap between the boulder and the passage's west wall, so the boulder blocks the fork until Lift takes both away. |
Definition at line 119 of file gondowan_cave.c.
Functions in detail
scGondowanCaveMovePillar
static void scGondowanCaveMovePillar(void)
Move on the tall pillar beside the crevice in the east cave, and each push of it: once it reaches the crevice (metatile (43, 17)) it drops into the water at its foot with a splash and stays there, clearing the way to the edge.
References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scGondowanCavePlaceDroppedPillar() and sySoundPlay().
Referenced by GondowanCaveCues and scGondowanCavePushPillar().
Definition at lines 158 and 477 of file gondowan_cave.c.
scGondowanCaveLeapStump
static void scGondowanCaveLeapStump(Sint32 actorId)
The actor spins in place, leaps off the ledge and lands with a shake and a ring of dust, then hops on into the water with a splash and floats there.
The stump tips over the ledge, leaps spinning off it with a whoosh, lands with a shake and a ring of dust, and slides on into the water, where it splashes and settles to float.
Goma Cave's stumps leap the same way (shared/stump_leap.c); this one spins
and leaps slower, lands with no thump, slides on without a bounce and throws
no spray, so it is written again here.
References fdActorGet(), fdActorSetAnimation(), fdActorSetDestination(), fdActorWaitForMoveById(), fdMapGridWaitForShakeToSettle(), fdScriptWait(), scGondowanCaveSpinStump(), scGondowanCaveWaitBelowHeight(), Sint32, syCos(), sySin(), sySoundPlay() and sySynch().
Referenced by scGondowanCaveMoveStump().
Definition at lines 161 and 526 of file gondowan_cave.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References GondowanCaveEntrances, GondowanCaveRiverEntrances, GondowanPassageEntrances, MainRoutineStateWork and SceneFallbackEntrances.
Definition at line 168 of file gondowan_cave.c.
scGetExitRegions
const SCENE_EXIT_REGION *scGetExitRegions(void)
Definition at line 187 of file gondowan_cave.c.
scGetExits
const Uint32 *scGetExits(void)
Every scene of the overlay shares one exit table.
References GondowanCaveExits.
Definition at line 193 of file gondowan_cave.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
Iodem waits on Gondowan Passage once Babi has sent the party after Colosso.
References gmFlagGet(), GondowanCaveActorPlacements, GondowanCaveActorPlacementsOther, GondowanCaveRiverActorPlacements, GondowanPassageActorPlacements, GondowanPassageActorPlacementsWithIodem and MainRoutineStateWork.
Definition at line 199 of file gondowan_cave.c.
scGetCues
const CUE *scGetCues(void)
The cues of each scene, with Iodem's in Gondowan Passage when he is there.
References gmFlagGet(), GondowanCaveCues, GondowanCaveCuesOther, GondowanCaveRiverCues, GondowanPassageCues, GondowanPassageCuesWithIodem and MainRoutineStateWork.
Definition at line 223 of file gondowan_cave.c.
scGondowanCaveIodemAsksWhyTurningBack
static void scGondowanCaveIodemAsksWhyTurningBack(void)
Isaac heads back north through the gatehouse's gate on Gondowan Passage, metatiles (8, 7) to (10, 7), with Iodem in the party, before Iodem has reached Babi Lighthouse: Iodem steps out beside him and asks whether he needs something he left behind.
Answered yes, Iodem walks back to the north end of the drawbridge to wait there, and a defeat from then on returns the party to the Tolbi Sanctum. Answered no, he says they should go on to the lighthouse and falls in again, and Isaac steps back south off the gate.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorGet(), fdActorSetAnimation(), fdActorSetDestination(), fdActorSetDestinationOffset(), fdActorSetPosFX(), fdActorWaitForMoveById(), fdActorWalkTo(), fdScriptAskYesNoWithActorAnimation(), fdScriptClearFlag(), fdScriptEnd(), fdScriptGetFlag(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet() and MainRoutineStateWork.
Referenced by GondowanPassageCuesWithIodem.
Definition at line 255 of file gondowan_cave.c.
scGondowanCaveIodemComesAlong
static void scGondowanCaveIodemComesAlong(void)
Isaac talks to Iodem, waiting at the north end of the drawbridge on Gondowan Passage, or walks up to him (metatiles (8, 14) to (10, 14)): Iodem says he has been waiting and they should go to Babi Lighthouse, walks into Isaac and travels with the party from then on.
References fdActorFaceActor(), fdActorGet(), fdActorSetAnimation(), fdActorSetDestination(), fdActorTurnToFaceEachOther(), fdActorWaitForMoveById(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait() and gmFlagSet().
Referenced by GondowanPassageCuesWithIodem.
Definition at line 320 of file gondowan_cave.c.
scGondowanCaveSoldierAsksAboutCrossing
static void scGondowanCaveSoldierAsksAboutCrossing(void)
Isaac talks to the soldier on the road south of the gatehouse on Gondowan Passage, before Babi has sent the party on: he asks whether they wish to cross into Gondowan.
Answered yes, he won't stop them but would sooner watch Colosso in Tolbi, or, once Colosso is over, simply wouldn't go without business there. Answered no, he agrees: they wouldn't be let into Babi Lighthouse anyway.
References fdScriptAskYesNoWithActorAnimation(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), gmFlagGet() and Sint32.
Referenced by GondowanPassageCues.
Definition at line 354 of file gondowan_cave.c.
scGondowanCaveReadSoldierMind
static void scGondowanCaveReadSoldierMind(void)
Mind Read on the soldier west of the gate on Gondowan Passage, before Babi has sent the party on: he grumbles about being stuck on guard duty, while the warriors fight or, once it is over, through all of Colosso.
References fdScriptSetMessageId(), fdScriptShowMessage() and gmFlagGet().
Referenced by GondowanPassageCues.
Definition at line 390 of file gondowan_cave.c.
scGondowanCaveLeaveToWorldMapEast
static void scGondowanCaveLeaveToWorldMapEast(void)
Isaac walks out of Gondowan Cave by its east mouth, at the foot of the path in the south-east corner of the east cave (metatile (49, 29)), and comes out on the world map.
References fdScriptClearFlag(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWaitTransitionTicks(), gmFlagClear(), gmFlagGet(), gmFlagSet(), state and syImportScriptSetExitRequest().
Referenced by GondowanCaveCues.
Definition at line 403 of file gondowan_cave.c.
scGondowanCaveJumpCrevice
static void scGondowanCaveJumpCrevice(void)
Isaac walks to the edge of the narrow crevice in the east cave, metatile (42, 17) on its west side or (44, 17) on its east, and keeps walking: he jumps across it.
fdTryJumpForward carries him two metatiles on where the map allows.
References fdTryJumpForward().
Referenced by GondowanCaveCues.
Definition at line 433 of file gondowan_cave.c.
scGondowanCaveMoveStump
static void scGondowanCaveMoveStump(void)
Move on the squat stump on the ledge in the middle of the east cave, steered west: it spins, hops off the ledge onto the ground below in a ring of dust, and on into the water with a splash, where it floats (metatile (27, 19)) for Isaac to hop on.
Its metatile takes the attributes of metatile (29, 19), a square Isaac hops from, so the water there becomes one too. Once it has leapt Move on it no longer runs this.
References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), gmFlagSet() and scGondowanCaveLeapStump().
Referenced by GondowanCaveCues.
Definition at line 446 of file gondowan_cave.c.
scGondowanCavePushPillar
static void scGondowanCavePushPillar(void)
Isaac, standing where the tall pillar first stood beside the crevice (metatile (41, 17)), walks into it: he pushes it a metatile east, and at the crevice it drops in.
References scGondowanCaveMovePillar() and scPushedActorAdvancePair().
Referenced by GondowanCaveCues.
Definition at line 463 of file gondowan_cave.c.
scGondowanCavePlaceDroppedPillar
static inline void scGondowanCavePlaceDroppedPillar(Sint32 animation)
Hides the pillar and shows the actor that stands in for it in its place.
References fdActorSetAnimation() and Sint32.
Referenced by scGondowanCaveMovePillar() and scInit().
Definition at line 470 of file gondowan_cave.c.
scGondowanCaveUnusedNoOperationA
static UNUSED void scGondowanCaveUnusedNoOperationA(void)
Unused: an empty function nothing refers to.
Definition at line 492 of file gondowan_cave.c.
scGondowanCaveSpinStump
static void scGondowanCaveSpinStump(ACTOR *actor)
Spins the leaping stump a sixty-fourth of a turn each tick.
Referenced by scGondowanCaveLeapStump().
Definition at line 497 of file gondowan_cave.c.
scGondowanCaveWaitBelowHeight
static void scGondowanCaveWaitBelowHeight(ACTOR *actor, Sint32 height)
Waits until the actor has come down to height (16.16), forty ticks at most:
scActorWaitBelowHeight with a shorter limit.
References Sint32 and sySynch().
Referenced by scGondowanCaveLeapStump().
Definition at line 504 of file gondowan_cave.c.
scGondowanCaveUnusedNoOperationB
static UNUSED void scGondowanCaveUnusedNoOperationB(void)
Unused: an empty function nothing refers to.
Definition at line 584 of file gondowan_cave.c.
scGondowanCaveLiftBoulder
static void scGondowanCaveLiftBoulder(void)
Lift on the boulder in the right fork north of the cave's west mouth raises it away, and clears the short way north to the east cave.
Lift removes the boulder itself; the script takes away ACTOR_BOULDER_GAP,
which stood in the gap beside it.
Referenced by GondowanCaveCues.
Definition at line 593 of file gondowan_cave.c.
scInit
Sint32 scInit(void)
Bars Retreat on the bridge and keeps Iodem out of sight while he travels with the party; in the cave, puts the stump and the pillar back where the party left them.
References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdMapGridCopyMetatileAttributes(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scGondowanCavePlaceDroppedPillar() and Sint32.
Definition at line 601 of file gondowan_cave.c.
Variables in detail
GondowanPassageEntrances
extern SCENE_ENTRANCE GondowanPassageEntrances[]
SCENE_ENTRANCE GondowanPassageEntrances[]
Referenced by scGetEntrances().
Definition at lines 51 and 647 of file gondowan_cave.c.
GondowanCaveRiverEntrances
extern SCENE_ENTRANCE GondowanCaveRiverEntrances[]
SCENE_ENTRANCE GondowanCaveRiverEntrances[]
Referenced by scGetEntrances().
Definition at lines 52 and 655 of file gondowan_cave.c.
GondowanCaveEntrances
extern SCENE_ENTRANCE GondowanCaveEntrances[]
SCENE_ENTRANCE GondowanCaveEntrances[]
Referenced by scGetEntrances().
Definition at lines 53 and 667 of file gondowan_cave.c.
GondowanCaveExits
extern Uint32 GondowanCaveExits[]
Uint32 GondowanCaveExits[]
Referenced by scGetExits().
Definition at lines 54 and 683 of file gondowan_cave.c.
GondowanCaveActorPlacementsOther
extern ACTOR_PLACE GondowanCaveActorPlacementsOther[]
ACTOR_PLACE GondowanCaveActorPlacementsOther[]
Referenced by scGetActorPlacements().
Definition at lines 55 and 712 of file gondowan_cave.c.
GondowanPassageActorPlacements
extern ACTOR_PLACE GondowanPassageActorPlacements[]
ACTOR_PLACE GondowanPassageActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 56 and 716 of file gondowan_cave.c.
GondowanPassageActorPlacementsWithIodem
extern ACTOR_PLACE GondowanPassageActorPlacementsWithIodem[]
ACTOR_PLACE GondowanPassageActorPlacementsWithIodem[]
Referenced by scGetActorPlacements().
Definition at lines 57 and 726 of file gondowan_cave.c.
GondowanCaveRiverActorPlacements
extern ACTOR_PLACE GondowanCaveRiverActorPlacements[]
ACTOR_PLACE GondowanCaveRiverActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 58 and 738 of file gondowan_cave.c.
GondowanCaveActorPlacements
extern ACTOR_PLACE GondowanCaveActorPlacements[]
ACTOR_PLACE GondowanCaveActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 59 and 748 of file gondowan_cave.c.
GondowanCaveCuesOther
extern CUE GondowanCaveCuesOther[]
CUE GondowanCaveCuesOther[]
Referenced by scGetCues().
Definition at lines 60 and 762 of file gondowan_cave.c.
GondowanPassageCues
extern CUE GondowanPassageCues[]
CUE GondowanPassageCues[]
References scGondowanCaveReadSoldierMind() and scGondowanCaveSoldierAsksAboutCrossing().
Referenced by scGetCues().
Definition at lines 61 and 766 of file gondowan_cave.c.
GondowanPassageCuesWithIodem
extern CUE GondowanPassageCuesWithIodem[]
CUE GondowanPassageCuesWithIodem[]
References scGondowanCaveIodemAsksWhyTurningBack() and scGondowanCaveIodemComesAlong().
Referenced by scGetCues().
Definition at lines 62 and 786 of file gondowan_cave.c.
GondowanCaveRiverCues
extern CUE GondowanCaveRiverCues[]
CUE GondowanCaveRiverCues[]
Referenced by scGetCues().
Definition at lines 63 and 813 of file gondowan_cave.c.
GondowanCaveCues
extern CUE GondowanCaveCues[]
CUE GondowanCaveCues[]
Move on the tall pillar runs while FLAG_SCENE_TEMP(0x05) is clear, which is always, since nothing
sets it; once the pillar has dropped it stands at (0, 0), out of reach.
References scGondowanCaveJumpCrevice(), scGondowanCaveLeaveToWorldMapEast(), scGondowanCaveLiftBoulder(), scGondowanCaveMovePillar(), scGondowanCaveMoveStump() and scGondowanCavePushPillar().
Referenced by scGetCues().
Definition at lines 64 and 827 of file gondowan_cave.c.
FieldEffectDurationScripts
const Sint32 *FieldEffectDurationScripts[]
References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.
Definition at line 639 of file gondowan_cave.c.