Skip to Content
The Alchemy Project

src/scene/crossbone_isle.c

Crossbone Isle, the island of puzzles off the coast that the party can reach from the World Map, and the cave beneath it that winds down nine floors to Deadbeard's Pirate Ship. More…

Macros

NameDescription
#defineLIES_ACROSS (position, line)True when a log whose middle metatile is at position lies across line, in the way of the three-metatile log riding along it.

Enumerations

NameDescription
enumCROSSBONE_ISLE_ACTOR_ID { ACTOR_ISLE_NUT, ACTOR_FIRST_ISLE_LOG, ACTOR_FIRST_PLANT, ACT … }Crossbone Isle's placed actors, numbered in the order of CrossboneIsleIsleActorPlacements.
enumanonymous enum { FLAG_CROSSBONE_ISLE_FIRST_PLANT_GROWN }Growth has grown Crossbone Isle's first sprout, until the party leaves the island.
enumanonymous enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_BESIDE_EAST_LOG, METATILE_B … }Crossbone Isle's metatiles beside its two logs, where walking into a log pushes it (scPushedActorPushIfClear).
enumCROSSBONE_ISLE_FLOATING_LOGS_ACTOR_ID { ACTOR_LOG_A, ACTOR_LOG_B, ACTOR_LOG_C, ACTOR_LOG_D, ACTOR_LO … }The twelve floating logs of the ninth floor's side room (SceneIdCrossboneIsleFloatingLogs), lettered A to L in the order of CrossboneIsleFloatingLogsActorPlacements.
enumanonymous enum { LOG_B_COLUMN, LOG_C_COLUMN, LOG_J_COLUMN, LOG_K_COLUMN, LOG_ … }The line each floating log rides along that another can lie across: the column of a west-east log's middle metatile, which rides north and south, and the row of a north-south log's, which rides east and west.
enumanonymous enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_A, METATILE_BEHAVIOR_CR … }The metatile behaviour under each floating log: stepping on it sets the log bobbing, walking on along it rolls it, and walking off its side hops Isaac over a metatile of water (CrossboneIsleFloatingLogsCues).
enumanonymous enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_WEST, METATILE_BE … }The floating-logs room's shore metatiles where walking off the edge hops Isaac over a metatile of water onto a log beyond (CrossboneIsleFloatingLogsCues).
enumanonymous enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_WEST_OF_PILLAR }The metatile on a floor's west ledge just west of the stone pillar, (38, 10), from which walking east pushes it (scCrossboneIslePushPillar).
enumCROSSBONE_ISLE_FLOOR_ACTOR_ID { ACTOR_PILLAR }The nine floors' one placed actor (CrossboneIsleFloorActorPlacements).
enumanonymous enum { FLOOR_FROM_PREVIOUS_ROOM, FLOOR_FROM_NEXT_ROOM, FLOOR_FROM_S … }The nine floors' entrances, as the code the floors share names them.
enumanonymous enum { FLOOR_TO_PREVIOUS_ROOM, FLOOR_TO_NEXT_ROOM, FLOOR_TO_SIDE_RO … }The nine floors' exits, numbered as their entrances.
enumanonymous enum { ENTRANCE_AFTER_BATTLE }The entrance a battle returns the party to.
enumanonymous enum { METATILE_BEHAVIOR_PIRATE_SHIP_TOP_OF_WEST_STAIRS, METATILE_B … }The Pirate Ship's step metatiles.
enumanonymous enum { TREASURE_SPOT_CROSSBONE_ISLE_FIRST_FLOOR_MIMIC, TREASURE_SPO … }The treasure spots of the chests that come and go, which their examine cues answer to.
enumanonymous enum { TREASURE_SPOT_CROSSBONE_ISLE_COIN, TREASURE_SPOT_CROSSBONE_I … }The treasure spots of the island and the floating-logs room that stay, named for what each holds.

Functions

NameDescription
static voidscCrossboneIsleRestorePillar (void)On a floor of Crossbone Isle Cave whose pillar has already been pushed into the gap between the ledges, it stands there again, its top a step across (metatile (40, 10)).
static voidscCrossboneIsleOpenEastDoorAfterBattle (void)Back from the battle at a floor's east door, the door opens and Isaac walks in through it to the side room.
static voidscCrossboneIsleRestoreIvy (void)On Crossbone Isle, ivy Whirlwind has blown away stays gone, and the cave mouth behind the first stays open; the others are stretched to stand tall.
static voidscCrossboneIslePlaceLogs (void)Lays the metatiles of the floating-logs room's twelve logs under them, in their starting places.
static voidscCrossboneIsleUnusedNoOperation (void)Unused: an empty function nothing refers to.
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)Both scenes share one exit table.
const ACTOR_PLACE *scGetActorPlacements (void)Some villagers only turn back after talking once the flood is over or their family has gone home.
static voidscCrossboneIsleSpawnPillarMovedBurst (Sint32 actorId)Puffs a ring of dust out from a floor's pillar as it lands in the gap.
static voidscCrossboneIsleFightDeadbeard (void)Climbing the west stairs onto the Pirate Ship's raised foredeck, to metatile (11, 34), sets off the battle with Deadbeard.
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 voidscCrossboneIsleCatchNut (void)Catch on the Nut up in the tree by the waterfall on Crossbone Isle: the hand of Catch pulls it down to Isaac and "Isaac got a Nut."
Sint32scInit (void)Restores each scene's puzzles from its flags.
static voidscCrossboneIsleMovePillar (void)Move on the stone pillar on a floor's west ledge, and every push of it: once it reaches the gap between the ledges (metatile (40, 10)), it drops into the gap in a ring of dust, and its top stays there as a step Isaac hops across.
static voidscCrossboneIslePushPillar (void)Walking east into the stone pillar on a floor's west ledge, from metatile (38, 10), pushes it one metatile east, over the edge of the gap.
static voidscCrossboneIsleOpenWestDoor (void)Walking north into the door on a floor's west ledge (metatile (37, 9)) opens it with a rumble, and the party goes through into the floor's side room.
static voidscCrossboneIsleOpenEastDoor (void)Walking north into the door on a floor's east ledge (metatile (44, 9)): the first time, the monsters behind it attack; after that it opens with a rumble and the party goes through into the floor's side room.
static inline voidscCrossboneIsleGrowPlant (Sint32 actorId, Sint32 plant, Sint32 x, Sint32 z)Growth on one of Crossbone Isle's sprouts: it no longer stops the party, its vine stands grown, and the metatile at pixel (x, z) becomes the vine's foot, climbed with Up or Down held (METATILE_BEHAVIOR_CLIMB).
static voidscCrossboneIsleUnusedGrowFirstPlant (Sint32 actorId)Unused: Growth on Crossbone Isle's first sprout would grow its vine and make metatile (19, 23) climbable.
static voidscCrossboneIsleGrowSecondPlant (Sint32 actorId)Growth on the sprout at the foot of Crossbone Isle's west cliff, metatile (5, 23), grows a vine up the cliff face to its first ledge.
static voidscCrossboneIsleGrowThirdPlant (Sint32 actorId)Growth on the sprout on the first ledge of Crossbone Isle's west cliff, metatile (6, 21), grows a vine from there up to the next ledge.
static voidscCrossboneIsleGrowFourthPlant (Sint32 actorId)Growth on the sprout on the upper ledge of Crossbone Isle's west cliff, metatile (9, 20), grows the last vine, up to the top of the cliff.
static voidscCrossboneIsleBlowAwayFirstIvy (void)Whirlwind on the clump of ivy at the foot of Crossbone Isle's west cliff blows it away for good, uncovering the mouth of the cave behind it at metatile (8, 21).
static voidscCrossboneIsleUnusedBlowAwaySecondIvy (void)Unused: Whirlwind on Crossbone Isle's second clump of ivy would blow it away for good.
static voidscCrossboneIsleBlowAwayThirdIvy (void)Whirlwind on the clump of ivy on the top ledge of Crossbone Isle's west cliff, beside the last vine, blows it away for good; nothing is hidden behind it.
static voidscCrossboneIsleUnusedBlowAwayFourthIvy (void)Unused: Whirlwind on a fourth clump of ivy on Crossbone Isle would blow it away for good.
static voidscCrossboneIsleRideLog (Sint32 actorId, Sint32 dx, Sint32 dz)Rolls log actorId one leg, dx and dz pixels, with Isaac walking backwards on top of it to the metatile it stops at.
static voidscCrossboneIslePlaceWestEastLog (Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 metatileBehavior)Lays the metatiles of a log lying west-east under it, so that it can be walked on: the three metatiles it covers take the stored metatiles at (srcColumn, srcRow).
static voidscCrossboneIslePlaceNorthSouthLog (Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 metatileBehavior)As scCrossboneIslePlaceWestEastLog, for a log lying north-south.
static voidscCrossboneIsleSettleLog (int actorId)Starts a floating log bobbing under Isaac's step, from the beginning.
static voidscCrossboneIsleStepOnLogA (void)Stepping onto the east pool's south-west log sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogC (void)Stepping onto the east pool's log south-east of the island sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogD (void)Stepping onto the east pool's south-east log, by the east shore, sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogE (void)Stepping onto the east pool's middle log sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogF (void)Stepping onto the east pool's north-east log sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogH (void)Stepping onto the east pool's north-west log sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogJ (void)Stepping onto the west one of the west pool's three south logs sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogK (void)Stepping onto the middle one of the west pool's three south logs sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogB (void)Stepping onto the east one of the west pool's three south logs sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogL (void)Stepping onto the south one of the west pool's three side logs sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogG (void)Stepping onto the middle one of the west pool's three side logs sets it bobbing in the water under Isaac.
static voidscCrossboneIsleStepOnLogI (void)Stepping onto the north one of the west pool's three side logs sets it bobbing in the water under Isaac.
static BoolscCrossboneIsleTryHop (ACTOR *actor, FIELD_POS *requested)Isaac springs and leaps two metatiles the way he faces, over a metatile of water from log to log or between a log and the shore, if he can land there, and it returns 1 if he hopped.
static Sint32scCrossboneIsleHopNorth (void)Walking north off the side of a floating log, or off the west pool's south shore, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond, if there is one to land on.
static Sint32scCrossboneIsleHopSouth (void)Walking south off the side of a floating log, or off the west pool's north shore, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond; on the Pirate Ship, walking south from beside the Mimic's chest hops him across the hole in the deck.
static Sint32scCrossboneIsleHopWest (void)Walking west off the side of a floating log, or off the east shore of either pool, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond, if there is one to land on.
static Sint32scCrossboneIsleHopEast (void)Walking east off the side of a floating log, or off the west pool's west shore, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond, if there is one to land on.
static inline voidscCrossboneIsleMoveWestEastLogMetatiles (Sint32 actorId, Sint32 column, Sint32 row)Moves the metatiles of a log lying west-east from row row to the row it now lies on, and turns the ones it left back into water that cannot be walked on (the stored wall metatiles at (0, 0)).
static inline voidscCrossboneIsleMoveNorthSouthLogMetatiles (Sint32 actorId, Sint32 column, Sint32 row)As scCrossboneIsleMoveWestEastLogMetatiles, for a log lying north-south moved from column column.
static voidscCrossboneIsleRideLogANorth (void)Walking north along the east pool's south-west log rolls it north up the pool's west side, with Isaac on top, to the north edge below the alcove with the Sleep Bomb; there, walking on north hops him ashore.
static voidscCrossboneIsleRideLogASouth (void)Walking south along the east pool's south-west log rolls it back down the pool's west side, with Isaac on top, to the south shore.
static voidscCrossboneIsleRideLogCNorth (void)Walking north along the east pool's log south-east of the island rolls it north up the pool, with Isaac on top, to the north edge.
static voidscCrossboneIsleRideLogCSouth (void)Walking south along the east pool's log south-east of the island rolls it back south, with Isaac on top, to where it started.
static voidscCrossboneIsleRideLogDWest (void)Walking west along the east pool's south-east log rolls it west from the east shore, with Isaac on top, to the island.
static voidscCrossboneIsleRideLogDEast (void)Walking east along the east pool's south-east log rolls it back east, with Isaac on top, to the east shore.
static voidscCrossboneIsleRideLogEWest (void)Walking west along the east pool's middle log rolls it west past the north side of the island, with Isaac on top, to the pool's west side.
static voidscCrossboneIsleRideLogEEast (void)Walking east along the east pool's middle log rolls it east, with Isaac on top, to the pool's east shore.
static voidscCrossboneIsleRideLogFWest (void)Walking west along the east pool's north-east log rolls it west along the pool's north edge, with Isaac on top, to the north-west log.
static voidscCrossboneIsleRideLogFEast (void)Walking east along the east pool's north-east log rolls it back east along the north edge, with Isaac on top, to the north-east corner.
static voidscCrossboneIsleRideLogHWest (void)Walking west along the east pool's north-west log rolls it back west along the north edge, with Isaac on top, to the north-west corner.
static voidscCrossboneIsleRideLogHEast (void)Walking east along the east pool's north-west log rolls it east along the north edge, with Isaac on top, toward the north-east corner.
static voidscCrossboneIsleRideLogJNorth (void)Walking north along the west one of the west pool's three south logs rolls it north up the bay at the pool's south-west, with Isaac on top.
static voidscCrossboneIsleRideLogJSouth (void)Walking south along the west one of the west pool's three south logs rolls it back south, with Isaac on top, to the south shore.
static voidscCrossboneIsleRideLogKNorth (void)Walking north along the middle one of the west pool's three south logs rolls it north up the pool, with Isaac on top, to the north shore.
static voidscCrossboneIsleRideLogKSouth (void)Walking south along the middle one of the west pool's three south logs rolls it back south, with Isaac on top, to the south shore.
static voidscCrossboneIsleRideLogBNorth (void)Walking north along the east one of the west pool's three south logs rolls it north up the pool, with Isaac on top, to the north shore.
static voidscCrossboneIsleRideLogBSouth (void)Walking south along the east one of the west pool's three south logs rolls it back south, with Isaac on top, to the south shore.
static voidscCrossboneIsleRideLogLWest (void)Walking west along the south one of the west pool's three side logs rolls it west across the pool, with Isaac on top, into the bay at its south-west.
static voidscCrossboneIsleRideLogLEast (void)Walking east along the south one of the west pool's three side logs rolls it back east, with Isaac on top, to the pool's east shore.
static voidscCrossboneIsleRideLogGWest (void)Walking west along the middle one of the west pool's three side logs rolls it west across the pool, with Isaac on top, to its west side.
static voidscCrossboneIsleRideLogGEast (void)Walking east along the middle one of the west pool's three side logs rolls it back east, with Isaac on top, to the pool's east shore.
static voidscCrossboneIsleRideLogIWest (void)Walking west along the north one of the west pool's three side logs rolls it west across the north of the pool, with Isaac on top, to its west side.
static voidscCrossboneIsleRideLogIEast (void)Walking east along the north one of the west pool's three side logs rolls it back east, with Isaac on top, to the pool's east shore.

