Skip to Content
The Alchemy Project

src/scene/imil_fuchin_falls.c

Imil Falls Cave, the little cave behind Imil's frozen falls, and Fuchin Falls Cave, the grotto behind the waterfall at Fuchin Temple where Master Nyunpa sends the party for its test. More…

Structures

NameDescription
structCAVE_DUST_OPTIONSThe fields of EFFECT_OPTIONS that the dragon's fire sets, up to its scales, passed to scImilFuchinFallsSpawnDust in their place.

Macros

NameDescription
#defineFLAG_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_EAST FLAG_AREA_TEMP(0x01)The first room's upright log lies at the pool's east bank.
#defineFLAG_FUCHIN_FALLS_ENTRANCE_SECOND_LOG_NORTH FLAG_AREA_TEMP(0x02)The first room's left crosswise log lies below the ledge on the north side.
#defineFLAG_FUCHIN_FALLS_ENTRANCE_THIRD_LOG_NORTH FLAG_AREA_TEMP(0x03)The first room's right crosswise log lies below the ledge with the chest.
#defineFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_EAST_END FLAG_AREA_TEMP(0x04)Zephyr's room's upright log lies at the east end of the pool, below Zephyr's ledge.
#defineFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_WEST_END FLAG_AREA_TEMP(0x05)Zephyr's room's upright log lies against the west wall, a metatile west of where it starts, unless it has since been taken to the east end.
#defineFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_SECOND_LOG_SOUTH FLAG_AREA_TEMP(0x06)Zephyr's room's crosswise log lies at the pool's south shore.
#defineFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_THIRD_LOG_NORTH FLAG_AREA_TEMP(0x07)The crosswise log in Zephyr's room's long channel lies at its north end.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_WEST_ENDThe Dragon's Eye room's upright log lies at the head of the long channel.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_MIDDLE FLAG_AREA_TEMP(0x09)The Dragon's Eye room's upright log lies in the middle of the pool, below the stump, where a crosswise log stopped it.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_SECOND_LOG_WEST FLAG_AREA_TEMP(0x0a)The upright log in the Dragon's Eye room's small south-west pool lies at the pool's west side.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_NORTH_ENDThe Dragon's Eye room's upper crosswise log lies at the head of the channel.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_UPPER_STOPThe upper crosswise log lies a metatile down the channel from its head.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_MIDDLE FLAG_AREA_TEMP(0x0d)The upper crosswise log lies halfway down the channel.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_LOWER_STOPThe upper crosswise log lies a metatile below halfway.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_NORTH_ENDThe Dragon's Eye room's lower crosswise log lies a metatile below the channel's head, as far up as it goes.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_UPPER_STOPThe lower crosswise log lies two metatiles below the channel's head.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_MIDDLEThe lower crosswise log lies halfway down the channel, beside the stump.
#defineFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_LOWER_STOPThe lower crosswise log lies a metatile below halfway.
#defineFLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_FIRST_LOG_SOUTH FLAG_AREA_TEMP(0x13)The Arctic Blade's room's crosswise log lies at the pool's south shore.
#defineFLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_SECOND_LOG_WEST FLAG_AREA_TEMP(0x14)The Arctic Blade's room's upright log lies at the pool's west shore.
#defineFLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_THIRD_LOG_EAST FLAG_AREA_TEMP(0x15)The upright log in the south half of the Arctic Blade's room lies at the pool's east side.
#defineICE_SLIDE_HEADINGS ImilFuchinFallsSlideHeadings

Enumerations

NameDescription
enumIMIL_FUCHIN_FALLS_ACTOR_ID { ACTOR_FEVER, ACTOR_FIRST_LOG, ACTOR_SECOND_LOG, ACTOR_THIRD_ … }The placed actors, numbering each scene's placement rows from ACTOR_FIRST_PLACED: Fever in Imil Falls Cave, the floating logs of Fuchin Falls Cave's first room, Zephyr's room, the Dragon's Eye room and the Arctic Blade's room, followed in Zephyr's room by Zephyr, and the one sprite the dragon statue's room places.
enumanonymous enum { METATILE_BEHAVIOR_IMIL_FALLS_CAVE_ICE, METATILE_BEHAVIOR_FUC … }The metatiles the rooms' step and search cues answer, by the metatile behaviour their map gives them.

Functions

