src/scene/crossbone_isle_stepping_stones.c
Five of the side rooms of Crossbone Isle Cave, the cave beneath Crossbone Isle. More…
#include "ability_ids.h"#include "flags.h"#include "item_ids.h"#include "debug/debug.h"#include "field/script_inline.h"#include "field/field_psynergy_state.h"#include "field/ground_mask.h"#include "field/map_grid.h"#include "graphics/graphics.h"#include "sound/sound_driver_symbols.h"#include "text/msg_ids.h"#include "shared/field_effect_create.c"#include "shared/field_effect_spawn.c"#include "shared/pushed_actor.c"#include "shared/map_grid_panel.c"#include "shared/field_effect_duration_scripts.c"#include "shared/pushed_actor_tables.c"#include "shared/scene_entrances_default.c"
Structures
| Name | Description | |
|---|---|---|
union | CROSSBONE_ISLE_PILLAR_METATILE | A copied map metatile, also read in the two flag pairs the pillar redraw keeps. |
struct | PILLAR_PLACEMENT | A pillar slot's place and ground metatile, without its flag. |
struct | PILLAR_SLOT | Where one of the seventh floor's side room's pillars stands, the ground metatile saved under it and its flag of standing under another pillar. |
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_CROSSBONE_ISLE_FLOODGATE_WATER_RAISED FLAG_SCENE_TEMP(0x00) | The floodgate room: the water has been raised. |
#define | FLAG_CROSSBONE_ISLE_STACKED_PILLARS_FIRST_PILLAR_UNDER_ANOTHER | The seventh floor's side room: the first pillar has another pushed on top of it, so Move and Carry leave it be. |
#define | FLAG_CROSSBONE_ISLE_DRAGON_STATUE_FIRST_PUDDLE_FROZEN | The dragon statue's room: the first puddle is frozen. |
#define | FLAG_CROSSBONE_ISLE_DRAGON_STATUE_LEADER_ON_THIRD_PUDDLE | The dragon statue's room: the leader stood on the third puddle when Frost began, so it stays unfrozen. |
#define | FLAG_CROSSBONE_ISLE_DRAGON_STATUE_BOULDER_SUNK FLAG_SCENE_TEMP(0x04) | The dragon statue's room: the boulder Move pushes has sunk into place at SINKING_BOULDER_COLUMN. |
#define | SINKING_BOULDER_COLUMN 16 | The map column where the dragon statue's room's boulder sinks into place. |
#define | TURNING_ROCK_ANIMATION_BOULDER 2 | SPRITE_TURNING_ROCK's round boulder (turning_rock.tsv's picture 1), as the dragon statue's room's boulder is drawn. |
#define | WATER_PANEL_SCROLL_Y (12 * MAPGRID_METATILE_PIXELS) | While the floodgate room's water changes level, the background maps hold the stream in its other level twelve metatile rows below where they show it (scMapGridDrawMetatilePanel's rows 19 and 31), and the top WATER_DISSOLVE_LINES lines of the screen show it scrolled down to there, line by line, more often each tick. |
#define | WATER_DISSOLVE_LINES 48 |
Enumerations
| Name | Description | |
|---|---|---|
enum | CROSSBONE_ISLE_STEPPING_STONES_ACTOR_ID { ACTOR_FIRST_PILLAR, ACTOR_FIRST_LOG, ACTOR_SINKING_BOULDER, … } | The placed actors, numbered in the order of each room's actor placements (scGetActorPlacements). |
enum | anonymous enum { TREASURE_SPOT_STEPPING_STONES_ANTIDOTE, TREASURE_SPOT_STEPPI … } | The rooms' chests, named for what each holds; each room numbers its own. |
enum | anonymous enum { METATILE_BEHAVIOR_STACKED_PILLARS_DROP, METATILE_BEHAVIOR_ST … } | The seventh floor's side room's own metatile behaviors, on layer 2: where a pillar pushed onto one falls down the cliff, and where it sinks into the floor. |
enum | anonymous enum { METATILE_BEHAVIOR_STACKED_PILLARS_PILLARS, METATILE_BEHAVIOR … } | The seventh floor's side room's metatiles that run scripts as Isaac walks: among the pillars, at the ladders, on the lowest floor and where he leaves it. |
enum | anonymous enum { METATILE_BEHAVIOR_BESIDE_PUSHED_ACTOR } | The metatiles beside the pillars, columns, logs and boulder of the first, second, fifth and eighth floors' side rooms, from which walking into one pushes it. |
enum | anonymous enum { METATILE_BEHAVIOR_FLOODGATE_SWITCH } | The floodgate room's switch, searched to flip it. |
enum | anonymous enum { FLOODGATE_LAYER_1_COLUMN, FLOODGATE_LAYER_2_COLUMN, KEPT_LAY … } | The floodgate room's map: its layers 1 and 2 begin at the map's columns 32 and 64, and each water level is kept below the room as those two layers side by side, the raised water from row 32 and the drained from row 64. |
enum | anonymous enum { ICE_PILLAR_TOP_COLUMN, ICE_PILLAR_TOP_ROW } | The metatile whose attributes a pillar of ice takes for its own: a top Isaac can jump onto. |
enum | anonymous enum { DRAGON_HEAD_COLUMN, DRAGON_HEAD_ROW, DRAGON_JAWS_OPEN_COLUMN … } | The stone dragon's head, metatiles (60, 10) and (60, 11) on map layer 2: it opens its jaws wide as it breathes fire, drawn from column 73, and shuts them again after, from column 72. |
enum | anonymous enum { PARTICLE_DRAG, PARTICLE_DRAG_Y } | A damped particle loses a PARTICLE_DRAG-th of its speed across the ground each tick, and a PARTICLE_DRAG_Y-th of its speed up or down. |
Functions
| Name | Description | |
|---|---|---|
static void | scCrossboneIsleSteppingStonesSettleActorOnGround (ACTOR *actor) | Lets a falling actor drop for up to sixty ticks until it lands, then sets it on the ground. |
static void | scCrossboneIsleSteppingStonesStopAtGroundOrHeight (ACTOR *actor, Sint32 limit) | Lets a falling actor drop for up to sixty ticks until it reaches the ground or the height limit, then stops it there. |
static Sint32 | scCrossboneIsleSteppingStonesQueryCoveredMetatiles (Sint32 id, Uint32 *width, Uint32 *depth, PUSHED_ACTOR_PROBE *probe, Sint32 *layerOriginX, Sint32 *layerOriginZ) | Finds the metatiles the actor covers: their width and depth, the top-left one, and the metatile where the map grid's layer 1 starts. |
static Bool | scCrossboneIsleSteppingStonesFloatLog (Sint32 actorId) | Floats one of the floodgate room's logs on the raised water: it bobs under the leader's feet, and its metatiles are redrawn as a floating log lying across or along the room as it does. |
static inline void | scCrossboneIsleSteppingStonesFloatLogs (void) | Floats the floodgate room's seven logs on the raised water. |
static Bool | scCrossboneIsleSteppingStonesStrandLog (Sint32 actorId) | Strands one of the floodgate room's logs on the floor as the water drains: the metatiles under it are restored from the map and walled off, and it lies still. |
static void | scCrossboneIsleSteppingStonesReadMapGridMetatile ( Sint32 layer, Sint32 x, Sint32 y, CROSSBONE_ISLE_PILLAR_METATILE *dest) | Reads one map metatile through DMA, waiting until the transfer finishes. |
static void | scCrossboneIsleSteppingStonesSetMetatileAttributes ( Sint32 layer, Sint32 x, Sint32 y, const CROSSBONE_ISLE_PILLAR_METATILE *src) | Copies the metatile's flags and metatile behavior without replacing its metatile tiles. |
static Sint32 | scCrossboneIsleSteppingStonesLowerActorToLedge (Sint32 id, Bool pillarStandIn) | Lets the actor fall down the cliff south of it to the next ledge, then takes it out of play, to the map's origin. |
static void | scCrossboneIsleSteppingStonesSinkPillar (Sint32 index) | Sinks the pillar into the floor, a tenth of its height and 0.8 pixels a tick, until a tenth of it is left (at most 32 ticks). |
static void | scCrossboneIsleSteppingStonesSpawnUnusedLeaderParticle (void) | Unused: spawns a particle near the leader once every four ticks; nothing calls it. |
static Bool | scCrossboneIsleSteppingStonesTryJumpAcrossPillar (void) | Jumps two metatiles forward when both the intervening and landing metatiles permit it. |
static void | scCrossboneIsleSteppingStonesUpdateDampedParticle (ACTOR *actor) | Moves the particle while damping its velocity, growing it, and advancing rotation. |
static Sint32 | scCrossboneIsleSteppingStonesSetSpriteColorFromTimer (ACTOR *actor) | Sets the actor's sprite to the colour mode (SPR_COL_MODE) in the low four bits of its timer. |
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 exits the five rooms share. |
const ACTOR_PLACE * | scGetActorPlacements (void) | Some villagers only turn back after talking once the flood is over or their family has gone home. |
static void | scCrossboneIsleSteppingStonesJumpOrPushPillar (void) | Isaac walks into one of the stone pillars on the raised squares of the first floor's side room: he jumps across it if there is a square beyond to land on, and otherwise pushes it a step. |
static void | scCrossboneIsleSteppingStonesRollColumnOrLog (void) | Isaac walks into one of the lying columns of the second floor's side room, or a log in the fifth floor's room of the floodgate, and rolls it if the way beyond is clear. |
static void | scCrossboneIsleSteppingStonesJitterBackgroundScroll (void) | HBlank handler while the water changes level: the next line, if one of the top WATER_DISSOLVE_LINES, shows the other water level with OtherWaterChance, else the backgrounds' own scroll. |
static void | scCrossboneIsleSteppingStonesPrepareWaterScroll (void) | Copies BG1 to BG3's scroll and moves it down WATER_PANEL_SCROLL_Y, to the stream in its other level. |
static void | scCrossboneIsleSteppingStonesAnimateWaterLevel (void) | The floodgate room's water changes level: over 100 ticks, more and more of the top lines show the stream at its other level, then the map takes it. |
static void | scCrossboneIsleSteppingStonesFlipWaterSwitch (void) | Isaac searches the switch beside the floodgate in the fifth floor's side room: "Isaac flipped the switch." With the gate open it shuts, spray bursts at its foot, the water rises behind it and the logs float up; with it shut, it opens, the water drains and the logs settle on the stream bed. |
static Sint32 | scCrossboneIsleSteppingStonesSyncPriorityIfBehind (ACTOR *actor, ACTOR *front) | When actor stands just behind front, up to two metatiles north of it, within a metatile east or west and at the same height, it is drawn no nearer the viewer than front: it takes front's sprite priority (the background layers it is drawn over) if its own is nearer. |
static Sint32 | scCrossboneIsleSteppingStonesSyncPriorityIfAhead (ACTOR *front, ACTOR *actor) | The same test from the front: when actor stands just behind front, it takes front's sprite priority if its own is nearer the viewer. |
static UNREAD_RESULT | scCrossboneIsleSteppingStonesUpdateActorPriority (ACTOR *actor) | A stacked pillar's update function, each tick. |
static void | scCrossboneIsleSteppingStonesSortPillarActors (void) | Sorts the four pillars by height and depth, carrying their saved metatile state with them. |
static void | scCrossboneIsleSteppingStonesMovePillar (void) | Isaac casts Move or Carry on one of the square pillars of the seventh floor's side room, and after each push there: each pillar settles where it now stands, on the floor, on a ledge or on another pillar, or drops off a cliff edge and is gone. |
static void | scCrossboneIsleSteppingStonesJumpOrPushStackedPillar (void) | Isaac walks into a square pillar in the seventh floor's side room: he jumps across it if there is somewhere to land, and otherwise pushes it, and the pillars settle. |
static void | scCrossboneIsleSteppingStonesClimbUp (void) | Isaac walks north into a ladder in the seventh floor's side room and climbs up it. |
static void | scCrossboneIsleSteppingStonesPushOrClimbDown (void) | Isaac walks south at the top of a ladder in the seventh floor's side room: he pushes a pillar standing below him, jumps across one, or climbs down. |
static void | scCrossboneIsleSteppingStonesEnterLowestFloor (void) | Isaac steps onto the lowest floor of the seventh floor's side room, among the brown pits, as at metatile (54, 15) in its north-east. |
static void | scCrossboneIsleSteppingStonesLeaveLowestFloor (void) | Isaac leaves the lowest floor of the seventh floor's side room, at metatile (33, 27) below the west ladders or (54, 14) in the north-east, and the ground mask lets him go. |
static UNREAD_RESULT | scCrossboneIsleSteppingStonesUpdateFrozenPuddlePriority (ACTOR *actor) | A frozen puddle's update function, each tick: a pillar of ice nearer the viewer than Isaac is drawn over him, unless its top is below his feet. |
static void | scCrossboneIsleSteppingStonesFreezePuddle (Sint32 id) | A puddle in the dragon statue's room has frozen into a pillar of ice: it shines, and its metatile becomes a pillar top Isaac can jump onto (CrossboneIsleSteppingStonesIceShineScript). |
static void | scCrossboneIsleSteppingStonesFreezeFirstPuddle (void) | Isaac casts Frost on the puddle by the west ladder of the dragon statue's room, metatile (8, 13): it freezes into a pillar of ice. |
static void | scCrossboneIsleSteppingStonesFreezeSecondPuddle (void) | Isaac casts Frost on the puddle by the east ladder of the dragon statue's room, metatile (18, 13): it freezes into a pillar of ice, until the dragon's fire melts it. |
static void | scCrossboneIsleSteppingStonesFrostStartsOnThirdPuddle (void) | Isaac starts casting Frost on the puddle under the white platform in front of the stone dragon. |
static void | scCrossboneIsleSteppingStonesFrostRaisesPillar (void) | As Frost takes hold of the puddle in front of the stone dragon, a pillar of ice grows in it and lifts the white platform two steps up. |
static void | scCrossboneIsleSteppingStonesSpawnDragonFire (void) | The stone dragon's fire, each tick while it breathes: flames burst from beside it towards the puddle by the east ladder, with a whoosh. |
static UNREAD_RESULT | scCrossboneIsleSteppingStonesSpawnMeltParticle (ACTOR *actor) | Steam rises from the melting ice by the east ladder: a white puff every eight ticks. |
static void | scCrossboneIsleSteppingStonesFreezeThirdPuddle (void) | Isaac's Frost freezes the puddle in front of the stone dragon, unless he stood in it. |
static void | scCrossboneIsleSteppingStonesStartMovingSinkingBoulder (void) | Nothing visible happens as Isaac starts casting Move on the small boulder below the logs in the dragon statue's room; the game clears the boulder's metatile so that it can move. |
static void | scCrossboneIsleSteppingStonesMoveSinkingBoulder (void) | Isaac moves the small boulder below the logs in the dragon statue's room a step, with Move or by walking into it. |
static void | scCrossboneIsleSteppingStonesPushSinkingBoulder (void) | Isaac walks into the small boulder below the logs in the dragon statue's room and pushes it a step if the way beyond is clear. |
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 void | scCrossboneIsleSteppingStonesSetBelowLeader (Sint32 id) | Lays an actor in the floor below the leader: not solid, drawn under his feet at priority 2, and without a shadow. |
static void | scCrossboneIsleSteppingStonesRestoreFrozenPuddle (Sint32 actorId) | A puddle Frost has frozen stands as its pillar of ice again, with its metatile, its priority function and its shine. |
static void | scCrossboneIsleSteppingStonesInitPillarPriority (Sint32 id) | Puts one of the seventh floor's side room's pillars on layer 2, drawn in front of or behind Isaac by scCrossboneIsleSteppingStonesUpdateActorPriority. |
static void | scCrossboneIsleSteppingStonesUpdateLeaderPriority (void) | Each tick in the seventh floor's side room, Isaac standing just behind a pillar, at its height, is drawn on its layers. |
Sint32 | scInit (void) | Sets up the room: the metatiles under its pillars and logs, and the floodgate's water and the puzzles as a battle left them. |
Variables
| Name | Description | |
|---|---|---|
extern Sint32 | CrossboneIsleSteppingStonesIceShineScript [] | The shine on a pillar of ice Frost has made of a puddle in the dragon statue's room. |
extern Uint16 | CrossboneIsleSteppingStonesSwitchCloseSteps [] | The floodgate's switch flipping as scCrossboneIsleSteppingStonesFlipWaterSwitch closes the gate, and flipping back as it opens it. |
extern Uint16 | CrossboneIsleSteppingStonesSwitchOpenSteps [] | |
extern Uint16 | CrossboneIsleSteppingStonesFloodgateCloseSteps [] | The floodgate closing, and opening again. |
extern Uint16 | CrossboneIsleSteppingStonesFloodgateOpenSteps [] | |
extern Uint16 | CrossboneIsleSteppingStonesFloodgateFootSteps [] | The two metatiles at the floodgate's foot as it shuts. |
extern SCENE_ENTRANCE | CrossboneIsleSteppingStonesEntrances [] | |
extern SCENE_ENTRANCE | CrossboneIsleIcePillarsEntrances [] | |
extern SCENE_ENTRANCE | CrossboneIsleFloodgateEntrances [] | |
extern SCENE_ENTRANCE | CrossboneIsleStackedPillarsEntrances [] | |
extern SCENE_ENTRANCE | CrossboneIsleDragonStatueEntrances [] | |
extern Uint32 | CrossboneIsleSteppingStonesExits [] | |
extern ACTOR_PLACE | CrossboneIsleSteppingStonesActorPlacements [] | |
extern ACTOR_PLACE | CrossboneIsleIcePillarsActorPlacements [] | |
extern ACTOR_PLACE | CrossboneIsleFloodgateActorPlacements [] | |
extern ACTOR_PLACE | CrossboneIsleSteppingStonesActorPlacementsOther [] | |
extern ACTOR_PLACE | CrossboneIsleDragonStatueActorPlacements [] | |
extern CUE | CrossboneIsleSteppingStonesCuesOther [] | |
extern CUE | CrossboneIsleSteppingStonesCues [] | |
extern CUE | CrossboneIsleIcePillarsCues [] | |
extern CUE | CrossboneIsleFloodgateCues [] | |
extern CUE | CrossboneIsleStackedPillarsCues [] | |
extern CUE | CrossboneIsleDragonStatueCues [] | |
STATIC_ASSERT( | offsetof (CROSSBONE_ISLE_PILLAR_METATILE, bits.behavior) | |
static PILLAR_SLOT | PillarSlots [4] | The side room's four pillars. |
static FIELD_POS | ProbePosition | Where a moved pillar stands, tested against the map's collision. |
static BG_SCROLL | OtherWaterScroll [3] | BG1 to BG3's scroll moved down to the stream's other level (scCrossboneIsleSteppingStonesPrepareWaterScroll). |
static Sint32 | OtherWaterChance | The percent chance that a line of the top WATER_DISSOLVE_LINES shows the other water level: 0 when the water starts to change, then a point higher each tick until every line shows it. |
const Sint32 * | FieldEffectDurationScripts [] | The resident copy of the scripts EFFECT_SCRIPT_MASK picks, by enum EFFECT_DURATION. |
ACTOR_PLACE | CrossboneIsleSteppingStonesNoActorPlacements [] | Unused: an empty actor placement table nothing returns. |
Description
Five of the side rooms of Crossbone Isle Cave, the cave beneath Crossbone Isle.
Each opens off one of the nine floors the cave descends through
(crossbone_isle.c) through two doors, east and west. The floor's east door
leads in at the room's _EAST entrance
(CROSSBONE_ISLE_STEPPING_STONES_CROSSBONE_ISLE_FIRST_FLOOR_EAST in the
first) and its west door at the _WEST one. The exits of the same names lead
back out.
Each is a puzzle with four chests, and all five take the area name Crossbone Isle Cave. In the order the party meets them:
-
SceneIdCrossboneIsleSteppingStones, off the first floor: raised squares over a pit, with four stone pillars on them. Walking into a pillar jumps Isaac across it where there is a square to land on, and otherwise pushes it (scCrossboneIsleSteppingStonesJumpOrPushPillar), so the pillars are moved until a line of squares leads to each chest and to the far door. -
SceneIdCrossboneIsleIcePillars, off the second floor: columns lying north to south and east to west, pushed by walking into them until the way to the Mystery Blade's chest is clear. -
SceneIdCrossboneIsleFloodgate, off the fifth floor: a cave with a stream and a floodgate across it, and logs to roll.Searching the switch beside the floodgate (
scCrossboneIsleSteppingStonesFlipWaterSwitch) closes it, so the water backs up and the logs float higher, or opens it to drain them back down. The water level lasts only while the party stays (FLAG_CROSSBONE_ISLE_FLOODGATE_WATER_RAISED, kept through a battle). -
SceneIdCrossboneIsleStackedPillars, off the seventh floor, a cave of cliffs, ladders and brown pits. Its square pillars are shifted with Move and lifted onto ledges with Carry, and one can stand on another; each settles after every push (scCrossboneIsleSteppingStonesMovePillar). Pushed off a cliff, a pillar drops out of play. -
SceneIdCrossboneIsleDragonStatue, off the eighth floor, below a stone dragon: two logs, a small boulder and three puddles that Frost freezes into pillars of ice.The puddles are by the west ladder, by the east ladder, and in front of the dragon under a white platform. Frost on that one lifts the platform on a pillar of ice, and the dragon breathes fire on the puddle by the east ladder, melting its ice. It freezes only if Isaac was not standing in it.
Move pushes the small boulder below the logs east until it settles into the floor two steps along, for good.
The other three side rooms are in crossbone_isle_keys.c, and the ninth
floor's in crossbone_isle.c.
Macros in detail
FLAG_CROSSBONE_ISLE_FLOODGATE_WATER_RAISED
#define FLAG_CROSSBONE_ISLE_FLOODGATE_WATER_RAISED FLAG_SCENE_TEMP(0x00)
The floodgate room: the water has been raised.
Referenced by scCrossboneIsleSteppingStonesAnimateWaterLevel(), scCrossboneIsleSteppingStonesFlipWaterSwitch() and scInit().
Definition at line 161 of file crossbone_isle_stepping_stones.c.
FLAG_CROSSBONE_ISLE_STACKED_PILLARS_FIRST_PILLAR_UNDER_ANOTHER
#define FLAG_CROSSBONE_ISLE_STACKED_PILLARS_FIRST_PILLAR_UNDER_ANOTHER
The seventh floor's side room: the first pillar has another pushed on top of it, so Move and Carry leave it be. The four pillars' flags follow from this one.
Referenced by CrossboneIsleStackedPillarsCues and scInit().
Definition at line 165 of file crossbone_isle_stepping_stones.c.
FLAG_CROSSBONE_ISLE_DRAGON_STATUE_FIRST_PUDDLE_FROZEN
#define FLAG_CROSSBONE_ISLE_DRAGON_STATUE_FIRST_PUDDLE_FROZEN
The dragon statue's room: the first puddle is frozen. The second's and third's flags follow from this one.
Referenced by CrossboneIsleDragonStatueCues, scCrossboneIsleSteppingStonesFreezePuddle(), scCrossboneIsleSteppingStonesFreezeThirdPuddle(), scCrossboneIsleSteppingStonesRestoreFrozenPuddle() and scInit().
Definition at line 169 of file crossbone_isle_stepping_stones.c.
FLAG_CROSSBONE_ISLE_DRAGON_STATUE_LEADER_ON_THIRD_PUDDLE
#define FLAG_CROSSBONE_ISLE_DRAGON_STATUE_LEADER_ON_THIRD_PUDDLE
The dragon statue's room: the leader stood on the third puddle when Frost began, so it stays unfrozen.
Referenced by scCrossboneIsleSteppingStonesFreezeThirdPuddle() and scCrossboneIsleSteppingStonesFrostStartsOnThirdPuddle().
Definition at line 173 of file crossbone_isle_stepping_stones.c.
FLAG_CROSSBONE_ISLE_DRAGON_STATUE_BOULDER_SUNK
#define FLAG_CROSSBONE_ISLE_DRAGON_STATUE_BOULDER_SUNK FLAG_SCENE_TEMP(0x04)
The dragon statue's room: the boulder Move pushes has sunk into place at
SINKING_BOULDER_COLUMN.
Referenced by CrossboneIsleDragonStatueCues and scCrossboneIsleSteppingStonesMoveSinkingBoulder().
Definition at line 177 of file crossbone_isle_stepping_stones.c.
SINKING_BOULDER_COLUMN
#define SINKING_BOULDER_COLUMN 16
The map column where the dragon statue's room's boulder sinks into place.
Referenced by scCrossboneIsleSteppingStonesMoveSinkingBoulder().
Definition at line 180 of file crossbone_isle_stepping_stones.c.
TURNING_ROCK_ANIMATION_BOULDER
#define TURNING_ROCK_ANIMATION_BOULDER 2
SPRITE_TURNING_ROCK's round boulder (turning_rock.tsv's picture 1), as the
dragon statue's room's boulder is drawn.
Referenced by scInit().
Definition at line 204 of file crossbone_isle_stepping_stones.c.
WATER_PANEL_SCROLL_Y
#define WATER_PANEL_SCROLL_Y (12 * MAPGRID_METATILE_PIXELS)
While the floodgate room's water changes level, the background maps hold the
stream in its other level twelve metatile rows below where they show it
(scMapGridDrawMetatilePanel's rows 19 and 31), and the top
WATER_DISSOLVE_LINES lines of the screen show it scrolled down to there, line
by line, more often each tick.
Referenced by scCrossboneIsleSteppingStonesPrepareWaterScroll().
Definition at line 225 of file crossbone_isle_stepping_stones.c.
WATER_DISSOLVE_LINES
#define WATER_DISSOLVE_LINES 48
Referenced by scCrossboneIsleSteppingStonesJitterBackgroundScroll().
Definition at line 259 of file crossbone_isle_stepping_stones.c.
Enumerations in detail
CROSSBONE_ISLE_STEPPING_STONES_ACTOR_ID
enum CROSSBONE_ISLE_STEPPING_STONES_ACTOR_ID
The placed actors, numbered in the order of each room's actor placements
(scGetActorPlacements).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_FIRST_PILLAR | ACTOR_FIRST_PLACED | The pillars of the first floor's side room (four, SPRITE_STONE_PILLAR), the second floor's side room (five) and the seventh floor's side room (four, SPRITE_SPIRAL_PILLAR), the only actors those rooms place. |
ACTOR_FIRST_LOG | ACTOR_FIRST_PLACED | The logs, SPRITE_LOG_NORTH_SOUTH and SPRITE_LOG_WEST_EAST as Kolima Forest's. There are eight in the floodgate room, where the seven after the first float on the raised water, and two in the dragon statue's room. |
ACTOR_SINKING_BOULDER | ACTOR_FIRST_LOG + 2 | The dragon statue's room's boulder for Move, SPRITE_TURNING_ROCK, which sinks into place at SINKING_BOULDER_COLUMN. |
ACTOR_FIRST_PUDDLE | The dragon statue's room's three puddles, SPRITE_PUDDLE, which Frost freezes into pillars of ice: by the west ladder, by the east ladder, and in front of the stone dragon. | |
ACTOR_SECOND_PUDDLE | ||
ACTOR_THIRD_PUDDLE | ||
ACTOR_RISING_PILLAR | The white platform in the puddle in front of the stone dragon, SPRITE_WHITE_PLATFORM, which a pillar of ice lifts two steps as Frost freezes the puddle. | |
ACTOR_WATER | ACTOR_FIRST_LOG + 8 | The floodgate room's water, SPRITE_SPLASH, raised behind the closed floodgate. |
Definition at line 96 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { TREASURE_SPOT_STEPPING_STONES_ANTIDOTE, TREASURE_SPOT_STEPPING_STONES_NUT, TREASURE_SPOT_STEPPING_STONES_111_COINS, TREASURE_SPOT_STEPPING_STONES_HARD_NUT, … }
The rooms' chests, named for what each holds; each room numbers its own.
| Enumerator | Value | Description |
|---|---|---|
TREASURE_SPOT_STEPPING_STONES_ANTIDOTE | TREASURE_SPOT_FIRST_ID | |
TREASURE_SPOT_STEPPING_STONES_NUT | TREASURE_SPOT_FIRST_ID + 1 | |
TREASURE_SPOT_STEPPING_STONES_111_COINS | TREASURE_SPOT_FIRST_ID + 2 | |
TREASURE_SPOT_STEPPING_STONES_HARD_NUT | TREASURE_SPOT_FIRST_ID + 3 | |
TREASURE_SPOT_ICE_PILLARS_LUCKY_PEPPER | TREASURE_SPOT_FIRST_ID | |
TREASURE_SPOT_ICE_PILLARS_MYSTERY_BLADE | TREASURE_SPOT_FIRST_ID + 1 | |
TREASURE_SPOT_ICE_PILLARS_222_COINS | TREASURE_SPOT_FIRST_ID + 2 | |
TREASURE_SPOT_ICE_PILLARS_ELIXIR | TREASURE_SPOT_FIRST_ID + 3 | |
TREASURE_SPOT_FLOODGATE_555_COINS | TREASURE_SPOT_FIRST_ID | |
TREASURE_SPOT_FLOODGATE_LUCKY_MEDAL | TREASURE_SPOT_FIRST_ID + 1 | |
TREASURE_SPOT_FLOODGATE_POTION | TREASURE_SPOT_FIRST_ID + 2 | |
TREASURE_SPOT_FLOODGATE_NINJA_GARB | TREASURE_SPOT_FIRST_ID + 3 | |
TREASURE_SPOT_STACKED_PILLARS_777_COINS | TREASURE_SPOT_FIRST_ID | |
TREASURE_SPOT_STACKED_PILLARS_LUCKY_MEDAL | TREASURE_SPOT_FIRST_ID + 1 | |
TREASURE_SPOT_STACKED_PILLARS_PSY_CRYSTAL | TREASURE_SPOT_FIRST_ID + 2 | |
TREASURE_SPOT_STACKED_PILLARS_WICKED_MACE | TREASURE_SPOT_FIRST_ID + 3 | |
TREASURE_SPOT_DRAGON_STATUE_888_COINS | TREASURE_SPOT_FIRST_ID | |
TREASURE_SPOT_DRAGON_STATUE_POTION | TREASURE_SPOT_FIRST_ID + 1 | |
TREASURE_SPOT_DRAGON_STATUE_CLERICS_RING | TREASURE_SPOT_FIRST_ID + 2 | |
TREASURE_SPOT_DRAGON_STATUE_SMOKE_BOMB | TREASURE_SPOT_FIRST_ID + 3 |
Definition at line 136 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { METATILE_BEHAVIOR_STACKED_PILLARS_DROP, METATILE_BEHAVIOR_STACKED_PILLARS_SINK }
The seventh floor's side room's own metatile behaviors, on layer 2: where a pillar pushed onto one falls down the cliff, and where it sinks into the floor. Either way it then leaves play.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_STACKED_PILLARS_DROP | 50 | |
METATILE_BEHAVIOR_STACKED_PILLARS_SINK | 51 |
Definition at line 185 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { METATILE_BEHAVIOR_STACKED_PILLARS_PILLARS, METATILE_BEHAVIOR_STACKED_PILLARS_LADDER, METATILE_BEHAVIOR_STACKED_PILLARS_LOWEST_FLOOR, METATILE_BEHAVIOR_STACKED_PILLARS_LEAVE_LOWEST_FLOOR }
The seventh floor's side room's metatiles that run scripts as Isaac walks: among the pillars, at the ladders, on the lowest floor and where he leaves it.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_STACKED_PILLARS_PILLARS | 30 | |
METATILE_BEHAVIOR_STACKED_PILLARS_LADDER | 31 | |
METATILE_BEHAVIOR_STACKED_PILLARS_LOWEST_FLOOR | 40 | |
METATILE_BEHAVIOR_STACKED_PILLARS_LEAVE_LOWEST_FLOOR | 41 |
Definition at line 194 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { METATILE_BEHAVIOR_BESIDE_PUSHED_ACTOR }
The metatiles beside the pillars, columns, logs and boulder of the first, second, fifth and eighth floors' side rooms, from which walking into one pushes it.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_BESIDE_PUSHED_ACTOR | 10 |
Definition at line 209 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { METATILE_BEHAVIOR_FLOODGATE_SWITCH }
The floodgate room's switch, searched to flip it.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_FLOODGATE_SWITCH | 20 |
Definition at line 215 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { FLOODGATE_LAYER_1_COLUMN, FLOODGATE_LAYER_2_COLUMN, KEPT_LAYER_2_COLUMN, RAISED_WATER_ROW, … }
The floodgate room's map: its layers 1 and 2 begin at the map's columns 32 and 64, and each water level is kept below the room as those two layers side by side, the raised water from row 32 and the drained from row 64. The stream the level changes in is the 16 by 5 metatiles from (10, 19).
| Enumerator | Value | Description |
|---|---|---|
FLOODGATE_LAYER_1_COLUMN | 32 | |
FLOODGATE_LAYER_2_COLUMN | 64 | |
KEPT_LAYER_2_COLUMN | 32 | Where each kept water level's copy of layer 2 starts, beside its copy of layer 1 at column 0. |
RAISED_WATER_ROW | 32 | |
DRAINED_WATER_ROW | 64 | |
STREAM_COLUMN | 10 | |
STREAM_ROW | 19 | |
WATER_PANEL_ROW | STREAM_ROW + 12 | Where the stream at its other level is drawn, WATER_PANEL_SCROLL_Y below. |
CLIFF_NOTCH_COLUMN | 24 | The notch in the cliff at the stream bed's north-east corner, metatile (24, 8): drained, a foothold 8 pixels below the ground north of it, where Isaac can stand. Raised water gives it the flat ground of the stream bed, 32 pixels below, as the metatile south of it has. Metatiles (24, 3) and (24, 4), in the cliff at the top of the map, keep the raised and drained ones. Raised, it gives Isaac nothing to do there: walking south from the ground north of it he stops at the cliff's edge, where with the water drained he steps down onto the foothold. |
CLIFF_NOTCH_ROW | 8 | |
RAISED_CLIFF_NOTCH_ROW | 3 | |
DRAINED_CLIFF_NOTCH_ROW | 4 |
Definition at line 231 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { ICE_PILLAR_TOP_COLUMN, ICE_PILLAR_TOP_ROW }
The metatile whose attributes a pillar of ice takes for its own: a top Isaac can jump onto.
| Enumerator | Value | Description |
|---|---|---|
ICE_PILLAR_TOP_COLUMN | 20 | |
ICE_PILLAR_TOP_ROW | 14 |
Definition at line 263 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { DRAGON_HEAD_COLUMN, DRAGON_HEAD_ROW, DRAGON_JAWS_OPEN_COLUMN, DRAGON_JAWS_SHUT_COLUMN }
The stone dragon's head, metatiles (60, 10) and (60, 11) on map layer 2: it opens its jaws wide as it breathes fire, drawn from column 73, and shuts them again after, from column 72.
| Enumerator | Value | Description |
|---|---|---|
DRAGON_HEAD_COLUMN | 60 | |
DRAGON_HEAD_ROW | 10 | |
DRAGON_JAWS_OPEN_COLUMN | 73 | |
DRAGON_JAWS_SHUT_COLUMN | 72 |
Definition at line 272 of file crossbone_isle_stepping_stones.c.
anonymous enum
enum { PARTICLE_DRAG, PARTICLE_DRAG_Y }
A damped particle loses a PARTICLE_DRAG-th of its speed across the ground
each tick, and a PARTICLE_DRAG_Y-th of its speed up or down.
| Enumerator | Value | Description |
|---|---|---|
PARTICLE_DRAG | 10 | |
PARTICLE_DRAG_Y | 3 |
Definition at line 282 of file crossbone_isle_stepping_stones.c.
Functions in detail
scCrossboneIsleSteppingStonesSettleActorOnGround
static void scCrossboneIsleSteppingStonesSettleActorOnGround(ACTOR *actor)
Lets a falling actor drop for up to sixty ticks until it lands, then sets it on the ground.
References Sint32 and sySynch().
Referenced by scCrossboneIsleSteppingStonesMovePillar().
Definition at line 319 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesStopAtGroundOrHeight
static void scCrossboneIsleSteppingStonesStopAtGroundOrHeight(ACTOR *actor, Sint32 limit)
Lets a falling actor drop for up to sixty ticks until it reaches the ground or the height limit, then stops it there.
References Sint32 and sySynch().
Referenced by scCrossboneIsleSteppingStonesLowerActorToLedge() and scCrossboneIsleSteppingStonesMovePillar().
Definition at line 344 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesQueryCoveredMetatiles
static Sint32 scCrossboneIsleSteppingStonesQueryCoveredMetatiles(Sint32 id, Uint32 *width, Uint32 *depth, PUSHED_ACTOR_PROBE *probe, Sint32 *layerOriginX, Sint32 *layerOriginZ)
Finds the metatiles the actor covers: their width and depth, the top-left one, and the metatile where the map grid's layer 1 starts.
The actor's edges are its row of PushedActorRectangles. An actor whose
animation is none of the six kinds gets PUSHED_ACTOR_NO_RECTANGLE, past them,
and is refused.
References fdActorGet(), PushedActorRectangleKinds, PushedActorRectangles, Sint32 and width.
Referenced by scCrossboneIsleSteppingStonesFloatLog() and scCrossboneIsleSteppingStonesStrandLog().
Definition at line 377 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFloatLog
static Bool scCrossboneIsleSteppingStonesFloatLog(Sint32 actorId)
Floats one of the floodgate room's logs on the raised water: it bobs under the leader's feet, and its metatiles are redrawn as a floating log lying across or along the room as it does.
References fdActorGet(), fdActorSelectAnimation(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), scCrossboneIsleSteppingStonesQueryCoveredMetatiles(), Sint32 and width.
Referenced by scCrossboneIsleSteppingStonesFloatLogs().
Definition at line 452 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFloatLogs
static inline void scCrossboneIsleSteppingStonesFloatLogs(void)
Floats the floodgate room's seven logs on the raised water.
References scCrossboneIsleSteppingStonesFloatLog().
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch() and scInit().
Definition at line 497 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesStrandLog
static Bool scCrossboneIsleSteppingStonesStrandLog(Sint32 actorId)
Strands one of the floodgate room's logs on the floor as the water drains: the metatiles under it are restored from the map and walled off, and it lies still.
References fdActorGet(), fdActorSelectAnimation(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleSteppingStonesQueryCoveredMetatiles(), scMapGridFillCollisionRectangle(), Sint32 and width.
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch().
Definition at line 511 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesReadMapGridMetatile
static void scCrossboneIsleSteppingStonesReadMapGridMetatile( Sint32 layer, Sint32 x, Sint32 y, CROSSBONE_ISLE_PILLAR_METATILE *dest)
Reads one map metatile through DMA, waiting until the transfer finishes.
References Sint32, syDMAWait() and syDMAXCopy().
Referenced by scCrossboneIsleSteppingStonesMovePillar().
Definition at line 542 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSetMetatileAttributes
static void scCrossboneIsleSteppingStonesSetMetatileAttributes( Sint32 layer, Sint32 x, Sint32 y, const CROSSBONE_ISLE_PILLAR_METATILE *src)
Copies the metatile's flags and metatile behavior without replacing its metatile tiles.
References Sint32.
Referenced by scCrossboneIsleSteppingStonesMovePillar().
Definition at line 562 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesLowerActorToLedge
static Sint32 scCrossboneIsleSteppingStonesLowerActorToLedge(Sint32 id, Bool pillarStandIn)
Lets the actor fall down the cliff south of it to the next ledge, then takes it out of play, to the map's origin. Returns whether a ledge was found. The ledge holds a stand-in while the actor falls: with pillarStandIn a capped pillar three metatiles down, else a crate two metatiles down. Only the stacked pillars room calls it, always with a pillar.
References fdActorGet(), fdActorRelease(), fdActorSetSpriteFlags(), fdMapGridGetTerrainHeight(), scCrossboneIsleSteppingStonesStopAtGroundOrHeight(), scPlaceTranslucentBlackActorFX() and Sint32.
Referenced by scCrossboneIsleSteppingStonesMovePillar().
Definition at line 586 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSinkPillar
static void scCrossboneIsleSteppingStonesSinkPillar(Sint32 index)
Sinks the pillar into the floor, a tenth of its height and 0.8 pixels a tick, until a tenth of it is left (at most 32 ticks).
References fdActorGet(), Sint32 and sySynch().
Referenced by scCrossboneIsleSteppingStonesMovePillar().
Definition at line 661 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSpawnUnusedLeaderParticle
static void scCrossboneIsleSteppingStonesSpawnUnusedLeaderParticle(void)
Unused: spawns a particle near the leader once every four ticks; nothing calls it.
References fdActorGet(), Sint32, syMathDivide() and TickCount.
Definition at line 687 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesTryJumpAcrossPillar
static Bool scCrossboneIsleSteppingStonesTryJumpAcrossPillar(void)
Jumps two metatiles forward when both the intervening and landing metatiles permit it.
References fdActorGet(), fdActorMoveToAndWait(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdScriptEnd(), fdScriptStart(), MainRoutineStateWork, scFieldActorCheckMovementCollision(), scPushedActorFindAtTile(), Sint32, sySoundPlay(), sySynch() and syVectorAddPolarOffset().
Referenced by scCrossboneIsleSteppingStonesJumpOrPushPillar(), scCrossboneIsleSteppingStonesJumpOrPushStackedPillar() and scCrossboneIsleSteppingStonesPushOrClimbDown().
Definition at line 720 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesUpdateDampedParticle
static void scCrossboneIsleSteppingStonesUpdateDampedParticle(ACTOR *actor)
Moves the particle while damping its velocity, growing it, and advancing rotation.
References Sint32 and syMathDivide().
Referenced by scCrossboneIsleSteppingStonesSpawnDragonFire().
Definition at line 791 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSetSpriteColorFromTimer
static Sint32 scCrossboneIsleSteppingStonesSetSpriteColorFromTimer(ACTOR *actor)
Sets the actor's sprite to the colour mode (SPR_COL_MODE) in the low four
bits of its timer.
References fdActorSetSpriteColor() and Sint32.
Referenced by CrossboneIsleSteppingStonesIceShineScript.
Definition at line 814 of file crossbone_isle_stepping_stones.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References CrossboneIsleDragonStatueEntrances, CrossboneIsleFloodgateEntrances, CrossboneIsleIcePillarsEntrances, CrossboneIsleStackedPillarsEntrances, CrossboneIsleSteppingStonesEntrances, MainRoutineStateWork and SceneFallbackEntrances.
Definition at line 820 of file crossbone_isle_stepping_stones.c.
scGetExitRegions
const SCENE_EXIT_REGION *scGetExitRegions(void)
Definition at line 847 of file crossbone_isle_stepping_stones.c.
scGetExits
const Uint32 *scGetExits(void)
Returns the exits the five rooms share.
References CrossboneIsleSteppingStonesExits.
Definition at line 853 of file crossbone_isle_stepping_stones.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References CrossboneIsleDragonStatueActorPlacements, CrossboneIsleFloodgateActorPlacements, CrossboneIsleIcePillarsActorPlacements, CrossboneIsleSteppingStonesActorPlacements, CrossboneIsleSteppingStonesActorPlacementsOther and MainRoutineStateWork.
Definition at line 858 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesJumpOrPushPillar
static void scCrossboneIsleSteppingStonesJumpOrPushPillar(void)
Isaac walks into one of the stone pillars on the raised squares of the first floor's side room: he jumps across it if there is a square beyond to land on, and otherwise pushes it a step.
References fdScriptEnd(), fdScriptStart(), scCrossboneIsleSteppingStonesTryJumpAcrossPillar() and scPushedActorAdvancePair().
Referenced by CrossboneIsleSteppingStonesCues.
Definition at line 884 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesRollColumnOrLog
static void scCrossboneIsleSteppingStonesRollColumnOrLog(void)
Isaac walks into one of the lying columns of the second floor's side room, or a log in the fifth floor's room of the floodgate, and rolls it if the way beyond is clear.
References fdScriptEnd(), fdScriptStart(), scPushedActorFindClearPos() and scPushedActorRoll().
Referenced by CrossboneIsleFloodgateCues and CrossboneIsleIcePillarsCues.
Definition at line 895 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesJitterBackgroundScroll
static void scCrossboneIsleSteppingStonesJitterBackgroundScroll(void)
HBlank handler while the water changes level: the next line, if one of the
top WATER_DISSOLVE_LINES, shows the other water level with OtherWaterChance,
else the backgrounds' own scroll.
References BgScrollWork, line, OtherWaterChance and OtherWaterScroll.
Referenced by scCrossboneIsleSteppingStonesAnimateWaterLevel().
Definition at line 941 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesPrepareWaterScroll
static void scCrossboneIsleSteppingStonesPrepareWaterScroll(void)
Copies BG1 to BG3's scroll and moves it down WATER_PANEL_SCROLL_Y, to the
stream in its other level. Event, each tick while the water changes level.
References BgScrollWork and OtherWaterScroll.
Referenced by scCrossboneIsleSteppingStonesAnimateWaterLevel().
Definition at line 962 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesAnimateWaterLevel
static void scCrossboneIsleSteppingStonesAnimateWaterLevel(void)
The floodgate room's water changes level: over 100 ticks, more and more of the top lines show the stream at its other level, then the map takes it.
References fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatilesTo(), gmFlagGet(), OtherWaterChance, scCrossboneIsleSteppingStonesJitterBackgroundScroll(), scCrossboneIsleSteppingStonesPrepareWaterScroll(), scMapGridDrawMetatilePanel(), Sint32, syCloseEvent(), syIntFunction(), sySetTickEvent(), sySoundPlay() and sySynch().
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch().
Definition at line 981 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFlipWaterSwitch
static void scCrossboneIsleSteppingStonesFlipWaterSwitch(void)
Isaac searches the switch beside the floodgate in the fifth floor's side room: "Isaac flipped the switch." With the gate open it shuts, spray bursts at its foot, the water rises behind it and the logs float up; with it shut, it opens, the water drains and the logs settle on the stream bed.
References CrossboneIsleSteppingStonesFloodgateCloseSteps, CrossboneIsleSteppingStonesFloodgateFootSteps, CrossboneIsleSteppingStonesFloodgateOpenSteps, CrossboneIsleSteppingStonesSwitchCloseSteps, CrossboneIsleSteppingStonesSwitchOpenSteps, fdActorGet(), fdActorSetAnimation(), fdActorSetSpritePriority(), fdCameraWaitForMove(), fdMapGridAnimateMetatiles(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagClear(), gmFlagSet(), mnFieldMessageShow(), scCrossboneIsleSteppingStonesAnimateWaterLevel(), scCrossboneIsleSteppingStonesFloatLogs(), scCrossboneIsleSteppingStonesStrandLog(), Sint32 and sySoundPlay().
Referenced by CrossboneIsleFloodgateCues.
Definition at line 1081 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSyncPriorityIfBehind
static Sint32 scCrossboneIsleSteppingStonesSyncPriorityIfBehind(ACTOR *actor, ACTOR *front)
When actor stands just behind front, up to two metatiles north of it, within a metatile east or west and at the same height, it is drawn no nearer the viewer than front: it takes front's sprite priority (the background layers it is drawn over) if its own is nearer. Returns whether it stands there.
References Sint32.
Referenced by scCrossboneIsleSteppingStonesUpdateActorPriority().
Definition at line 1155 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSyncPriorityIfAhead
static Sint32 scCrossboneIsleSteppingStonesSyncPriorityIfAhead(ACTOR *front, ACTOR *actor)
The same test from the front: when actor stands just behind front, it takes front's sprite priority if its own is nearer the viewer. Returns whether it stands there.
References Sint32.
Referenced by scCrossboneIsleSteppingStonesUpdateActorPriority().
Definition at line 1185 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesUpdateActorPriority
static UNREAD_RESULT scCrossboneIsleSteppingStonesUpdateActorPriority(ACTOR *actor)
A stacked pillar's update function, each tick. While Psynergy is cast it is solid and drawn on Isaac's layers. Otherwise a pillar just behind Isaac or another pillar is drawn no nearer than it, and then the pillars just behind it no nearer than it in turn; a pillar whose top is below Isaac's feet is walked over, drawn under him and not solid. A pillar none of this touches goes back to the priority its place gives it.
Nothing visible happens without it: Isaac walking west past the stack at metatile (40, 11) and jumping onto it, and pushing the stack at (42, 24) east off into the pit, look the same frame for frame with it and with it returning at once.
References fdActorGet(), scCrossboneIsleSteppingStonesSyncPriorityIfAhead(), scCrossboneIsleSteppingStonesSyncPriorityIfBehind() and Sint32.
Referenced by scCrossboneIsleSteppingStonesInitPillarPriority().
Definition at line 1223 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSortPillarActors
static void scCrossboneIsleSteppingStonesSortPillarActors(void)
Sorts the four pillars by height and depth, carrying their saved metatile state with them.
References fdActorGet(), gmFlagClear(), gmFlagGet(), gmFlagSet(), PillarSlots, syDMAWait() and syDMAXCopy().
Referenced by scCrossboneIsleSteppingStonesMovePillar().
Definition at line 1276 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesMovePillar
static void scCrossboneIsleSteppingStonesMovePillar(void)
Isaac casts Move or Carry on one of the square pillars of the seventh floor's side room, and after each push there: each pillar settles where it now stands, on the floor, on a ledge or on another pillar, or drops off a cliff edge and is gone.
The metatiles under each pillar are saved and redrawn as it moves, so the pillar tops can be walked and jumped on.
References fdActorGet(), fdMapGridGetMetatileBehaviorAt(), gmFlagClear(), gmFlagSet(), PillarSlots, ProbePosition, scCrossboneIsleSteppingStonesLowerActorToLedge(), scCrossboneIsleSteppingStonesReadMapGridMetatile(), scCrossboneIsleSteppingStonesSetMetatileAttributes(), scCrossboneIsleSteppingStonesSettleActorOnGround(), scCrossboneIsleSteppingStonesSinkPillar(), scCrossboneIsleSteppingStonesSortPillarActors(), scCrossboneIsleSteppingStonesStopAtGroundOrHeight(), scFieldActorCheckMovementCollision(), syDMAWait(), syDMAXCopy() and sySoundPlay().
Referenced by CrossboneIsleStackedPillarsCues, scCrossboneIsleSteppingStonesJumpOrPushStackedPillar() and scInit().
Definition at line 1357 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesJumpOrPushStackedPillar
static void scCrossboneIsleSteppingStonesJumpOrPushStackedPillar(void)
Isaac walks into a square pillar in the seventh floor's side room: he jumps across it if there is somewhere to land, and otherwise pushes it, and the pillars settle.
References fdActorGet(), fdMapGridGetTerrainHeight(), fdScriptEnd(), fdScriptStart(), scCrossboneIsleSteppingStonesMovePillar(), scCrossboneIsleSteppingStonesTryJumpAcrossPillar() and scPushedActorAdvancePair().
Referenced by CrossboneIsleStackedPillarsCues and scCrossboneIsleSteppingStonesPushOrClimbDown().
Definition at line 1474 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesClimbUp
static void scCrossboneIsleSteppingStonesClimbUp(void)
Isaac walks north into a ladder in the seventh floor's side room and climbs up it.
References fdClimbUp().
Referenced by CrossboneIsleStackedPillarsCues.
Definition at line 1499 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesPushOrClimbDown
static void scCrossboneIsleSteppingStonesPushOrClimbDown(void)
Isaac walks south at the top of a ladder in the seventh floor's side room: he pushes a pillar standing below him, jumps across one, or climbs down.
References fdActorGet(), fdClimbDown(), scCrossboneIsleSteppingStonesJumpOrPushStackedPillar(), scCrossboneIsleSteppingStonesTryJumpAcrossPillar() and scPushedActorFindAtTile().
Referenced by CrossboneIsleStackedPillarsCues.
Definition at line 1506 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesEnterLowestFloor
static void scCrossboneIsleSteppingStonesEnterLowestFloor(void)
Isaac steps onto the lowest floor of the seventh floor's side room, among the brown pits, as at metatile (54, 15) in its north-east. Nothing shows at once, but from then on, walking on the brown floor along the raised pink ground south of it, he shows only from the waist up: the ground mask covers the rest in the colour of the raised ground, as if he stood behind it.
References fdActorGet().
Referenced by CrossboneIsleStackedPillarsCues.
Definition at line 1529 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesLeaveLowestFloor
static void scCrossboneIsleSteppingStonesLeaveLowestFloor(void)
Isaac leaves the lowest floor of the seventh floor's side room, at metatile (33, 27) below the west ladders or (54, 14) in the north-east, and the ground mask lets him go.
References fdActorGet().
Referenced by CrossboneIsleStackedPillarsCues and scInit().
Definition at line 1539 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesUpdateFrozenPuddlePriority
static UNREAD_RESULT scCrossboneIsleSteppingStonesUpdateFrozenPuddlePriority(ACTOR *actor)
A frozen puddle's update function, each tick: a pillar of ice nearer the viewer than Isaac is drawn over him, unless its top is below his feet.
References fdActorGet().
Referenced by scCrossboneIsleSteppingStonesFreezePuddle() and scCrossboneIsleSteppingStonesRestoreFrozenPuddle().
Definition at line 1549 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFreezePuddle
static void scCrossboneIsleSteppingStonesFreezePuddle(Sint32 id)
A puddle in the dragon statue's room has frozen into a pillar of ice: it
shines, and its metatile becomes a pillar top Isaac can jump onto
(CrossboneIsleSteppingStonesIceShineScript).
References CrossboneIsleSteppingStonesIceShineScript, fdActorGet(), fdActorSetScript(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), gmFlagSet(), scCrossboneIsleSteppingStonesUpdateFrozenPuddlePriority() and Sint32.
Referenced by scCrossboneIsleSteppingStonesFreezeFirstPuddle() and scCrossboneIsleSteppingStonesFreezeSecondPuddle().
Definition at line 1567 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFreezeFirstPuddle
static void scCrossboneIsleSteppingStonesFreezeFirstPuddle(void)
Isaac casts Frost on the puddle by the west ladder of the dragon statue's room, metatile (8, 13): it freezes into a pillar of ice.
References scCrossboneIsleSteppingStonesFreezePuddle().
Referenced by CrossboneIsleDragonStatueCues.
Definition at line 1593 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFreezeSecondPuddle
static void scCrossboneIsleSteppingStonesFreezeSecondPuddle(void)
Isaac casts Frost on the puddle by the east ladder of the dragon statue's room, metatile (18, 13): it freezes into a pillar of ice, until the dragon's fire melts it.
References scCrossboneIsleSteppingStonesFreezePuddle().
Referenced by CrossboneIsleDragonStatueCues.
Definition at line 1601 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFrostStartsOnThirdPuddle
static void scCrossboneIsleSteppingStonesFrostStartsOnThirdPuddle(void)
Isaac starts casting Frost on the puddle under the white platform in front of the stone dragon. Nothing visible happens yet; the game notes whether he is standing in the puddle, which then stays unfrozen.
References fdActorGet(), gmFlagClear() and gmFlagSet().
Referenced by CrossboneIsleDragonStatueCues.
Definition at line 1609 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFrostRaisesPillar
static void scCrossboneIsleSteppingStonesFrostRaisesPillar(void)
As Frost takes hold of the puddle in front of the stone dragon, a pillar of ice grows in it and lifts the white platform two steps up.
References fdActorGet(), fdActorWaitForMoveById(), fdMapGridCopyMetatileAttributes() and scFieldActorSetMoveTargetFX().
Referenced by CrossboneIsleDragonStatueCues.
Definition at line 1632 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSpawnDragonFire
static void scCrossboneIsleSteppingStonesSpawnDragonFire(void)
The stone dragon's fire, each tick while it breathes: flames burst from beside it towards the puddle by the east ladder, with a whoosh.
References scCrossboneIsleSteppingStonesUpdateDampedParticle(), Sint32, syRandomNext(), sySoundPlay() and TickCount.
Referenced by scCrossboneIsleSteppingStonesFreezeThirdPuddle().
Definition at line 1652 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSpawnMeltParticle
static UNREAD_RESULT scCrossboneIsleSteppingStonesSpawnMeltParticle(ACTOR *actor)
Steam rises from the melting ice by the east ladder: a white puff every eight ticks.
References Sint32, syMathDivide() and TickCount.
Referenced by scCrossboneIsleSteppingStonesFreezeThirdPuddle().
Definition at line 1693 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesFreezeThirdPuddle
static void scCrossboneIsleSteppingStonesFreezeThirdPuddle(void)
Isaac's Frost freezes the puddle in front of the stone dragon, unless he stood in it. The view moves up to the dragon, which breathes fire at the puddle by the east ladder; if that puddle is frozen, its ice melts away in steam, so it can be frozen again.
References fdActorGet(), fdActorSetAnimation(), fdActorSetMovementTypeById(), fdActorSetSpriteColorById(), fdActorWaitForAnimationChange(), fdCameraWaitForMove(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagClear(), gmFlagGet(), gmFlagSet(), scCrossboneIsleSteppingStonesSpawnDragonFire(), scCrossboneIsleSteppingStonesSpawnMeltParticle(), Sint32, syCloseEvent() and sySetTickEvent().
Referenced by CrossboneIsleDragonStatueCues.
Definition at line 1731 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesStartMovingSinkingBoulder
static void scCrossboneIsleSteppingStonesStartMovingSinkingBoulder(void)
Nothing visible happens as Isaac starts casting Move on the small boulder below the logs in the dragon statue's room; the game clears the boulder's metatile so that it can move.
References fdActorGet(), fdScriptEnd(), fdScriptStart(), scMapGridFillCollisionRectangle() and Sint32.
Referenced by CrossboneIsleDragonStatueCues and scCrossboneIsleSteppingStonesPushSinkingBoulder().
Definition at line 1799 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesMoveSinkingBoulder
static void scCrossboneIsleSteppingStonesMoveSinkingBoulder(void)
Isaac moves the small boulder below the logs in the dragon statue's room a
step, with Move or by walking into it. Two steps east of where it starts, in
column SINKING_BOULDER_COLUMN, it settles into the floor with a thud and
stays there for good.
References fdActorGet(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scMapGridFillCollisionRectangle(), Sint32 and sySoundPlay().
Referenced by CrossboneIsleDragonStatueCues, scCrossboneIsleSteppingStonesPushSinkingBoulder() and scInit().
Definition at line 1818 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesPushSinkingBoulder
static void scCrossboneIsleSteppingStonesPushSinkingBoulder(void)
Isaac walks into the small boulder below the logs in the dragon statue's room and pushes it a step if the way beyond is clear.
References fdScriptEnd(), fdScriptStart(), scCrossboneIsleSteppingStonesMoveSinkingBoulder(), scCrossboneIsleSteppingStonesStartMovingSinkingBoulder(), scPushedActorAdvancePair(), scPushedActorFindClearPos() and scPushedActorRoll().
Referenced by CrossboneIsleDragonStatueCues.
Definition at line 1850 of file crossbone_isle_stepping_stones.c.
scGetCues
const CUE *scGetCues(void)
References CrossboneIsleDragonStatueCues, CrossboneIsleFloodgateCues, CrossboneIsleIcePillarsCues, CrossboneIsleStackedPillarsCues, CrossboneIsleSteppingStonesCues, CrossboneIsleSteppingStonesCuesOther and MainRoutineStateWork.
Definition at line 1868 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesSetBelowLeader
static void scCrossboneIsleSteppingStonesSetBelowLeader(Sint32 id)
Lays an actor in the floor below the leader: not solid, drawn under his feet at priority 2, and without a shadow.
References fdActorGet(), fdActorSetSpriteFlags() and Sint32.
Referenced by scInit().
Definition at line 1897 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesRestoreFrozenPuddle
static void scCrossboneIsleSteppingStonesRestoreFrozenPuddle(Sint32 actorId)
A puddle Frost has frozen stands as its pillar of ice again, with its metatile, its priority function and its shine.
References CrossboneIsleSteppingStonesIceShineScript, fdActorGet(), fdActorSelectAnimation(), fdActorSetScript(), fdMapGridCopyMetatileAttributes(), gmFlagGet(), scCrossboneIsleSteppingStonesUpdateFrozenPuddlePriority() and Sint32.
Referenced by scInit().
Definition at line 1910 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesInitPillarPriority
static void scCrossboneIsleSteppingStonesInitPillarPriority(Sint32 id)
Puts one of the seventh floor's side room's pillars on layer 2, drawn in
front of or behind Isaac by scCrossboneIsleSteppingStonesUpdateActorPriority.
References fdActorGet(), scCrossboneIsleSteppingStonesUpdateActorPriority() and Sint32.
Referenced by scInit().
Definition at line 1938 of file crossbone_isle_stepping_stones.c.
scCrossboneIsleSteppingStonesUpdateLeaderPriority
static void scCrossboneIsleSteppingStonesUpdateLeaderPriority(void)
Each tick in the seventh floor's side room, Isaac standing just behind a pillar, at its height, is drawn on its layers.
References fdActorGet() and fdActorSetSpritePriority().
Referenced by scInit().
Definition at line 1950 of file crossbone_isle_stepping_stones.c.
scInit
Sint32 scInit(void)
Sets up the room: the metatiles under its pillars and logs, and the floodgate's water and the puzzles as a battle left them.
References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteColorById(), fdEffectStartGroundMask(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatiles(), fdMapGridCopyMetatilesTo(), fdScriptWait(), gmFlagGet(), MainRoutineStateWork, PillarSlots, scCrossboneIsleSteppingStonesFloatLogs(), scCrossboneIsleSteppingStonesInitPillarPriority(), scCrossboneIsleSteppingStonesLeaveLowestFloor(), scCrossboneIsleSteppingStonesMovePillar(), scCrossboneIsleSteppingStonesMoveSinkingBoulder(), scCrossboneIsleSteppingStonesRestoreFrozenPuddle(), scCrossboneIsleSteppingStonesSetBelowLeader(), scCrossboneIsleSteppingStonesUpdateLeaderPriority(), scPushedActorBlockFootprint(), Sint32 and sySetTickEvent().
Definition at line 1981 of file crossbone_isle_stepping_stones.c.
Variables in detail
CrossboneIsleSteppingStonesIceShineScript
extern Sint32 CrossboneIsleSteppingStonesIceShineScript[]
Sint32 CrossboneIsleSteppingStonesIceShineScript[]
The shine on a pillar of ice Frost has made of a puddle in the dragon statue's room.
The timer carries a colour mode to
scCrossboneIsleSteppingStonesSetSpriteColorFromTimer, with green and blue swapped for two ticks
in every eight.
References scCrossboneIsleSteppingStonesSetSpriteColorFromTimer() and Sint32.
Referenced by scCrossboneIsleSteppingStonesFreezePuddle() and scCrossboneIsleSteppingStonesRestoreFrozenPuddle().
Definition at lines 70 and 2133 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesSwitchCloseSteps
extern Uint16 CrossboneIsleSteppingStonesSwitchCloseSteps[]
Uint16 CrossboneIsleSteppingStonesSwitchCloseSteps[]
The floodgate's switch flipping as scCrossboneIsleSteppingStonesFlipWaterSwitch closes the gate,
and flipping back as it opens it.
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch().
Definition at lines 71 and 2145 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesSwitchOpenSteps
extern Uint16 CrossboneIsleSteppingStonesSwitchOpenSteps[]
Uint16 CrossboneIsleSteppingStonesSwitchOpenSteps[]
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch().
Definition at lines 72 and 2150 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesFloodgateCloseSteps
extern Uint16 CrossboneIsleSteppingStonesFloodgateCloseSteps[]
Uint16 CrossboneIsleSteppingStonesFloodgateCloseSteps[]
The floodgate closing, and opening again.
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch().
Definition at lines 73 and 2157 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesFloodgateOpenSteps
extern Uint16 CrossboneIsleSteppingStonesFloodgateOpenSteps[]
Uint16 CrossboneIsleSteppingStonesFloodgateOpenSteps[]
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch().
Definition at lines 74 and 2162 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesFloodgateFootSteps
extern Uint16 CrossboneIsleSteppingStonesFloodgateFootSteps[]
Uint16 CrossboneIsleSteppingStonesFloodgateFootSteps[]
The two metatiles at the floodgate's foot as it shuts.
They show three pictures of white spray splashing up and falling, then the stream bed below the
gate, left almost dry (scCrossboneIsleSteppingStonesFlipWaterSwitch's render).
Referenced by scCrossboneIsleSteppingStonesFlipWaterSwitch().
Definition at lines 75 and 2172 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesEntrances
extern SCENE_ENTRANCE CrossboneIsleSteppingStonesEntrances[]
SCENE_ENTRANCE CrossboneIsleSteppingStonesEntrances[]
Referenced by scGetEntrances().
Definition at lines 76 and 2180 of file crossbone_isle_stepping_stones.c.
CrossboneIsleIcePillarsEntrances
extern SCENE_ENTRANCE CrossboneIsleIcePillarsEntrances[]
SCENE_ENTRANCE CrossboneIsleIcePillarsEntrances[]
Referenced by scGetEntrances().
Definition at lines 77 and 2188 of file crossbone_isle_stepping_stones.c.
CrossboneIsleFloodgateEntrances
extern SCENE_ENTRANCE CrossboneIsleFloodgateEntrances[]
SCENE_ENTRANCE CrossboneIsleFloodgateEntrances[]
Referenced by scGetEntrances().
Definition at lines 78 and 2196 of file crossbone_isle_stepping_stones.c.
CrossboneIsleStackedPillarsEntrances
extern SCENE_ENTRANCE CrossboneIsleStackedPillarsEntrances[]
SCENE_ENTRANCE CrossboneIsleStackedPillarsEntrances[]
Referenced by scGetEntrances().
Definition at lines 79 and 2204 of file crossbone_isle_stepping_stones.c.
CrossboneIsleDragonStatueEntrances
extern SCENE_ENTRANCE CrossboneIsleDragonStatueEntrances[]
SCENE_ENTRANCE CrossboneIsleDragonStatueEntrances[]
Referenced by scGetEntrances().
Definition at lines 80 and 2212 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesExits
extern Uint32 CrossboneIsleSteppingStonesExits[]
Uint32 CrossboneIsleSteppingStonesExits[]
Referenced by scGetExits().
Definition at lines 81 and 2220 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesActorPlacements
extern ACTOR_PLACE CrossboneIsleSteppingStonesActorPlacements[]
ACTOR_PLACE CrossboneIsleSteppingStonesActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 82 and 2264 of file crossbone_isle_stepping_stones.c.
CrossboneIsleIcePillarsActorPlacements
extern ACTOR_PLACE CrossboneIsleIcePillarsActorPlacements[]
ACTOR_PLACE CrossboneIsleIcePillarsActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 83 and 2276 of file crossbone_isle_stepping_stones.c.
CrossboneIsleFloodgateActorPlacements
extern ACTOR_PLACE CrossboneIsleFloodgateActorPlacements[]
ACTOR_PLACE CrossboneIsleFloodgateActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 84 and 2290 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesActorPlacementsOther
extern ACTOR_PLACE CrossboneIsleSteppingStonesActorPlacementsOther[]
ACTOR_PLACE CrossboneIsleSteppingStonesActorPlacementsOther[]
Referenced by scGetActorPlacements().
Definition at lines 85 and 2312 of file crossbone_isle_stepping_stones.c.
CrossboneIsleDragonStatueActorPlacements
extern ACTOR_PLACE CrossboneIsleDragonStatueActorPlacements[]
ACTOR_PLACE CrossboneIsleDragonStatueActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 86 and 2324 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesCuesOther
extern CUE CrossboneIsleSteppingStonesCuesOther[]
CUE CrossboneIsleSteppingStonesCuesOther[]
Referenced by scGetCues().
Definition at lines 87 and 2342 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesCues
extern CUE CrossboneIsleSteppingStonesCues[]
CUE CrossboneIsleSteppingStonesCues[]
References scCrossboneIsleSteppingStonesJumpOrPushPillar().
Referenced by scGetCues().
Definition at lines 88 and 2346 of file crossbone_isle_stepping_stones.c.
CrossboneIsleIcePillarsCues
extern CUE CrossboneIsleIcePillarsCues[]
CUE CrossboneIsleIcePillarsCues[]
References scCrossboneIsleSteppingStonesRollColumnOrLog().
Referenced by scGetCues().
Definition at lines 89 and 2368 of file crossbone_isle_stepping_stones.c.
CrossboneIsleFloodgateCues
extern CUE CrossboneIsleFloodgateCues[]
CUE CrossboneIsleFloodgateCues[]
References scCrossboneIsleSteppingStonesFlipWaterSwitch() and scCrossboneIsleSteppingStonesRollColumnOrLog().
Referenced by scGetCues().
Definition at lines 90 and 2386 of file crossbone_isle_stepping_stones.c.
CrossboneIsleStackedPillarsCues
extern CUE CrossboneIsleStackedPillarsCues[]
CUE CrossboneIsleStackedPillarsCues[]
References scCrossboneIsleSteppingStonesClimbUp(), scCrossboneIsleSteppingStonesEnterLowestFloor(), scCrossboneIsleSteppingStonesJumpOrPushStackedPillar(), scCrossboneIsleSteppingStonesLeaveLowestFloor(), scCrossboneIsleSteppingStonesMovePillar() and scCrossboneIsleSteppingStonesPushOrClimbDown().
Referenced by scGetCues().
Definition at lines 91 and 2408 of file crossbone_isle_stepping_stones.c.
CrossboneIsleDragonStatueCues
extern CUE CrossboneIsleDragonStatueCues[]
CUE CrossboneIsleDragonStatueCues[]
References scCrossboneIsleSteppingStonesFreezeFirstPuddle(), scCrossboneIsleSteppingStonesFreezeSecondPuddle(), scCrossboneIsleSteppingStonesFreezeThirdPuddle(), scCrossboneIsleSteppingStonesFrostRaisesPillar(), scCrossboneIsleSteppingStonesFrostStartsOnThirdPuddle(), scCrossboneIsleSteppingStonesMoveSinkingBoulder(), scCrossboneIsleSteppingStonesPushSinkingBoulder() and scCrossboneIsleSteppingStonesStartMovingSinkingBoulder().
Referenced by scGetCues().
Definition at lines 92 and 2461 of file crossbone_isle_stepping_stones.c.
offsetof
STATIC_ASSERT(offsetof(CROSSBONE_ISLE_PILLAR_METATILE, bits.behavior)
STATIC_ASSERT(offsetof(CROSSBONE_ISLE_PILLAR_METATILE, bits.shape)
Definition at lines 308 and 309 of file crossbone_isle_stepping_stones.c.
PillarSlots
static PILLAR_SLOT PillarSlots[4]
The side room's four pillars.
Referenced by scCrossboneIsleSteppingStonesMovePillar(), scCrossboneIsleSteppingStonesSortPillarActors() and scInit().
Definition at line 927 of file crossbone_isle_stepping_stones.c.
ProbePosition
static FIELD_POS ProbePosition
Where a moved pillar stands, tested against the map's collision.
Referenced by scCrossboneIsleSteppingStonesMovePillar().
Definition at line 929 of file crossbone_isle_stepping_stones.c.
OtherWaterScroll
static BG_SCROLL OtherWaterScroll[3]
BG1 to BG3's scroll moved down to the stream's other level
(scCrossboneIsleSteppingStonesPrepareWaterScroll).
Referenced by scCrossboneIsleSteppingStonesJitterBackgroundScroll() and scCrossboneIsleSteppingStonesPrepareWaterScroll().
Definition at line 932 of file crossbone_isle_stepping_stones.c.
OtherWaterChance
static Sint32 OtherWaterChance
The percent chance that a line of the top WATER_DISSOLVE_LINES shows the
other water level: 0 when the water starts to change, then a point higher
each tick until every line shows it.
References Sint32.
Referenced by scCrossboneIsleSteppingStonesAnimateWaterLevel() and scCrossboneIsleSteppingStonesJitterBackgroundScroll().
Definition at line 936 of file crossbone_isle_stepping_stones.c.
FieldEffectDurationScripts
const Sint32 *FieldEffectDurationScripts[]
References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.
Definition at line 2122 of file crossbone_isle_stepping_stones.c.
CrossboneIsleSteppingStonesNoActorPlacements
ACTOR_PLACE CrossboneIsleSteppingStonesNoActorPlacements[]
Unused: an empty actor placement table nothing returns.
Definition at line 2260 of file crossbone_isle_stepping_stones.c.