Variables

NameDescription
extern Uint16CrossboneIsleDoorOpens []A floor's side-room door opening with a rumble, a column of two metatiles at a time.
extern SCENE_ENTRANCECrossboneIsleIsleEntrances []
extern SCENE_ENTRANCECrossboneIsleCaveEntranceEntrances []
extern SCENE_ENTRANCECrossboneIsleFloatingLogsEntrances []
extern SCENE_ENTRANCECrossboneIslePierEntrances []
extern SCENE_ENTRANCECrossboneIslePirateShipEntrances []
extern Uint32CrossboneIsleExits []
extern ACTOR_PLACECrossboneIsleNoActorPlacements []
extern ACTOR_PLACECrossboneIsleIsleActorPlacements []
extern ACTOR_PLACECrossboneIsleFloatingLogsActorPlacements []
extern ACTOR_PLACECrossboneIsleFloorActorPlacements []
extern CUECrossboneIsleFloorCues []
extern CUECrossboneIsleCaveEntranceCues []
extern CUECrossboneIsleIsleCues []
extern CUECrossboneIsleFloatingLogsCues []
extern CUECrossboneIslePierCues []
extern CUECrossboneIslePirateShipCues []
const Sint32 *FieldEffectDurationScripts []The resident copy of the scripts EFFECT_SCRIPT_MASK picks, by enum EFFECT_DURATION.

Description

Crossbone Isle, the island of puzzles off the coast that the party can reach from the World Map, and the cave beneath it that winds down nine floors to Deadbeard's Pirate Ship. Its area names are Crossbone Isle, Crossbone Isle Cave and the Pirate Ship. No one here speaks.

In the order the party meets them:

  • Crossbone Isle (SceneIdCrossboneIsle), the island. The party lands at the south (WORLD_MAP_TO_CROSSBONE_ISLE) and walks west to the foot of a cliff, where Growth on three sprouts, one on each ledge, grows the vines that climb it to the top. They stay grown only until the party leaves the island. Catch takes a Nut from the tree by the waterfall. From the top, slides lead back down: one to the chest with a coin, one to a log that has to be pushed aside to reach the chest with the Mint, and one to a clump of ivy at the foot of the cliff. Whirlwind blows that ivy away for good and uncovers the mouth of the cave (CROSSBONE_ISLE_CROSSBONE_ISLE_CAVE_ENTRANCE). A second clump, on the top ledge beside the third vine, hides nothing.

  • Crossbone Isle Cave (SceneIdCrossboneIsleCaveEntrance), the winding path lit by torches that leads from the cave's mouth down to the first floor.

  • Crossbone Isle Cave (SceneIdCrossboneIsleFirstFloor to SceneIdCrossboneIsleNinthFloor), the nine floors, each a hall like the last. The party comes in at the east end (FLOOR_FROM_PREVIOUS_ROOM) and leaves down the stairs at the west end (FLOOR_TO_NEXT_ROOM). The middle of the hall is two raised ledges with a gap between them, each with a door in the north wall into the floor's side room, and the side room is the way across. The first time the party walks into the east door (scCrossboneIsleOpenEastDoor), the monsters behind it attack, a group of ENCOUNTER_ZONE_CROSSBONE_ISLE_FIRST_GUARDS on the first four floors and of ENCOUNTER_ZONE_CROSSBONE_ISLE_LAST_GUARDS on the next five. Back from the battle the door opens and the party walks in, and from then on it simply opens. On the west ledge, at the edge of the gap, stands a stone pillar: pushed east, it drops into the gap and makes a step across it for good, so the way back east no longer needs the side room. On the first floor the chest in front of the west door is a Mimic.