NameDescription
static voidscFuchinFallsCaveRebuildEntranceLogs (void)Puts the logs of Fuchin Falls Cave's first room where their flags say, and rewrites the metatiles of their runs to match from the spare copy of the pool kept below the room.
static voidscFuchinFallsCaveRebuildZephyrRoomLogs (void)Puts the logs of Zephyr's room where their flags say, and rewrites the metatiles of their runs to match.
static voidscFuchinFallsCaveRebuildDragonsEyeRoomLogs (void)Puts the four logs of the Dragon's Eye room where their flags say, and rewrites the metatiles of their runs to match.
static voidscFuchinFallsCaveRebuildArcticBladeRoomLogs (void)Puts the logs of the Arctic Blade's room, in both of its halves, where their flags say, and rewrites the metatiles of their runs to match.
static voidscImilWalkTowardFever (void)Isaac comes into Imil Falls Cave and walks up the ice to Fever.
static voidscImilFuchinFallsPrepareRoom (void)Puts a room of Fuchin Falls Cave in order for the way the party comes in: its logs, the Dragon's Eye on its table, and the dragon statue's room dark or lit.
static voidscImilFuchinFallsRebuildLogRoom (void)Puts the logs of the room being entered where their flags say, first saving the metatiles of their runs as the map draws them, which the rebuild functions copy back from.
static voidscHopLeaderBy (Sint32 dx, Sint32 dz)The leader leaps the given pixels, two and a half a tick, and lands with a spring.
static voidscImilFuchinFallsPlaceDragonsEye (void)Puts the Dragon's Eye on the little table in the middle of the round chamber below the Dragon's Eye room, drawn as its item icon.
static voidscLeaderSlideOnIce (void)Slides the leader along the ice, a metatile at a time the way the pad points, until a wall or higher ground stops him or he slides off the ice.
static voidscImilFeverJoins (void)Talking to Fever, the Mars Djinni at the top of the ice in Imil Falls Cave, makes it join the party without a fight.
static voidscFuchinFallsCaveFightZephyr (void)Talking to Zephyr, the Jupiter Djinni on the ledge on the east side of its room in Fuchin Falls Cave, starts a battle with it.
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)Returns the exit table every scene of the overlay shares.
const ACTOR_PLACE *scGetActorPlacements (void)Some villagers only turn back after talking once the flood is over or their family has gone home.
static inline voidscFuchinFallsCaveFinishLogMove (void (*rebuildLogs)(void))Ends a log's move by fading out the sound of the moving water, then puts its room's logs and their metatiles to rights.
static voidscFuchinFallsCaveEntranceMoveFirstLogEast (void)In the first room, Isaac steps onto the upright log at the pool's west bank (metatile (8, 31)) and walks on east, and the log carries him across the pool to the east bank, by the doorway to Zephyr's room.
static voidscFuchinFallsCaveEntranceMoveFirstLogWest (void)In the first room, Isaac walks west on the upright log at the pool's east bank (metatile (22, 31)), and it carries him back across the pool to the west bank, by the doorway from the Arctic Blade's room.
static voidscFuchinFallsCaveEntranceMoveSecondLogSouth (void)In the first room, Isaac walks south on the left crosswise log below the ledge on the north side (metatile (12, 29)), and it floats him back to the south shore, west of the tablet.
static voidscFuchinFallsCaveEntranceMoveSecondLogNorth (void)In the first room, Isaac steps onto the left crosswise log at the south shore (metatile (12, 33)) and walks on north, and it floats him to the ledge on the north side, where a passage leads up to the room's north half.
static voidscFuchinFallsCaveEntranceMoveThirdLogSouth (void)In the first room, Isaac walks south on the right crosswise log below the ledge with the chest (metatile (18, 29)), and it floats him back to the south shore, east of the tablet.
static voidscFuchinFallsCaveEntranceMoveThirdLogNorth (void)In the first room, Isaac steps onto the right crosswise log at the south shore (metatile (18, 33)) and walks on north, and it floats him to the ledge with the chest, which holds a Mimic.
static voidscFuchinFallsCaveZephyrRoomMoveFirstLogToEastEnd (void)In Zephyr's room, Isaac walks east on the upright log where it starts, at the west end of the pool (metatile (13, 20)), and it carries him the length of the pool to below Zephyr's ledge.
static voidscFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd (void)In Zephyr's room, Isaac walks west on the upright log below Zephyr's ledge (metatile (21, 20)), and it carries him back along the pool to the west wall, below the stump.
static voidscFuchinFallsCaveZephyrRoomNudgeFirstLogWest (void)In Zephyr's room, Isaac walks west on the upright log where it starts (metatile (13, 20)), and it bumps the last little way west against the wall, right below the stump.
static voidscFuchinFallsCaveZephyrRoomMoveFirstLogEast (void)In Zephyr's room, Isaac walks east on the upright log against the west wall (metatile (12, 20)), and it carries him the length of the pool to below Zephyr's ledge.
static voidscFuchinFallsCaveZephyrRoomMoveSecondLogSouth (void)In Zephyr's room, Isaac steps onto the crosswise log at the foot of the sandy path down from the spiked floor (metatile (15, 17)) and walks on south, and it floats him across the pool to the south shore.
static voidscFuchinFallsCaveZephyrRoomMoveSecondLogNorth (void)In Zephyr's room, Isaac walks north on the crosswise log at the pool's south shore (metatile (15, 21)), and it floats him back to the foot of the sandy path down from the spiked floor.
static voidscFuchinFallsCaveZephyrRoomMoveThirdLogSouth (void)In Zephyr's room, Isaac steps onto the crosswise log at the north end of the long channel, beside the spiked floor (metatile (19, 8)), and walks on south, and it floats him all the way down the channel, past Zephyr's ledge, to its south end.
static voidscFuchinFallsCaveZephyrRoomMoveThirdLogNorth (void)In Zephyr's room, Isaac walks north on the crosswise log at the south end of the long channel (metatile (19, 25)), and it floats him all the way up the channel, past Zephyr's ledge, to the spiked floor below the north doorway.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest (void)In the Dragon's Eye room, Isaac steps onto the upright log at the pool's east edge (metatile (20, 25)) and walks on west, and it carries him across the pool to the head of the long channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle (void)In the Dragon's Eye room, Isaac walks east on the upright log in the middle of the pool, below the stump (metatile (17, 25)), and it carries him back to the pool's east edge.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear (void)In the Dragon's Eye room, Isaac walks west on the upright log in the middle of the pool (metatile (17, 25)), and it carries him on to the head of the long channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd (void)In the Dragon's Eye room, Isaac walks east on the upright log at the head of the long channel (metatile (14, 25)), and it carries him back across the pool to its east edge.
static voidscFuchinFallsCaveDragonsEyeRoomMoveSecondLogWest (void)In the Dragon's Eye room, Isaac steps onto the upright log in the small pool in the south-west corner (metatile (15, 35)) and walks on west, and it floats him across to the pool's west side, by the doorway to the first room.
static voidscFuchinFallsCaveDragonsEyeRoomMoveSecondLogEast (void)In the Dragon's Eye room, Isaac walks east on the upright log at the west side of the small south-west pool (metatile (13, 35)), and it floats him back across to the pool's east side.
static voidscFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd (void)In the Dragon's Eye room, Isaac steps onto the upper of the two crosswise logs at the foot of the long channel (metatile (15, 30)) and walks on north, and it floats him up the channel to its head, below the north shore.
static voidscFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd (void)In the Dragon's Eye room, Isaac walks south on the upper crosswise log at the head of the long channel (metatile (15, 22)), and it floats him back down the channel as far as it can go.
static voidscFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth (void)In the Dragon's Eye room, Isaac walks north on the upper crosswise log a metatile down the long channel (metatile (15, 23)), and it floats him the last metatile up to the head of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop (void)In the Dragon's Eye room, Isaac walks south on the upper crosswise log a metatile down the long channel (metatile (15, 23)), and it floats him back down: to halfway when the lower crosswise log lies halfway down, else all the way to the foot of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle (void)In the Dragon's Eye room, Isaac walks north on the upper crosswise log halfway down the long channel (metatile (15, 26)), and it floats him up to the head of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle (void)In the Dragon's Eye room, Isaac walks south on the upper crosswise log halfway down the long channel (metatile (15, 26)), and it floats him back to the foot of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop (void)Unused: walking north on the upper crosswise log at row 27 of the Dragon's Eye room's long channel (metatile (15, 27)) would float it to the head of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop (void)Unused: walking south on the upper crosswise log at row 27 of the Dragon's Eye room's long channel (metatile (15, 27)) would float it back to the foot of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth (void)In the Dragon's Eye room, Isaac steps onto the lower of the two crosswise logs at the foot of the long channel (metatile (15, 31)) and walks on north, and it floats him up the channel until something stops it.
static voidscFuchinFallsCaveClearFourthLogStops (void)Forgets the stops of the Dragon's Eye room's lower crosswise log, which puts it back at the foot of the long channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd (void)In the Dragon's Eye room, Isaac walks south on the lower crosswise log a metatile below the head of the long channel (metatile (15, 23)), and it floats him all the way back to the foot of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth (void)In the Dragon's Eye room, Isaac walks north on the lower crosswise log two metatiles below the head of the long channel (metatile (15, 24)), and it floats him one metatile further up.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStop (void)In the Dragon's Eye room, Isaac walks south on the lower crosswise log two metatiles below the head of the long channel (metatile (15, 24)), and it floats him back to the foot of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddle (void)In the Dragon's Eye room, Isaac walks south on the lower crosswise log halfway down the long channel, beside the stump (metatile (15, 27)), and it floats him back to the foot of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop (void)Unused: walking north on the lower crosswise log at row 28 of the Dragon's Eye room's long channel (metatile (15, 28)) would float it south instead, five metatiles, past the foot of the channel.
static voidscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStop (void)Unused: walking south on the lower crosswise log at row 28 of the Dragon's Eye room's long channel (metatile (15, 28)) would float it back to the foot of the channel.
static voidscFuchinFallsCaveArcticBladeRoomMoveFirstLogSouth (void)In the Arctic Blade's room, Isaac steps onto the crosswise log at the pool's north shore, below the stairs (metatile (20, 10)), and walks on south, and it floats him across the pool to the south shore, where the way leads on to the room's south half.
static voidscFuchinFallsCaveArcticBladeRoomMoveFirstLogNorth (void)In the Arctic Blade's room, Isaac walks north on the crosswise log at the pool's south shore (metatile (20, 17)), and it floats him back across to the north shore, below the stairs.
static voidscFuchinFallsCaveArcticBladeRoomMoveSecondLogWest (void)In the Arctic Blade's room, Isaac steps onto the upright log at the pool's east shore (metatile (22, 16)) and walks on west, and it carries him across the pool to the west shore, below the way up to the chest of the Arctic Blade.
static voidscFuchinFallsCaveArcticBladeRoomMoveSecondLogEast (void)In the Arctic Blade's room, Isaac walks east on the upright log at the pool's west shore (metatile (14, 16)), and it carries him back across to the east shore.
static voidscFuchinFallsCaveArcticBladeRoomMoveThirdLogEast (void)In the south half of the Arctic Blade's room, Isaac steps onto the upright log at the west end of the pool (metatile (7, 46)) and walks on east, and it carries him across to the east side, where the way leads on to the first room's west bank.
static voidscFuchinFallsCaveArcticBladeRoomMoveThirdLogWest (void)In the south half of the Arctic Blade's room, Isaac walks west on the upright log at the pool's east side (metatile (17, 46)), and it carries him back across to the west end.
static voidscFuchinFallsCaveSettleFirstLog (void)Stepping onto a room's first log makes it dip under Isaac's step and then bob on the water: the upright log of the first room, of Zephyr's room and of the Dragon's Eye room, and the crosswise log in the north of the Arctic Blade's room.
static voidscFuchinFallsCaveSettleSecondLog (void)Stepping onto a room's second log makes it dip under Isaac's step and then bob on the water: the left crosswise log of the first room, the crosswise log at the middle of Zephyr's room, the upright log in the Dragon's Eye room's small south-west pool, and the upright log in the north of the Arctic Blade's room.
static voidscFuchinFallsCaveSettleThirdLog (void)Stepping onto a room's third log makes it dip under Isaac's step and then bob on the water: the right crosswise log of the first room, the crosswise log in Zephyr's room's long channel, the upper crosswise log in the Dragon's Eye room's channel, and the upright log in the south of the Arctic Blade's room.
static voidscFuchinFallsCaveSettleFourthLog (void)Stepping onto the lower crosswise log in the Dragon's Eye room's long channel makes it dip under Isaac's step and then bob on the water.
static ACTOR *scFuchinFallsCaveCreateHiddenActor (Sint32 x, Sint32 y, Sint32 z, Sint32 resourceId)Creates an actor that stands still and is drawn hidden, so that the player never sees it.
const CUE *scGetCues (void)The first water beast's cave changes its cues once the first drain has lowered its water: the beast is gone and its two puddles can be frozen.
static voidscImilLeaveFallsCave (void)Isaac walks out of the doorway at the bottom of Imil Falls Cave (metatile (16, 19)) and comes out at the foot of Imil's frozen falls.
static voidscImilMoveAcrossIce (void)Isaac steps onto the strip of ice between the doorway and Fever in Imil Falls Cave (metatiles (16, 14) to (16, 18)) and slides along it the way the pad points, until a wall stops him or he slides off the ice.
static voidscFuchinFallsCavePlaceLogAtMetatile (Sint32 actorId, Sint32 column, Sint32 row)Puts a log at a map metatile, drawn under the leader's feet.
static voidscFuchinFallsCaveGroundMaskFollowsLeader (void)Nothing visible happens when Isaac walks north out of the middle passage into the dragon statue's dark room (metatiles (14, 17) to (16, 17)); the ground mask the room started takes him up again.
static voidscFuchinFallsCaveGroundMaskStopsFollowing (void)Nothing visible happens when Isaac walks south into the top of the middle passage out of the dragon statue's dark room (metatiles (14, 18) to (16, 18)); the room's ground mask stops following him.
Sint32scInit (void)Sets up the scene as the party enters: Isaac walks up to Fever in Imil Falls Cave, and each room of Fuchin Falls Cave is put in order.
static voidscImilFuchinFallsHopOnCue (void)Isaac jumps two metatiles across the water: in Zephyr's room from a log onto the stump at the pool's west end or onto the upright log below it, and in the Dragon's Eye room from the stump below the north shore onto the upright log.
static voidscFuchinFallsCaveHopNorth (void)In the Dragon's Eye room, Isaac jumps north from the upright log across the water: from the middle of the pool onto the stump (metatile (17, 22)), or from the head of the long channel onto the upper crosswise log, when it lies at the head too.
static voidscFuchinFallsCaveHopWest (void)In the Dragon's Eye room, Isaac jumps west from the lower crosswise log halfway down the long channel onto the stump below the west ledge (metatile (12, 27)), from which he walks on to the stairs down to the Dragon's Eye.
static voidscFuchinFallsCaveFindDragonsEye (void)Searching the little table in the round chamber below the Dragon's Eye room (metatile (15, 9)) gives the party the Dragon's Eye that lies on it.
static voidscFuchinFallsCaveUpdateDustMotion (ACTOR *actor)Moves and grows a puff of the dragon's fire for one tick.
static Sint32scFuchinFallsCaveHideDust (ACTOR *actor)Hides a puff of the dragon's fire when its script has run out.
voidscImilFuchinFallsSpawnDust (FIXED x, FIXED y, FIXED z, Sint32 velocityX, Sint32 velocityY, Sint32 velocityZ, Uint32 flags, const EFFECT_OPTIONS *extra)Creates one puff of the dust sprite, flying at the given speed, in the given colour and growing to the given size: the puffs of the dragon's fire.
static voidscFuchinFallsCaveBreatheDragonFire (void)Every fourth tick while the dragon statue wakes, a red puff of fire blows out of its mouth toward the west, with a whoosh every eighth.
static voidscFuchinFallsCaveLightDragonWithEye (void)Isaac uses the Dragon's Eye at the steps below the dragon statue (metatiles (20, 14) to (22, 14)): the music stops, the dark room flashes, and the dragon breathes fire west across the room, which glows red and then comes back in its own colours, with the shadow of a hidden path across the spikes.
static voidscFuchinFallsCaveReadDragonFlameInscription (void)Isaac reads the tablet on the first room's south shore (metatile (15, 35)): "The dragon's flame illuminates the path of truth in darkness."
static voidscFuchinFallsCaveReadKiInscription (void)Isaac reads the tablet beside the chest in the room of Ki (metatile (16, 5)): "The secret of Ki shall be revealed to the disciples of truth."
static voidscFuchinFallsCaveReadShadowInscription (void)Isaac reads the tablet in the south half of the dragon statue's room (metatile (15, 29)): "Rays of light give birth to shadows, revealing the way."
static voidscFuchinFallsCaveSearchDragonStatue (void)Isaac looks at the dragon statue from the steps below it (metatiles (20, 14) to (22, 14)): "It's a statue of an eyeless dragon.", and once the eye is set, "It's a statue of a dragon with burning red eyes."
static voidscFuchinFallsCaveEndRevealLighting (void)When Isaac's Reveal fades in the dark half of the dragon statue's room, before the Dragon's Eye is set, the room fades up from black to its dim blue again.

Variables

NameDescription
extern Sint16IceKeyHeadings []The heading for each combination of held directions (DPAD_INDEX), or KEY_HEADING_NONE where they point nowhere and the leader looks around.
extern Sint16ImilFuchinFallsSlideHeadings []The way the leader slides on the ice for each combination of held directions (DPAD_INDEX); a diagonal slides east or west.
extern ACTOR *ImilFuchinFallsDragonsEyeThe Dragon's Eye's icon on the little table, until the party takes it.
extern SCENE_ENTRANCEImilFuchinFallsNoEntrances []
extern SCENE_ENTRANCEImilFuchinFallsImilFallsCaveEntrances []
extern SCENE_ENTRANCEImilFuchinFallsEntranceEntrances []
extern SCENE_ENTRANCEImilFuchinFallsZephyrRoomEntrances []
extern SCENE_ENTRANCEImilFuchinFallsDragonsEyeRoomEntrances []
extern SCENE_ENTRANCEImilFuchinFallsArcticBladeRoomEntrances []
extern SCENE_ENTRANCEImilFuchinFallsKiRoomEntrances []
extern SCENE_ENTRANCEImilFuchinFallsDragonRoomEntrances []
extern Uint32ImilFuchinFallsExits []
extern ACTOR_PLACEImilFuchinFallsNoActorPlacements []
extern ACTOR_PLACEImilFuchinFallsImilFallsCaveActorPlacements []
extern ACTOR_PLACEImilFuchinFallsEntranceActorPlacements []
extern ACTOR_PLACEImilFuchinFallsZephyrRoomActorPlacements []
extern ACTOR_PLACEImilFuchinFallsDragonsEyeRoomActorPlacements []
extern ACTOR_PLACEImilFuchinFallsArcticBladeRoomActorPlacements []
extern ACTOR_PLACEImilFuchinFallsDragonRoomActorPlacements []
extern CUEImilFuchinFallsNoCues []
extern CUEImilFuchinFallsImilFallsCaveCues []
extern CUEImilFuchinFallsEntranceCues []
extern CUEImilFuchinFallsZephyrRoomCues []
extern CUEImilFuchinFallsDragonsEyeRoomCues []
extern CUEImilFuchinFallsArcticBladeRoomCues []
extern CUEImilFuchinFallsKiRoomCues []
extern CUEImilFuchinFallsDragonRoomCues []
extern Sint32ImilFuchinFallsShortDustScript []
extern Sint32ImilFuchinFallsMediumDustScript []
extern Sint32ImilFuchinFallsLongDustScript []
Sint32ImilFuchinFallsTrackLeaderSet while the floor's ground mask follows the leader (scFuchinFallsCaveGroundMaskFollowsLeader).

Description

Imil Falls Cave, the little cave behind Imil's frozen falls, and Fuchin Falls Cave, the grotto behind the waterfall at Fuchin Temple where Master Nyunpa sends the party for its test.

Imil Falls Cave (SceneIdImilFallsCave) is reached by sliding across Imil's frozen river to the cave mouth at the foot of the falls. Inside, Isaac walks up a strip of ice to Fever, a Mars Djinni, which joins the party without a fight. Retreat does not work in the cave, and the doorway at the bottom of the ice leads back out to Imil.

Fuchin Falls Cave is Nyunpa's test: he tells the party how to pass through Mogall Forest only once they have come back from it with the Orb of Force, and back at the temple he names its power Ki (fuchin_temple.c). The cave is six rooms, crossed on golden logs that float on the cave's water. Isaac steps onto a log and keeps walking the way it can go, and the log floats with him on it to the far end of its run, glowing orange as it goes. From some of a log's stops he jumps across a gap of water to a stump or to another log. The logs are back where they started whenever the party comes into the cave again.

