src/scene/islet_cave.c
The Islet Cave, which the lonely turtle on the Sea of Time Islet opens once he has Li'l Turtle for a friend. More…
#include "field/field.h"#include "graphics/palette_buffers.h"#include "macros.h"#include "field/script_inline.h"#include "field/field_engine_script.h"#include "scene/scene.h"#include "field/field_sprite.h"#include "game/game.h"#include "field/actor_script.h"#include "shared/teleport_shimmer.c"#include "text/msg_ids.h"#include "shared/teleport_circle_palette.c"#include "shared/scene_entrances_default.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_SENTINEL_DEFEATED 0x9cf | Set once the Sentinel is beaten, as the party comes back to its room. |
#define | FLAG_SERAC_REVEALED FLAG_SCENE_TEMP(0x30) | Set once Tremor has shaken Serac out of the winged statue, or on entering once he is caught or has run off to hide: the statue then stays still. |
#define | STATUE_HOP_TICKS 64 | The winged statue's hop: one every STATUE_HOP_TICKS, its sprite rocking to and fro over the first half, once every STATUE_ROCK_TICKS, swung by the cosine's full turn shrunk by STATUE_ROCK_SHRINK. |
#define | STATUE_ROCK_TICKS 16 | |
#define | STATUE_ROCK_SHRINK 128 | |
#define | DEFINE_ISLET_CAVE_ARRIVE_AT (name, x, z) | Teleport cast on a circle: the cave turns grey, the circle shimmers and sparks carry Felix off, and he comes down on the other circle at (x, z). |
#define | FADE_CHANNEL_LEVEL (1 << 10) | One level of a palette fade's colour channel, which holds its 0 to 31 shifted up 10 bits: also the scale that leaves a colour as it is. |
#define | LAST_PLACED_ACTOR 63 | The last of the actor ids the scene's placed actors take. |
#define | DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS (name, logId, dx, flagCall, flag) | Rides log logId dx pixels across the water and moves its metatiles with it, then sets or clears its flag (flagCall) to say which side it lies at. |
#define | TELEPORT_CIRCLE_FIRST_ENTRY 9 |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { ACTOR_MELD } | Meld, the Djinni on the ledge at the north end of the east hall, placed after the halls' seven logs. |
enum | anonymous enum { ACTOR_WINGED_STATUE, ACTOR_SERAC } | Serac, the Djinni hiding in the second corridor, and the winged statue Tremor shakes him out of. |
enum | anonymous enum { ACTOR_SENTINEL, ACTOR_FIRST_FIRE } | The Sentinel, and the first of the ten small fires burning in pairs down both sides of its room. |
enum | anonymous enum { ENTRANCE_AFTER_SENTINEL_BATTLE } | Where the battle with the Sentinel puts the party back in its room: the spot it stood on. |
enum | anonymous enum { METATILE_BEHAVIOR_ISLAND_CIRCLE, METATILE_BEHAVIOR_NORTH_CIR … } | The metatiles Teleport answers on: the west hall's two circles. |
enum | anonymous enum { EXIT_FIRST_CORRIDOR_DOOR, EXIT_SECOND_CORRIDOR_DOOR, EXIT_TH … } | The stone doors at the north ends of the five corridors: each door's metatile behaviour is the exit it leaves by. |
enum | anonymous enum { METATILE_BEHAVIOR_BEFORE_SENTINEL } | The ground just before the Sentinel, where walking up to it wakes it. |
enum | anonymous enum { ACTOR_FIRST_LOG, ACTOR_SECOND_LOG, ACTOR_THIRD_LOG, ACTOR_FO … } | The golden logs floating in the halls' water. |
enum | anonymous enum { METATILE_BEHAVIOR_ISLET_CAVE_FIRST_LOG, METATILE_BEHAVIOR_IS … } | The metatiles under each log, which scIsletCavePlaceLogs copies in under it from the map's top row: stepping onto them dips the log, and walking on across them rides it. |
enum | anonymous enum { FLAG_ISLET_CAVE_FIRST_LOG_MOVED, FLAG_ISLET_CAVE_SECOND_LOG_ … } | Set while a log lies at the far side of its water from where it starts, so that it is still there when the party comes back into the hall; scIsletCavePlaceLogs reads them. |
Functions
| Name | Description | |
|---|---|---|
void | scTeleportArriveWhirling (void) | The party arrives by Teleport on the circle: the room fades in grey while the circle shimmers and the whirl plays, then its colours come back. |
Sint32 | scListCountEntries (Uint16 *list) | The number of entries in a list of palette slots ended by PALETTE_LIST_END, less one. |
void | fdPaletteCycleFade (void) | Steps a palette cycle that fades as it slows. |
void | scIsletCavePlaceLogs (void) | Places the seven logs where the party left them, each with its metatiles. |
void | scIsletCaveFightMeld (void) | Talking to Meld, the Venus Djinni on the ledge the seventh log carries Felix up to at the north end of the east hall, starts a battle with him. |
void | scIsletCaveFightSerac (void) | Talking to Serac, the Mercury Djinni Tremor has shaken out of the winged statue in the second corridor, starts a battle with him. |
void | scIsletCaveTeleportToNorthCircle (void) | Teleport cast on the circle on the west hall's island (metatiles (14, 29) to (15, 30)) carries Felix to the circle on the ledge at the north of the lake, whose doorway leads to the corridors. |
void | scIsletCaveTeleportToIslandCircle (void) | Teleport cast on the circle on the ledge at the north of the west hall's lake (metatiles (13, 7) to (15, 9)) carries Felix back south to the circle on the island, the way he came, with the same grey and sparks. |
void | scIsletCaveOpenDoorAndEnter (void) | Walking north into the grey stone door at the north end of a corridor opens it: everything stops, the door slides open, Felix steps into the dark doorway, and the next corridor comes up with him at its south end. |
void | scIsletCaveSettleFirstLog (void) | Stepping onto a log plays its dip under Felix's step (scIsletCaveSettleLog): one routine for each of the seven, for the halls' cues. |
void | scIsletCaveSettleSecondLog (void) | |
void | scIsletCaveSettleThirdLog (void) | |
void | scIsletCaveSettleFourthLog (void) | |
void | scIsletCaveSettleFifthLog (void) | |
void | scIsletCaveSettleSixthLog (void) | |
void | scIsletCaveSettleSeventhLog (void) | |
void | scIsletCaveRideFirstLogEast (void) | Walking east from the west shore of the west hall, by the Turtle Boots chest, onto the first log (metatiles (8, 30) to (8, 32)) floats it two metatiles east with Felix aboard, back to the Teleport circle's island. |
void | scIsletCaveRideSecondLogEast (void) | Walking east from the little ledge of the Rusty Staff chest, at the west of the west hall's lake, onto the second log (metatiles (8, 13) to (8, 15)) floats it 13 metatiles east with Felix aboard, with a stop halfway, back to the ledge where the passage from the east hall comes in. |
void | scIsletCaveRideSecondLogWest (void) | Walking west from the ledge at the east of the west hall's lake, where the passage from the east hall's north-west comes in, onto the second log (metatiles (21, 13) to (21, 15)) floats it 13 metatiles west with Felix aboard, with a stop halfway, across the north of the lake to the little ledge of the Rusty Staff chest. |
void | scIsletCaveRideThirdLogEast (void) | Walking east from the ledge at the north-west of the east hall onto the third log (metatiles (48, 8) to (48, 10)) floats it five metatiles east with Felix aboard, across the channel to its narrow east bank. |
void | scIsletCaveRideFourthLogEast (void) | Walking east from the ledge at the north-west of the east hall onto the fourth log (metatiles (49, 8) to (49, 10)) floats it five metatiles east with Felix aboard, back across the channel to its narrow east bank. |
void | scIsletCaveRideFourthLogWest (void) | Walking west from the east hall's narrow east bank onto the fourth log (metatiles (54, 8) to (54, 10)) floats it five metatiles west with Felix aboard, across the channel to the ledge at its north-west, where the passage to the west hall's north leaves. |
void | scIsletCaveRideFifthLogEast (void) | Walking east from the east hall's south-west shore, where the passage from the west hall comes in, onto the fifth log (metatiles (48, 22) to (48, 24)) floats it five metatiles east with Felix aboard, across the channel to its east bank. |
void | scIsletCaveRideFifthLogWest (void) | Walking west from the east hall's east bank onto the fifth log (metatiles (53, 22) to (53, 24)) floats it five metatiles west with Felix aboard, back to the south-west shore. |
void | scIsletCaveRideSixthLogEast (void) | Walking east from the east hall's south-west shore onto the sixth log (metatiles (49, 22) to (49, 24)) floats it five metatiles east with Felix aboard, back across the channel to its east bank. |
void | scIsletCaveRideSixthLogWest (void) | Walking west from the east hall's east bank onto the sixth log (metatiles (54, 22) to (54, 24)) floats it five metatiles west with Felix aboard, across the channel to the south-west shore. |
void | scIsletCaveRideSeventhLogNorth (void) | Walking north from the ledge at the south end of the east hall onto the seventh log (metatiles (50, 29) to (52, 29)) floats it 22 metatiles north up the channel with Felix aboard, past the other logs, stopping twice on the way, to the foot of Meld's ledge. |
void | scIsletCaveRideSeventhLogSouth (void) | Walking south from Meld's ledge at the north end of the east hall onto the seventh log (metatiles (50, 7) to (52, 7)) floats it 22 metatiles south down the channel with Felix aboard, stopping twice on the way, back to the ledge at the channel's south end. |
void | scIsletCaveSentinelAwaits (void) | Walking up the Sentinel's room to the great armoured warrior at its north end (metatiles (9, 11) to (13, 13), the ground just before it) wakes it. |
void | scIsletCaveTremorRevealsSerac (void) | Tremor cast on the winged statue that rocks and hops on its pillar at the west side of the second corridor shakes Serac out. |
BSS_DATA | ALIGNED (4) | The blend of one turn of the two maps' alternation in the throne room, a step every four ticks: the first map fades up and down, then the second. |
void | fdTeleportPlaySparks (void) | The leaving half of a teleport, fdTeleportPlayWhirl's companion in the same scenes: the leader raises both arms in changing colours, spins faster and faster as sparks burst from it, shrinks away and is hidden. |
Sint32 | scIsletCaveClearScriptedActorSpriteFlags (ACTOR *actor) | The last step of each fire's script in the Sentinel's room: clears its sprite flags. |
Sint32 | scIsletCaveHopWingedStatue (ACTOR *actor) | The winged statue's script while Serac hides in it: it hops, rocking its sprite through the first half of each hop. |
const SCENE_ENTRANCE * | scGetEntrances (void) | Where the party can enter: the cave under the spring has its own entrances. |
const SCENE_REGION * | scGetExitRegions (void) | The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room. |
const Uint32 * | scGetExits (void) | The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN. |
const ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
void | scIsletCaveFinishTeleport (void) | The end of a Teleport between the two circles: the circle shimmers while the sparks whirl in, then the cave's colours come back and Felix is shown on it. |
void | scIsletCaveDarkenPalette (Sint32 scale) | Darkens the room by the scale given, out of FADE_CHANNEL_LEVEL, so that each corridor is darker than the last. |
Sint32 | scInit (void) | Sets up the map being entered: in the halls, the logs where the party left them and the Teleport circles' colours; in the Sentinel's room, the Sentinel gone once beaten; in the corridors, Serac hidden in the winged statue until Tremor. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
void | scIsletCavePlaceWestEastLog (Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 x, Sint32 z, Sint32 metatileBehavior, Sint32 flag) | Places a log lying west to east, three metatiles wide: at (x, z) if its flag says it is at the far side, then copies its metatiles in under it from the stored row at (srcColumn, srcRow). |
void | scIsletCavePlaceNorthSouthLog (Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 x, Sint32 z, Sint32 metatileBehavior, Sint32 flag) | As scIsletCavePlaceWestEastLog, for a log lying north to south, three metatiles tall. |
void | scIsletCaveSettleLog (Sint32 actorId) | Stepping onto a log plays its dip under Felix's step, set back to floating first so that the dip plays from its start: as he steps onto it, the log spreads wider and flashes darker orange for about a third of a second, then settles back to its narrow yellow look. |
void | scIsletCaveRideLog (Sint32 actorId, Sint32 dx, Sint32 dz) | Rides a log one stage, dx and dz pixels, carrying Felix with it: the log rolls over as it floats, he treads on top facing back the way he came, and it settles where it stops. |
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS( | scIsletCaveRideFirstLogWest , ACTOR_FIRST_LOG, -32, syGameFlagSet, FLAG_ISLET_CAVE_FIRST_LOG_MOVED) | Walking west from the Teleport circle's island onto the first log (metatiles (10, 30) to (10, 32)) floats it two metatiles west with Felix aboard, across to the west shore and the Turtle Boots chest. |
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS( | scIsletCaveRideThirdLogWest , ACTOR_THIRD_LOG, -80, syGameFlagClear, FLAG_ISLET_CAVE_THIRD_LOG_MOVED) | Walking west from the east hall's narrow east bank onto the third log (metatiles (53, 8) to (53, 10)) floats it five metatiles west with Felix aboard, back to the ledge at the channel's north-west. |
Variables
| Name | Description | |
|---|---|---|
extern Uint32 | IsletCaveSentinelScript [] | |
extern Sint32 | IsletCaveShrunkFireScript [] | |
extern Sint16 | IsletCaveDoorFrames [] | A grey stone door sliding open, as MAP_EDIT_STEP_ROW rows: two steps of two ticks. |
Uint16 | PaletteCycleBright | The Teleport circle's shimmer (shared/teleport_shimmer.c): the colours it writes and the palette cycle that runs them round the circle. |
Uint16 | PaletteCycleTimer | |
Uint16 | PaletteCycleDelay | |
extern ACTOR_PLACE | IsletCaveSentinelRoomPlacements [] | |
extern ACTOR_PLACE | IsletCaveHallsPlacements [] | |
extern ACTOR_PLACE | IsletCaveCorridorsPlacements [] | |
extern CUE | IsletCaveHallsCues [] | |
extern CUE | IsletCaveCorridorsCues [] | |
extern CUE | IsletCaveSentinelRoomCues [] | |
extern MAP_EDIT | IsletCaveDoors [] | The five corridors' doors, a row for each exit from the first: the opening and the metatile it plays at. |
extern Uint16 | TeleportCirclePaletteSlots [] | The entries the circle is drawn in. |
extern Uint16 | TeleportCircleColors [] | The circle's colours: one pale grey-green on every entry. |
extern Uint16 | TeleportCircleShimmerColors [] | The shimmer's colours, which it moves round the entries: lilac, blues deepening to violet, and white. |
extern Uint16 | TeleportCircleShimmerSlots [] | The shimmer's six steps: for each, the entries its colours go to. |
extern Sint32 | IsletCaveTremorTargetScript [] | |
Uint32 | SceneExits [] | The room has no exits of its own. |
Description
The Islet Cave, which the lonely turtle on the Sea of Time Islet opens once he has Li'l Turtle for a friend. Its three maps are all here.
The halls (SCENE_ISLET_CAVE_HALLS): stairs come down from the islet into a
small south room, and more stairs lead down from it into the west hall, a
lake with an island holding a Teleport circle. Golden logs float in the water
and carry Felix across as he walks onto them (scIsletCaveRideLog): one from
the island to the west shore and the Turtle Boots chest, one across the north
of the lake to the ledge of the Rusty Staff chest, four that cross the east
hall's long channel in pairs, and a seventh that carries him all the way up
that channel to Meld, a Venus Djinni.
With Teleport, the island's circle sends the party to a second circle on a
ledge at the north of the lake, behind which a doorway leads into five
corridors (SCENE_ISLET_CAVE_CORRIDORS), each darker and bluer than the last
(scIsletCaveDarkenPalette). Serac, a Mercury Djinni, hides in the winged
statue of the second corridor until Tremor shakes him out. The fifth
corridor's door opens on the Sentinel's room (SCENE_ISLET_CAVE_SENTINEL),
where the Sentinel guards the Catastrophe tablet.
Macros in detail
FLAG_SENTINEL_DEFEATED
#define FLAG_SENTINEL_DEFEATED 0x9cf
Set once the Sentinel is beaten, as the party comes back to its room.
Referenced by IsletCaveSentinelRoomCues, IsletCaveSentinelRoomPlacements and scInit().
Definition at line 116 of file islet_cave.c.
FLAG_SERAC_REVEALED
#define FLAG_SERAC_REVEALED FLAG_SCENE_TEMP(0x30)
Set once Tremor has shaken Serac out of the winged statue, or on entering once he is caught or has run off to hide: the statue then stays still.
Referenced by IsletCaveCorridorsCues, scInit() and scIsletCaveTremorRevealsSerac().
Definition at line 120 of file islet_cave.c.
STATUE_HOP_TICKS
#define STATUE_HOP_TICKS 64
The winged statue's hop: one every STATUE_HOP_TICKS, its sprite rocking to
and fro over the first half, once every STATUE_ROCK_TICKS, swung by the
cosine's full turn shrunk by STATUE_ROCK_SHRINK.
Referenced by scIsletCaveHopWingedStatue().
Definition at line 171 of file islet_cave.c.
STATUE_ROCK_TICKS
#define STATUE_ROCK_TICKS 16
Referenced by scIsletCaveHopWingedStatue().
Definition at line 172 of file islet_cave.c.
STATUE_ROCK_SHRINK
#define STATUE_ROCK_SHRINK 128
Referenced by scIsletCaveHopWingedStatue().
Definition at line 173 of file islet_cave.c.
DEFINE_ISLET_CAVE_ARRIVE_AT
#define DEFINE_ISLET_CAVE_ARRIVE_AT(name, x, z)
Teleport cast on a circle: the cave turns grey, the circle shimmers and sparks carry Felix off, and he comes down on the other circle at (x, z).
Definition at line 260 of file islet_cave.c.
FADE_CHANNEL_LEVEL
#define FADE_CHANNEL_LEVEL (1 << 10)
One level of a palette fade's colour channel, which holds its 0 to 31 shifted up 10 bits: also the scale that leaves a colour as it is.
Referenced by scInit() and scIsletCaveDarkenPalette().
Definition at line 286 of file islet_cave.c.
LAST_PLACED_ACTOR
#define LAST_PLACED_ACTOR 63
The last of the actor ids the scene's placed actors take.
Referenced by scIsletCaveOpenDoorAndEnter().
Definition at line 336 of file islet_cave.c.
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS
#define DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(name, logId, dx, flagCall, flag)
Rides log logId dx pixels across the water and moves its metatiles with
it, then sets or clears its flag (flagCall) to say which side it lies at.
Definition at line 701 of file islet_cave.c.
TELEPORT_CIRCLE_FIRST_ENTRY
#define TELEPORT_CIRCLE_FIRST_ENTRY 9
Definition at line 986 of file islet_cave.c.
Enumerations in detail
anonymous enum
enum { ACTOR_MELD }
Meld, the Djinni on the ledge at the north end of the east hall, placed after the halls' seven logs.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_MELD | ACTOR_FIRST_PLACED + 7 |
Definition at line 87 of file islet_cave.c.
anonymous enum
enum { ACTOR_WINGED_STATUE, ACTOR_SERAC }
Serac, the Djinni hiding in the second corridor, and the winged statue Tremor shakes him out of.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_WINGED_STATUE | ACTOR_FIRST_PLACED | |
ACTOR_SERAC |
Definition at line 101 of file islet_cave.c.
anonymous enum
enum { ACTOR_SENTINEL, ACTOR_FIRST_FIRE }
The Sentinel, and the first of the ten small fires burning in pairs down both sides of its room.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SENTINEL | ACTOR_FIRST_PLACED | |
ACTOR_FIRST_FIRE |
Definition at line 109 of file islet_cave.c.
anonymous enum
enum { ENTRANCE_AFTER_SENTINEL_BATTLE }
Where the battle with the Sentinel puts the party back in its room: the spot it stood on.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_AFTER_SENTINEL_BATTLE | 2 |
Definition at line 124 of file islet_cave.c.
anonymous enum
enum { METATILE_BEHAVIOR_ISLAND_CIRCLE, METATILE_BEHAVIOR_NORTH_CIRCLE }
The metatiles Teleport answers on: the west hall's two circles.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_ISLAND_CIRCLE | 50 | |
METATILE_BEHAVIOR_NORTH_CIRCLE | 51 |
Definition at line 130 of file islet_cave.c.
anonymous enum
enum { EXIT_FIRST_CORRIDOR_DOOR, EXIT_SECOND_CORRIDOR_DOOR, EXIT_THIRD_CORRIDOR_DOOR, EXIT_FOURTH_CORRIDOR_DOOR, … }
The stone doors at the north ends of the five corridors: each door's metatile behaviour is the exit it leaves by.
| Enumerator | Value | Description |
|---|---|---|
EXIT_FIRST_CORRIDOR_DOOR | 2 | |
EXIT_SECOND_CORRIDOR_DOOR | 4 | |
EXIT_THIRD_CORRIDOR_DOOR | 6 | |
EXIT_FOURTH_CORRIDOR_DOOR | 8 | |
EXIT_FIFTH_CORRIDOR_DOOR | 10 |
Definition at line 138 of file islet_cave.c.
anonymous enum
enum { METATILE_BEHAVIOR_BEFORE_SENTINEL }
The ground just before the Sentinel, where walking up to it wakes it.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_BEFORE_SENTINEL | 10 |
Definition at line 148 of file islet_cave.c.
anonymous enum
enum { ACTOR_FIRST_LOG, ACTOR_SECOND_LOG, ACTOR_THIRD_LOG, ACTOR_FOURTH_LOG, … }
The golden logs floating in the halls' water. The first lies between the Teleport circle's island and the west shore, the second at the north of the west hall's lake, and the third to sixth in pairs at the sides of the east hall's channel, the third and fourth at its north end and the fifth and sixth halfway down. These six lie north to south and float east and west. The seventh lies west to east across the channel's south end and floats north and south.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_FIRST_LOG | ACTOR_FIRST_PLACED | |
ACTOR_SECOND_LOG | ||
ACTOR_THIRD_LOG | ||
ACTOR_FOURTH_LOG | ||
ACTOR_FIFTH_LOG | ||
ACTOR_SIXTH_LOG | ||
ACTOR_SEVENTH_LOG |
Definition at line 455 of file islet_cave.c.
anonymous enum
enum { METATILE_BEHAVIOR_ISLET_CAVE_FIRST_LOG, METATILE_BEHAVIOR_ISLET_CAVE_SECOND_LOG, METATILE_BEHAVIOR_ISLET_CAVE_THIRD_LOG, METATILE_BEHAVIOR_ISLET_CAVE_FOURTH_LOG, … }
The metatiles under each log, which scIsletCavePlaceLogs copies in under it
from the map's top row: stepping onto them dips the log, and walking on
across them rides it.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_ISLET_CAVE_FIRST_LOG | 20 | |
METATILE_BEHAVIOR_ISLET_CAVE_SECOND_LOG | ||
METATILE_BEHAVIOR_ISLET_CAVE_THIRD_LOG | ||
METATILE_BEHAVIOR_ISLET_CAVE_FOURTH_LOG | ||
METATILE_BEHAVIOR_ISLET_CAVE_FIFTH_LOG | ||
METATILE_BEHAVIOR_ISLET_CAVE_SIXTH_LOG | ||
METATILE_BEHAVIOR_ISLET_CAVE_SEVENTH_LOG |
Definition at line 469 of file islet_cave.c.
anonymous enum
enum { FLAG_ISLET_CAVE_FIRST_LOG_MOVED, FLAG_ISLET_CAVE_SECOND_LOG_MOVED, FLAG_ISLET_CAVE_THIRD_LOG_MOVED, FLAG_ISLET_CAVE_FOURTH_LOG_MOVED, … }
Set while a log lies at the far side of its water from where it starts, so
that it is still there when the party comes back into the hall;
scIsletCavePlaceLogs reads them. They are scene flags, so every log is back
at its start once the party has left the cave.
The fourth log is the odd one: its ride west, away from its start, clears its flag as the ride back does, so the next time the party comes into the east hall that log is back at the channel's east side.
| Enumerator | Value | Description |
|---|---|---|
FLAG_ISLET_CAVE_FIRST_LOG_MOVED | FLAG_SCENE_TEMP(0x80) | |
FLAG_ISLET_CAVE_SECOND_LOG_MOVED | FLAG_SCENE_TEMP(0x81) | |
FLAG_ISLET_CAVE_THIRD_LOG_MOVED | FLAG_SCENE_TEMP(0x82) | |
FLAG_ISLET_CAVE_FOURTH_LOG_MOVED | FLAG_SCENE_TEMP(0x83) | |
FLAG_ISLET_CAVE_FIFTH_LOG_MOVED | FLAG_SCENE_TEMP(0x84) | |
FLAG_ISLET_CAVE_SIXTH_LOG_MOVED | FLAG_SCENE_TEMP(0x85) | |
FLAG_ISLET_CAVE_SEVENTH_LOG_MOVED | FLAG_SCENE_TEMP(0x86) |
Definition at line 488 of file islet_cave.c.
Functions in detail
scIsletCavePlaceLogs
void scIsletCavePlaceLogs(void)
Places the seven logs where the party left them, each with its metatiles.
References scIsletCavePlaceNorthSouthLog() and scIsletCavePlaceWestEastLog().
Referenced by scInit().
Definition at lines 35 and 567 of file islet_cave.c.
scIsletCaveFightMeld
void scIsletCaveFightMeld(void)
Talking to Meld, the Venus Djinni on the ledge the seventh log carries Felix up to at the north end of the east hall, starts a battle with him.
References fdRequestDjinnBattle().
Referenced by IsletCaveHallsCues.
Definition at lines 36 and 94 of file islet_cave.c.
scIsletCaveFightSerac
void scIsletCaveFightSerac(void)
Talking to Serac, the Mercury Djinni Tremor has shaken out of the winged statue in the second corridor, starts a battle with him.
References fdRequestDjinnBattle().
Referenced by IsletCaveCorridorsCues.
Definition at lines 37 and 155 of file islet_cave.c.
scIsletCaveTeleportToNorthCircle
void scIsletCaveTeleportToNorthCircle(void)
DEFINE_ISLET_CAVE_ARRIVE_AT(scIsletCaveTeleportToNorthCircle, 232, 136)
Teleport cast on the circle on the west hall's island (metatiles (14, 29) to (15, 30)) carries Felix to the circle on the ledge at the north of the lake, whose doorway leads to the corridors. The cave turns grey, sparks whirl round him and he is gone; the view slides north and he comes down in a whirl of sparks on the other circle, and the colours come back.
Referenced by IsletCaveHallsCues.
Definition at lines 38 and 277 of file islet_cave.c.
scIsletCaveTeleportToIslandCircle
void scIsletCaveTeleportToIslandCircle(void)
DEFINE_ISLET_CAVE_ARRIVE_AT(scIsletCaveTeleportToIslandCircle, 240, 480)
Teleport cast on the circle on the ledge at the north of the west hall's lake (metatiles (13, 7) to (15, 9)) carries Felix back south to the circle on the island, the way he came, with the same grey and sparks.
Referenced by IsletCaveHallsCues.
Definition at lines 39 and 282 of file islet_cave.c.
scIsletCaveOpenDoorAndEnter
void scIsletCaveOpenDoorAndEnter(void)
Walking north into the grey stone door at the north end of a corridor opens it: everything stops, the door slides open, Felix steps into the dark doorway, and the next corridor comes up with him at its south end. The fifth corridor's door leads to the Sentinel's room. The doors are at metatiles (8, 6), (20, 6), (32, 6), (43, 6) and (54, 6), each metatile's behaviour the exit it leaves by.
References fdActorGetById(), fdActorSetAnimationById(), fdActorSetDestinationOffset(), fdMapGridAnimateMetatiles(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), IsletCaveDoors, MainRoutineStateWork, Sint32, syImportScriptSetExitRequest() and sySoundPlay().
Referenced by IsletCaveCorridorsCues.
Definition at lines 40 and 344 of file islet_cave.c.
scIsletCaveSettleFirstLog
void scIsletCaveSettleFirstLog(void)
Stepping onto a log plays its dip under Felix's step (scIsletCaveSettleLog):
one routine for each of the seven, for the halls' cues.
References scIsletCaveSettleLog().
Referenced by IsletCaveHallsCues.
Definition at lines 41 and 622 of file islet_cave.c.
scIsletCaveSettleSecondLog
void scIsletCaveSettleSecondLog(void)
References scIsletCaveSettleLog().
Referenced by IsletCaveHallsCues.
Definition at lines 42 and 627 of file islet_cave.c.
scIsletCaveSettleThirdLog
void scIsletCaveSettleThirdLog(void)
References scIsletCaveSettleLog().
Referenced by IsletCaveHallsCues.
Definition at lines 43 and 632 of file islet_cave.c.
scIsletCaveSettleFourthLog
void scIsletCaveSettleFourthLog(void)
References scIsletCaveSettleLog().
Referenced by IsletCaveHallsCues.
Definition at lines 44 and 637 of file islet_cave.c.
scIsletCaveSettleFifthLog
void scIsletCaveSettleFifthLog(void)
References scIsletCaveSettleLog().
Referenced by IsletCaveHallsCues.
Definition at lines 45 and 642 of file islet_cave.c.
scIsletCaveSettleSixthLog
void scIsletCaveSettleSixthLog(void)
References scIsletCaveSettleLog().
Referenced by IsletCaveHallsCues.
Definition at lines 46 and 647 of file islet_cave.c.
scIsletCaveSettleSeventhLog
void scIsletCaveSettleSeventhLog(void)
References scIsletCaveSettleLog().
Referenced by IsletCaveHallsCues.
Definition at lines 47 and 652 of file islet_cave.c.
scIsletCaveRideFirstLogEast
void scIsletCaveRideFirstLogEast(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideFirstLogEast, ACTOR_FIRST_LOG, 32, syGameFlagClear, FLAG_ISLET_CAVE_FIRST_LOG_MOVED)
Walking east from the west shore of the west hall, by the Turtle Boots chest, onto the first log (metatiles (8, 30) to (8, 32)) floats it two metatiles east with Felix aboard, back to the Teleport circle's island.
Referenced by IsletCaveHallsCues.
Definition at lines 48 and 723 of file islet_cave.c.
scIsletCaveRideSecondLogEast
void scIsletCaveRideSecondLogEast(void)
Walking east from the little ledge of the Rusty Staff chest, at the west of the west hall's lake, onto the second log (metatiles (8, 13) to (8, 15)) floats it 13 metatiles east with Felix aboard, with a stop halfway, back to the ledge where the passage from the east hall comes in.
References fdActorGetById(), fdMapCopyMetatileAttributeRect(), scIsletCaveRideLog(), syGameFlagClear() and sySynch().
Referenced by IsletCaveHallsCues.
Definition at lines 49 and 742 of file islet_cave.c.
scIsletCaveRideSecondLogWest
void scIsletCaveRideSecondLogWest(void)
Walking west from the ledge at the east of the west hall's lake, where the passage from the east hall's north-west comes in, onto the second log (metatiles (21, 13) to (21, 15)) floats it 13 metatiles west with Felix aboard, with a stop halfway, across the north of the lake to the little ledge of the Rusty Staff chest.
References fdActorGetById(), fdMapCopyMetatileAttributeRect(), scIsletCaveRideLog(), syGameFlagSet() and sySynch().
Referenced by IsletCaveHallsCues.
Definition at lines 50 and 767 of file islet_cave.c.
scIsletCaveRideThirdLogEast
void scIsletCaveRideThirdLogEast(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideThirdLogEast, ACTOR_THIRD_LOG, 80, syGameFlagSet, FLAG_ISLET_CAVE_THIRD_LOG_MOVED)
Walking east from the ledge at the north-west of the east hall onto the third log (metatiles (48, 8) to (48, 10)) floats it five metatiles east with Felix aboard, across the channel to its narrow east bank.
Referenced by IsletCaveHallsCues.
Definition at lines 51 and 792 of file islet_cave.c.
scIsletCaveRideFourthLogEast
void scIsletCaveRideFourthLogEast(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideFourthLogEast, ACTOR_FOURTH_LOG, 80, syGameFlagClear, FLAG_ISLET_CAVE_FOURTH_LOG_MOVED)
Walking east from the ledge at the north-west of the east hall onto the fourth log (metatiles (49, 8) to (49, 10)) floats it five metatiles east with Felix aboard, back across the channel to its narrow east bank.
Referenced by IsletCaveHallsCues.
Definition at lines 52 and 810 of file islet_cave.c.
scIsletCaveRideFourthLogWest
void scIsletCaveRideFourthLogWest(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideFourthLogWest, ACTOR_FOURTH_LOG, -80, syGameFlagClear, FLAG_ISLET_CAVE_FOURTH_LOG_MOVED)
Walking west from the east hall's narrow east bank onto the fourth log (metatiles (54, 8) to (54, 10)) floats it five metatiles west with Felix aboard, across the channel to the ledge at its north-west, where the passage to the west hall's north leaves.
Referenced by IsletCaveHallsCues.
Definition at lines 53 and 820 of file islet_cave.c.
scIsletCaveRideFifthLogEast
void scIsletCaveRideFifthLogEast(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideFifthLogEast, ACTOR_FIFTH_LOG, 80, syGameFlagSet, FLAG_ISLET_CAVE_FIFTH_LOG_MOVED)
Walking east from the east hall's south-west shore, where the passage from the west hall comes in, onto the fifth log (metatiles (48, 22) to (48, 24)) floats it five metatiles east with Felix aboard, across the channel to its east bank.
Referenced by IsletCaveHallsCues.
Definition at lines 54 and 830 of file islet_cave.c.
scIsletCaveRideFifthLogWest
void scIsletCaveRideFifthLogWest(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideFifthLogWest, ACTOR_FIFTH_LOG, -80, syGameFlagClear, FLAG_ISLET_CAVE_FIFTH_LOG_MOVED)
Walking west from the east hall's east bank onto the fifth log (metatiles (53, 22) to (53, 24)) floats it five metatiles west with Felix aboard, back to the south-west shore.
Referenced by IsletCaveHallsCues.
Definition at lines 55 and 839 of file islet_cave.c.
scIsletCaveRideSixthLogEast
void scIsletCaveRideSixthLogEast(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideSixthLogEast, ACTOR_SIXTH_LOG, 80, syGameFlagClear, FLAG_ISLET_CAVE_SIXTH_LOG_MOVED)
Walking east from the east hall's south-west shore onto the sixth log (metatiles (49, 22) to (49, 24)) floats it five metatiles east with Felix aboard, back across the channel to its east bank.
Referenced by IsletCaveHallsCues.
Definition at lines 56 and 848 of file islet_cave.c.
scIsletCaveRideSixthLogWest
void scIsletCaveRideSixthLogWest(void)
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideSixthLogWest, ACTOR_SIXTH_LOG, -80, syGameFlagSet, FLAG_ISLET_CAVE_SIXTH_LOG_MOVED)
Walking west from the east hall's east bank onto the sixth log (metatiles (54, 22) to (54, 24)) floats it five metatiles west with Felix aboard, across the channel to the south-west shore.
Referenced by IsletCaveHallsCues.
Definition at lines 57 and 857 of file islet_cave.c.
scIsletCaveRideSeventhLogNorth
void scIsletCaveRideSeventhLogNorth(void)
Walking north from the ledge at the south end of the east hall onto the seventh log (metatiles (50, 29) to (52, 29)) floats it 22 metatiles north up the channel with Felix aboard, past the other logs, stopping twice on the way, to the foot of Meld's ledge.
References fdActorGetById(), fdMapCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scIsletCaveRideLog(), Sint32, syGameFlagSet() and sySynch().
Referenced by IsletCaveHallsCues.
Definition at lines 58 and 867 of file islet_cave.c.
scIsletCaveRideSeventhLogSouth
void scIsletCaveRideSeventhLogSouth(void)
Walking south from Meld's ledge at the north end of the east hall onto the seventh log (metatiles (50, 7) to (52, 7)) floats it 22 metatiles south down the channel with Felix aboard, stopping twice on the way, back to the ledge at the channel's south end.
References fdActorGetById(), fdMapCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scIsletCaveRideLog(), Sint32, syGameFlagClear() and sySynch().
Referenced by IsletCaveHallsCues.
Definition at lines 59 and 896 of file islet_cave.c.
scIsletCaveSentinelAwaits
void scIsletCaveSentinelAwaits(void)
Walking up the Sentinel's room to the great armoured warrior at its north end (metatiles (9, 11) to (13, 13), the ground just before it) wakes it. It springs twice, the room glows warm, and it says across the screen "I am the guardian of wind. If you would claim my power, you must prove your worth." Then it comes at Felix and a battle with it starts, one the party cannot run from. Beating it leaves the Catastrophe tablet free behind its spot.
References fdActorGetById(), fdActorSetDestinationById(), fdActorStartRepeatedMotion(), fdPaletteFadeApplySource(), fdPaletteFadeSetTarget(), fdPaletteFadeStartInterpolation(), fdRequestBattleFromEncounterTable(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scFieldScriptSetAfterBattleDestination(), scScriptMessageShowCentered() and Sint32.
Referenced by IsletCaveSentinelRoomCues.
Definition at lines 60 and 926 of file islet_cave.c.
scIsletCaveTremorRevealsSerac
void scIsletCaveTremorRevealsSerac(void)
Tremor cast on the winged statue that rocks and hops on its pillar at the west side of the second corridor shakes Serac out. The Mercury Djinni leaps from the statue and lands in the corridor beside Felix, and the statue stands still. While Serac hides, nothing marks him but the rocking statue.
References fdActorGetById(), fdActorMoveToAndWait(), fdActorStop(), fdActorTurnToFaceEachOther(), fdScriptGetFlag(), fdScriptSetFlag() and MainRoutineStateWork.
Referenced by IsletCaveCorridorsCues.
Definition at lines 61 and 962 of file islet_cave.c.
scIsletCaveClearScriptedActorSpriteFlags
Sint32 scIsletCaveClearScriptedActorSpriteFlags(ACTOR *actor)
The last step of each fire's script in the Sentinel's room: clears its sprite flags.
References fdActorSetSpriteFlags() and Sint32.
Referenced by IsletCaveShrunkFireScript.
Definition at line 162 of file islet_cave.c.
scIsletCaveHopWingedStatue
Sint32 scIsletCaveHopWingedStatue(ACTOR *actor)
The winged statue's script while Serac hides in it: it hops, rocking its sprite through the first half of each hop.
References Sint32 and syCos().
Referenced by IsletCaveTremorTargetScript.
Definition at line 177 of file islet_cave.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 194 of file islet_cave.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 199 of file islet_cave.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 204 of file islet_cave.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References IsletCaveCorridorsPlacements, IsletCaveHallsPlacements, IsletCaveSentinelRoomPlacements and MainRoutineStateWork.
Definition at line 216 of file islet_cave.c.
scGetCues
const CUE *scGetCues(void)
References IsletCaveCorridorsCues, IsletCaveHallsCues, IsletCaveSentinelRoomCues and MainRoutineStateWork.
Definition at line 227 of file islet_cave.c.
scIsletCaveFinishTeleport
void scIsletCaveFinishTeleport(void)
The end of a Teleport between the two circles: the circle shimmers while the sparks whirl in, then the cave's colours come back and Felix is shown on it.
References fdActorConfigureSpriteColor(), fdPaletteFadeSetTarget(), fdPaletteFadeStartInterpolation(), fdTeleportPlayWhirl(), MainRoutineStateWork, scTeleportStartFastShimmer(), scTeleportStopShimmer(), Sint32 and sySynch().
Definition at line 240 of file islet_cave.c.
scIsletCaveDarkenPalette
void scIsletCaveDarkenPalette(Sint32 scale)
Darkens the room by the scale given, out of FADE_CHANNEL_LEVEL, so that each
corridor is darker than the last. Through the bug below only the reds and
greens dim, so the deeper corridors and the Sentinel's room look bluer as
well as darker.
References Sint32.
Referenced by scInit().
Definition at line 292 of file islet_cave.c.
scInit
Sint32 scInit(void)
Sets up the map being entered: in the halls, the logs where the party left them and the Teleport circles' colours; in the Sentinel's room, the Sentinel gone once beaten; in the corridors, Serac hidden in the winged statue until Tremor. The corridors darken an eighth at a time from the third, and the Sentinel's room is as dark as the fifth.
References fdActorGetById(), fdActorSetMovementTypeById(), fdActorSetSpriteFlags(), fdEffectStartBlankOverlay(), fdPaletteFadePackTarget(), fdPaletteFadeStartInterpolation(), fdScriptWaitTransitionTicks(), IsletCaveTremorTargetScript, MainRoutineStateWork, scIsletCaveDarkenPalette(), scIsletCavePlaceLogs(), scPaletteSetColorsFade(), Sint32, syGameFlagGet(), syGameFlagSet(), TeleportCircleColors, TeleportCirclePaletteSlots, TeleportCircleShimmerColors and TeleportCircleShimmerSlots.
Definition at line 389 of file islet_cave.c.
scPrepareMap
Sint32 scPrepareMap(void)
References Sint32.
Definition at line 443 of file islet_cave.c.
scIsletCavePlaceWestEastLog
void scIsletCavePlaceWestEastLog(Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 x, Sint32 z, Sint32 metatileBehavior, Sint32 flag)
Places a log lying west to east, three metatiles wide: at (x, z) if its flag says it is at the far side, then copies its metatiles in under it from the stored row at (srcColumn, srcRow). Its metatile behaviour is passed and not used.
References fdActorGetById(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes(), Sint32 and syGameFlagGet().
Referenced by scIsletCavePlaceLogs().
Definition at line 503 of file islet_cave.c.
scIsletCavePlaceNorthSouthLog
void scIsletCavePlaceNorthSouthLog(Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 x, Sint32 z, Sint32 metatileBehavior, Sint32 flag)
As scIsletCavePlaceWestEastLog, for a log lying north to south, three
metatiles tall.
References fdActorGetById(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes(), Sint32 and syGameFlagGet().
Referenced by scIsletCavePlaceLogs().
Definition at line 530 of file islet_cave.c.
scIsletCaveSettleLog
void scIsletCaveSettleLog(Sint32 actorId)
Stepping onto a log plays its dip under Felix's step, set back to floating first so that the dip plays from its start: as he steps onto it, the log spreads wider and flashes darker orange for about a third of a second, then settles back to its narrow yellow look.
References fdActorSetAnimationById() and Sint32.
Referenced by scIsletCaveSettleFifthLog(), scIsletCaveSettleFirstLog(), scIsletCaveSettleFourthLog(), scIsletCaveSettleSecondLog(), scIsletCaveSettleSeventhLog(), scIsletCaveSettleSixthLog() and scIsletCaveSettleThirdLog().
Definition at line 560 of file islet_cave.c.
scIsletCaveRideLog
void scIsletCaveRideLog(Sint32 actorId, Sint32 dx, Sint32 dz)
Rides a log one stage, dx and dz pixels, carrying Felix with it: the log
rolls over as it floats, he treads on top facing back the way he came, and it
settles where it stops.
References fdActorGetById(), fdActorSelectAnimation(), fdActorSetMoveTarget(), fdActorWaitForMove(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptStart(), MainRoutineStateWork, Sint32 and sySoundPlay().
Referenced by scIsletCaveRideSecondLogEast(), scIsletCaveRideSecondLogWest(), scIsletCaveRideSeventhLogNorth() and scIsletCaveRideSeventhLogSouth().
Definition at line 660 of file islet_cave.c.
scIsletCaveRideFirstLogWest
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideFirstLogWest, ACTOR_FIRST_LOG, -32, syGameFlagSet, FLAG_ISLET_CAVE_FIRST_LOG_MOVED)
Walking west from the Teleport circle's island onto the first log (metatiles (10, 30) to (10, 32)) floats it two metatiles west with Felix aboard, across to the west shore and the Turtle Boots chest.
Referenced by IsletCaveHallsCues.
Definition at line 732 of file islet_cave.c.
scIsletCaveRideThirdLogWest
DEFINE_ISLET_CAVE_RIDE_LOG_ACROSS(scIsletCaveRideThirdLogWest, ACTOR_THIRD_LOG, -80, syGameFlagClear, FLAG_ISLET_CAVE_THIRD_LOG_MOVED)
Walking west from the east hall's narrow east bank onto the third log (metatiles (53, 8) to (53, 10)) floats it five metatiles west with Felix aboard, back to the ledge at the channel's north-west.
Referenced by IsletCaveHallsCues.
Definition at line 801 of file islet_cave.c.
Variables in detail
IsletCaveSentinelScript
extern Uint32 IsletCaveSentinelScript[]
Uint32 IsletCaveSentinelScript[]
Referenced by IsletCaveSentinelRoomPlacements.
Definition at lines 63 and 989 of file islet_cave.c.
IsletCaveShrunkFireScript
extern Sint32 IsletCaveShrunkFireScript[]
Sint32 IsletCaveShrunkFireScript[]
References scIsletCaveClearScriptedActorSpriteFlags() and Sint32.
Referenced by IsletCaveSentinelRoomPlacements.
Definition at lines 65 and 995 of file islet_cave.c.
IsletCaveDoorFrames
extern Sint16 IsletCaveDoorFrames[]
Sint16 IsletCaveDoorFrames[]
A grey stone door sliding open, as MAP_EDIT_STEP_ROW rows: two steps of two ticks.
Referenced by IsletCaveDoors.
Definition at lines 66 and 1195 of file islet_cave.c.
PaletteCycleBright
Uint16 PaletteCycleBright
The Teleport circle's shimmer (shared/teleport_shimmer.c): the colours it
writes and the palette cycle that runs them round the circle.
Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().
Definition at line 70 of file islet_cave.c.
PaletteCycleTimer
Uint16 PaletteCycleTimer
Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().
Definition at line 72 of file islet_cave.c.
PaletteCycleDelay
Uint16 PaletteCycleDelay
Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().
Definition at line 73 of file islet_cave.c.
IsletCaveSentinelRoomPlacements
extern ACTOR_PLACE IsletCaveSentinelRoomPlacements[]
ACTOR_PLACE IsletCaveSentinelRoomPlacements[]
References IsletCaveSentinelScript, IsletCaveShrunkFireScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 209 and 1044 of file islet_cave.c.
IsletCaveHallsPlacements
extern ACTOR_PLACE IsletCaveHallsPlacements[]
ACTOR_PLACE IsletCaveHallsPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 210 and 1070 of file islet_cave.c.
IsletCaveCorridorsPlacements
extern ACTOR_PLACE IsletCaveCorridorsPlacements[]
ACTOR_PLACE IsletCaveCorridorsPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 211 and 1096 of file islet_cave.c.
IsletCaveHallsCues
extern CUE IsletCaveHallsCues[]
CUE IsletCaveHallsCues[]
References scIsletCaveFightMeld(), scIsletCaveRideFifthLogEast(), scIsletCaveRideFifthLogWest(), scIsletCaveRideFirstLogEast(), scIsletCaveRideFirstLogWest(), scIsletCaveRideFourthLogEast(), scIsletCaveRideFourthLogWest(), scIsletCaveRideSecondLogEast(), scIsletCaveRideSecondLogWest(), scIsletCaveRideSeventhLogNorth(), scIsletCaveRideSeventhLogSouth(), scIsletCaveRideSixthLogEast(), scIsletCaveRideSixthLogWest(), scIsletCaveRideThirdLogEast(), scIsletCaveRideThirdLogWest(), scIsletCaveSettleFifthLog(), scIsletCaveSettleFirstLog(), scIsletCaveSettleFourthLog(), scIsletCaveSettleSecondLog(), scIsletCaveSettleSeventhLog(), scIsletCaveSettleSixthLog(), scIsletCaveSettleThirdLog(), scIsletCaveTeleportToIslandCircle() and scIsletCaveTeleportToNorthCircle().
Referenced by scGetCues().
Definition at lines 212 and 1104 of file islet_cave.c.
IsletCaveCorridorsCues
extern CUE IsletCaveCorridorsCues[]
CUE IsletCaveCorridorsCues[]
References scIsletCaveFightSerac(), scIsletCaveOpenDoorAndEnter() and scIsletCaveTremorRevealsSerac().
Referenced by scGetCues().
Definition at lines 213 and 1165 of file islet_cave.c.
IsletCaveSentinelRoomCues
extern CUE IsletCaveSentinelRoomCues[]
CUE IsletCaveSentinelRoomCues[]
References scIsletCaveSentinelAwaits().
Referenced by scGetCues().
Definition at lines 214 and 1187 of file islet_cave.c.
IsletCaveDoors
extern MAP_EDIT IsletCaveDoors[]
MAP_EDIT IsletCaveDoors[]
The five corridors' doors, a row for each exit from the first: the opening and the metatile it plays at. The doors are drawn on map layer 1, whose cells begin at the map's column 64: the first door, which Felix walks into at metatile (8, 6), is drawn at the map's (72, 4), its layer's (8, 4).
References IsletCaveDoorFrames.
Referenced by scIsletCaveOpenDoorAndEnter().
Definition at lines 333 and 1205 of file islet_cave.c.
IsletCaveTremorTargetScript
extern Sint32 IsletCaveTremorTargetScript[]
Sint32 IsletCaveTremorTargetScript[]
References scIsletCaveHopWingedStatue() and Sint32.
Referenced by scInit().
Definition at lines 382 and 1004 of file islet_cave.c.
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 1011 of file islet_cave.c.