scene_exits.h names each floor's doors floor by floor (CROSSBONE_ISLE_FIRST_FLOOR_CROSSBONE_ISLE_CAVE_ENTRANCE and CROSSBONE_ISLE_FIRST_FLOOR_CROSSBONE_ISLE_SECOND_FLOOR on the first), and the side rooms of the first eight floors are in crossbone_isle_stepping_stones.c and crossbone_isle_keys.c.

  • Crossbone Isle Cave (SceneIdCrossboneIsleFloatingLogs), the ninth floor's side room: two pools of green water with twelve logs floating on them. Walking onto a log and on along it rolls the log across the pool with Isaac on top, until the far shore or another log stops it, and he hops from log to log or ashore over a metatile of water. The logs lead to four chests: 999 coins on the island in the east pool, a Sleep Bomb in the alcove north of the east pool, a Water of Life on the ledge between the pools, and the Muramasa in the alcove north of the west pool.

  • Crossbone Isle Cave (SceneIdCrossboneIslePier), the ledge past the ninth floor where a wooden pier leads out to the Pirate Ship.

  • Pirate Ship (SceneIdPirateShip), at the bottom. The first chest, at the foot of the ladder in the middle of the deck, is a Mimic. Climbing the west stairs onto the raised foredeck sets off the battle with Deadbeard (scCrossboneIsleFightDeadbeard). Once he is beaten, a chest with the Demon Mail stands on the foredeck behind where the battle began.

scInit restores each scene as its flags say: the ivy and the vines on the island, each floor's pillar in its gap, the Mimics until they are beaten and the chest Deadbeard leaves. The floating logs start in their places on every visit, their metatiles laid under them (scCrossboneIslePlaceLogs).

Macros in detail

LIES_ACROSS

#define LIES_ACROSS(position, line)

True when a log whose middle metatile is at position lies across line, in the way of the three-metatile log riding along it.

Referenced by scCrossboneIsleRideLogBNorth(), scCrossboneIsleRideLogBSouth(), scCrossboneIsleRideLogCNorth(), scCrossboneIsleRideLogGEast(), scCrossboneIsleRideLogGWest(), scCrossboneIsleRideLogIEast(), scCrossboneIsleRideLogIWest(), scCrossboneIsleRideLogJNorth(), scCrossboneIsleRideLogKNorth() and scCrossboneIsleRideLogKSouth().

Definition at line 217 of file crossbone_isle.c.

Enumerations in detail

CROSSBONE_ISLE_ACTOR_ID

enum CROSSBONE_ISLE_ACTOR_ID

Crossbone Isle's placed actors, numbered in the order of CrossboneIsleIsleActorPlacements.

EnumeratorValueDescription
ACTOR_ISLE_NUTACTOR_FIRST_PLACEDThe Nut up in the tree by the waterfall, until Catch takes it (FLAG_CROSSBONE_ISLE_NUT_CAUGHT).
ACTOR_FIRST_ISLE_LOGThe two logs lying on the grass below the cliffs, which Isaac pushes by walking into them (scPushedActorPushIfClear): the west one at the foot of the cliff the vines climb, the east one in front of the chest with the Mint.
ACTOR_FIRST_PLANTACTOR_FIRST_ISLE_LOG + 2The four sprouts Growth grows into vines, one flag each from
ACTOR_FIRST_IVYACTOR_FIRST_PLANT + 4FLAG_CROSSBONE_ISLE_FIRST_PLANT_GROWN. The second, third and fourth stand one above the other on the west cliff: at its foot, on its first ledge and on the ledge above. The first is placed at the map's origin, off stage (scCrossboneIsleUnusedGrowFirstPlant). The clumps of ivy Whirlwind blows away, one flag each from FLAG_CROSSBONE_ISLE_FIRST_IVY_BLOWN_AWAY: the first over the cave's mouth at the foot of the cliff, the third on the top ledge beside the highest vine. The second is placed at the map's origin, off stage (scCrossboneIsleUnusedBlowAwaySecondIvy), and the fourth, which its cue and scCrossboneIsleRestoreIvy name, is not placed at all.

Definition at line 99 of file crossbone_isle.c.

anonymous enum

enum { FLAG_CROSSBONE_ISLE_FIRST_PLANT_GROWN }

Growth has grown Crossbone Isle's first sprout, until the party leaves the island. Four scene temp flags run from this one, one a sprout.

EnumeratorValueDescription
FLAG_CROSSBONE_ISLE_FIRST_PLANT_GROWNFLAG_SCENE_TEMP(0x40)

Definition at line 135 of file crossbone_isle.c.

anonymous enum

enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_BESIDE_EAST_LOG, METATILE_BEHAVIOR_CROSSBONE_ISLE_BESIDE_WEST_LOG }

Crossbone Isle's metatiles beside its two logs, where walking into a log pushes it (scPushedActorPushIfClear).

EnumeratorValueDescription
METATILE_BEHAVIOR_CROSSBONE_ISLE_BESIDE_EAST_LOG10Beside the east log, in front of the chest with the Mint: metatiles (23, 22), (20, 26), (21, 26) and (23, 26).
METATILE_BEHAVIOR_CROSSBONE_ISLE_BESIDE_WEST_LOG20Beside the west log at the foot of the cliff: metatiles (8, 23) to (10, 23), (7, 26), (8, 26) and (10, 26).

Definition at line 142 of file crossbone_isle.c.

CROSSBONE_ISLE_FLOATING_LOGS_ACTOR_ID

enum CROSSBONE_ISLE_FLOATING_LOGS_ACTOR_ID

The twelve floating logs of the ninth floor's side room (SceneIdCrossboneIsleFloatingLogs), lettered A to L in the order of CrossboneIsleFloatingLogsActorPlacements. Each is given by the place it starts in on every visit, with its middle metatile.

A log lying west-east rolls north and south, and one lying north-south rolls east and west. Where the ways of two logs cross, one rolled into the other's way stops it, so the order the logs are rolled in decides where each can go.

EnumeratorValueDescription
ACTOR_LOG_AACTOR_FIRST_PLACEDThe east pool's south-west log, lying west-east at (25, 19). It rolls north up the pool's west side, below the alcove with the Sleep Bomb.
ACTOR_LOG_BThe east one of the west pool's three south logs, lying west-east at (10, 19).
ACTOR_LOG_CThe east pool's log south-east of the island, lying west-east at (32, 18). It rolls north up the middle of the pool's east half.
ACTOR_LOG_DThe east pool's south-east log, lying north-south along the east shore at (36, 17). It rolls west to the island.
ACTOR_LOG_EThe east pool's middle log, lying north-south east of the island at (34, 12). It rolls west to the pool's west side.
ACTOR_LOG_FThe east pool's north-east log, lying north-south at (36, 8). It rolls west along the pool's north edge.
ACTOR_LOG_GThe middle one of the west pool's three side logs, lying north-south along its east shore at (13, 13).
ACTOR_LOG_HThe east pool's north-west log, lying north-south at (24, 8). It rolls east along the pool's north edge.
ACTOR_LOG_IThe north one of the west pool's three side logs, lying north-south along its east shore at (13, 10).
ACTOR_LOG_JThe west one of the west pool's three south logs, lying west-east at (4, 19), in the bay at the pool's south-west.
ACTOR_LOG_KThe middle one of the west pool's three south logs, lying west-east at (7, 19).
ACTOR_LOG_LThe south one of the west pool's three side logs, lying north-south along its east shore at (13, 16).

Definition at line 160 of file crossbone_isle.c.

anonymous enum

enum { LOG_B_COLUMN, LOG_C_COLUMN, LOG_J_COLUMN, LOG_K_COLUMN, … }

The line each floating log rides along that another can lie across: the column of a west-east log's middle metatile, which rides north and south, and the row of a north-south log's, which rides east and west.

EnumeratorValueDescription
LOG_B_COLUMN10
LOG_C_COLUMN32
LOG_J_COLUMN4
LOG_K_COLUMN7
LOG_G_ROW13
LOG_I_ROW10

Definition at line 205 of file crossbone_isle.c.

anonymous enum

enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_A, METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_C, METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_D, METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_E, … }

The metatile behaviour under each floating log: stepping on it sets the log bobbing, walking on along it rolls it, and walking off its side hops Isaac over a metatile of water (CrossboneIsleFloatingLogsCues). The metatiles are stored in rows 30 to 32 of the room's map.txt and laid under the logs on every visit (scCrossboneIslePlaceLogs).

EnumeratorValueDescription
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_A21
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_C22
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_D23
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_E24
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_F25
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_H26
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_J31
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_K32
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_B33
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_L34
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_G35
METATILE_BEHAVIOR_CROSSBONE_ISLE_LOG_I36

Definition at line 225 of file crossbone_isle.c.

anonymous enum

enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_WEST, METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_EAST, METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_SOUTH, METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_NORTH }

The floating-logs room's shore metatiles where walking off the edge hops Isaac over a metatile of water onto a log beyond (CrossboneIsleFloatingLogsCues).

EnumeratorValueDescription
METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_WEST40The east shores of both pools: metatiles (14, 8) to (14, 19) beside the west pool's side logs, and (37, 7) to (37, 18) beside the east pool's.
METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_EAST41The west pool's west shore: the ledge at (5, 9) to (5, 14) and the bay's shore at (2, 15) to (2, 19).
METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_SOUTH42The west pool's north shore, (6, 8) to (8, 8).
METATILE_BEHAVIOR_CROSSBONE_ISLE_SHORE_HOP_NORTH43The west pool's south shore, (3, 20) to (13, 20).

Definition at line 244 of file crossbone_isle.c.

anonymous enum

enum { METATILE_BEHAVIOR_CROSSBONE_ISLE_WEST_OF_PILLAR }

The metatile on a floor's west ledge just west of the stone pillar, (38, 10), from which walking east pushes it (scCrossboneIslePushPillar).

EnumeratorValueDescription
METATILE_BEHAVIOR_CROSSBONE_ISLE_WEST_OF_PILLAR20