In the order the player meets them:

  • The first room (SceneIdFuchinFallsCaveEntrance), behind the falls. On the south shore a tablet reads "The dragon's flame illuminates the path of truth in darkness." The crosswise log on the right floats north to the ledge with a chest, which is a Mimic. The one on the left floats north to the ledge below the room's north half, a pool of stumps that Isaac hops across to the doorway in its north-east corner. An upright log at the pool's west bank ferries Isaac to the east bank and back.
  • The room of the Dragon's Eye (SceneIdFuchinFallsCaveDragonsEye), with an upright log, two crosswise logs in a long channel and a small pool in its south-west corner. Stairs down from its west ledge lead to a round chamber where the Dragon's Eye lies on a little table.
  • The dragon statue's room (SceneIdFuchinFallsCaveDragonStatue), up the stairs at that room's north-west. Its northern half is dark and blue, its floor a field of spikes with an eyeless stone dragon in the north-east corner, and a tablet in its southern half reads "Rays of light give birth to shadows, revealing the way." Using the Dragon's Eye on the statue makes the dragon breathe fire, lights the room and shows the shadow of a hidden path across the spikes, to two doorways in the north wall.
  • The room of the Arctic Blade (SceneIdFuchinFallsCaveArcticBlade), down the stairs at the west of the dragon statue's room. In its north half a crosswise log and an upright log cross a pool to the chest of the Arctic Blade. In its south half an upright log carries Isaac east across a pool to the way back to the first room's west bank.
  • Zephyr's room (SceneIdFuchinFallsCaveZephyr), through the doorway at the first room's east bank. Zephyr, a Jupiter Djinni, waits on a ledge on its east side and fights when spoken to. Its doorway in the north leads to the south end of the Dragon's Eye room.
  • The room of Ki (SceneIdFuchinFallsCaveOrbOfForce), through the doorways the hidden path leads to. A tablet reads "The secret of Ki shall be revealed to the disciples of truth.", and the chest beside it holds the Orb of Force (FLAG_FUCHIN_FALLS_ORB_OF_FORCE_FOUND), which ends the test.

Each log's place is an area temp flag named beside the includes, and each room's rebuild function puts its logs where their flags say. It also rewrites the metatiles of every log's run, copied from spare metatiles that each room's map keeps beside it: the metatiles under a log get the step cue that moves it, and the empty ends of its run become walls of water. The logs' moves are scActorFloatLogWithLeader, which carries the log and the leader together. The darkness of the dragon statue's room is a palette tint, and the hidden path is a run of metatiles copied over the spikes when the eye is set (FLAG_FUCHIN_FALLS_DRAGONS_EYE_SET).

Macros in detail

FLAG_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_EAST

#define FLAG_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_EAST FLAG_AREA_TEMP(0x01)

The first room's upright log lies at the pool's east bank.

Referenced by scFuchinFallsCaveEntranceMoveFirstLogEast(), scFuchinFallsCaveEntranceMoveFirstLogWest() and scFuchinFallsCaveRebuildEntranceLogs().

Definition at line 820 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ENTRANCE_SECOND_LOG_NORTH

#define FLAG_FUCHIN_FALLS_ENTRANCE_SECOND_LOG_NORTH FLAG_AREA_TEMP(0x02)

The first room's left crosswise log lies below the ledge on the north side.

Referenced by scFuchinFallsCaveEntranceMoveSecondLogNorth(), scFuchinFallsCaveEntranceMoveSecondLogSouth() and scFuchinFallsCaveRebuildEntranceLogs().

Definition at line 822 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ENTRANCE_THIRD_LOG_NORTH

#define FLAG_FUCHIN_FALLS_ENTRANCE_THIRD_LOG_NORTH FLAG_AREA_TEMP(0x03)

The first room's right crosswise log lies below the ledge with the chest.

Referenced by scFuchinFallsCaveEntranceMoveThirdLogNorth(), scFuchinFallsCaveEntranceMoveThirdLogSouth() and scFuchinFallsCaveRebuildEntranceLogs().

Definition at line 824 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_EAST_END

#define FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_EAST_END FLAG_AREA_TEMP(0x04)

Zephyr's room's upright log lies at the east end of the pool, below Zephyr's ledge.

Referenced by ImilFuchinFallsZephyrRoomCues, scFuchinFallsCaveRebuildZephyrRoomLogs(), scFuchinFallsCaveZephyrRoomMoveFirstLogEast(), scFuchinFallsCaveZephyrRoomMoveFirstLogToEastEnd() and scFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd().

Definition at line 827 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_WEST_END

#define FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_WEST_END FLAG_AREA_TEMP(0x05)

Zephyr's room's upright log lies against the west wall, a metatile west of where it starts, unless it has since been taken to the east end.

Referenced by scFuchinFallsCaveRebuildZephyrRoomLogs(), scFuchinFallsCaveZephyrRoomMoveFirstLogEast(), scFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd() and scFuchinFallsCaveZephyrRoomNudgeFirstLogWest().

Definition at line 830 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_SECOND_LOG_SOUTH

#define FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_SECOND_LOG_SOUTH FLAG_AREA_TEMP(0x06)

Zephyr's room's crosswise log lies at the pool's south shore.

Referenced by ImilFuchinFallsZephyrRoomCues, scFuchinFallsCaveRebuildZephyrRoomLogs(), scFuchinFallsCaveZephyrRoomMoveFirstLogEast(), scFuchinFallsCaveZephyrRoomMoveSecondLogNorth() and scFuchinFallsCaveZephyrRoomMoveSecondLogSouth().

Definition at line 832 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_THIRD_LOG_NORTH

#define FLAG_FUCHIN_FALLS_ZEPHYR_ROOM_THIRD_LOG_NORTH FLAG_AREA_TEMP(0x07)

The crosswise log in Zephyr's room's long channel lies at its north end.

Referenced by scFuchinFallsCaveRebuildZephyrRoomLogs(), scFuchinFallsCaveZephyrRoomMoveThirdLogNorth() and scFuchinFallsCaveZephyrRoomMoveThirdLogSouth().

Definition at line 834 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_WEST_END

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_WEST_END

The Dragon's Eye room's upright log lies at the head of the long channel.

Referenced by ImilFuchinFallsDragonsEyeRoomCues, scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 836 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_MIDDLE

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_MIDDLE FLAG_AREA_TEMP(0x09)

The Dragon's Eye room's upright log lies in the middle of the pool, below the stump, where a crosswise log stopped it.

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and scImilFuchinFallsHopOnCue().

Definition at line 840 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_SECOND_LOG_WEST

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_SECOND_LOG_WEST FLAG_AREA_TEMP(0x0a)

The upright log in the Dragon's Eye room's small south-west pool lies at the pool's west side.

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveSecondLogEast(), scFuchinFallsCaveDragonsEyeRoomMoveSecondLogWest() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 843 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_NORTH_END

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_NORTH_END

The Dragon's Eye room's upper crosswise log lies at the head of the channel.

Referenced by ImilFuchinFallsDragonsEyeRoomCues, scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 845 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_UPPER_STOP

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_UPPER_STOP

The upper crosswise log lies a metatile down the channel from its head.

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 848 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_MIDDLE

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_MIDDLE FLAG_AREA_TEMP(0x0d)

The upper crosswise log lies halfway down the channel.

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 851 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_LOWER_STOP

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_LOWER_STOP

The upper crosswise log lies a metatile below halfway. No move sets it.

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 853 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_NORTH_END

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_NORTH_END

The Dragon's Eye room's lower crosswise log lies a metatile below the channel's head, as far up as it goes.

Referenced by scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 857 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_UPPER_STOP

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_UPPER_STOP

The lower crosswise log lies two metatiles below the channel's head.

Referenced by ImilFuchinFallsDragonsEyeRoomCues, scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 860 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_MIDDLE

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_MIDDLE

The lower crosswise log lies halfway down the channel, beside the stump.

Referenced by scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 863 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_LOWER_STOP

#define FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_LOWER_STOP

The lower crosswise log lies a metatile below halfway. No move sets it.

Referenced by scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth() and scFuchinFallsCaveRebuildDragonsEyeRoomLogs().

Definition at line 866 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_FIRST_LOG_SOUTH

#define FLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_FIRST_LOG_SOUTH FLAG_AREA_TEMP(0x13)

The Arctic Blade's room's crosswise log lies at the pool's south shore.

Referenced by ImilFuchinFallsArcticBladeRoomCues, scFuchinFallsCaveArcticBladeRoomMoveFirstLogNorth(), scFuchinFallsCaveArcticBladeRoomMoveFirstLogSouth() and scFuchinFallsCaveRebuildArcticBladeRoomLogs().

Definition at line 869 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_SECOND_LOG_WEST

#define FLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_SECOND_LOG_WEST FLAG_AREA_TEMP(0x14)

The Arctic Blade's room's upright log lies at the pool's west shore.

Referenced by scFuchinFallsCaveArcticBladeRoomMoveSecondLogEast(), scFuchinFallsCaveArcticBladeRoomMoveSecondLogWest() and scFuchinFallsCaveRebuildArcticBladeRoomLogs().

Definition at line 871 of file imil_fuchin_falls.c.

FLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_THIRD_LOG_EAST

#define FLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_THIRD_LOG_EAST FLAG_AREA_TEMP(0x15)

The upright log in the south half of the Arctic Blade's room lies at the pool's east side.

Referenced by scFuchinFallsCaveArcticBladeRoomMoveThirdLogEast(), scFuchinFallsCaveArcticBladeRoomMoveThirdLogWest() and scFuchinFallsCaveRebuildArcticBladeRoomLogs().

Definition at line 874 of file imil_fuchin_falls.c.

ICE_SLIDE_HEADINGS

#define ICE_SLIDE_HEADINGS ImilFuchinFallsSlideHeadings

Referenced by scLeaderSlideOnIce().

Definition at line 2568 of file imil_fuchin_falls.c.

Enumerations in detail

IMIL_FUCHIN_FALLS_ACTOR_ID

enum IMIL_FUCHIN_FALLS_ACTOR_ID

The placed actors, numbering each scene's placement rows from ACTOR_FIRST_PLACED: Fever in Imil Falls Cave, the floating logs of Fuchin Falls Cave's first room, Zephyr's room, the Dragon's Eye room and the Arctic Blade's room, followed in Zephyr's room by Zephyr, and the one sprite the dragon statue's room places.

EnumeratorValueDescription
ACTOR_FEVERACTOR_FIRST_PLACEDA Mars Djinni, at the top of the ice in Imil Falls Cave.
ACTOR_FIRST_LOGACTOR_FIRST_PLACEDThe floating logs: three in the first room, Zephyr's room and the Arctic Blade's room, four in the Dragon's Eye room. The metatile behaviours below say which log is which in each room. They are numbered by their placement rows, not named for each room, because one function serves the same row in every room: the step cues of all four run scFuchinFallsCaveSettleFirstLog for their first log.
ACTOR_SECOND_LOG
ACTOR_THIRD_LOG
ACTOR_FOURTH_LOG
ACTOR_ZEPHYRACTOR_FIRST_PLACED + 3Zephyr, a Jupiter Djinni, after the three logs of its room.
ACTOR_INVISIBLE_DRAGON_ROOM_CRATEACTOR_FIRST_PLACEDA crate in the dragon statue's room, beside the statue at metatile (19, 8), which the player never sees: on entry scImilFuchinFallsPrepareRoom stills it at floor height and draws it hidden, as scFuchinFallsCaveCreateHiddenActor draws the two in the Dragon's Eye room.

Definition at line 116 of file imil_fuchin_falls.c.

anonymous enum

enum { METATILE_BEHAVIOR_IMIL_FALLS_CAVE_ICE, METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_TABLET, METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_WEST, METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_EAST, … }

The metatiles the rooms' step and search cues answer, by the metatile behaviour their map gives them. A log's metatiles are the three under it at one of its stops; the rebuild functions copy them in where the log lies.

EnumeratorValueDescription
METATILE_BEHAVIOR_IMIL_FALLS_CAVE_ICE10Imil Falls Cave: the strip of ice from the doorway north to Fever, metatiles (16, 14) to (16, 18).
METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_TABLET1First room: the
METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_WEST11tablet on the south shore, metatile (15, 35). First room: the
METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_EAST12upright log at the pool's west bank, metatiles (8, 30) to (8, 32). First room: the
METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_SECOND_LOG_NORTH13upright log at the pool's east bank, metatiles (22, 30) to (22, 32). First room: the left
METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_SECOND_LOG_SOUTH14crosswise log below the ledge on the north side, metatiles (11, 29) to (13, 29). First room: the left
METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_THIRD_LOG_NORTH15crosswise log at the south shore, metatiles (11, 33) to (13, 33). First room: the
METATILE_BEHAVIOR_FUCHIN_FALLS_ENTRANCE_THIRD_LOG_SOUTH16right crosswise log below the ledge with the chest, metatiles (17, 29) to (19, 29). First room: the right crosswise log at the south shore, metatiles (17, 33) to (19, 33).
METATILE_BEHAVIOR_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_START11Zephyr's
METATILE_BEHAVIOR_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_EAST_END12room: the upright log where it starts, at the west end of the pool, metatiles (13, 19) to (13, 21). Zephyr's
METATILE_BEHAVIOR_FUCHIN_FALLS_ZEPHYR_ROOM_SECOND_LOG_NORTH13room: the upright log at the east end, below Zephyr's ledge, metatiles (21, 19) to (21, 21). Zephyr's
METATILE_BEHAVIOR_FUCHIN_FALLS_ZEPHYR_ROOM_SECOND_LOG_SOUTH14room: the crosswise log at the foot of the sandy path down from the spiked floor, metatiles (14, 17) to (16, 17). Zephyr's
METATILE_BEHAVIOR_FUCHIN_FALLS_ZEPHYR_ROOM_THIRD_LOG_NORTH15room: the crosswise log at the pool's south shore, metatiles (14, 21) to (16, 21). Zephyr's
METATILE_BEHAVIOR_FUCHIN_FALLS_ZEPHYR_ROOM_THIRD_LOG_SOUTH16room: the crosswise log at the north end of the long channel, beside the spiked floor, metatiles (18, 8) to (20, 8). Zephyr's
METATILE_BEHAVIOR_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_WEST_END17room: the crosswise log at the south end of the long channel, metatiles (18, 25) to (20, 25). Zephyr's room: the upright log pushed against the west wall, below the stump, metatiles (12, 19) to (12, 21).
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_EAST_END10The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_MIDDLE11Dragon's Eye room: the upright log at the pool's east edge, metatiles (20, 24) to (20, 26). The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_WEST_END12Dragon's Eye room: the upright log in the middle of the pool, below the stump, metatiles (17, 24) to (17, 26). The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_SECOND_LOG_WEST13Dragon's Eye room: the upright log at the head of the long channel, metatiles (14, 24) to (14, 26). The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_SECOND_LOG_EAST14Dragon's Eye room: the upright log in the small south-west pool, at its west side, metatiles (13, 34) to (13, 36). The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_SOUTH_END15Dragon's Eye room: the same log at the pool's east side, metatiles (15, 34) to (15, 36). The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_NORTH_END16Dragon's Eye room: the upper crosswise log at the foot of the channel, row 30. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_UPPER_STOP17upper crosswise log at the head of the channel, below the north shore, row 22. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_MIDDLE18upper crosswise log one metatile down the channel, row 23. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_LOWER_STOP19upper crosswise log halfway down the channel, row 26. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_SOUTH_END20upper crosswise log at row 27, a stop no move gives it. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_NORTH_END21lower crosswise log at the foot of the channel, row 31. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_UPPER_STOP22lower crosswise log at the head of the channel, row 23. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_MIDDLE23lower crosswise log at row 24. The
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_LOWER_STOP24lower crosswise log at row 27, beside the stump below the west ledge. The lower crosswise
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_ROOM_STUMP25log at row 28, a stop no move gives it. The Dragon's Eye room: the stump in the pool below the north shore, metatile (17, 22). The north shore above the channel, metatiles (14, 21) to (16, 21), takes it too while the upper crosswise log lies at its upper stop.
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGONS_EYE_TABLE30The Dragon's Eye room's chamber: the little table, metatile (15, 9).
METATILE_BEHAVIOR_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_FIRST_LOG_NORTH11The
METATILE_BEHAVIOR_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_FIRST_LOG_SOUTH12Arctic Blade's room: the crosswise log at the pool's north shore, metatiles (19, 10) to (21, 10). The
METATILE_BEHAVIOR_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_SECOND_LOG_EAST13same log at the south shore, metatiles (19, 17) to (21, 17). The
METATILE_BEHAVIOR_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_SECOND_LOG_WEST14upright log at the pool's east shore, metatiles (22, 15) to (22, 17). The
METATILE_BEHAVIOR_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_THIRD_LOG_WEST15same log at the west shore, below the way up to the chest, metatiles (14, 15) to (14, 17). The
METATILE_BEHAVIOR_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_THIRD_LOG_EAST16south half's upright log at the west end of its pool, metatiles (7, 45) to (7, 47). The same log at the pool's east end, metatiles (17, 45) to (17, 47).
METATILE_BEHAVIOR_FUCHIN_FALLS_KI_ROOM_TABLET7The room of Ki: the tablet beside the chest, metatile (16, 5).
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGON_ROOM_NORTH_OF_MIDDLE_PASSAGE15The dragon statue's
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGON_ROOM_MIDDLE_PASSAGE16room: the row where the middle passage from the south opens into the dark half, metatiles (14, 17) to (16, 17). The dragon statue's
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGON_ROOM_TABLET19room: the top of the middle passage, metatiles (14, 18) to (16, 18). The dragon statue's room: the tablet in the south half, metatile (15, 29).
METATILE_BEHAVIOR_FUCHIN_FALLS_DRAGON_STATUE20The dragon statue's room: the steps below the statue, metatiles (20, 14) to (22, 14).
METATILE_BEHAVIOR_FUCHIN_FALLS_CHEST100The chest in each room that has one: the first room's Mimic, the Arctic Blade and the Orb of Force.

Definition at line 143 of file imil_fuchin_falls.c.

Functions in detail

scFuchinFallsCaveRebuildEntranceLogs

static void scFuchinFallsCaveRebuildEntranceLogs(void)

Puts the logs of Fuchin Falls Cave's first room where their flags say, and rewrites the metatiles of their runs to match from the spare copy of the pool kept below the room.

References fdMapGridCopyMetatileAttributes(), gmFlagGet() and scFuchinFallsCavePlaceLogAtMetatile().

Referenced by scFuchinFallsCaveEntranceMoveFirstLogEast(), scFuchinFallsCaveEntranceMoveFirstLogWest(), scFuchinFallsCaveEntranceMoveSecondLogNorth(), scFuchinFallsCaveEntranceMoveSecondLogSouth(), scFuchinFallsCaveEntranceMoveThirdLogNorth(), scFuchinFallsCaveEntranceMoveThirdLogSouth() and scImilFuchinFallsRebuildLogRoom().

Definition at lines 686 and 1770 of file imil_fuchin_falls.c.

scFuchinFallsCaveRebuildZephyrRoomLogs

static void scFuchinFallsCaveRebuildZephyrRoomLogs(void)

Puts the logs of Zephyr's room where their flags say, and rewrites the metatiles of their runs to match.

References fdMapGridCopyMetatileAttributes(), gmFlagGet() and scFuchinFallsCavePlaceLogAtMetatile().

Referenced by scFuchinFallsCaveZephyrRoomMoveFirstLogEast(), scFuchinFallsCaveZephyrRoomMoveFirstLogToEastEnd(), scFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd(), scFuchinFallsCaveZephyrRoomMoveSecondLogNorth(), scFuchinFallsCaveZephyrRoomMoveSecondLogSouth(), scFuchinFallsCaveZephyrRoomMoveThirdLogNorth(), scFuchinFallsCaveZephyrRoomMoveThirdLogSouth(), scFuchinFallsCaveZephyrRoomNudgeFirstLogWest() and scImilFuchinFallsRebuildLogRoom().

Definition at lines 687 and 1810 of file imil_fuchin_falls.c.

scFuchinFallsCaveRebuildDragonsEyeRoomLogs

static void scFuchinFallsCaveRebuildDragonsEyeRoomLogs(void)

Puts the four logs of the Dragon's Eye room where their flags say, and rewrites the metatiles of their runs to match.

References fdMapGridCopyMetatileAttributes(), gmFlagGet() and scFuchinFallsCavePlaceLogAtMetatile().

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomMoveSecondLogEast(), scFuchinFallsCaveDragonsEyeRoomMoveSecondLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth() and scImilFuchinFallsRebuildLogRoom().

Definition at lines 688 and 1863 of file imil_fuchin_falls.c.

scFuchinFallsCaveRebuildArcticBladeRoomLogs

static void scFuchinFallsCaveRebuildArcticBladeRoomLogs(void)

Puts the logs of the Arctic Blade's room, in both of its halves, where their flags say, and rewrites the metatiles of their runs to match.

References fdMapGridCopyMetatileAttributes(), gmFlagGet(), MainRoutineStateWork and scFuchinFallsCavePlaceLogAtMetatile().

Referenced by scFuchinFallsCaveArcticBladeRoomMoveFirstLogNorth(), scFuchinFallsCaveArcticBladeRoomMoveFirstLogSouth(), scFuchinFallsCaveArcticBladeRoomMoveSecondLogEast(), scFuchinFallsCaveArcticBladeRoomMoveSecondLogWest(), scFuchinFallsCaveArcticBladeRoomMoveThirdLogEast(), scFuchinFallsCaveArcticBladeRoomMoveThirdLogWest() and scImilFuchinFallsRebuildLogRoom().

Definition at lines 689 and 1972 of file imil_fuchin_falls.c.

scImilWalkTowardFever

static void scImilWalkTowardFever(void)

Isaac comes into Imil Falls Cave and walks up the ice to Fever.

References fdActorGet(), fdActorMoveToAndWait(), fdActorSetSpriteFlags(), fdScriptEnd(), fdScriptStart() and fdScriptStartScreenTransition().

Referenced by scInit().

Definition at lines 690 and 2073 of file imil_fuchin_falls.c.

scImilFuchinFallsPrepareRoom

static void scImilFuchinFallsPrepareRoom(void)

Puts a room of Fuchin Falls Cave in order for the way the party comes in: its logs, the Dragon's Eye on its table, and the dragon statue's room dark or lit.

References fdActorGet(), fdActorSetSpriteColorById(), fdActorSetSpritePriority(), fdEffectStartGroundMask(), fdMapGridCopyMetatilesTo(), fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeStartInterpolation(), gmFlagGet(), ImilFuchinFallsTrackLeader, MainRoutineStateWork, scFuchinFallsCaveCreateHiddenActor(), scImilFuchinFallsPlaceDragonsEye(), scImilFuchinFallsRebuildLogRoom(), state and sySynch().

Referenced by scInit().

Definition at lines 691 and 2086 of file imil_fuchin_falls.c.

scImilFuchinFallsRebuildLogRoom

static void scImilFuchinFallsRebuildLogRoom(void)

Puts the logs of the room being entered where their flags say, first saving the metatiles of their runs as the map draws them, which the rebuild functions copy back from.

References fdMapGridCopyMetatileAttributes(), MainRoutineStateWork, scFuchinFallsCaveRebuildArcticBladeRoomLogs(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), scFuchinFallsCaveRebuildEntranceLogs() and scFuchinFallsCaveRebuildZephyrRoomLogs().

Referenced by scImilFuchinFallsPrepareRoom().

Definition at lines 692 and 2169 of file imil_fuchin_falls.c.

scImilFuchinFallsPlaceDragonsEye

static void scImilFuchinFallsPlaceDragonsEye(void)

Puts the Dragon's Eye on the little table in the middle of the round chamber below the Dragon's Eye room, drawn as its item icon.

References glyph, ImilFuchinFallsDragonsEye, mnIconDrawItem(), scFieldActorCreate(), syHeapSlotAllocate(), syHeapSlotRelease() and syVRAMCacheLoad().

Referenced by scImilFuchinFallsPrepareRoom().

Definition at lines 694 and 2260 of file imil_fuchin_falls.c.

scImilFeverJoins

static void scImilFeverJoins(void)

Talking to Fever, the Mars Djinni at the top of the ice in Imil Falls Cave, makes it join the party without a fight.

References fdDjinnJoinParty().

Referenced by ImilFuchinFallsImilFallsCaveCues.

Definition at line 728 of file imil_fuchin_falls.c.

scFuchinFallsCaveFightZephyr

static void scFuchinFallsCaveFightZephyr(void)

Talking to Zephyr, the Jupiter Djinni on the ledge on the east side of its room in Fuchin Falls Cave, starts a battle with it.

References fdRequestDjinnBattle().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 735 of file imil_fuchin_falls.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References ImilFuchinFallsArcticBladeRoomEntrances, ImilFuchinFallsDragonRoomEntrances, ImilFuchinFallsDragonsEyeRoomEntrances, ImilFuchinFallsEntranceEntrances, ImilFuchinFallsImilFallsCaveEntrances, ImilFuchinFallsKiRoomEntrances, ImilFuchinFallsNoEntrances, ImilFuchinFallsZephyrRoomEntrances and MainRoutineStateWork.

Definition at line 740 of file imil_fuchin_falls.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 775 of file imil_fuchin_falls.c.

scGetExits

const Uint32 *scGetExits(void)

Returns the exit table every scene of the overlay shares.