Definition at line 265 of file crossbone_isle.c.

CROSSBONE_ISLE_FLOOR_ACTOR_ID

enum CROSSBONE_ISLE_FLOOR_ACTOR_ID

The nine floors' one placed actor (CrossboneIsleFloorActorPlacements).

EnumeratorValueDescription
ACTOR_PILLARACTOR_FIRST_PLACEDThe stone pillar on the west ledge, at the edge of the gap between the ledges, that drops into the gap when pushed east.

Definition at line 271 of file crossbone_isle.c.

anonymous enum

enum { FLOOR_FROM_PREVIOUS_ROOM, FLOOR_FROM_NEXT_ROOM, FLOOR_FROM_SIDE_ROOM_EAST, FLOOR_FROM_SIDE_ROOM_WEST }

The nine floors' entrances, as the code the floors share names them.

Every floor numbers them alike. scene_exits.h names each floor's own (CROSSBONE_ISLE_FIRST_FLOOR_CROSSBONE_ISLE_CAVE_ENTRANCE to CROSSBONE_ISLE_FIRST_FLOOR_CROSSBONE_ISLE_STEPPING_STONES_WEST in the first).

EnumeratorValueDescription
FLOOR_FROM_PREVIOUS_ROOM1At the east end, from the room before (the cave's mouth, CrossboneIsleCaveEntrance, for the first).
FLOOR_FROM_NEXT_ROOM2At the west end, from the room after (CrossboneIslePier for the last).
FLOOR_FROM_SIDE_ROOM_EAST3Out of the side room by the east door.
FLOOR_FROM_SIDE_ROOM_WEST4Out of the side room by the west door.

Definition at line 284 of file crossbone_isle.c.

anonymous enum

enum { FLOOR_TO_PREVIOUS_ROOM, FLOOR_TO_NEXT_ROOM, FLOOR_TO_SIDE_ROOM_EAST, FLOOR_TO_SIDE_ROOM_WEST }

The nine floors' exits, numbered as their entrances.

EnumeratorValueDescription
FLOOR_TO_PREVIOUS_ROOM1
FLOOR_TO_NEXT_ROOM2
FLOOR_TO_SIDE_ROOM_EAST3the east door (scCrossboneIsleOpenEastDoor)
FLOOR_TO_SIDE_ROOM_WEST4the west door (scCrossboneIsleOpenWestDoor)

Definition at line 297 of file crossbone_isle.c.

anonymous enum

enum { ENTRANCE_AFTER_BATTLE }

The entrance a battle returns the party to.

On a floor that is after the monsters behind its east door (scCrossboneIsleOpenEastDoor). On the Pirate Ship it is after Deadbeard (scCrossboneIsleFightDeadbeard).

EnumeratorValueDescription
ENTRANCE_AFTER_BATTLE5

Definition at line 311 of file crossbone_isle.c.

anonymous enum

enum { METATILE_BEHAVIOR_PIRATE_SHIP_TOP_OF_WEST_STAIRS, METATILE_BEHAVIOR_PIRATE_SHIP_BESIDE_MIMIC }

The Pirate Ship's step metatiles.

EnumeratorValueDescription
METATILE_BEHAVIOR_PIRATE_SHIP_TOP_OF_WEST_STAIRS10The top of the west stairs up to the raised foredeck, metatile (11, 34), where the battle with Deadbeard starts (scCrossboneIsleFightDeadbeard).
METATILE_BEHAVIOR_PIRATE_SHIP_BESIDE_MIMIC20Metatile (15, 40), beside the Mimic's chest at the foot of the ladder, from which walking south hops Isaac across the hole in the deck (scCrossboneIsleHopSouth). scInit lays it from the stored metatile at (0, 2) only while the Mimic is unbeaten.

Definition at line 317 of file crossbone_isle.c.

anonymous enum

enum { TREASURE_SPOT_CROSSBONE_ISLE_FIRST_FLOOR_MIMIC, TREASURE_SPOT_PIRATE_SHIP_DEMON_MAIL, TREASURE_SPOT_PIRATE_SHIP_MIMIC }

The treasure spots of the chests that come and go, which their examine cues answer to.

EnumeratorValueDescription
TREASURE_SPOT_CROSSBONE_ISLE_FIRST_FLOOR_MIMICTREASURE_SPOT_FIRST_IDThe first floor's
TREASURE_SPOT_PIRATE_SHIP_DEMON_MAILTREASURE_SPOT_FIRST_IDchest, a Mimic until it is beaten. The Pirate Ship's chest with the Demon Mail, there once Deadbeard is beaten.
TREASURE_SPOT_PIRATE_SHIP_MIMICTREASURE_SPOT_FIRST_ID + 1The Pirate Ship's other chest, a Mimic until it is beaten.

Definition at line 332 of file crossbone_isle.c.

anonymous enum

enum { TREASURE_SPOT_CROSSBONE_ISLE_COIN, TREASURE_SPOT_CROSSBONE_ISLE_MINT, TREASURE_SPOT_CROSSBONE_ISLE_FLOATING_LOGS_999_COINS, TREASURE_SPOT_CROSSBONE_ISLE_FLOATING_LOGS_WATER_OF_LIFE, … }

The treasure spots of the island and the floating-logs room that stay, named for what each holds.

EnumeratorValueDescription
TREASURE_SPOT_CROSSBONE_ISLE_COINTREASURE_SPOT_FIRST_ID
TREASURE_SPOT_CROSSBONE_ISLE_MINT
TREASURE_SPOT_CROSSBONE_ISLE_FLOATING_LOGS_999_COINSTREASURE_SPOT_FIRST_ID
TREASURE_SPOT_CROSSBONE_ISLE_FLOATING_LOGS_WATER_OF_LIFE
TREASURE_SPOT_CROSSBONE_ISLE_FLOATING_LOGS_MURAMASA
TREASURE_SPOT_CROSSBONE_ISLE_FLOATING_LOGS_SLEEP_BOMB

Definition at line 347 of file crossbone_isle.c.

Functions in detail

scCrossboneIsleRestorePillar

static void scCrossboneIsleRestorePillar(void)

On a floor of Crossbone Isle Cave whose pillar has already been pushed into the gap between the ledges, it stands there again, its top a step across (metatile (40, 10)).

References fdActorGet(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes(), gmFlagGet(), MainRoutineStateWork and Sint32.

Referenced by scInit().

Definition at lines 358 and 655 of file crossbone_isle.c.

scCrossboneIsleOpenEastDoorAfterBattle

static void scCrossboneIsleOpenEastDoorAfterBattle(void)

Back from the battle at a floor's east door, the door opens and Isaac walks in through it to the side room.

It sets the floor's flag from FLAG_CROSSBONE_ISLE_FIRST_EAST_DOOR_MONSTERS_DEFEATED, so the monsters do not come again.

References CrossboneIsleDoorOpens, fdActorCenterAndWalk(), fdMapGridAnimateMetatiles(), fdScriptEnd(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagSet(), MainRoutineStateWork and syImportScriptSetExitRequest().

Referenced by scInit().

Definition at lines 359 and 826 of file crossbone_isle.c.

scCrossboneIsleRestoreIvy

static void scCrossboneIsleRestoreIvy(void)

On Crossbone Isle, ivy Whirlwind has blown away stays gone, and the cave mouth behind the first stays open; the others are stretched to stand tall.

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

Referenced by scInit().

Definition at lines 360 and 948 of file crossbone_isle.c.

scCrossboneIslePlaceLogs

static void scCrossboneIslePlaceLogs(void)

Lays the metatiles of the floating-logs room's twelve logs under them, in their starting places.

References scCrossboneIslePlaceNorthSouthLog() and scCrossboneIslePlaceWestEastLog().

Referenced by scInit().

Definition at lines 361 and 1095 of file crossbone_isle.c.

scCrossboneIsleUnusedNoOperation

static void scCrossboneIsleUnusedNoOperation(void)

Unused: an empty function nothing refers to.

Definition at line 369 of file crossbone_isle.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References CrossboneIsleCaveEntranceEntrances, CrossboneIsleFloatingLogsEntrances, CrossboneIsleIsleEntrances, CrossboneIslePierEntrances, CrossboneIslePirateShipEntrances and MainRoutineStateWork.

Definition at line 373 of file crossbone_isle.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 401 of file crossbone_isle.c.

scGetExits

const Uint32 *scGetExits(void)

References CrossboneIsleExits.

Definition at line 406 of file crossbone_isle.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References CrossboneIsleFloatingLogsActorPlacements, CrossboneIsleFloorActorPlacements, CrossboneIsleIsleActorPlacements, CrossboneIsleNoActorPlacements and MainRoutineStateWork.

Definition at line 411 of file crossbone_isle.c.

scCrossboneIsleSpawnPillarMovedBurst

static void scCrossboneIsleSpawnPillarMovedBurst(Sint32 actorId)

Puffs a ring of dust out from a floor's pillar as it lands in the gap.

References fdActorGet(), scFieldEffectAdvanceMotion(), Sint32, syCos(), syMathDivide() and sySin().

Referenced by scCrossboneIsleMovePillar().

Definition at line 434 of file crossbone_isle.c.

scCrossboneIsleFightDeadbeard

static void scCrossboneIsleFightDeadbeard(void)

Climbing the west stairs onto the Pirate Ship's raised foredeck, to metatile (11, 34), sets off the battle with Deadbeard.

He is the sixth group of ENCOUNTER_ZONE_CROSSBONE_ISLE_LAST_GUARDS, and the battle brings the party back to ENTRANCE_AFTER_BATTLE on the foredeck, where scInit sets FLAG_CROSSBONE_ISLE_DEADBEARD_DEFEATED and puts the chest with the Demon Mail before them. The cue row stops answering once that flag is set.

References fdRequestBattleFromEncounterTable(), fdScriptEnd(), fdScriptSetAfterBattleDestination(), fdScriptStart() and MainRoutineStateWork.

Referenced by CrossboneIslePirateShipCues.

Definition at line 475 of file crossbone_isle.c.

scGetCues

const CUE *scGetCues(void)

References CrossboneIsleCaveEntranceCues, CrossboneIsleFloatingLogsCues, CrossboneIsleFloorCues, CrossboneIsleIsleCues, CrossboneIslePierCues, CrossboneIslePirateShipCues and MainRoutineStateWork.

Definition at line 486 of file crossbone_isle.c.

scCrossboneIsleCatchNut

static void scCrossboneIsleCatchNut(void)

Catch on the Nut up in the tree by the waterfall on Crossbone Isle: the hand of Catch pulls it down to Isaac and "Isaac got a Nut."

scCatchNut gives the Nut and sets FLAG_CROSSBONE_ISLE_NUT_CAUGHT, which keeps it from being placed again.

References scCatchNut().

Referenced by CrossboneIsleIsleCues.

Definition at line 518 of file crossbone_isle.c.

scInit

Sint32 scInit(void)

Restores each scene's puzzles from its flags.

References fdActorGet(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdMapGridCopyMetatileAttributes(), fdSetMetatileBehaviorAt(), fdTreasureSpotSetPos(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scCrossboneIsleOpenEastDoorAfterBattle(), scCrossboneIslePlaceLogs(), scCrossboneIsleRestoreIvy(), scCrossboneIsleRestorePillar(), scFloatNut(), scPushedActorBlockFootprint() and Sint32.

Definition at line 524 of file crossbone_isle.c.

scCrossboneIsleMovePillar

static void scCrossboneIsleMovePillar(void)

Move on the stone pillar on a floor's west ledge, and every push of it: once it reaches the gap between the ledges (metatile (40, 10)), it drops into the gap in a ring of dust, and its top stays there as a step Isaac hops across.

Anywhere else nothing more happens. The pillar's metatile takes the jump-across metatile at (42, 10) (METATILE_BEHAVIOR_JUMP_FORWARD), and one flag per floor from FLAG_CROSSBONE_ISLE_FIRST_PASSAGE_OPENED keeps it there. In every edition but the Japanese, a pillar already in the gap does not drop again.

References fdActorGet(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes(), fdScriptWait(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scCrossboneIsleSpawnPillarMovedBurst(), Sint32 and sySoundPlay().

Referenced by CrossboneIsleFloorCues and scCrossboneIslePushPillar().

Definition at line 689 of file crossbone_isle.c.

scCrossboneIslePushPillar

static void scCrossboneIslePushPillar(void)

Walking east into the stone pillar on a floor's west ledge, from metatile (38, 10), pushes it one metatile east, over the edge of the gap.

scCrossboneIsleMovePillar then drops it into the gap.

References fdScriptEnd(), fdScriptStart(), scCrossboneIsleMovePillar() and scPushedActorAdvancePair().

Referenced by CrossboneIsleFloorCues.

Definition at line 735 of file crossbone_isle.c.

scCrossboneIsleOpenWestDoor

static void scCrossboneIsleOpenWestDoor(void)

Walking north into the door on a floor's west ledge (metatile (37, 9)) opens it with a rumble, and the party goes through into the floor's side room.

References CrossboneIsleDoorOpens, fdMapGridPlayMapEdit(), syImportScriptSetExitRequest() and sySoundPlay().

Referenced by CrossboneIsleFloorCues.

Definition at line 745 of file crossbone_isle.c.

scCrossboneIsleOpenEastDoor

static void scCrossboneIsleOpenEastDoor(void)

Walking north into the door on a floor's east ledge (metatile (44, 9)): the first time, the monsters behind it attack; after that it opens with a rumble and the party goes through into the floor's side room.

The battle brings the party back to ENTRANCE_AFTER_BATTLE, in front of the door (scCrossboneIsleOpenEastDoorAfterBattle).

References CrossboneIsleDoorOpens, fdMapGridPlayMapEdit(), fdRequestBattleFromEncounterTable(), fdScriptEnd(), fdScriptSetAfterBattleDestination(), fdScriptStart(), gmFlagGet(), MainRoutineStateWork, syImportScriptSetExitRequest() and sySoundPlay().

Referenced by CrossboneIsleFloorCues.

Definition at line 758 of file crossbone_isle.c.

scCrossboneIsleGrowPlant

static inline void scCrossboneIsleGrowPlant(Sint32 actorId, Sint32 plant, Sint32 x, Sint32 z)

Growth on one of Crossbone Isle's sprouts: it no longer stops the party, its vine stands grown, and the metatile at pixel (x, z) becomes the vine's foot, climbed with Up or Down held (METATILE_BEHAVIOR_CLIMB).

References fdActorGet(), fdActorSetSpriteFlags(), fdMapGridSetMetatileBehaviorAt() and Sint32.

Referenced by scCrossboneIsleGrowFourthPlant(), scCrossboneIsleGrowSecondPlant(), scCrossboneIsleGrowThirdPlant() and scCrossboneIsleUnusedGrowFirstPlant().

Definition at line 845 of file crossbone_isle.c.

scCrossboneIsleUnusedGrowFirstPlant

static void scCrossboneIsleUnusedGrowFirstPlant(Sint32 actorId)

Unused: Growth on Crossbone Isle's first sprout would grow its vine and make metatile (19, 23) climbable.

The sprout is placed at the map's origin, out of anyone's reach, so its cue never runs. scInit still restores its vine if its flag were set.

References gmFlagSet(), scCrossboneIsleGrowPlant() and Sint32.

Referenced by CrossboneIsleIsleCues.

Definition at line 864 of file crossbone_isle.c.

scCrossboneIsleGrowSecondPlant

static void scCrossboneIsleGrowSecondPlant(Sint32 actorId)

Growth on the sprout at the foot of Crossbone Isle's west cliff, metatile (5, 23), grows a vine up the cliff face to its first ledge.

The vine lasts until the party leaves the island.

References gmFlagSet(), scCrossboneIsleGrowPlant() and Sint32.

Referenced by CrossboneIsleIsleCues.

Definition at line 874 of file crossbone_isle.c.

scCrossboneIsleGrowThirdPlant

static void scCrossboneIsleGrowThirdPlant(Sint32 actorId)

Growth on the sprout on the first ledge of Crossbone Isle's west cliff, metatile (6, 21), grows a vine from there up to the next ledge.

The vine lasts until the party leaves the island.

References gmFlagSet(), scCrossboneIsleGrowPlant() and Sint32.

Referenced by CrossboneIsleIsleCues.

Definition at line 884 of file crossbone_isle.c.

scCrossboneIsleGrowFourthPlant

static void scCrossboneIsleGrowFourthPlant(Sint32 actorId)

Growth on the sprout on the upper ledge of Crossbone Isle's west cliff, metatile (9, 20), grows the last vine, up to the top of the cliff.

The vine's foot is made climbable twice: at (9, 20), and at (47, 20), the same place in the copy of the cliff's top drawn over it, 38 columns over in map.txt. The vine lasts until the party leaves the island.

References fdMapGridSetMetatileBehaviorAt(), gmFlagSet(), scCrossboneIsleGrowPlant() and Sint32.

Referenced by CrossboneIsleIsleCues.

Definition at line 896 of file crossbone_isle.c.

scCrossboneIsleBlowAwayFirstIvy

static void scCrossboneIsleBlowAwayFirstIvy(void)

Whirlwind on the clump of ivy at the foot of Crossbone Isle's west cliff blows it away for good, uncovering the mouth of the cave behind it at metatile (8, 21).

The mouth's metatile takes the stored metatile at (0, 0), the exit into CrossboneIsleCaveEntrance, and FLAG_CROSSBONE_ISLE_FIRST_IVY_BLOWN_AWAY keeps it open (scCrossboneIsleRestoreIvy).

References fdMapGridCopyMetatileAttributes() and gmFlagSet().

Referenced by CrossboneIsleIsleCues.

Definition at line 913 of file crossbone_isle.c.

scCrossboneIsleUnusedBlowAwaySecondIvy

static void scCrossboneIsleUnusedBlowAwaySecondIvy(void)

Unused: Whirlwind on Crossbone Isle's second clump of ivy would blow it away for good.

The ivy is placed at the map's origin, out of anyone's reach, so its cue never runs.

References gmFlagSet().

Referenced by CrossboneIsleIsleCues.

Definition at line 924 of file crossbone_isle.c.

scCrossboneIsleBlowAwayThirdIvy

static void scCrossboneIsleBlowAwayThirdIvy(void)

Whirlwind on the clump of ivy on the top ledge of Crossbone Isle's west cliff, beside the last vine, blows it away for good; nothing is hidden behind it.

References gmFlagSet().

Referenced by CrossboneIsleIsleCues.

Definition at line 932 of file crossbone_isle.c.

scCrossboneIsleUnusedBlowAwayFourthIvy

static void scCrossboneIsleUnusedBlowAwayFourthIvy(void)

Unused: Whirlwind on a fourth clump of ivy on Crossbone Isle would blow it away for good.

No fourth clump is placed, so its cue never runs.

References gmFlagSet().

Referenced by CrossboneIsleIsleCues.

Definition at line 941 of file crossbone_isle.c.

scCrossboneIsleRideLog

static void scCrossboneIsleRideLog(Sint32 actorId, Sint32 dx, Sint32 dz)

Rolls log actorId one leg, dx and dz pixels, with Isaac walking backwards on top of it to the metatile it stops at. The log rolls with a sound and stops with another.

References fdActorGet(), fdActorSelectAnimation(), fdActorWaitForMove(), fdScriptEnd(), fdScriptStart(), MainRoutineStateWork, scFieldActorSetMoveTargetFX(), Sint32 and sySoundPlay().

Referenced by scCrossboneIsleRideLogANorth(), scCrossboneIsleRideLogASouth(), scCrossboneIsleRideLogBNorth(), scCrossboneIsleRideLogBSouth(), scCrossboneIsleRideLogCNorth(), scCrossboneIsleRideLogCSouth(), scCrossboneIsleRideLogDEast(), scCrossboneIsleRideLogDWest(), scCrossboneIsleRideLogEEast(), scCrossboneIsleRideLogEWest(), scCrossboneIsleRideLogFEast(), scCrossboneIsleRideLogFWest(), scCrossboneIsleRideLogGEast(), scCrossboneIsleRideLogGWest(), scCrossboneIsleRideLogHEast(), scCrossboneIsleRideLogHWest(), scCrossboneIsleRideLogIEast(), scCrossboneIsleRideLogIWest(), scCrossboneIsleRideLogJNorth(), scCrossboneIsleRideLogJSouth(), scCrossboneIsleRideLogKNorth(), scCrossboneIsleRideLogKSouth(), scCrossboneIsleRideLogLEast() and scCrossboneIsleRideLogLWest().

Definition at line 1001 of file crossbone_isle.c.

scCrossboneIslePlaceWestEastLog

static void scCrossboneIslePlaceWestEastLog(Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 metatileBehavior)

Lays the metatiles of a log lying west-east under it, so that it can be walked on: the three metatiles it covers take the stored metatiles at (srcColumn, srcRow). Its metatile behaviour is passed and not used.

References fdActorGet(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes() and Sint32.

Referenced by scCrossboneIslePlaceLogs().

Definition at line 1041 of file crossbone_isle.c.

scCrossboneIslePlaceNorthSouthLog

static void scCrossboneIslePlaceNorthSouthLog(Sint32 actorId, Sint32 srcColumn, Sint32 srcRow, Sint32 metatileBehavior)

As scCrossboneIslePlaceWestEastLog, for a log lying north-south.

References fdActorGet(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes() and Sint32.

Referenced by scCrossboneIslePlaceLogs().

Definition at line 1064 of file crossbone_isle.c.

scCrossboneIsleSettleLog

static void scCrossboneIsleSettleLog(int actorId)

Starts a floating log bobbing under Isaac's step, from the beginning.

References fdActorSetAnimation().

Referenced by scCrossboneIsleStepOnLogA(), scCrossboneIsleStepOnLogB(), scCrossboneIsleStepOnLogC(), scCrossboneIsleStepOnLogD(), scCrossboneIsleStepOnLogE(), scCrossboneIsleStepOnLogF(), scCrossboneIsleStepOnLogG(), scCrossboneIsleStepOnLogH(), scCrossboneIsleStepOnLogI(), scCrossboneIsleStepOnLogJ(), scCrossboneIsleStepOnLogK() and scCrossboneIsleStepOnLogL().

Definition at line 1087 of file crossbone_isle.c.

scCrossboneIsleStepOnLogA

static void scCrossboneIsleStepOnLogA(void)

Stepping onto the east pool's south-west log sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1125 of file crossbone_isle.c.

scCrossboneIsleStepOnLogC

static void scCrossboneIsleStepOnLogC(void)

Stepping onto the east pool's log south-east of the island sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1132 of file crossbone_isle.c.

scCrossboneIsleStepOnLogD

static void scCrossboneIsleStepOnLogD(void)

Stepping onto the east pool's south-east log, by the east shore, sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1139 of file crossbone_isle.c.

scCrossboneIsleStepOnLogE

static void scCrossboneIsleStepOnLogE(void)

Stepping onto the east pool's middle log sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1146 of file crossbone_isle.c.

scCrossboneIsleStepOnLogF

static void scCrossboneIsleStepOnLogF(void)

Stepping onto the east pool's north-east log sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1153 of file crossbone_isle.c.

scCrossboneIsleStepOnLogH

static void scCrossboneIsleStepOnLogH(void)

Stepping onto the east pool's north-west log sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1160 of file crossbone_isle.c.

scCrossboneIsleStepOnLogJ

static void scCrossboneIsleStepOnLogJ(void)

Stepping onto the west one of the west pool's three south logs sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1167 of file crossbone_isle.c.

scCrossboneIsleStepOnLogK

static void scCrossboneIsleStepOnLogK(void)

Stepping onto the middle one of the west pool's three south logs sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1174 of file crossbone_isle.c.

scCrossboneIsleStepOnLogB

static void scCrossboneIsleStepOnLogB(void)

Stepping onto the east one of the west pool's three south logs sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1181 of file crossbone_isle.c.

scCrossboneIsleStepOnLogL

static void scCrossboneIsleStepOnLogL(void)

Stepping onto the south one of the west pool's three side logs sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1188 of file crossbone_isle.c.

scCrossboneIsleStepOnLogG

static void scCrossboneIsleStepOnLogG(void)

Stepping onto the middle one of the west pool's three side logs sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1195 of file crossbone_isle.c.

scCrossboneIsleStepOnLogI

static void scCrossboneIsleStepOnLogI(void)

Stepping onto the north one of the west pool's three side logs sets it bobbing in the water under Isaac.

References scCrossboneIsleSettleLog().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1202 of file crossbone_isle.c.

scCrossboneIsleTryHop

static Bool scCrossboneIsleTryHop(ACTOR *actor, FIELD_POS *requested)

Isaac springs and leaps two metatiles the way he faces, over a metatile of water from log to log or between a log and the shore, if he can land there, and it returns 1 if he hopped. The Japanese edition aims at requested, the others at the middle of the metatile 32 pixels ahead.

References fdActorMoveToAndWait(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdScriptEnd(), fdScriptStart(), scFieldActorCheckMovementCollision(), Sint32, sySoundPlay(), sySynch() and syVectorAddPolarOffset().

Referenced by scCrossboneIsleHopEast(), scCrossboneIsleHopNorth(), scCrossboneIsleHopSouth() and scCrossboneIsleHopWest().

Definition at line 1211 of file crossbone_isle.c.

scCrossboneIsleHopNorth

static Sint32 scCrossboneIsleHopNorth(void)

Walking north off the side of a floating log, or off the west pool's south shore, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond, if there is one to land on.

References fdActorGet(), scCrossboneIsleTryHop() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues and scCrossboneIsleRideLogANorth().

Definition at line 1264 of file crossbone_isle.c.

scCrossboneIsleHopSouth

static Sint32 scCrossboneIsleHopSouth(void)

Walking south off the side of a floating log, or off the west pool's north shore, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond; on the Pirate Ship, walking south from beside the Mimic's chest hops him across the hole in the deck.

References fdActorGet(), scCrossboneIsleTryHop() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues and CrossboneIslePirateShipCues.

Definition at line 1279 of file crossbone_isle.c.

scCrossboneIsleHopWest

static Sint32 scCrossboneIsleHopWest(void)

Walking west off the side of a floating log, or off the east shore of either pool, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond, if there is one to land on.

References fdActorGet(), scCrossboneIsleTryHop() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1293 of file crossbone_isle.c.

scCrossboneIsleHopEast

static Sint32 scCrossboneIsleHopEast(void)

Walking east off the side of a floating log, or off the west pool's west shore, with a metatile of water ahead, hops Isaac over it onto the log or shore beyond, if there is one to land on.

References fdActorGet(), scCrossboneIsleTryHop() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1307 of file crossbone_isle.c.

scCrossboneIsleMoveWestEastLogMetatiles

static inline void scCrossboneIsleMoveWestEastLogMetatiles(Sint32 actorId, Sint32 column, Sint32 row)

Moves the metatiles of a log lying west-east from row row to the row it now lies on, and turns the ones it left back into water that cannot be walked on (the stored wall metatiles at (0, 0)).

References fdActorGet(), fdMapGridCopyMetatileAttributes(), Sint32 and sySynch().

Referenced by scCrossboneIsleRideLogANorth(), scCrossboneIsleRideLogASouth(), scCrossboneIsleRideLogCNorth(), scCrossboneIsleRideLogCSouth(), scCrossboneIsleRideLogJNorth() and scCrossboneIsleRideLogJSouth().

Definition at line 1321 of file crossbone_isle.c.

scCrossboneIsleMoveNorthSouthLogMetatiles

static inline void scCrossboneIsleMoveNorthSouthLogMetatiles(Sint32 actorId, Sint32 column, Sint32 row)

As scCrossboneIsleMoveWestEastLogMetatiles, for a log lying north-south moved from column column.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), Sint32 and sySynch().

Referenced by scCrossboneIsleRideLogDEast(), scCrossboneIsleRideLogDWest(), scCrossboneIsleRideLogEEast(), scCrossboneIsleRideLogEWest(), scCrossboneIsleRideLogFEast(), scCrossboneIsleRideLogFWest(), scCrossboneIsleRideLogHEast() and scCrossboneIsleRideLogHWest().

Definition at line 1338 of file crossbone_isle.c.

scCrossboneIsleRideLogANorth

static void scCrossboneIsleRideLogANorth(void)

Walking north along the east pool's south-west log rolls it north up the pool's west side, with Isaac on top, to the north edge below the alcove with the Sleep Bomb; there, walking on north hops him ashore.

The log stops short of the north-west log while that one lies across its way, as it does at first, and short of the middle log if that has been rolled west across it.

References fdActorGet(), scCrossboneIsleHopNorth(), scCrossboneIsleMoveWestEastLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1360 of file crossbone_isle.c.

scCrossboneIsleRideLogASouth

static void scCrossboneIsleRideLogASouth(void)

Walking south along the east pool's south-west log rolls it back down the pool's west side, with Isaac on top, to the south shore.

It stops short of the middle log if that has been rolled west across its way.

References fdActorGet(), scCrossboneIsleMoveWestEastLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1419 of file crossbone_isle.c.

scCrossboneIsleRideLogCNorth

static void scCrossboneIsleRideLogCNorth(void)

Walking north along the east pool's log south-east of the island rolls it north up the pool, with Isaac on top, to the north edge.

While the north-west or the north-east log lies across its way at the north edge, it stops short of it.

References fdActorGet(), scCrossboneIsleMoveWestEastLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1461 of file crossbone_isle.c.

scCrossboneIsleRideLogCSouth

static void scCrossboneIsleRideLogCSouth(void)

Walking south along the east pool's log south-east of the island rolls it back south, with Isaac on top, to where it started.

References fdActorGet(), scCrossboneIsleMoveWestEastLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1505 of file crossbone_isle.c.

scCrossboneIsleRideLogDWest

static void scCrossboneIsleRideLogDWest(void)

Walking west along the east pool's south-east log rolls it west from the east shore, with Isaac on top, to the island.

While the log south-east of the island is in its starting place, it lies across the way and stops this one short of it.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1530 of file crossbone_isle.c.

scCrossboneIsleRideLogDEast

static void scCrossboneIsleRideLogDEast(void)

Walking east along the east pool's south-east log rolls it back east, with Isaac on top, to the east shore.

From the island it cannot move while the log south-east of the island is back in its starting place.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1565 of file crossbone_isle.c.

scCrossboneIsleRideLogEWest

static void scCrossboneIsleRideLogEWest(void)

Walking west along the east pool's middle log rolls it west past the north side of the island, with Isaac on top, to the pool's west side.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1590 of file crossbone_isle.c.

scCrossboneIsleRideLogEEast

static void scCrossboneIsleRideLogEEast(void)

Walking east along the east pool's middle log rolls it east, with Isaac on top, to the pool's east shore.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1614 of file crossbone_isle.c.

scCrossboneIsleRideLogFWest

static void scCrossboneIsleRideLogFWest(void)

Walking west along the east pool's north-east log rolls it west along the pool's north edge, with Isaac on top, to the north-west log.

It stops sooner where the north-west log has been rolled east, or the log from south-east of the island has been rolled up to the north edge.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1640 of file crossbone_isle.c.

scCrossboneIsleRideLogFEast

static void scCrossboneIsleRideLogFEast(void)

Walking east along the east pool's north-east log rolls it back east along the north edge, with Isaac on top, to the north-east corner.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1719 of file crossbone_isle.c.

scCrossboneIsleRideLogHWest

static void scCrossboneIsleRideLogHWest(void)

Walking west along the east pool's north-west log rolls it back west along the north edge, with Isaac on top, to the north-west corner.

It stops short of the log from south-east of the island or the south-west log if either has been rolled up to the north edge.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1755 of file crossbone_isle.c.

scCrossboneIsleRideLogHEast

static void scCrossboneIsleRideLogHEast(void)

Walking east along the east pool's north-west log rolls it east along the north edge, with Isaac on top, toward the north-east corner.

It stops short of the north-east log, wherever that has been rolled, or of the log from south-east of the island if that has been rolled up to the north edge.

References fdActorGet(), scCrossboneIsleMoveNorthSouthLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1812 of file crossbone_isle.c.

scCrossboneIsleRideLogJNorth

static void scCrossboneIsleRideLogJNorth(void)

Walking north along the west one of the west pool's three south logs rolls it north up the bay at the pool's south-west, with Isaac on top.

It stops short of the south side log if that has been rolled west into the bay.

References fdActorGet(), scCrossboneIsleMoveWestEastLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1891 of file crossbone_isle.c.

scCrossboneIsleRideLogJSouth

static void scCrossboneIsleRideLogJSouth(void)

Walking south along the west one of the west pool's three south logs rolls it back south, with Isaac on top, to the south shore.

References fdActorGet(), scCrossboneIsleMoveWestEastLogMetatiles(), scCrossboneIsleRideLog() and Sint32.

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1925 of file crossbone_isle.c.

scCrossboneIsleRideLogKNorth

static void scCrossboneIsleRideLogKNorth(void)

Walking north along the middle one of the west pool's three south logs rolls it north up the pool, with Isaac on top, to the north shore.

It stops short of the first of the pool's side logs that has been rolled west across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 1950 of file crossbone_isle.c.

scCrossboneIsleRideLogKSouth

static void scCrossboneIsleRideLogKSouth(void)

Walking south along the middle one of the west pool's three south logs rolls it back south, with Isaac on top, to the south shore.

It stops short of the middle or south side log if either has been rolled west across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2068 of file crossbone_isle.c.

scCrossboneIsleRideLogBNorth

static void scCrossboneIsleRideLogBNorth(void)

Walking north along the east one of the west pool's three south logs rolls it north up the pool, with Isaac on top, to the north shore.

It stops short of the first of the pool's side logs that has been rolled west across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2160 of file crossbone_isle.c.

scCrossboneIsleRideLogBSouth

static void scCrossboneIsleRideLogBSouth(void)

Walking south along the east one of the west pool's three south logs rolls it back south, with Isaac on top, to the south shore.

It stops short of the first of the pool's side logs that has been rolled west across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2279 of file crossbone_isle.c.

scCrossboneIsleRideLogLWest

static void scCrossboneIsleRideLogLWest(void)

Walking west along the south one of the west pool's three side logs rolls it west across the pool, with Isaac on top, into the bay at its south-west.

It stops short of the first of the pool's south logs that has been rolled north across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2376 of file crossbone_isle.c.

scCrossboneIsleRideLogLEast

static void scCrossboneIsleRideLogLEast(void)

Walking east along the south one of the west pool's three side logs rolls it back east, with Isaac on top, to the pool's east shore.

It stops short of the middle or east south log if either has been rolled north across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2490 of file crossbone_isle.c.

scCrossboneIsleRideLogGWest

static void scCrossboneIsleRideLogGWest(void)

Walking west along the middle one of the west pool's three side logs rolls it west across the pool, with Isaac on top, to its west side.

It stops short of the east or middle south log if either has been rolled north across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2575 of file crossbone_isle.c.

scCrossboneIsleRideLogGEast

static void scCrossboneIsleRideLogGEast(void)

Walking east along the middle one of the west pool's three side logs rolls it back east, with Isaac on top, to the pool's east shore.

It stops short of the east or middle south log if either has been rolled north across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2657 of file crossbone_isle.c.

scCrossboneIsleRideLogIWest

static void scCrossboneIsleRideLogIWest(void)

Walking west along the north one of the west pool's three side logs rolls it west across the north of the pool, with Isaac on top, to its west side.

It stops short of the east or middle south log if either has been rolled north across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2728 of file crossbone_isle.c.

scCrossboneIsleRideLogIEast

static void scCrossboneIsleRideLogIEast(void)

Walking east along the north one of the west pool's three side logs rolls it back east, with Isaac on top, to the pool's east shore.

It stops short of the east south log if that has been rolled north across its way.

References fdActorGet(), fdMapGridCopyMetatileAttributeRect(), fdMapGridCopyMetatileAttributes(), scCrossboneIsleRideLog(), Sint32 and sySynch().

Referenced by CrossboneIsleFloatingLogsCues.

Definition at line 2806 of file crossbone_isle.c.

Variables in detail

CrossboneIsleDoorOpens

extern Uint16 CrossboneIsleDoorOpens[]

Uint16 CrossboneIsleDoorOpens[]

A floor's side-room door opening with a rumble, a column of two metatiles at a time.

Referenced by scCrossboneIsleOpenEastDoor(), scCrossboneIsleOpenEastDoorAfterBattle() and scCrossboneIsleOpenWestDoor().

Definition at lines 79 and 2868 of file crossbone_isle.c.

CrossboneIsleIsleEntrances

extern SCENE_ENTRANCE CrossboneIsleIsleEntrances[]

SCENE_ENTRANCE CrossboneIsleIsleEntrances[]

Referenced by scGetEntrances().

Definition at lines 80 and 2881 of file crossbone_isle.c.

CrossboneIsleCaveEntranceEntrances

extern SCENE_ENTRANCE CrossboneIsleCaveEntranceEntrances[]

SCENE_ENTRANCE CrossboneIsleCaveEntranceEntrances[]

Referenced by scGetEntrances().

Definition at lines 81 and 2889 of file crossbone_isle.c.

CrossboneIsleFloatingLogsEntrances

extern SCENE_ENTRANCE CrossboneIsleFloatingLogsEntrances[]

SCENE_ENTRANCE CrossboneIsleFloatingLogsEntrances[]

Referenced by scGetEntrances().

Definition at lines 82 and 2897 of file crossbone_isle.c.

CrossboneIslePierEntrances

extern SCENE_ENTRANCE CrossboneIslePierEntrances[]

SCENE_ENTRANCE CrossboneIslePierEntrances[]

Referenced by scGetEntrances().

Definition at lines 83 and 2907 of file crossbone_isle.c.

CrossboneIslePirateShipEntrances

extern SCENE_ENTRANCE CrossboneIslePirateShipEntrances[]

SCENE_ENTRANCE CrossboneIslePirateShipEntrances[]

Referenced by scGetEntrances().

Definition at lines 84 and 2915 of file crossbone_isle.c.

CrossboneIsleExits

extern Uint32 CrossboneIsleExits[]

Uint32 CrossboneIsleExits[]

Referenced by scGetExits().

Definition at lines 85 and 2933 of file crossbone_isle.c.

CrossboneIsleNoActorPlacements

extern ACTOR_PLACE CrossboneIsleNoActorPlacements[]

ACTOR_PLACE CrossboneIsleNoActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 86 and 3056 of file crossbone_isle.c.

CrossboneIsleIsleActorPlacements

extern ACTOR_PLACE CrossboneIsleIsleActorPlacements[]

ACTOR_PLACE CrossboneIsleIsleActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 87 and 3060 of file crossbone_isle.c.

CrossboneIsleFloatingLogsActorPlacements

extern ACTOR_PLACE CrossboneIsleFloatingLogsActorPlacements[]

ACTOR_PLACE CrossboneIsleFloatingLogsActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 88 and 3084 of file crossbone_isle.c.

CrossboneIsleFloorActorPlacements

extern ACTOR_PLACE CrossboneIsleFloorActorPlacements[]

ACTOR_PLACE CrossboneIsleFloorActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 89 and 3112 of file crossbone_isle.c.

CrossboneIsleFloorCues

extern CUE CrossboneIsleFloorCues[]

CUE CrossboneIsleFloorCues[]

References scCrossboneIsleMovePillar(), scCrossboneIsleOpenEastDoor(), scCrossboneIsleOpenWestDoor() and scCrossboneIslePushPillar().

Referenced by scGetCues().

Definition at lines 90 and 3118 of file crossbone_isle.c.

CrossboneIsleCaveEntranceCues

extern CUE CrossboneIsleCaveEntranceCues[]

CUE CrossboneIsleCaveEntranceCues[]

Referenced by scGetCues().

Definition at lines 91 and 3134 of file crossbone_isle.c.

CrossboneIsleIsleCues

extern CUE CrossboneIsleIsleCues[]

CUE CrossboneIsleIsleCues[]

References scCrossboneIsleBlowAwayFirstIvy(), scCrossboneIsleBlowAwayThirdIvy(), scCrossboneIsleCatchNut(), scCrossboneIsleGrowFourthPlant(), scCrossboneIsleGrowSecondPlant(), scCrossboneIsleGrowThirdPlant(), scCrossboneIsleUnusedBlowAwayFourthIvy(), scCrossboneIsleUnusedBlowAwaySecondIvy(), scCrossboneIsleUnusedGrowFirstPlant() and scPushedActorPushIfClear().

Referenced by scGetCues().

Definition at lines 92 and 3142 of file crossbone_isle.c.

CrossboneIsleFloatingLogsCues

extern CUE CrossboneIsleFloatingLogsCues[]

CUE CrossboneIsleFloatingLogsCues[]

References scCrossboneIsleHopEast(), scCrossboneIsleHopNorth(), scCrossboneIsleHopSouth(), scCrossboneIsleHopWest(), scCrossboneIsleRideLogANorth(), scCrossboneIsleRideLogASouth(), scCrossboneIsleRideLogBNorth(), scCrossboneIsleRideLogBSouth(), scCrossboneIsleRideLogCNorth(), scCrossboneIsleRideLogCSouth(), scCrossboneIsleRideLogDEast(), scCrossboneIsleRideLogDWest(), scCrossboneIsleRideLogEEast(), scCrossboneIsleRideLogEWest(), scCrossboneIsleRideLogFEast(), scCrossboneIsleRideLogFWest(), scCrossboneIsleRideLogGEast(), scCrossboneIsleRideLogGWest(), scCrossboneIsleRideLogHEast(), scCrossboneIsleRideLogHWest(), scCrossboneIsleRideLogIEast(), scCrossboneIsleRideLogIWest(), scCrossboneIsleRideLogJNorth(), scCrossboneIsleRideLogJSouth(), scCrossboneIsleRideLogKNorth(), scCrossboneIsleRideLogKSouth(), scCrossboneIsleRideLogLEast(), scCrossboneIsleRideLogLWest(), scCrossboneIsleStepOnLogA(), scCrossboneIsleStepOnLogB(), scCrossboneIsleStepOnLogC(), scCrossboneIsleStepOnLogD(), scCrossboneIsleStepOnLogE(), scCrossboneIsleStepOnLogF(), scCrossboneIsleStepOnLogG(), scCrossboneIsleStepOnLogH(), scCrossboneIsleStepOnLogI(), scCrossboneIsleStepOnLogJ(), scCrossboneIsleStepOnLogK() and scCrossboneIsleStepOnLogL().

Referenced by scGetCues().

Definition at lines 93 and 3185 of file crossbone_isle.c.

CrossboneIslePierCues

extern CUE CrossboneIslePierCues[]

CUE CrossboneIslePierCues[]

Referenced by scGetCues().

Definition at lines 94 and 3330 of file crossbone_isle.c.

CrossboneIslePirateShipCues

extern CUE CrossboneIslePirateShipCues[]

CUE CrossboneIslePirateShipCues[]

References scCrossboneIsleFightDeadbeard() and scCrossboneIsleHopSouth().

Referenced by scGetCues().

Definition at lines 95 and 3340 of file crossbone_isle.c.

FieldEffectDurationScripts

const Sint32 *FieldEffectDurationScripts[]

References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.

Definition at line 2873 of file crossbone_isle.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailLIES_ACROSSEnumerations in detailCROSSBONE_ISLE_ACTOR_IDanonymous enumanonymous enumCROSSBONE_ISLE_FLOATING_LOGS_ACTOR_IDanonymous enumanonymous enumanonymous enumanonymous enumCROSSBONE_ISLE_FLOOR_ACTOR_IDanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumanonymous enumFunctions in detailscCrossboneIsleRestorePillarscCrossboneIsleOpenEastDoorAfterBattlescCrossboneIsleRestoreIvyscCrossboneIslePlaceLogsscCrossboneIsleUnusedNoOperationscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscCrossboneIsleSpawnPillarMovedBurstscCrossboneIsleFightDeadbeardscGetCuesscCrossboneIsleCatchNutscInitscCrossboneIsleMovePillarscCrossboneIslePushPillarscCrossboneIsleOpenWestDoorscCrossboneIsleOpenEastDoorscCrossboneIsleGrowPlantscCrossboneIsleUnusedGrowFirstPlantscCrossboneIsleGrowSecondPlantscCrossboneIsleGrowThirdPlantscCrossboneIsleGrowFourthPlantscCrossboneIsleBlowAwayFirstIvyscCrossboneIsleUnusedBlowAwaySecondIvyscCrossboneIsleBlowAwayThirdIvyscCrossboneIsleUnusedBlowAwayFourthIvyscCrossboneIsleRideLogscCrossboneIslePlaceWestEastLogscCrossboneIslePlaceNorthSouthLogscCrossboneIsleSettleLogscCrossboneIsleStepOnLogAscCrossboneIsleStepOnLogCscCrossboneIsleStepOnLogDscCrossboneIsleStepOnLogEscCrossboneIsleStepOnLogFscCrossboneIsleStepOnLogHscCrossboneIsleStepOnLogJscCrossboneIsleStepOnLogKscCrossboneIsleStepOnLogBscCrossboneIsleStepOnLogLscCrossboneIsleStepOnLogGscCrossboneIsleStepOnLogIscCrossboneIsleTryHopscCrossboneIsleHopNorthscCrossboneIsleHopSouthscCrossboneIsleHopWestscCrossboneIsleHopEastscCrossboneIsleMoveWestEastLogMetatilesscCrossboneIsleMoveNorthSouthLogMetatilesscCrossboneIsleRideLogANorthscCrossboneIsleRideLogASouthscCrossboneIsleRideLogCNorthscCrossboneIsleRideLogCSouthscCrossboneIsleRideLogDWestscCrossboneIsleRideLogDEastscCrossboneIsleRideLogEWestscCrossboneIsleRideLogEEastscCrossboneIsleRideLogFWestscCrossboneIsleRideLogFEastscCrossboneIsleRideLogHWestscCrossboneIsleRideLogHEastscCrossboneIsleRideLogJNorthscCrossboneIsleRideLogJSouthscCrossboneIsleRideLogKNorthscCrossboneIsleRideLogKSouthscCrossboneIsleRideLogBNorthscCrossboneIsleRideLogBSouthscCrossboneIsleRideLogLWestscCrossboneIsleRideLogLEastscCrossboneIsleRideLogGWestscCrossboneIsleRideLogGEastscCrossboneIsleRideLogIWestscCrossboneIsleRideLogIEastVariables in detailCrossboneIsleDoorOpensCrossboneIsleIsleEntrancesCrossboneIsleCaveEntranceEntrancesCrossboneIsleFloatingLogsEntrancesCrossboneIslePierEntrancesCrossboneIslePirateShipEntrancesCrossboneIsleExitsCrossboneIsleNoActorPlacementsCrossboneIsleIsleActorPlacementsCrossboneIsleFloatingLogsActorPlacementsCrossboneIsleFloorActorPlacementsCrossboneIsleFloorCuesCrossboneIsleCaveEntranceCuesCrossboneIsleIsleCuesCrossboneIsleFloatingLogsCuesCrossboneIslePierCuesCrossboneIslePirateShipCuesFieldEffectDurationScripts