References ImilFuchinFallsExits.

Definition at line 781 of file imil_fuchin_falls.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References ImilFuchinFallsArcticBladeRoomActorPlacements, ImilFuchinFallsDragonRoomActorPlacements, ImilFuchinFallsDragonsEyeRoomActorPlacements, ImilFuchinFallsEntranceActorPlacements, ImilFuchinFallsImilFallsCaveActorPlacements, ImilFuchinFallsNoActorPlacements, ImilFuchinFallsZephyrRoomActorPlacements and MainRoutineStateWork.

Definition at line 786 of file imil_fuchin_falls.c.

scFuchinFallsCaveFinishLogMove

static inline void scFuchinFallsCaveFinishLogMove(void (*rebuildLogs)(void))

Ends a log's move by fading out the sound of the moving water, then puts its room's logs and their metatiles to rights.

References sySoundPlay() and sySynch().

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop() and scFuchinFallsCaveZephyrRoomMoveFirstLogEast().

Definition at line 878 of file imil_fuchin_falls.c.

scFuchinFallsCaveEntranceMoveFirstLogEast

static void scFuchinFallsCaveEntranceMoveFirstLogEast(void)

In the first room, Isaac steps onto the upright log at the pool's west bank (metatile (8, 31)) and walks on east, and the log carries him across the pool to the east bank, by the doorway to Zephyr's room.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildEntranceLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsEntranceCues.

Definition at line 888 of file imil_fuchin_falls.c.

scFuchinFallsCaveEntranceMoveFirstLogWest

static void scFuchinFallsCaveEntranceMoveFirstLogWest(void)

In the first room, Isaac walks west on the upright log at the pool's east bank (metatile (22, 31)), and it carries him back across the pool to the west bank, by the doorway from the Arctic Blade's room.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildEntranceLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsEntranceCues.

Definition at line 902 of file imil_fuchin_falls.c.

scFuchinFallsCaveEntranceMoveSecondLogSouth

static void scFuchinFallsCaveEntranceMoveSecondLogSouth(void)

In the first room, Isaac walks south on the left crosswise log below the ledge on the north side (metatile (12, 29)), and it floats him back to the south shore, west of the tablet.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildEntranceLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsEntranceCues.

Definition at line 916 of file imil_fuchin_falls.c.

scFuchinFallsCaveEntranceMoveSecondLogNorth

static void scFuchinFallsCaveEntranceMoveSecondLogNorth(void)

In the first room, Isaac steps onto the left crosswise log at the south shore (metatile (12, 33)) and walks on north, and it floats him to the ledge on the north side, where a passage leads up to the room's north half.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildEntranceLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsEntranceCues.

Definition at line 929 of file imil_fuchin_falls.c.

scFuchinFallsCaveEntranceMoveThirdLogSouth

static void scFuchinFallsCaveEntranceMoveThirdLogSouth(void)

In the first room, Isaac walks south on the right crosswise log below the ledge with the chest (metatile (18, 29)), and it floats him back to the south shore, east of the tablet.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildEntranceLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsEntranceCues.

Definition at line 942 of file imil_fuchin_falls.c.

scFuchinFallsCaveEntranceMoveThirdLogNorth

static void scFuchinFallsCaveEntranceMoveThirdLogNorth(void)

In the first room, Isaac steps onto the right crosswise log at the south shore (metatile (18, 33)) and walks on north, and it floats him to the ledge with the chest, which holds a Mimic.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildEntranceLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsEntranceCues.

Definition at line 955 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomMoveFirstLogToEastEnd

static void scFuchinFallsCaveZephyrRoomMoveFirstLogToEastEnd(void)

In Zephyr's room, Isaac walks east on the upright log where it starts, at the west end of the pool (metatile (13, 20)), and it carries him the length of the pool to below Zephyr's ledge.

It goes only while the crosswise log is not at the south shore, where it would lie across the way.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildZephyrRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 971 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd

static void scFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd(void)

In Zephyr's room, Isaac walks west on the upright log below Zephyr's ledge (metatile (21, 20)), and it carries him back along the pool to the west wall, below the stump.

References gmFlagClear(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildZephyrRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 984 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomNudgeFirstLogWest

static void scFuchinFallsCaveZephyrRoomNudgeFirstLogWest(void)

In Zephyr's room, Isaac walks west on the upright log where it starts (metatile (13, 20)), and it bumps the last little way west against the wall, right below the stump.

From there Isaac can hop north onto the stump, and a hop west from the crosswise log at the south shore lands on the upright log.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildZephyrRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 1001 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomMoveFirstLogEast

static void scFuchinFallsCaveZephyrRoomMoveFirstLogEast(void)

In Zephyr's room, Isaac walks east on the upright log against the west wall (metatile (12, 20)), and it carries him the length of the pool to below Zephyr's ledge.

While the crosswise log lies at the south shore, across the way, the upright log only goes back the one metatile to where it started.

References gmFlagClear(), gmFlagGet(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildZephyrRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 1017 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomMoveSecondLogSouth

static void scFuchinFallsCaveZephyrRoomMoveSecondLogSouth(void)

In Zephyr's room, Isaac steps onto the crosswise log at the foot of the sandy path down from the spiked floor (metatile (15, 17)) and walks on south, and it floats him across the pool to the south shore.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildZephyrRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 1039 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomMoveSecondLogNorth

static void scFuchinFallsCaveZephyrRoomMoveSecondLogNorth(void)

In Zephyr's room, Isaac walks north on the crosswise log at the pool's south shore (metatile (15, 21)), and it floats him back to the foot of the sandy path down from the spiked floor.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildZephyrRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 1052 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomMoveThirdLogSouth

static void scFuchinFallsCaveZephyrRoomMoveThirdLogSouth(void)

In Zephyr's room, Isaac steps onto the crosswise log at the north end of the long channel, beside the spiked floor (metatile (19, 8)), and walks on south, and it floats him all the way down the channel, past Zephyr's ledge, to its south end.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildZephyrRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 1066 of file imil_fuchin_falls.c.

scFuchinFallsCaveZephyrRoomMoveThirdLogNorth

static void scFuchinFallsCaveZephyrRoomMoveThirdLogNorth(void)

In Zephyr's room, Isaac walks north on the crosswise log at the south end of the long channel (metatile (19, 25)), and it floats him all the way up the channel, past Zephyr's ledge, to the spiked floor below the north doorway.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildZephyrRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsZephyrRoomCues.

Definition at line 1080 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest

static void scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(void)

In the Dragon's Eye room, Isaac steps onto the upright log at the pool's east edge (metatile (20, 25)) and walks on west, and it carries him across the pool to the head of the long channel.

When a crosswise log lies in the channel across its way (the lower one a metatile from the channel's head, or the upper one halfway down), it stops in the middle of the pool, below the stump, instead.

References gmFlagClear(), gmFlagGet(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1099 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle

static void scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle(void)

In the Dragon's Eye room, Isaac walks east on the upright log in the middle of the pool, below the stump (metatile (17, 25)), and it carries him back to the pool's east edge.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1123 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear

static void scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(void)

In the Dragon's Eye room, Isaac walks west on the upright log in the middle of the pool (metatile (17, 25)), and it carries him on to the head of the long channel.

While a crosswise log still lies across the channel there (the lower one a metatile from the head, or the upper one halfway down), nothing happens.

References gmFlagClear(), gmFlagGet(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1138 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd

static void scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd(void)

In the Dragon's Eye room, Isaac walks east on the upright log at the head of the long channel (metatile (14, 25)), and it carries him back across the pool to its east edge.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1162 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveSecondLogWest

static void scFuchinFallsCaveDragonsEyeRoomMoveSecondLogWest(void)

In the Dragon's Eye room, Isaac steps onto the upright log in the small pool in the south-west corner (metatile (15, 35)) and walks on west, and it floats him across to the pool's west side, by the doorway to the first room.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1174 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveSecondLogEast

static void scFuchinFallsCaveDragonsEyeRoomMoveSecondLogEast(void)

In the Dragon's Eye room, Isaac walks east on the upright log at the west side of the small south-west pool (metatile (13, 35)), and it floats him back across to the pool's east side.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1187 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd

static void scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(void)

In the Dragon's Eye room, Isaac steps onto the upper of the two crosswise logs at the foot of the long channel (metatile (15, 30)) and walks on north, and it floats him up the channel to its head, below the north shore.

While the upright log lies at the head of the channel, the crosswise log stops against it, then is put back at its stop a metatile from the head, beyond the upright log, and Isaac is left standing on the water where it stopped.

Open question (no evidence in reach): whether the log was meant to stop below the upright log (FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_LOWER_STOP, which no move sets); the move here ends between the two stops, and no line of the game says where a log should rest.

References gmFlagClear(), gmFlagGet(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1210 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd

static void scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(void)

In the Dragon's Eye room, Isaac walks south on the upper crosswise log at the head of the long channel (metatile (15, 22)), and it floats him back down the channel as far as it can go.

That is one metatile when the upright log or the lower crosswise log lies just below, halfway when the lower crosswise log lies halfway down, and otherwise all the way to the foot of the channel.

References gmFlagClear(), gmFlagGet(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1239 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth

static void scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth(void)

In the Dragon's Eye room, Isaac walks north on the upper crosswise log a metatile down the long channel (metatile (15, 23)), and it floats him the last metatile up to the head of the channel.

References gmFlagClear(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1283 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop

static void scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(void)

In the Dragon's Eye room, Isaac walks south on the upper crosswise log a metatile down the long channel (metatile (15, 23)), and it floats him back down: to halfway when the lower crosswise log lies halfway down, else all the way to the foot of the channel.

It does not go while the upright log lies across the channel below it. With the lower crosswise log right below it, the log floats two metatiles and is put back where it was, and Isaac is left on the lower log.

References gmFlagClear(), gmFlagGet(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1304 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle

static void scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle(void)

In the Dragon's Eye room, Isaac walks north on the upper crosswise log halfway down the long channel (metatile (15, 26)), and it floats him up to the head of the channel.

References gmFlagClear(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1339 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle

static void scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(void)

In the Dragon's Eye room, Isaac walks south on the upper crosswise log halfway down the long channel (metatile (15, 26)), and it floats him back to the foot of the channel. It does not go while the lower crosswise log lies a metatile from the channel's head.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1354 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop

static void scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(void)

Unused: walking north on the upper crosswise log at row 27 of the Dragon's Eye room's long channel (metatile (15, 27)) would float it to the head of the channel.

The log never stops there: only FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_LOWER_STOP puts it there, and no move sets that flag.

References gmFlagClear(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1374 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop

static void scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(void)

Unused: walking south on the upper crosswise log at row 27 of the Dragon's Eye room's long channel (metatile (15, 27)) would float it back to the foot of the channel. The log never stops there, as scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop says.

The same function as scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle under another name: the room's step table holds both.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1395 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth

static void scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(void)

In the Dragon's Eye room, Isaac steps onto the lower of the two crosswise logs at the foot of the long channel (metatile (15, 31)) and walks on north, and it floats him up the channel until something stops it.

It stops a metatile below the channel's head, below the upper crosswise log there; a metatile lower when the upper log lies a metatile down; and halfway, beside the stump below the west ledge, when the upright log lies across the channel or the upper crosswise log lies halfway down. From there Isaac can hop west onto the stump and reach the stairs down to the Dragon's Eye.

References gmFlagClear(), gmFlagGet(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1417 of file imil_fuchin_falls.c.

scFuchinFallsCaveClearFourthLogStops

static void scFuchinFallsCaveClearFourthLogStops(void)

Forgets the stops of the Dragon's Eye room's lower crosswise log, which puts it back at the foot of the long channel.

References gmFlagClear().

Referenced by scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd() and scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStop().

Definition at line 1452 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd

static void scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd(void)

In the Dragon's Eye room, Isaac walks south on the lower crosswise log a metatile below the head of the long channel (metatile (15, 23)), and it floats him all the way back to the foot of the channel. It does not go while the upright log lies across the channel below it.

References scActorFloatLogWithLeader(), scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveFinishLogMove(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs() and sySoundPlay().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1464 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth

static void scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth(void)

In the Dragon's Eye room, Isaac walks north on the lower crosswise log two metatiles below the head of the long channel (metatile (15, 24)), and it floats him one metatile further up.

References gmFlagClear(), gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1475 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStop

static void scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStop(void)

In the Dragon's Eye room, Isaac walks south on the lower crosswise log two metatiles below the head of the long channel (metatile (15, 24)), and it floats him back to the foot of the channel.

References scActorFloatLogWithLeader(), scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1491 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddle

static void scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddle(void)

In the Dragon's Eye room, Isaac walks south on the lower crosswise log halfway down the long channel, beside the stump (metatile (15, 27)), and it floats him back to the foot of the channel.

References scActorFloatLogWithLeader(), scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1504 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop

static void scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop(void)

Unused: walking north on the lower crosswise log at row 28 of the Dragon's Eye room's long channel (metatile (15, 28)) would float it south instead, five metatiles, past the foot of the channel.

The log never stops there: only FLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_LOWER_STOP puts it there, and no move sets that flag. With the flag set by hand, walking north on the log carries Isaac south past the channel's foot, and the rebuild puts the log back at the foot.

Open question (no evidence in reach): whether walking north was meant to float the log north, as the upper log's matching stop does; the log never stops here, so the game never shows which.

References scActorFloatLogWithLeader(), scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1527 of file imil_fuchin_falls.c.

scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStop

static void scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStop(void)

Unused: walking south on the lower crosswise log at row 28 of the Dragon's Eye room's long channel (metatile (15, 28)) would float it back to the foot of the channel. The log never stops there, as scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop says.

References scActorFloatLogWithLeader(), scFuchinFallsCaveClearFourthLogStops(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1541 of file imil_fuchin_falls.c.

scFuchinFallsCaveArcticBladeRoomMoveFirstLogSouth

static void scFuchinFallsCaveArcticBladeRoomMoveFirstLogSouth(void)

In the Arctic Blade's room, Isaac steps onto the crosswise log at the pool's north shore, below the stairs (metatile (20, 10)), and walks on south, and it floats him across the pool to the south shore, where the way leads on to the room's south half.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildArcticBladeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsArcticBladeRoomCues.

Definition at line 1555 of file imil_fuchin_falls.c.

scFuchinFallsCaveArcticBladeRoomMoveFirstLogNorth

static void scFuchinFallsCaveArcticBladeRoomMoveFirstLogNorth(void)

In the Arctic Blade's room, Isaac walks north on the crosswise log at the pool's south shore (metatile (20, 17)), and it floats him back across to the north shore, below the stairs.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildArcticBladeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsArcticBladeRoomCues.

Definition at line 1568 of file imil_fuchin_falls.c.

scFuchinFallsCaveArcticBladeRoomMoveSecondLogWest

static void scFuchinFallsCaveArcticBladeRoomMoveSecondLogWest(void)

In the Arctic Blade's room, Isaac steps onto the upright log at the pool's east shore (metatile (22, 16)) and walks on west, and it carries him across the pool to the west shore, below the way up to the chest of the Arctic Blade.

It goes only while the crosswise log is at the north shore; at the south shore it lies across the way.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildArcticBladeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsArcticBladeRoomCues.

Definition at line 1585 of file imil_fuchin_falls.c.

scFuchinFallsCaveArcticBladeRoomMoveSecondLogEast

static void scFuchinFallsCaveArcticBladeRoomMoveSecondLogEast(void)

In the Arctic Blade's room, Isaac walks east on the upright log at the pool's west shore (metatile (14, 16)), and it carries him back across to the east shore.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildArcticBladeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsArcticBladeRoomCues.

Definition at line 1598 of file imil_fuchin_falls.c.

scFuchinFallsCaveArcticBladeRoomMoveThirdLogEast

static void scFuchinFallsCaveArcticBladeRoomMoveThirdLogEast(void)

In the south half of the Arctic Blade's room, Isaac steps onto the upright log at the west end of the pool (metatile (7, 46)) and walks on east, and it carries him across to the east side, where the way leads on to the first room's west bank.

References gmFlagSet(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildArcticBladeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsArcticBladeRoomCues.

Definition at line 1612 of file imil_fuchin_falls.c.

scFuchinFallsCaveArcticBladeRoomMoveThirdLogWest

static void scFuchinFallsCaveArcticBladeRoomMoveThirdLogWest(void)

In the south half of the Arctic Blade's room, Isaac walks west on the upright log at the pool's east side (metatile (17, 46)), and it carries him back across to the west end.

References gmFlagClear(), scActorFloatLogWithLeader(), scFuchinFallsCaveRebuildArcticBladeRoomLogs(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsArcticBladeRoomCues.

Definition at line 1625 of file imil_fuchin_falls.c.

scFuchinFallsCaveSettleFirstLog

static void scFuchinFallsCaveSettleFirstLog(void)

Stepping onto a room's first log makes it dip under Isaac's step and then bob on the water: the upright log of the first room, of Zephyr's room and of the Dragon's Eye room, and the crosswise log in the north of the Arctic Blade's room.

References fdActorSetAnimation().

Referenced by ImilFuchinFallsArcticBladeRoomCues, ImilFuchinFallsDragonsEyeRoomCues, ImilFuchinFallsEntranceCues and ImilFuchinFallsZephyrRoomCues.

Definition at line 1639 of file imil_fuchin_falls.c.

scFuchinFallsCaveSettleSecondLog

static void scFuchinFallsCaveSettleSecondLog(void)

Stepping onto a room's second log makes it dip under Isaac's step and then bob on the water: the left crosswise log of the first room, the crosswise log at the middle of Zephyr's room, the upright log in the Dragon's Eye room's small south-west pool, and the upright log in the north of the Arctic Blade's room.

References fdActorSetAnimation().

Referenced by ImilFuchinFallsArcticBladeRoomCues, ImilFuchinFallsDragonsEyeRoomCues, ImilFuchinFallsEntranceCues and ImilFuchinFallsZephyrRoomCues.

Definition at line 1650 of file imil_fuchin_falls.c.

scFuchinFallsCaveSettleThirdLog

static void scFuchinFallsCaveSettleThirdLog(void)

Stepping onto a room's third log makes it dip under Isaac's step and then bob on the water: the right crosswise log of the first room, the crosswise log in Zephyr's room's long channel, the upper crosswise log in the Dragon's Eye room's channel, and the upright log in the south of the Arctic Blade's room.

References fdActorSetAnimation().

Referenced by ImilFuchinFallsArcticBladeRoomCues, ImilFuchinFallsDragonsEyeRoomCues, ImilFuchinFallsEntranceCues and ImilFuchinFallsZephyrRoomCues.

Definition at line 1660 of file imil_fuchin_falls.c.

scFuchinFallsCaveSettleFourthLog

static void scFuchinFallsCaveSettleFourthLog(void)

Stepping onto the lower crosswise log in the Dragon's Eye room's long channel makes it dip under Isaac's step and then bob on the water.

References fdActorSetAnimation().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 1668 of file imil_fuchin_falls.c.

scFuchinFallsCaveCreateHiddenActor

static ACTOR *scFuchinFallsCaveCreateHiddenActor(Sint32 x, Sint32 y, Sint32 z, Sint32 resourceId)

Creates an actor that stands still and is drawn hidden, so that the player never sees it.

References fdActorSetSpriteColor(), fdActorSetSpriteFlags(), scFieldActorCreate() and Sint32.

Referenced by scImilFuchinFallsPrepareRoom().

Definition at line 1676 of file imil_fuchin_falls.c.

scGetCues

const CUE *scGetCues(void)

References ImilFuchinFallsArcticBladeRoomCues, ImilFuchinFallsDragonRoomCues, ImilFuchinFallsDragonsEyeRoomCues, ImilFuchinFallsEntranceCues, ImilFuchinFallsImilFallsCaveCues, ImilFuchinFallsKiRoomCues, ImilFuchinFallsNoCues, ImilFuchinFallsZephyrRoomCues and MainRoutineStateWork.

Definition at line 1695 of file imil_fuchin_falls.c.

scImilLeaveFallsCave

static void scImilLeaveFallsCave(void)

Isaac walks out of the doorway at the bottom of Imil Falls Cave (metatile (16, 19)) and comes out at the foot of Imil's frozen falls.

References fdActorGet(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWaitTransitionTicks(), syImportScriptSetExitRequest() and sySoundPlay().

Referenced by ImilFuchinFallsImilFallsCaveCues.

Definition at line 1732 of file imil_fuchin_falls.c.

scImilMoveAcrossIce

static void scImilMoveAcrossIce(void)

Isaac steps onto the strip of ice between the doorway and Fever in Imil Falls Cave (metatiles (16, 14) to (16, 18)) and slides along it the way the pad points, until a wall stops him or he slides off the ice. Sliding south takes him right out of the doorway.

References scLeaderSlideOnIce().

Referenced by ImilFuchinFallsImilFallsCaveCues.

Definition at line 1746 of file imil_fuchin_falls.c.

scFuchinFallsCavePlaceLogAtMetatile

static void scFuchinFallsCavePlaceLogAtMetatile(Sint32 actorId, Sint32 column, Sint32 row)

Puts a log at a map metatile, drawn under the leader's feet.

References fdActorGet(), fdActorSetSpritePriority() and Sint32.

Referenced by scFuchinFallsCaveRebuildArcticBladeRoomLogs(), scFuchinFallsCaveRebuildDragonsEyeRoomLogs(), scFuchinFallsCaveRebuildEntranceLogs() and scFuchinFallsCaveRebuildZephyrRoomLogs().

Definition at line 1752 of file imil_fuchin_falls.c.

scFuchinFallsCaveGroundMaskFollowsLeader

static void scFuchinFallsCaveGroundMaskFollowsLeader(void)

Nothing visible happens when Isaac walks north out of the middle passage into the dragon statue's dark room (metatiles (14, 17) to (16, 17)); the ground mask the room started takes him up again.

The ground mask (field/field_engine_ground_mask.c) covers him with squares the colour of the floor wherever the ground just south of him stands higher than his feet: walking along the south side of the room's sunken middle floor, he shows only from the knees down. It runs only when he came in from the room of Ki or up the middle passage, and coming up the passage starts it with no one to follow; come in any other way, he walks there whole.

References fdActorGet(), HeapSlots, ImilFuchinFallsTrackLeader and state.

Referenced by ImilFuchinFallsDragonRoomCues.

Definition at line 2030 of file imil_fuchin_falls.c.

scFuchinFallsCaveGroundMaskStopsFollowing

static void scFuchinFallsCaveGroundMaskStopsFollowing(void)

Nothing visible happens when Isaac walks south into the top of the middle passage out of the dragon statue's dark room (metatiles (14, 18) to (16, 18)); the room's ground mask stops following him.

References HeapSlots, ImilFuchinFallsTrackLeader and state.

Referenced by ImilFuchinFallsDragonRoomCues.

Definition at line 2043 of file imil_fuchin_falls.c.

scInit

Sint32 scInit(void)

Sets up the scene as the party enters: Isaac walks up to Fever in Imil Falls Cave, and each room of Fuchin Falls Cave is put in order.

References gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scImilFuchinFallsPrepareRoom(), scImilWalkTowardFever() and Sint32.

Definition at line 2055 of file imil_fuchin_falls.c.

scImilFuchinFallsHopOnCue

static void scImilFuchinFallsHopOnCue(void)

Isaac jumps two metatiles across the water: in Zephyr's room from a log onto the stump at the pool's west end or onto the upright log below it, and in the Dragon's Eye room from the stump below the north shore onto the upright log.

In Zephyr's room he jumps north from the upright log against the west wall (metatile (12, 19)) onto the stump (metatile (12, 17)), west from the crosswise log at the foot of the sandy path onto the same stump, and west from the crosswise log at the south shore onto the upright log against the wall. In the Dragon's Eye room he jumps south from the stump (metatile (17, 22)) onto the upright log, but only while it lies in the middle of the pool.

References gmFlagGet(), MainRoutineStateWork, scHopLeaderBy() and Sint32.

Referenced by ImilFuchinFallsDragonsEyeRoomCues and ImilFuchinFallsZephyrRoomCues.

Definition at line 2215 of file imil_fuchin_falls.c.

scFuchinFallsCaveHopNorth

static void scFuchinFallsCaveHopNorth(void)

In the Dragon's Eye room, Isaac jumps north from the upright log across the water: from the middle of the pool onto the stump (metatile (17, 22)), or from the head of the long channel onto the upper crosswise log, when it lies at the head too.

References scHopLeaderBy().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 2243 of file imil_fuchin_falls.c.

scFuchinFallsCaveHopWest

static void scFuchinFallsCaveHopWest(void)

In the Dragon's Eye room, Isaac jumps west from the lower crosswise log halfway down the long channel onto the stump below the west ledge (metatile (12, 27)), from which he walks on to the stairs down to the Dragon's Eye.

References scHopLeaderBy().

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 2251 of file imil_fuchin_falls.c.

scFuchinFallsCaveFindDragonsEye

static void scFuchinFallsCaveFindDragonsEye(void)

Searching the little table in the round chamber below the Dragon's Eye room (metatile (15, 9)) gives the party the Dragon's Eye that lies on it.

References fdActorRelease(), fdItemDisplayShowPicture(), fdScriptEnd(), fdScriptStart(), gmFlagSet(), gmPartyGiveItem() and ImilFuchinFallsDragonsEye.

Referenced by ImilFuchinFallsDragonsEyeRoomCues.

Definition at line 2290 of file imil_fuchin_falls.c.

scFuchinFallsCaveUpdateDustMotion

static void scFuchinFallsCaveUpdateDustMotion(ACTOR *actor)

Moves and grows a puff of the dragon's fire for one tick.

Referenced by scImilFuchinFallsSpawnDust().

Definition at line 2312 of file imil_fuchin_falls.c.

scFuchinFallsCaveHideDust

static Sint32 scFuchinFallsCaveHideDust(ACTOR *actor)

Hides a puff of the dragon's fire when its script has run out.

References fdActorSetSpriteColor() and Sint32.

Referenced by ImilFuchinFallsLongDustScript, ImilFuchinFallsMediumDustScript and ImilFuchinFallsShortDustScript.

Definition at line 2324 of file imil_fuchin_falls.c.

scImilFuchinFallsSpawnDust

void scImilFuchinFallsSpawnDust(FIXED x, FIXED y, FIXED z, Sint32 velocityX, Sint32 velocityY, Sint32 velocityZ, Uint32 flags, const EFFECT_OPTIONS *extra)

Creates one puff of the dust sprite, flying at the given speed, in the given colour and growing to the given size: the puffs of the dragon's fire.

References fdActorCreate(), fdActorSelectAnimation(), fdActorSetSpriteColor(), fdActorStartScript(), ImilFuchinFallsLongDustScript, ImilFuchinFallsMediumDustScript, ImilFuchinFallsShortDustScript, scFuchinFallsCaveUpdateDustMotion() and Sint32.

Referenced by scFuchinFallsCaveBreatheDragonFire().

Definition at line 2332 of file imil_fuchin_falls.c.

scFuchinFallsCaveBreatheDragonFire

static void scFuchinFallsCaveBreatheDragonFire(void)

Every fourth tick while the dragon statue wakes, a red puff of fire blows out of its mouth toward the west, with a whoosh every eighth.

References scImilFuchinFallsSpawnDust(), Sint32, sySoundPlay() and TickCount.

Referenced by scFuchinFallsCaveLightDragonWithEye().

Definition at line 2401 of file imil_fuchin_falls.c.

scFuchinFallsCaveLightDragonWithEye

static void scFuchinFallsCaveLightDragonWithEye(void)

Isaac uses the Dragon's Eye at the steps below the dragon statue (metatiles (20, 14) to (22, 14)): the music stops, the dark room flashes, and the dragon breathes fire west across the room, which glows red and then comes back in its own colours, with the shadow of a hidden path across the spikes.

The eye is used up, and the room stays lit from then on (FLAG_FUCHIN_FALLS_DRAGONS_EYE_SET).

References fdEndBusyAndReveal(), fdMapGridCopyMetatilesTo(), fdPaletteFadeApplyTarget(), fdPaletteFadeStartInterpolation(), fdScriptEnd(), fdScriptStart(), gmFlagSet(), gmPartyInventoryDiscard(), gmPlayMusic(), scFuchinFallsCaveBreatheDragonFire(), syCloseEvent(), sySetTickEvent(), sySoundPlay() and sySynch().

Referenced by ImilFuchinFallsDragonRoomCues.

Definition at line 2439 of file imil_fuchin_falls.c.

scFuchinFallsCaveReadDragonFlameInscription

static void scFuchinFallsCaveReadDragonFlameInscription(void)

Isaac reads the tablet on the first room's south shore (metatile (15, 35)): "The dragon's flame illuminates the path of truth in darkness."

References fdScriptEnd(), fdScriptStart() and mnFieldMessageShow().

Referenced by ImilFuchinFallsEntranceCues.

Definition at line 2490 of file imil_fuchin_falls.c.

scFuchinFallsCaveReadKiInscription

static void scFuchinFallsCaveReadKiInscription(void)

Isaac reads the tablet beside the chest in the room of Ki (metatile (16, 5)): "The secret of Ki shall be revealed to the disciples of truth."

References fdScriptEnd(), fdScriptStart() and mnFieldMessageShow().

Referenced by ImilFuchinFallsKiRoomCues.

Definition at line 2499 of file imil_fuchin_falls.c.

scFuchinFallsCaveReadShadowInscription

static void scFuchinFallsCaveReadShadowInscription(void)

Isaac reads the tablet in the south half of the dragon statue's room (metatile (15, 29)): "Rays of light give birth to shadows, revealing the way."

References fdScriptEnd(), fdScriptStart() and mnFieldMessageShow().

Referenced by ImilFuchinFallsDragonRoomCues.

Definition at line 2509 of file imil_fuchin_falls.c.

scFuchinFallsCaveSearchDragonStatue

static void scFuchinFallsCaveSearchDragonStatue(void)

Isaac looks at the dragon statue from the steps below it (metatiles (20, 14) to (22, 14)): "It's a statue of an eyeless dragon.", and once the eye is set, "It's a statue of a dragon with burning red eyes."

While the party carries the Dragon's Eye, the field menu opens after the first, so that the player can use it.

References fdScriptEnd(), fdScriptStart(), gmFlagGet(), gmPartyInventoryFindMember() and mnFieldMessageShow().

Referenced by ImilFuchinFallsDragonRoomCues.

Definition at line 2522 of file imil_fuchin_falls.c.

scFuchinFallsCaveEndRevealLighting

static void scFuchinFallsCaveEndRevealLighting(void)

When Isaac's Reveal fades in the dark half of the dragon statue's room, before the Dragon's Eye is set, the room fades up from black to its dim blue again.

References fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeStartInterpolation(), HeapSlots, MainRoutineStateWork, state and sySynch().

Referenced by ImilFuchinFallsDragonRoomCues.

Definition at line 2544 of file imil_fuchin_falls.c.

Variables in detail

ImilFuchinFallsSlideHeadings

extern Sint16 ImilFuchinFallsSlideHeadings[]

Sint16 ImilFuchinFallsSlideHeadings[]

The way the leader slides on the ice for each combination of held directions (DPAD_INDEX); a diagonal slides east or west.

Definition at lines 81 and 2576 of file imil_fuchin_falls.c.

ImilFuchinFallsDragonsEye

extern ACTOR *ImilFuchinFallsDragonsEye

ACTOR *ImilFuchinFallsDragonsEye

The Dragon's Eye's icon on the little table, until the party takes it.

Referenced by scFuchinFallsCaveFindDragonsEye() and scImilFuchinFallsPlaceDragonsEye().

Definition at lines 82 and 2585 of file imil_fuchin_falls.c.

ImilFuchinFallsNoEntrances

extern SCENE_ENTRANCE ImilFuchinFallsNoEntrances[]

SCENE_ENTRANCE ImilFuchinFallsNoEntrances[]

Referenced by scGetEntrances().

Definition at lines 83 and 2587 of file imil_fuchin_falls.c.

ImilFuchinFallsImilFallsCaveEntrances

extern SCENE_ENTRANCE ImilFuchinFallsImilFallsCaveEntrances[]

SCENE_ENTRANCE ImilFuchinFallsImilFallsCaveEntrances[]

Referenced by scGetEntrances().

Definition at lines 84 and 2592 of file imil_fuchin_falls.c.

ImilFuchinFallsEntranceEntrances

extern SCENE_ENTRANCE ImilFuchinFallsEntranceEntrances[]

SCENE_ENTRANCE ImilFuchinFallsEntranceEntrances[]

Referenced by scGetEntrances().

Definition at lines 85 and 2599 of file imil_fuchin_falls.c.

ImilFuchinFallsZephyrRoomEntrances

extern SCENE_ENTRANCE ImilFuchinFallsZephyrRoomEntrances[]

SCENE_ENTRANCE ImilFuchinFallsZephyrRoomEntrances[]

Referenced by scGetEntrances().

Definition at lines 86 and 2620 of file imil_fuchin_falls.c.

ImilFuchinFallsDragonsEyeRoomEntrances

extern SCENE_ENTRANCE ImilFuchinFallsDragonsEyeRoomEntrances[]

SCENE_ENTRANCE ImilFuchinFallsDragonsEyeRoomEntrances[]

Referenced by scGetEntrances().

Definition at lines 87 and 2628 of file imil_fuchin_falls.c.

ImilFuchinFallsArcticBladeRoomEntrances

extern SCENE_ENTRANCE ImilFuchinFallsArcticBladeRoomEntrances[]

SCENE_ENTRANCE ImilFuchinFallsArcticBladeRoomEntrances[]

Referenced by scGetEntrances().

Definition at lines 88 and 2642 of file imil_fuchin_falls.c.

ImilFuchinFallsKiRoomEntrances

extern SCENE_ENTRANCE ImilFuchinFallsKiRoomEntrances[]

SCENE_ENTRANCE ImilFuchinFallsKiRoomEntrances[]

Referenced by scGetEntrances().

Definition at lines 89 and 2654 of file imil_fuchin_falls.c.

ImilFuchinFallsDragonRoomEntrances

extern SCENE_ENTRANCE ImilFuchinFallsDragonRoomEntrances[]

SCENE_ENTRANCE ImilFuchinFallsDragonRoomEntrances[]

Referenced by scGetEntrances().

Definition at lines 90 and 2666 of file imil_fuchin_falls.c.

ImilFuchinFallsExits

extern Uint32 ImilFuchinFallsExits[]

Uint32 ImilFuchinFallsExits[]

Referenced by scGetExits().

Definition at lines 91 and 2694 of file imil_fuchin_falls.c.

ImilFuchinFallsNoActorPlacements

extern ACTOR_PLACE ImilFuchinFallsNoActorPlacements[]

ACTOR_PLACE ImilFuchinFallsNoActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 92 and 2811 of file imil_fuchin_falls.c.

ImilFuchinFallsImilFallsCaveActorPlacements

extern ACTOR_PLACE ImilFuchinFallsImilFallsCaveActorPlacements[]

ACTOR_PLACE ImilFuchinFallsImilFallsCaveActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 93 and 2815 of file imil_fuchin_falls.c.

ImilFuchinFallsEntranceActorPlacements

extern ACTOR_PLACE ImilFuchinFallsEntranceActorPlacements[]

ACTOR_PLACE ImilFuchinFallsEntranceActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 94 and 2821 of file imil_fuchin_falls.c.

ImilFuchinFallsZephyrRoomActorPlacements

extern ACTOR_PLACE ImilFuchinFallsZephyrRoomActorPlacements[]

ACTOR_PLACE ImilFuchinFallsZephyrRoomActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 95 and 2831 of file imil_fuchin_falls.c.

ImilFuchinFallsDragonsEyeRoomActorPlacements

extern ACTOR_PLACE ImilFuchinFallsDragonsEyeRoomActorPlacements[]

ACTOR_PLACE ImilFuchinFallsDragonsEyeRoomActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 96 and 2843 of file imil_fuchin_falls.c.

ImilFuchinFallsArcticBladeRoomActorPlacements

extern ACTOR_PLACE ImilFuchinFallsArcticBladeRoomActorPlacements[]

ACTOR_PLACE ImilFuchinFallsArcticBladeRoomActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 97 and 2855 of file imil_fuchin_falls.c.

ImilFuchinFallsDragonRoomActorPlacements

extern ACTOR_PLACE ImilFuchinFallsDragonRoomActorPlacements[]

ACTOR_PLACE ImilFuchinFallsDragonRoomActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 98 and 2865 of file imil_fuchin_falls.c.

ImilFuchinFallsNoCues

extern CUE ImilFuchinFallsNoCues[]

CUE ImilFuchinFallsNoCues[]

Referenced by scGetCues().

Definition at lines 99 and 2871 of file imil_fuchin_falls.c.

ImilFuchinFallsImilFallsCaveCues

extern CUE ImilFuchinFallsImilFallsCaveCues[]

CUE ImilFuchinFallsImilFallsCaveCues[]

References scImilFeverJoins(), scImilLeaveFallsCave() and scImilMoveAcrossIce().

Referenced by scGetCues().

Definition at lines 100 and 2875 of file imil_fuchin_falls.c.

ImilFuchinFallsEntranceCues

extern CUE ImilFuchinFallsEntranceCues[]

CUE ImilFuchinFallsEntranceCues[]

References scFuchinFallsCaveEntranceMoveFirstLogEast(), scFuchinFallsCaveEntranceMoveFirstLogWest(), scFuchinFallsCaveEntranceMoveSecondLogNorth(), scFuchinFallsCaveEntranceMoveSecondLogSouth(), scFuchinFallsCaveEntranceMoveThirdLogNorth(), scFuchinFallsCaveEntranceMoveThirdLogSouth(), scFuchinFallsCaveReadDragonFlameInscription(), scFuchinFallsCaveSettleFirstLog(), scFuchinFallsCaveSettleSecondLog() and scFuchinFallsCaveSettleThirdLog().

Referenced by scGetCues().

Definition at lines 101 and 2884 of file imil_fuchin_falls.c.

ImilFuchinFallsZephyrRoomCues

extern CUE ImilFuchinFallsZephyrRoomCues[]

CUE ImilFuchinFallsZephyrRoomCues[]

References scFuchinFallsCaveFightZephyr(), scFuchinFallsCaveSettleFirstLog(), scFuchinFallsCaveSettleSecondLog(), scFuchinFallsCaveSettleThirdLog(), scFuchinFallsCaveZephyrRoomMoveFirstLogEast(), scFuchinFallsCaveZephyrRoomMoveFirstLogToEastEnd(), scFuchinFallsCaveZephyrRoomMoveFirstLogToWestEnd(), scFuchinFallsCaveZephyrRoomMoveSecondLogNorth(), scFuchinFallsCaveZephyrRoomMoveSecondLogSouth(), scFuchinFallsCaveZephyrRoomMoveThirdLogNorth(), scFuchinFallsCaveZephyrRoomMoveThirdLogSouth(), scFuchinFallsCaveZephyrRoomNudgeFirstLogWest() and scImilFuchinFallsHopOnCue().

Referenced by scGetCues().

Definition at lines 102 and 2943 of file imil_fuchin_falls.c.

ImilFuchinFallsDragonsEyeRoomCues

extern CUE ImilFuchinFallsDragonsEyeRoomCues[]

CUE ImilFuchinFallsDragonsEyeRoomCues[]

References scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClear(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomMoveSecondLogEast(), scFuchinFallsCaveDragonsEyeRoomMoveSecondLogWest(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStop(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddle(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEnd(), scFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStop(), scFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorth(), scFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorth(), scFuchinFallsCaveFindDragonsEye(), scFuchinFallsCaveHopNorth(), scFuchinFallsCaveHopWest(), scFuchinFallsCaveSettleFirstLog(), scFuchinFallsCaveSettleFourthLog(), scFuchinFallsCaveSettleSecondLog(), scFuchinFallsCaveSettleThirdLog() and scImilFuchinFallsHopOnCue().

Referenced by scGetCues().

Definition at lines 103 and 3006 of file imil_fuchin_falls.c.

ImilFuchinFallsArcticBladeRoomCues

extern CUE ImilFuchinFallsArcticBladeRoomCues[]

CUE ImilFuchinFallsArcticBladeRoomCues[]

References scFuchinFallsCaveArcticBladeRoomMoveFirstLogNorth(), scFuchinFallsCaveArcticBladeRoomMoveFirstLogSouth(), scFuchinFallsCaveArcticBladeRoomMoveSecondLogEast(), scFuchinFallsCaveArcticBladeRoomMoveSecondLogWest(), scFuchinFallsCaveArcticBladeRoomMoveThirdLogEast(), scFuchinFallsCaveArcticBladeRoomMoveThirdLogWest(), scFuchinFallsCaveSettleFirstLog(), scFuchinFallsCaveSettleSecondLog() and scFuchinFallsCaveSettleThirdLog().

Referenced by scGetCues().

Definition at lines 104 and 3145 of file imil_fuchin_falls.c.

ImilFuchinFallsKiRoomCues

extern CUE ImilFuchinFallsKiRoomCues[]

CUE ImilFuchinFallsKiRoomCues[]

References scFuchinFallsCaveReadKiInscription().

Referenced by scGetCues().

Definition at lines 105 and 3194 of file imil_fuchin_falls.c.

ImilFuchinFallsDragonRoomCues

extern CUE ImilFuchinFallsDragonRoomCues[]

CUE ImilFuchinFallsDragonRoomCues[]

References scFuchinFallsCaveEndRevealLighting(), scFuchinFallsCaveGroundMaskFollowsLeader(), scFuchinFallsCaveGroundMaskStopsFollowing(), scFuchinFallsCaveLightDragonWithEye(), scFuchinFallsCaveReadShadowInscription() and scFuchinFallsCaveSearchDragonStatue().

Referenced by scGetCues().

Definition at lines 106 and 3210 of file imil_fuchin_falls.c.

ImilFuchinFallsShortDustScript

extern Sint32 ImilFuchinFallsShortDustScript[]

Sint32 ImilFuchinFallsShortDustScript[]

References scFuchinFallsCaveHideDust() and Sint32.

Referenced by scImilFuchinFallsSpawnDust().

Definition at lines 107 and 3253 of file imil_fuchin_falls.c.

ImilFuchinFallsMediumDustScript

extern Sint32 ImilFuchinFallsMediumDustScript[]

Sint32 ImilFuchinFallsMediumDustScript[]

References scFuchinFallsCaveHideDust() and Sint32.

Referenced by scImilFuchinFallsSpawnDust().

Definition at lines 108 and 3263 of file imil_fuchin_falls.c.

ImilFuchinFallsLongDustScript

extern Sint32 ImilFuchinFallsLongDustScript[]

Sint32 ImilFuchinFallsLongDustScript[]

References scFuchinFallsCaveHideDust() and Sint32.

Referenced by scImilFuchinFallsSpawnDust().

Definition at lines 109 and 3273 of file imil_fuchin_falls.c.

ImilFuchinFallsTrackLeader

Sint32 ImilFuchinFallsTrackLeader

Set while the floor's ground mask follows the leader (scFuchinFallsCaveGroundMaskFollowsLeader).

References Sint32.

Referenced by scFuchinFallsCaveGroundMaskFollowsLeader(), scFuchinFallsCaveGroundMaskStopsFollowing() and scImilFuchinFallsPrepareRoom().

Definition at line 699 of file imil_fuchin_falls.c.

On this page

StructuresMacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_FUCHIN_FALLS_ENTRANCE_FIRST_LOG_EASTFLAG_FUCHIN_FALLS_ENTRANCE_SECOND_LOG_NORTHFLAG_FUCHIN_FALLS_ENTRANCE_THIRD_LOG_NORTHFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_EAST_ENDFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_FIRST_LOG_WEST_ENDFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_SECOND_LOG_SOUTHFLAG_FUCHIN_FALLS_ZEPHYR_ROOM_THIRD_LOG_NORTHFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_WEST_ENDFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FIRST_LOG_MIDDLEFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_SECOND_LOG_WESTFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_NORTH_ENDFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_UPPER_STOPFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_MIDDLEFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_THIRD_LOG_LOWER_STOPFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_NORTH_ENDFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_UPPER_STOPFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_MIDDLEFLAG_FUCHIN_FALLS_DRAGONS_EYE_ROOM_FOURTH_LOG_LOWER_STOPFLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_FIRST_LOG_SOUTHFLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_SECOND_LOG_WESTFLAG_FUCHIN_FALLS_ARCTIC_BLADE_ROOM_THIRD_LOG_EASTICE_SLIDE_HEADINGSEnumerations in detailIMIL_FUCHIN_FALLS_ACTOR_IDanonymous enumFunctions in detailscFuchinFallsCaveRebuildEntranceLogsscFuchinFallsCaveRebuildZephyrRoomLogsscFuchinFallsCaveRebuildDragonsEyeRoomLogsscFuchinFallsCaveRebuildArcticBladeRoomLogsscImilWalkTowardFeverscImilFuchinFallsPrepareRoomscImilFuchinFallsRebuildLogRoomscImilFuchinFallsPlaceDragonsEyescImilFeverJoinsscFuchinFallsCaveFightZephyrscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscFuchinFallsCaveFinishLogMovescFuchinFallsCaveEntranceMoveFirstLogEastscFuchinFallsCaveEntranceMoveFirstLogWestscFuchinFallsCaveEntranceMoveSecondLogSouthscFuchinFallsCaveEntranceMoveSecondLogNorthscFuchinFallsCaveEntranceMoveThirdLogSouthscFuchinFallsCaveEntranceMoveThirdLogNorthscFuchinFallsCaveZephyrRoomMoveFirstLogToEastEndscFuchinFallsCaveZephyrRoomMoveFirstLogToWestEndscFuchinFallsCaveZephyrRoomNudgeFirstLogWestscFuchinFallsCaveZephyrRoomMoveFirstLogEastscFuchinFallsCaveZephyrRoomMoveSecondLogSouthscFuchinFallsCaveZephyrRoomMoveSecondLogNorthscFuchinFallsCaveZephyrRoomMoveThirdLogSouthscFuchinFallsCaveZephyrRoomMoveThirdLogNorthscFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestscFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromMiddlescFuchinFallsCaveDragonsEyeRoomMoveFirstLogWestIfClearscFuchinFallsCaveDragonsEyeRoomMoveFirstLogEastFromWestEndscFuchinFallsCaveDragonsEyeRoomMoveSecondLogWestscFuchinFallsCaveDragonsEyeRoomMoveSecondLogEastscFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromSouthEndscFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromNorthEndscFuchinFallsCaveDragonsEyeRoomNudgeThirdLogNorthscFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromUpperStopscFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromMiddlescFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromMiddlescFuchinFallsCaveDragonsEyeRoomMoveThirdLogNorthFromLowerStopscFuchinFallsCaveDragonsEyeRoomMoveThirdLogSouthFromLowerStopscFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthscFuchinFallsCaveClearFourthLogStopsscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromNorthEndscFuchinFallsCaveDragonsEyeRoomNudgeFourthLogNorthscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromUpperStopscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromMiddlescFuchinFallsCaveDragonsEyeRoomMoveFourthLogNorthFromLowerStopscFuchinFallsCaveDragonsEyeRoomMoveFourthLogSouthFromLowerStopscFuchinFallsCaveArcticBladeRoomMoveFirstLogSouthscFuchinFallsCaveArcticBladeRoomMoveFirstLogNorthscFuchinFallsCaveArcticBladeRoomMoveSecondLogWestscFuchinFallsCaveArcticBladeRoomMoveSecondLogEastscFuchinFallsCaveArcticBladeRoomMoveThirdLogEastscFuchinFallsCaveArcticBladeRoomMoveThirdLogWestscFuchinFallsCaveSettleFirstLogscFuchinFallsCaveSettleSecondLogscFuchinFallsCaveSettleThirdLogscFuchinFallsCaveSettleFourthLogscFuchinFallsCaveCreateHiddenActorscGetCuesscImilLeaveFallsCavescImilMoveAcrossIcescFuchinFallsCavePlaceLogAtMetatilescFuchinFallsCaveGroundMaskFollowsLeaderscFuchinFallsCaveGroundMaskStopsFollowingscInitscImilFuchinFallsHopOnCuescFuchinFallsCaveHopNorthscFuchinFallsCaveHopWestscFuchinFallsCaveFindDragonsEyescFuchinFallsCaveUpdateDustMotionscFuchinFallsCaveHideDustscImilFuchinFallsSpawnDustscFuchinFallsCaveBreatheDragonFirescFuchinFallsCaveLightDragonWithEyescFuchinFallsCaveReadDragonFlameInscriptionscFuchinFallsCaveReadKiInscriptionscFuchinFallsCaveReadShadowInscriptionscFuchinFallsCaveSearchDragonStatuescFuchinFallsCaveEndRevealLightingVariables in detailImilFuchinFallsSlideHeadingsImilFuchinFallsDragonsEyeImilFuchinFallsNoEntrancesImilFuchinFallsImilFallsCaveEntrancesImilFuchinFallsEntranceEntrancesImilFuchinFallsZephyrRoomEntrancesImilFuchinFallsDragonsEyeRoomEntrancesImilFuchinFallsArcticBladeRoomEntrancesImilFuchinFallsKiRoomEntrancesImilFuchinFallsDragonRoomEntrancesImilFuchinFallsExitsImilFuchinFallsNoActorPlacementsImilFuchinFallsImilFallsCaveActorPlacementsImilFuchinFallsEntranceActorPlacementsImilFuchinFallsZephyrRoomActorPlacementsImilFuchinFallsDragonsEyeRoomActorPlacementsImilFuchinFallsArcticBladeRoomActorPlacementsImilFuchinFallsDragonRoomActorPlacementsImilFuchinFallsNoCuesImilFuchinFallsImilFallsCaveCuesImilFuchinFallsEntranceCuesImilFuchinFallsZephyrRoomCuesImilFuchinFallsDragonsEyeRoomCuesImilFuchinFallsArcticBladeRoomCuesImilFuchinFallsKiRoomCuesImilFuchinFallsDragonRoomCuesImilFuchinFallsShortDustScriptImilFuchinFallsMediumDustScriptImilFuchinFallsLongDustScriptImilFuchinFallsTrackLeader