Skip to Content
The Alchemy Project

src/scene/madra_catacombs.c

The Madra Catacombs, a deserted village in a cave under the town. More…

Macros

NameDescription
#defineFLAG_TUNNEL_ROPE_TIED FLAG_SCENE_TEMP(0x00)The ropes Lash ties, the tunnel's and the village's, which stay tied until the party leaves.
#defineFLAG_VILLAGE_ROPE_TIED FLAG_SCENE_TEMP(0x01)
#defineFLAG_VILLAGE_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x02)Frost on the village's puddle, which stays a pillar of ice until the party leaves.
#defineFLAG_BOOKSHELF_LEANING FLAG_SCENE_TEMP(0x04)Set while the bookshelf leans as Tremor shakes it, so that the chest on it is nudged once each time it comes upright.
#defineFLAG_MADRA_CATACOMBS_HOLE_FILLED 0x8c8Set once the pillar Move pushed onto metatile (40, 13) has dropped into the pit in the village's northern ledge and filled it.
#defineFLAG_MADRA_CATACOMBS_TABLET_DOOR_OPEN 0x8c9Set once the Ruin Key has opened the red double door before Moloch's tablet; its braziers burn from then on.
#defineFLAG_MADRA_CATACOMBS_PILLAR_PLACED 0x8caSet once Move has left the village's plain stone pillar on metatile (44, 26).
#defineFLAG_MADRA_CATACOMBS_VILLAGE_DOOR_OPEN 0x8cbSet once the push button Reveal shows has opened the village's golden door.
#defineFLAG_MADRA_CATACOMBS_CHEST_FELL 0x8ccSet once Tremor has shaken the chest off the bookshelf into the room below.
#defineFLAG_MADRA_CATACOMBS_VINE_PILLAR_PLACED 0x9efSet once Move has left the vine-covered pillar on metatile (35, 17).
#defineFLAG_MADRA_CATACOMBS_BUTTON_REVEALED FLAG_SCENE_TEMP(0x03)Set while Reveal shows the push button by the closed golden door.
#defineFLARES_PER_SIDE 5The braziers that flare up down each side of the hall before Moloch's tablet.
#defineDEFINE_LEAVE_BLOCKED_WAY (name, exit)Arriving by a way that is blocked off once Briggs is caught, Felix vanishes and the screen fades out to exit.

Enumerations

NameDescription
enumMADRA_CATACOMBS_VILLAGE_ACTOR_ID { ACTOR_VINE_PILLAR, ACTOR_VILLAGE_ROPE_LOW_POST, ACTOR_VILLAG … }The deserted village's actors that its scripts move.
enumMADRA_CATACOMBS_TUNNEL_ACTOR_ID { ACTOR_TUNNEL_ROPE_EAST_POST, ACTOR_TUNNEL_ROPE_WEST_POST, AC … }The tunnel the Champa dug (MadraCatacombsChampaTunnel), by the rows of its table.
enumanonymous enum { CHAMPA_TUNNEL_PASSAGE_SOUTH_END, CHAMPA_TUNNEL_CHAMBER_NORTH … }The ways on within a room's own scene that are no doors: each number is both the exit there and the entrance a way from elsewhere arrives at.
enumanonymous enum { MAIN_HALL_STONE_DOOR, BOOKSHELF_ROOM_WEST_DOOR, BOOKSHELF_RO … }The doors that open as Felix walks north into them, each the number of its exit and of its cells' metatile behavior, leading on within the same room.
enumMADRA_CATACOMBS_METATILE_BEHAVIOR { METATILE_BEHAVIOR_MADRA_CATACOMBS_TABLET_DOOR, METATILE_BEHA … }The metatiles whose cues run the catacombs' scripts.
enumMADRA_CATACOMBS_TABLET_ROOM_ACTOR_ID { ACTOR_LEFT_DOOR, ACTOR_RIGHT_DOOR, ACTOR_FIRST_WEST_FLARE, A … }The tablet hall's actors: the two halves of the red double door, the brazier flames that flare up down each side as it opens, numbered from the tablet down to the door, and a marker that stands on each flame once they burn.
enumMADRA_CATACOMBS_BOOKSHELF_ACTOR_ID { ACTOR_BOOKSHELF, ACTOR_SHELF_CHEST, ACTOR_FALLEN_CHEST }The bookshelf on the broken building's upper floor, and the chest on top of it that Tremor shakes off; the room below places the fallen chest.

Functions

NameDescription
voidscMadraCatacombsSetUpVillage (void)Sets up the deserted village: its rope, the pillars Move has placed, the frozen puddle, the opened golden door and, once Briggs is caught, the Champa tunnel's way in blocked off.
voidscMadraCatacombsSetUpChampaTunnel (void)Sets up the Champa tunnel: its rope and, once Briggs is caught, the way on to the village blocked off and the man who marvels at the cave gone.
voidscMadraCatacombsSetUpBookshelfRoom (void)Sets up the broken building's upper floor: the red chest stands on top of the bookshelf until Tremor has shaken it down.
voidscMadraCatacombsSetUpTabletRoom (void)Sets up the hall before Moloch's tablet: the red double door's two halves stand closed; once the Ruin Key has opened it they stand 12 pixels apart (already so when the party comes back from a battle) and the braziers burn.
voidscMadraCatacombsRockChestWithBookshelf (void)The red chest on the bookshelf tilts as the bookshelf rocks, and each time the bookshelf comes upright again the chest hops two pixels west with a scrape.
voidscMadraCatacombsLeaveBlockedVillage (void)Arriving in the village from the Champa tunnel's west end once that way is blocked off: Felix vanishes and the screen fades back to the tunnel.
voidscMadraCatacombsSetUpMainHall (void)Sets up the broken building's ground floor, below the bookshelf: the chest with the Ruin Key is there only once Tremor has shaken it down.
const SCENE_ENTRANCE *scGetEntrances (void)Where the party can enter: the cave under the spring has its own entrances.
const SCENE_REGION *scGetExitRegions (void)The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room.
const Uint32 *scGetExits (void)The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
voidscMadraCatacombsTryLockedDoor (void)Examining the red double door at the foot of the hall before Moloch's tablet (metatiles (9, 22) and (10, 22)) before the Ruin Key has opened it: "The door won't budge.
voidscMadraCatacombsDropPillarIntoHole (void)Felix Moves the pillar on the village's northern ledge one metatile east, off the edge (onto metatile (40, 13)): it drops into the pit there and fills it, its top level with the ledge, so the party can walk across.
voidscMadraCatacombsStartMovingPushedPillar (void)Nothing visible happens as Move takes hold of the plain stone pillar east of the village's middle; the game frees the ground it stood on, so that it can slide.
voidscMadraCatacombsFinishMovingPushedPillar (void)Felix Moves the plain stone pillar east of the village's middle; once it is one metatile east, on metatile (44, 26), it stays there on later visits, a stepping stone to jump across from the upper level.
voidscMadraCatacombsFreezePuddle (void)Felix casts Frost on the puddle just east of the broken building's south doorway: it freezes into a pillar of ice Felix can jump onto, until the party leaves the catacombs.
voidscMadraCatacombsLightFlames (void)The braziers down the hall before Moloch's tablet burn: each flame stands in its place, a marker stands on each, and the doorway can be walked through.
voidscMadraCatacombsUnlockWithRuinKey (void)Felix uses the Ruin Key at the red double door down the stairs (metatiles (9, 22) and (10, 22)): the two halves rumble apart, the camera climbs the hall beyond to Moloch's tablet, and the braziers down both sides flare up in pairs from the door upwards, the two great pairs by the tablet last.
voidscMadraCatacombsSettleVinePillar (ACTOR *actor)The vine-covered pillar becomes ground to stand on where Move left it; on metatile (35, 17) it stays there on later visits.
voidscMadraCatacombsLeaveBlockedTunnel (void)Coming up into the far end of the Champa tunnel's upper path (metatile (51, 13)) once that way is blocked off: Felix vanishes and the screen fades back the way he came.
voidscMadraCatacombsRevealButton (void)Casting Reveal in the village shows a push button in the wall just east of the golden door on the south side (metatile (36, 38)), pressed in once the door has opened.
voidscMadraCatacombsHideButton (void)As Reveal wears off, the push button by the golden door disappears.
voidscMadraCatacombsHearEyesOfTruth (void)Examining the wall just east of the golden door on the village's south side (metatile (36, 39)) reads "Look upon me with eyes of truth...
voidscMadraCatacombsShakeBookshelf (void)Felix casts Tremor on the bookshelf in the bedroom behind the west door of the small hall on the broken building's upper floor: it rocks, and the red chest on top creeps west each time it rights itself.
voidscMadraCatacombsPushVinePillar (void)Walking east into the vine-covered pillar from metatile (33, 17) while Move holds it pushes it a metatile on.
voidscMadraCatacombsStartMovingVinePillar (void)Nothing visible happens as Move takes hold of the vine-covered pillar north of the village's middle; the game lowers the ground it made, so that it can slide.
voidscMadraCatacombsOpenDoorAndEnter ( Sint32 srcX, Sint32 srcZ, Sint32 x, Sint32 z, Sint32 width, Sint32 height)A door opens, its open picture copied over it from (srcX, srcZ), and Felix walks through: a stone door two metatiles wide slides with a thump, a door one metatile wide opens as he steps to its middle.
voidscMadraCatacombsFinishMovingVinePillar (void)Felix Moves the vine-covered pillar north of the village's middle; where it comes to rest becomes ground to stand on, so he can climb its vines to the upper level, and one metatile east, on metatile (35, 17), it stays on later visits.
voidscMadraCatacombsEnterDoor (void)Felix walks north into one of the dark doorways of the village's broken building, or the opening on its east side: he steps to its middle, walks in growing smaller, and the screen closes to the room beyond.
voidscMadraCatacombsOpenStoneDoor (void)Felix walks north up the purple carpet of the broken building's main hall into the golden stone door at its end (metatiles (14, 33) and (15, 33)): it slides open and he goes through to the room beyond, where the chest from the bookshelf falls.
voidscMadraCatacombsOpenBookshelfRoomWestDoor (void)Felix walks into the west door of the small hall on the broken building's upper floor (metatile (45, 5)): it opens and he goes through to the bedroom with the bookshelf.
voidscMadraCatacombsOpenBookshelfRoomEastDoor (void)Felix walks into the east door of the small hall on the broken building's upper floor (metatile (54, 5)): it opens and he goes through to the bedroom with the broken floor.
voidscMadraCatacombsOpenTabletRoomDoor (void)Felix walks into the door in the north-west corner of the small room over the drop (metatile (28, 33)): it opens and he goes through to the narrow passage with a red chest.
Sint32scInit (void)Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.

Variables

NameDescription
extern SCENE_ENTRANCESceneEntrances []Besides the party's return to the pier after the ship is stolen, four unused spots about the mast: below the huge block, on the dock by its crate, on the deck, and at the top of the sail's east pole.
extern SCENE_ENTRANCEMadraCatacombsMainHallEntrances []Through the golden stone door, the party comes out facing north at the south end of the room of the great chair, the camera kept within that room.
extern SCENE_ENTRANCEMadraCatacombsBookshelfEntrances []The ways into the small hall of the broken building's upper floor, the camera kept within the hall: back out of the west and east bedrooms through their doors, up from the main hall, and in from the village.
extern SCENE_REGIONMadraCatacombsLadderRoomRegions []Climbing either ladder up out of the ladder room takes the party up into Madra.
extern ACTOR_PLACEMadraCatacombsPlacements []The actors placed in the catacombs' rooms with no table of their own.
extern ACTOR_PLACEMadraCatacombsVillagePlacements []The deserted village's actors (MADRA_CATACOMBS_VILLAGE_ACTOR_ID).
extern ACTOR_PLACEMadraCatacombsChampaTunnelPlacements []The Champa tunnel's actors (MADRA_CATACOMBS_TUNNEL_ACTOR_ID).
extern ACTOR_PLACEMadraCatacombsBookshelfPlacements []The bookshelf Tremor rocks; the chest on top of it is the map's first treasure spot (ACTOR_SHELF_CHEST).
extern ACTOR_PLACEMadraCatacombsTabletPlacements []The tablet hall's actors (MADRA_CATACOMBS_TABLET_ROOM_ACTOR_ID): the flames and their markers stand nowhere until the braziers are lit.
extern CUEMadraCatacombsVillageCues []The cues of the deserted village.
extern CUEMadraCatacombsLaddersCues []The cues of the ladder room.
extern CUEMadraCatacombsChampaTunnelCues []The cues of the Champa tunnel.
extern CUEMadraCatacombsMainHallCues []The cues of the main hall.
extern CUEMadraCatacombsBookshelfCues []The cues of the bookshelf room.
extern CUEMadraCatacombsTabletCues []The cues of the tablet room.
extern Sint16MadraCatacombsPushedPillar []The plain stone pillar Move pushes.
extern Sint16MadraCatacombsPuddles []The puddle Frost freezes into a pillar, with its flag.
extern Sint32MadraCatacombsFlameFlaresUp []A brazier's flame's actor script as it flares up.
extern Sint32MadraCatacombsGreatFlameFlaresUp []The actor script of the great braziers by Moloch's tablet as they flare up.
extern Sint16MadraCatacombsVinePillar []The vine-covered pillar Move pushes.
extern Sint32LeaderWalkThroughDoorScript []The leader's actor script as he walks north through a doorway, growing smaller as he goes: in Madra's catacombs, the Lemurian ship's passage, and the doors of the Islets, Kibombo, Prox and the Shaman Village.
extern CUEMadraCatacombsCues []The cues of the catacombs' rooms with no table of their own.
Uint32SceneExits []The room has no exits of its own.

Description

The Madra Catacombs, a deserted village in a cave under the town. Madra's two ladders, the one inside the walls and the one in the Champa's hole, come down into a small ladder room, and the tunnel the Champa dug runs from there to the village. On the first visit Felix comes in along the tunnel's upper path, Moves a pillar off a ledge into a pit to cross it, and takes the Tremor Bit from the village's broken building. Once Briggs is caught that way is blocked off, and the village is reached from the south, through a golden door whose push button only Reveal shows. Inside, Frost freezes a puddle, Move shifts two pillars to climb by, Lash ties a rope across, and Tremor rocks a bookshelf on the building's upper floor until the chest on top falls through to the floor below; it holds the Ruin Key, which opens the red double door down the stairs, lighting the braziers before Moloch's tablet.

Macros in detail

FLAG_TUNNEL_ROPE_TIED

#define FLAG_TUNNEL_ROPE_TIED FLAG_SCENE_TEMP(0x00)

The ropes Lash ties, the tunnel's and the village's, which stay tied until the party leaves.

Referenced by MadraCatacombsChampaTunnelCues and scMadraCatacombsSetUpChampaTunnel().

Definition at line 26 of file madra_catacombs.c.

FLAG_VILLAGE_ROPE_TIED

#define FLAG_VILLAGE_ROPE_TIED FLAG_SCENE_TEMP(0x01)

Referenced by MadraCatacombsVillageCues and scMadraCatacombsSetUpVillage().

Definition at line 27 of file madra_catacombs.c.

FLAG_VILLAGE_PUDDLE_FROZEN

#define FLAG_VILLAGE_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x02)

Frost on the village's puddle, which stays a pillar of ice until the party leaves.

Referenced by MadraCatacombsPuddles and MadraCatacombsVillageCues.

Definition at line 30 of file madra_catacombs.c.

FLAG_BOOKSHELF_LEANING

#define FLAG_BOOKSHELF_LEANING FLAG_SCENE_TEMP(0x04)

Set while the bookshelf leans as Tremor shakes it, so that the chest on it is nudged once each time it comes upright.

Referenced by scMadraCatacombsRockChestWithBookshelf().

Definition at line 33 of file madra_catacombs.c.

FLAG_MADRA_CATACOMBS_HOLE_FILLED

#define FLAG_MADRA_CATACOMBS_HOLE_FILLED 0x8c8

Set once the pillar Move pushed onto metatile (40, 13) has dropped into the pit in the village's northern ledge and filled it.

Referenced by MadraCatacombsVillageCues, scMadraCatacombsDropPillarIntoHole() and scMadraCatacombsSetUpVillage().

Definition at line 37 of file madra_catacombs.c.

FLAG_MADRA_CATACOMBS_TABLET_DOOR_OPEN

#define FLAG_MADRA_CATACOMBS_TABLET_DOOR_OPEN 0x8c9

Set once the Ruin Key has opened the red double door before Moloch's tablet; its braziers burn from then on.

Referenced by MadraCatacombsTabletCues, scMadraCatacombsSetUpTabletRoom() and scMadraCatacombsUnlockWithRuinKey().

Definition at line 40 of file madra_catacombs.c.

FLAG_MADRA_CATACOMBS_PILLAR_PLACED

#define FLAG_MADRA_CATACOMBS_PILLAR_PLACED 0x8ca

Set once Move has left the village's plain stone pillar on metatile (44, 26).

Referenced by MadraCatacombsVillageCues, scMadraCatacombsFinishMovingPushedPillar() and scMadraCatacombsSetUpVillage().

Definition at line 42 of file madra_catacombs.c.

FLAG_MADRA_CATACOMBS_VILLAGE_DOOR_OPEN

#define FLAG_MADRA_CATACOMBS_VILLAGE_DOOR_OPEN 0x8cb

Set once the push button Reveal shows has opened the village's golden door.

Referenced by scMadraCatacombsHearEyesOfTruth(), scMadraCatacombsRevealButton() and scMadraCatacombsSetUpVillage().

Definition at line 44 of file madra_catacombs.c.

FLAG_MADRA_CATACOMBS_CHEST_FELL

#define FLAG_MADRA_CATACOMBS_CHEST_FELL 0x8cc

Set once Tremor has shaken the chest off the bookshelf into the room below.

Referenced by scMadraCatacombsSetUpBookshelfRoom(), scMadraCatacombsSetUpMainHall() and scMadraCatacombsShakeBookshelf().

Definition at line 46 of file madra_catacombs.c.

FLAG_MADRA_CATACOMBS_VINE_PILLAR_PLACED

#define FLAG_MADRA_CATACOMBS_VINE_PILLAR_PLACED 0x9ef

Set once Move has left the vine-covered pillar on metatile (35, 17).

Referenced by MadraCatacombsVillageCues, scMadraCatacombsSettleVinePillar() and scMadraCatacombsSetUpVillage().

Definition at line 48 of file madra_catacombs.c.

FLAG_MADRA_CATACOMBS_BUTTON_REVEALED

#define FLAG_MADRA_CATACOMBS_BUTTON_REVEALED FLAG_SCENE_TEMP(0x03)

Set while Reveal shows the push button by the closed golden door.

Referenced by scMadraCatacombsHearEyesOfTruth(), scMadraCatacombsHideButton(), scMadraCatacombsRevealButton() and scMadraCatacombsSetUpVillage().

Definition at line 50 of file madra_catacombs.c.

FLARES_PER_SIDE

#define FLARES_PER_SIDE 5

The braziers that flare up down each side of the hall before Moloch's tablet.

Referenced by scMadraCatacombsLightFlames().

Definition at line 152 of file madra_catacombs.c.

DEFINE_LEAVE_BLOCKED_WAY

#define DEFINE_LEAVE_BLOCKED_WAY(name, exit)

Arriving by a way that is blocked off once Briggs is caught, Felix vanishes and the screen fades out to exit.

Definition at line 713 of file madra_catacombs.c.

Enumerations in detail

MADRA_CATACOMBS_VILLAGE_ACTOR_ID

enum MADRA_CATACOMBS_VILLAGE_ACTOR_ID

The deserted village's actors that its scripts move.

EnumeratorValueDescription
ACTOR_VINE_PILLARACTOR_FIRST_PLACEDThe vine-covered pillar Move carries onto the upper level to climb by.
ACTOR_VILLAGE_ROPE_LOW_POSTThe posts at the two ends of
ACTOR_VILLAGE_ROPE_HIGH_POSTthe rope Lash makes taut.
ACTOR_HOLE_PILLARACTOR_FIRST_PLACED + 3The pillar on the northern ledge that Move pushes into the pit.
ACTOR_PUSHED_PILLARThe plain stone pillar Move pushes onto metatile (44, 26).
ACTOR_VILLAGE_PUDDLEThe puddle Frost freezes into a pillar.
ACTOR_VILLAGE_CHESTFIELD_TREASURE_ACTORThe chest by the rope, the map's first treasure spot, drawn over the ledge.

Definition at line 53 of file madra_catacombs.c.

MADRA_CATACOMBS_TUNNEL_ACTOR_ID

enum MADRA_CATACOMBS_TUNNEL_ACTOR_ID

The tunnel the Champa dug (MadraCatacombsChampaTunnel), by the rows of its table.

EnumeratorValueDescription
ACTOR_TUNNEL_ROPE_EAST_POSTACTOR_FIRST_PLACEDThe posts at the two
ACTOR_TUNNEL_ROPE_WEST_POSTends of the tunnel's rope.
ACTOR_MAN_ON_THE_CHAMPAS_CAVEA man in the tunnel until Briggs is caught: "I can't believe the Champa just stumbled onto this cave accidentally..."

Definition at line 76 of file madra_catacombs.c.

anonymous enum

enum { CHAMPA_TUNNEL_PASSAGE_SOUTH_END, CHAMPA_TUNNEL_CHAMBER_NORTH_MOUTH, CHAMPA_TUNNEL_CHAMBER_SOUTH_END, CHAMPA_TUNNEL_UPPER_PATH_END, … }

The ways on within a room's own scene that are no doors: each number is both the exit there and the entrance a way from elsewhere arrives at.

EnumeratorValueDescription
CHAMPA_TUNNEL_PASSAGE_SOUTH_END2The Champa tunnel: the south end of the long passage in its west; the cave mouth at the north-west of the chamber below it, and the chamber's south end; and the cave mouth at the far end of the upper path, on the ledge in the tunnel's east.
CHAMPA_TUNNEL_CHAMBER_NORTH_MOUTH3
CHAMPA_TUNNEL_CHAMBER_SOUTH_END5
CHAMPA_TUNNEL_UPPER_PATH_END8
MAIN_HALL_STOREROOM_SOUTH_END2The main hall: the south ends of the storeroom of barrels and jars, of the room of the great chair and of the room of pits; and the dark doorways in the west and east walls of the hall of the purple carpet.
MAIN_HALL_CHAIR_ROOM_SOUTH_END3
MAIN_HALL_PIT_ROOM_SOUTH_END8
MAIN_HALL_WEST_DOORWAY11
MAIN_HALL_EAST_DOORWAY12
BOOKSHELF_WEST_BEDROOM_SOUTH_END3The broken building's upper floor:
BOOKSHELF_EAST_BEDROOM_SOUTH_END4the south ends of the bedroom with the bookshelf, in the west, and of the bedroom with the crate, in the east.
TABLET_CHEST_ROOM_SOUTH_END2Beyond the tablet room's door: the south end of the small room of the chest.

Definition at line 92 of file madra_catacombs.c.

anonymous enum

enum { MAIN_HALL_STONE_DOOR, BOOKSHELF_ROOM_WEST_DOOR, BOOKSHELF_ROOM_EAST_DOOR, TABLET_ROOM_DOOR }

The doors that open as Felix walks north into them, each the number of its exit and of its cells' metatile behavior, leading on within the same room.

EnumeratorValueDescription
MAIN_HALL_STONE_DOOR9The golden stone door at the end of the main hall's purple carpet.
BOOKSHELF_ROOM_WEST_DOOR5The west and east doors of the small hall
BOOKSHELF_ROOM_EAST_DOOR6on the broken building's upper floor.
TABLET_ROOM_DOOR3The door in the north-west corner of the small room over the drop.

Definition at line 123 of file madra_catacombs.c.

MADRA_CATACOMBS_METATILE_BEHAVIOR

enum MADRA_CATACOMBS_METATILE_BEHAVIOR

The metatiles whose cues run the catacombs' scripts.

EnumeratorValueDescription
METATILE_BEHAVIOR_MADRA_CATACOMBS_TABLET_DOOR10The red double door before Moloch's tablet, metatiles (9, 22) and (10, 22).
METATILE_BEHAVIOR_MADRA_CATACOMBS_VINE_PILLAR_PUSH11Metatile (33, 17), west of the vine-covered pillar's place.
METATILE_BEHAVIOR_MADRA_CATACOMBS_BUTTON_WALL10The village's wall east of the golden door, metatile (36, 39), where Reveal shows the push button; the village's only metatile of this behavior.

Definition at line 135 of file madra_catacombs.c.

MADRA_CATACOMBS_TABLET_ROOM_ACTOR_ID

enum MADRA_CATACOMBS_TABLET_ROOM_ACTOR_ID

The tablet hall's actors: the two halves of the red double door, the brazier flames that flare up down each side as it opens, numbered from the tablet down to the door, and a marker that stands on each flame once they burn. A marker wears SPRITE_EXCLAMATION_BUBBLE's animation 0, its blank picture, so nothing of it is seen: the lit hall looks the same with the ten markers hidden.

EnumeratorValueDescription
ACTOR_LEFT_DOORACTOR_FIRST_PLACED
ACTOR_RIGHT_DOOR
ACTOR_FIRST_WEST_FLARE
ACTOR_FIRST_EAST_FLAREACTOR_FIRST_WEST_FLARE + FLARES_PER_SIDE
ACTOR_FIRST_FLAME_MARKERACTOR_FIRST_EAST_FLARE + FLARES_PER_SIDE

Definition at line 160 of file madra_catacombs.c.

MADRA_CATACOMBS_BOOKSHELF_ACTOR_ID

enum MADRA_CATACOMBS_BOOKSHELF_ACTOR_ID

The bookshelf on the broken building's upper floor, and the chest on top of it that Tremor shakes off; the room below places the fallen chest.

EnumeratorValueDescription
ACTOR_BOOKSHELFACTOR_FIRST_PLACED
ACTOR_SHELF_CHESTFIELD_TREASURE_ACTOR
ACTOR_FALLEN_CHEST

Definition at line 171 of file madra_catacombs.c.

Functions in detail

scMadraCatacombsSetUpVillage

void scMadraCatacombsSetUpVillage(void)

Sets up the deserted village: its rope, the pillars Move has placed, the frozen puddle, the opened golden door and, once Briggs is caught, the Champa tunnel's way in blocked off.

References fdActorDisableById(), fdActorGetById(), fdActorPlaceBlocks(), fdActorSetSpritePriority(), fdFlagBlockPlaceAll(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdRopeInit(), fdScriptClearFlag(), fdScriptGetFlag(), MadraCatacombsPuddles, MadraCatacombsPushedPillar, MadraCatacombsVinePillar, MainRoutineStateWork, scFieldActorSetPosAndResetMotion(), scFieldRopePlace(), scMadraCatacombsLeaveBlockedVillage(), scPillarRaise() and sySynch().

Referenced by scInit().

Definition at lines 196 and 763 of file madra_catacombs.c.

scMadraCatacombsSetUpChampaTunnel

void scMadraCatacombsSetUpChampaTunnel(void)

Sets up the Champa tunnel: its rope and, once Briggs is caught, the way on to the village blocked off and the man who marvels at the cave gone.

References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdRopeInit(), fdScriptGetFlag(), MainRoutineStateWork, scFieldRopePlace(), scMadraCatacombsLeaveBlockedTunnel() and sySynch().

Referenced by scInit().

Definition at lines 197 and 808 of file madra_catacombs.c.

scMadraCatacombsSetUpBookshelfRoom

void scMadraCatacombsSetUpBookshelfRoom(void)

Sets up the broken building's upper floor: the red chest stands on top of the bookshelf until Tremor has shaken it down.

References fdActorGetById(), fdScriptGetFlag() and scMadraCatacombsRockChestWithBookshelf().

Referenced by scInit().

Definition at lines 198 and 838 of file madra_catacombs.c.

scMadraCatacombsSetUpTabletRoom

void scMadraCatacombsSetUpTabletRoom(void)

Sets up the hall before Moloch's tablet: the red double door's two halves stand closed; once the Ruin Key has opened it they stand 12 pixels apart (already so when the party comes back from a battle) and the braziers burn.

References fdActorGetById(), fdScriptGetFlag() and scMadraCatacombsLightFlames().

Referenced by scInit().

Definition at lines 199 and 861 of file madra_catacombs.c.

scMadraCatacombsRockChestWithBookshelf

void scMadraCatacombsRockChestWithBookshelf(void)

The red chest on the bookshelf tilts as the bookshelf rocks, and each time the bookshelf comes upright again the chest hops two pixels west with a scrape.

References fdActorGetById(), fdScriptClearFlag(), fdScriptGetFlag(), fdScriptPlaySound() and fdScriptSetFlag().

Referenced by scMadraCatacombsSetUpBookshelfRoom().

Definition at lines 206 and 584 of file madra_catacombs.c.

scMadraCatacombsLeaveBlockedVillage

void scMadraCatacombsLeaveBlockedVillage(void)

DEFINE_LEAVE_BLOCKED_WAY( scMadraCatacombsLeaveBlockedVillage, MADRA_CATACOMBS_VILLAGE_MADRA_CATACOMBS_CHAMPA_TUNNEL_WEST)

Arriving in the village from the Champa tunnel's west end once that way is blocked off: Felix vanishes and the screen fades back to the tunnel.

Referenced by scMadraCatacombsSetUpVillage().

Definition at lines 210 and 731 of file madra_catacombs.c.

scMadraCatacombsSetUpMainHall

void scMadraCatacombsSetUpMainHall(void)

Sets up the broken building's ground floor, below the bookshelf: the chest with the Ruin Key is there only once Tremor has shaken it down.

References fdScriptGetFlag().

Referenced by scInit().

Definition at lines 222 and 830 of file madra_catacombs.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References MadraCatacombsBookshelfEntrances, MadraCatacombsMainHallEntrances, MainRoutineStateWork and SceneEntrances.

Definition at line 224 of file madra_catacombs.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

References MadraCatacombsLadderRoomRegions and MainRoutineStateWork.

Definition at line 233 of file madra_catacombs.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 242 of file madra_catacombs.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References MadraCatacombsBookshelfPlacements, MadraCatacombsChampaTunnelPlacements, MadraCatacombsPlacements, MadraCatacombsTabletPlacements, MadraCatacombsVillagePlacements and MainRoutineStateWork.

Definition at line 247 of file madra_catacombs.c.

scGetCues

const CUE *scGetCues(void)

References MadraCatacombsBookshelfCues, MadraCatacombsChampaTunnelCues, MadraCatacombsCues, MadraCatacombsLaddersCues, MadraCatacombsMainHallCues, MadraCatacombsTabletCues, MadraCatacombsVillageCues and MainRoutineStateWork.

Definition at line 260 of file madra_catacombs.c.

scMadraCatacombsTryLockedDoor

void scMadraCatacombsTryLockedDoor(void)

Examining the red double door at the foot of the hall before Moloch's tablet (metatiles (9, 22) and (10, 22)) before the Ruin Key has opened it: "The door won't budge. ...Must be locked."

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

Referenced by MadraCatacombsTabletCues.

Definition at line 280 of file madra_catacombs.c.

scMadraCatacombsDropPillarIntoHole

void scMadraCatacombsDropPillarIntoHole(void)

Felix Moves the pillar on the village's northern ledge one metatile east, off the edge (onto metatile (40, 13)): it drops into the pit there and fills it, its top level with the ledge, so the party can walk across. It stays there for good. A push that leaves it anywhere else does nothing.

References fdActorDropAndWait(), fdActorGetById(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetFlag(), fdScriptStart() and Sint32.

Referenced by MadraCatacombsVillageCues.

Definition at line 298 of file madra_catacombs.c.

scMadraCatacombsStartMovingPushedPillar

void scMadraCatacombsStartMovingPushedPillar(void)

Nothing visible happens as Move takes hold of the plain stone pillar east of the village's middle; the game frees the ground it stood on, so that it can slide.

References fdActorLiftTargetBlock() and MadraCatacombsPushedPillar.

Referenced by MadraCatacombsVillageCues.

Definition at line 321 of file madra_catacombs.c.

scMadraCatacombsFinishMovingPushedPillar

void scMadraCatacombsFinishMovingPushedPillar(void)

Felix Moves the plain stone pillar east of the village's middle; once it is one metatile east, on metatile (44, 26), it stays there on later visits, a stepping stone to jump across from the upper level.

References fdActorGetById(), fdActorPlaceMovedBlock() and fdScriptSetFlag().

Referenced by MadraCatacombsVillageCues.

Definition at line 329 of file madra_catacombs.c.

scMadraCatacombsFreezePuddle

void scMadraCatacombsFreezePuddle(void)

Felix casts Frost on the puddle just east of the broken building's south doorway: it freezes into a pillar of ice Felix can jump onto, until the party leaves the catacombs.

References fdFlagBlockApplyFlags() and MadraCatacombsPuddles.

Referenced by MadraCatacombsVillageCues.

Definition at line 342 of file madra_catacombs.c.

scMadraCatacombsLightFlames

void scMadraCatacombsLightFlames(void)

The braziers down the hall before Moloch's tablet burn: each flame stands in its place, a marker stands on each, and the doorway can be walked through.

References fdActorPlaceOnActor(), fdActorSetAnimation(), fdMapGridCopyMetatileAttributes(), Sint32 and sySynch().

Referenced by scMadraCatacombsSetUpTabletRoom() and scMadraCatacombsUnlockWithRuinKey().

Definition at lines 347 and 554 of file madra_catacombs.c.

scMadraCatacombsUnlockWithRuinKey

void scMadraCatacombsUnlockWithRuinKey(void)

Felix uses the Ruin Key at the red double door down the stairs (metatiles (9, 22) and (10, 22)): the two halves rumble apart, the camera climbs the hall beyond to Moloch's tablet, and the braziers down both sides flare up in pairs from the door upwards, the two great pairs by the tablet last. The key is used up.

References fdActorGetById(), fdActorSetScript(), fdCameraWaitForArrival(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), fdScriptWait(), gmPartyInventoryRemove(), MadraCatacombsFlameFlaresUp, MadraCatacombsGreatFlameFlaresUp, scMadraCatacombsLightFlames() and sySynch().

Referenced by MadraCatacombsTabletCues.

Definition at line 354 of file madra_catacombs.c.

scMadraCatacombsSettleVinePillar

void scMadraCatacombsSettleVinePillar(ACTOR *actor)

The vine-covered pillar becomes ground to stand on where Move left it; on metatile (35, 17) it stays there on later visits.

References fdScriptSetFlag() and scHeldActorRaiseMetatile().

Referenced by scMadraCatacombsFinishMovingVinePillar() and scMadraCatacombsPushVinePillar().

Definition at lines 412 and 505 of file madra_catacombs.c.

scMadraCatacombsLeaveBlockedTunnel

void scMadraCatacombsLeaveBlockedTunnel(void)

DEFINE_LEAVE_BLOCKED_WAY(scMadraCatacombsLeaveBlockedTunnel, CHAMPA_TUNNEL_UPPER_PATH_END)

Coming up into the far end of the Champa tunnel's upper path (metatile (51, 13)) once that way is blocked off: Felix vanishes and the screen fades back the way he came.

Referenced by scMadraCatacombsSetUpChampaTunnel().

Definition at lines 416 and 735 of file madra_catacombs.c.

scMadraCatacombsRevealButton

void scMadraCatacombsRevealButton(void)

Casting Reveal in the village shows a push button in the wall just east of the golden door on the south side (metatile (36, 38)), pressed in once the door has opened.

References fdMapGridCopyMetatilesTo(), fdScriptGetFlag() and fdScriptSetFlag().

Referenced by MadraCatacombsVillageCues.

Definition at line 421 of file madra_catacombs.c.

scMadraCatacombsHideButton

void scMadraCatacombsHideButton(void)

As Reveal wears off, the push button by the golden door disappears.

References fdMapGridCopyMetatilesTo() and fdScriptClearFlag().

Referenced by MadraCatacombsVillageCues.

Definition at line 431 of file madra_catacombs.c.

scMadraCatacombsHearEyesOfTruth

void scMadraCatacombsHearEyesOfTruth(void)

Examining the wall just east of the golden door on the village's south side (metatile (36, 39)) reads "Look upon me with eyes of truth... Then the door will open..." While Reveal shows the push button there, Felix presses it instead: it rattles in, and the golden door slides open with a thump and stays open.

References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), fdScriptWait(), mnFieldMessageShow(), Sint32 and sySynch().

Referenced by MadraCatacombsVillageCues.

Definition at line 442 of file madra_catacombs.c.

scMadraCatacombsShakeBookshelf

void scMadraCatacombsShakeBookshelf(void)

Felix casts Tremor on the bookshelf in the bedroom behind the west door of the small hall on the broken building's upper floor: it rocks, and the red chest on top creeps west each time it rights itself. Once the chest is far enough over the edge it falls with a puff of dust, through the floor to the room below, where it waits with the Ruin Key.

References fdActorGetById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart() and sySynch().

Referenced by MadraCatacombsBookshelfCues.

Definition at line 482 of file madra_catacombs.c.

scMadraCatacombsPushVinePillar

void scMadraCatacombsPushVinePillar(void)

Walking east into the vine-covered pillar from metatile (33, 17) while Move holds it pushes it a metatile on.

References fdActorGetById(), fdFindNearbyTalkTarget(), fdLeaderCanPushObjectAhead(), fdLeaderPushObjectAhead(), MadraCatacombsVinePillar, MainRoutineStateWork, scMadraCatacombsSettleVinePillar() and scPillarLowerHeldMetatiles().

Referenced by MadraCatacombsVillageCues.

Definition at line 515 of file madra_catacombs.c.

scMadraCatacombsStartMovingVinePillar

void scMadraCatacombsStartMovingVinePillar(void)

Nothing visible happens as Move takes hold of the vine-covered pillar north of the village's middle; the game lowers the ground it made, so that it can slide.

References MadraCatacombsVinePillar and scPillarLowerHeldMetatiles().

Referenced by MadraCatacombsVillageCues.

Definition at line 532 of file madra_catacombs.c.

scMadraCatacombsOpenDoorAndEnter

void scMadraCatacombsOpenDoorAndEnter( Sint32 srcX, Sint32 srcZ, Sint32 x, Sint32 z, Sint32 width, Sint32 height)

A door opens, its open picture copied over it from (srcX, srcZ), and Felix walks through: a stone door two metatiles wide slides with a thump, a door one metatile wide opens as he steps to its middle.

References fdActorGetById(), fdActorSetMoveTarget(), fdActorSetScript(), fdMapGridCopyMetatilesTo(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), LeaderWalkThroughDoorScript, MainRoutineStateWork, scFieldActorWaitForMove(), Sint32, syImportScriptSetExitRequest() and sySynch().

Referenced by scMadraCatacombsOpenBookshelfRoomEastDoor(), scMadraCatacombsOpenBookshelfRoomWestDoor(), scMadraCatacombsOpenStoneDoor() and scMadraCatacombsOpenTabletRoomDoor().

Definition at lines 537 and 641 of file madra_catacombs.c.

scMadraCatacombsFinishMovingVinePillar

void scMadraCatacombsFinishMovingVinePillar(void)

Felix Moves the vine-covered pillar north of the village's middle; where it comes to rest becomes ground to stand on, so he can climb its vines to the upper level, and one metatile east, on metatile (35, 17), it stays on later visits.

References scMadraCatacombsSettleVinePillar().

Referenced by MadraCatacombsVillageCues.

Definition at line 544 of file madra_catacombs.c.

scMadraCatacombsEnterDoor

void scMadraCatacombsEnterDoor(void)

Felix walks north into one of the dark doorways of the village's broken building, or the opening on its east side: he steps to its middle, walks in growing smaller, and the screen closes to the room beyond. The doorway at metatile (17, 20) leads to the small hall of the upper floor, the one at (18, 22) is the main entrance into the ground floor's hall, the one at (21, 17) opens into the east room with the stairs down to the red double door, and the opening at (54, 18) leads into the Champa tunnel.

References fdActorGetById(), fdActorSetAnimation(), fdActorSetMoveTarget(), fdActorSetScript(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), LeaderWalkThroughDoorScript, MainRoutineStateWork, scFieldActorWaitForMove(), Sint32, syImportScriptSetExitRequest() and sySynch().

Referenced by MadraCatacombsVillageCues.

Definition at line 609 of file madra_catacombs.c.

scMadraCatacombsOpenStoneDoor

void scMadraCatacombsOpenStoneDoor(void)

Felix walks north up the purple carpet of the broken building's main hall into the golden stone door at its end (metatiles (14, 33) and (15, 33)): it slides open and he goes through to the room beyond, where the chest from the bookshelf falls.

References scMadraCatacombsOpenDoorAndEnter().

Referenced by MadraCatacombsMainHallCues.

Definition at line 682 of file madra_catacombs.c.

scMadraCatacombsOpenBookshelfRoomWestDoor

void scMadraCatacombsOpenBookshelfRoomWestDoor(void)

Felix walks into the west door of the small hall on the broken building's upper floor (metatile (45, 5)): it opens and he goes through to the bedroom with the bookshelf.

References scMadraCatacombsOpenDoorAndEnter().

Referenced by MadraCatacombsBookshelfCues.

Definition at line 690 of file madra_catacombs.c.

scMadraCatacombsOpenBookshelfRoomEastDoor

void scMadraCatacombsOpenBookshelfRoomEastDoor(void)

Felix walks into the east door of the small hall on the broken building's upper floor (metatile (54, 5)): it opens and he goes through to the bedroom with the broken floor.

References scMadraCatacombsOpenDoorAndEnter().

Referenced by MadraCatacombsBookshelfCues.

Definition at line 698 of file madra_catacombs.c.

scMadraCatacombsOpenTabletRoomDoor

void scMadraCatacombsOpenTabletRoomDoor(void)

Felix walks into the door in the north-west corner of the small room over the drop (metatile (28, 33)): it opens and he goes through to the narrow passage with a red chest.

References scMadraCatacombsOpenDoorAndEnter().

Referenced by MadraCatacombsTabletCues.

Definition at line 706 of file madra_catacombs.c.

scInit

Sint32 scInit(void)

References MainRoutineStateWork, scMadraCatacombsSetUpBookshelfRoom(), scMadraCatacombsSetUpChampaTunnel(), scMadraCatacombsSetUpMainHall(), scMadraCatacombsSetUpTabletRoom(), scMadraCatacombsSetUpVillage() and Sint32.

Definition at line 738 of file madra_catacombs.c.

scPrepareMap

Sint32 scPrepareMap(void)

References Sint32.

Definition at line 755 of file madra_catacombs.c.

Variables in detail

MadraCatacombsMainHallEntrances

extern SCENE_ENTRANCE MadraCatacombsMainHallEntrances[]

SCENE_ENTRANCE MadraCatacombsMainHallEntrances[]

Through the golden stone door, the party comes out facing north at the south end of the room of the great chair, the camera kept within that room.

Referenced by scGetEntrances().

Definition at lines 181 and 949 of file madra_catacombs.c.

MadraCatacombsBookshelfEntrances

extern SCENE_ENTRANCE MadraCatacombsBookshelfEntrances[]

SCENE_ENTRANCE MadraCatacombsBookshelfEntrances[]

The ways into the small hall of the broken building's upper floor, the camera kept within the hall: back out of the west and east bedrooms through their doors, up from the main hall, and in from the village.

Referenced by scGetEntrances().

Definition at lines 182 and 958 of file madra_catacombs.c.

MadraCatacombsLadderRoomRegions

extern SCENE_REGION MadraCatacombsLadderRoomRegions[]

SCENE_REGION MadraCatacombsLadderRoomRegions[]

Climbing either ladder up out of the ladder room takes the party up into Madra.

Referenced by scGetExitRegions().

Definition at lines 183 and 969 of file madra_catacombs.c.

MadraCatacombsPlacements

extern ACTOR_PLACE MadraCatacombsPlacements[]

ACTOR_PLACE MadraCatacombsPlacements[]

The actors placed in the catacombs' rooms with no table of their own.

Referenced by scGetActorPlacements().

Definition at lines 184 and 1088 of file madra_catacombs.c.

MadraCatacombsVillagePlacements

extern ACTOR_PLACE MadraCatacombsVillagePlacements[]

ACTOR_PLACE MadraCatacombsVillagePlacements[]

The deserted village's actors (MADRA_CATACOMBS_VILLAGE_ACTOR_ID).

Referenced by scGetActorPlacements().

Definition at lines 185 and 1093 of file madra_catacombs.c.

MadraCatacombsChampaTunnelPlacements

extern ACTOR_PLACE MadraCatacombsChampaTunnelPlacements[]

ACTOR_PLACE MadraCatacombsChampaTunnelPlacements[]

The Champa tunnel's actors (MADRA_CATACOMBS_TUNNEL_ACTOR_ID).

Referenced by scGetActorPlacements().

Definition at lines 186 and 1110 of file madra_catacombs.c.

MadraCatacombsBookshelfPlacements

extern ACTOR_PLACE MadraCatacombsBookshelfPlacements[]

ACTOR_PLACE MadraCatacombsBookshelfPlacements[]

The bookshelf Tremor rocks; the chest on top of it is the map's first treasure spot (ACTOR_SHELF_CHEST).

Referenced by scGetActorPlacements().

Definition at lines 187 and 1122 of file madra_catacombs.c.

MadraCatacombsTabletPlacements

extern ACTOR_PLACE MadraCatacombsTabletPlacements[]

ACTOR_PLACE MadraCatacombsTabletPlacements[]

The tablet hall's actors (MADRA_CATACOMBS_TABLET_ROOM_ACTOR_ID): the flames and their markers stand nowhere until the braziers are lit.

Referenced by scGetActorPlacements().

Definition at lines 188 and 1130 of file madra_catacombs.c.

MadraCatacombsVillageCues

extern CUE MadraCatacombsVillageCues[]

CUE MadraCatacombsVillageCues[]

The cues of the deserted village.

References scMadraCatacombsDropPillarIntoHole(), scMadraCatacombsEnterDoor(), scMadraCatacombsFinishMovingPushedPillar(), scMadraCatacombsFinishMovingVinePillar(), scMadraCatacombsFreezePuddle(), scMadraCatacombsHearEyesOfTruth(), scMadraCatacombsHideButton(), scMadraCatacombsPushVinePillar(), scMadraCatacombsRevealButton(), scMadraCatacombsStartMovingPushedPillar() and scMadraCatacombsStartMovingVinePillar().

Referenced by scGetCues().

Definition at lines 189 and 1184 of file madra_catacombs.c.

MadraCatacombsLaddersCues

extern CUE MadraCatacombsLaddersCues[]

CUE MadraCatacombsLaddersCues[]

The cues of the ladder room.

Referenced by scGetCues().

Definition at lines 190 and 1240 of file madra_catacombs.c.

MadraCatacombsChampaTunnelCues

extern CUE MadraCatacombsChampaTunnelCues[]

CUE MadraCatacombsChampaTunnelCues[]

The cues of the Champa tunnel.

Referenced by scGetCues().

Definition at lines 191 and 1252 of file madra_catacombs.c.

MadraCatacombsMainHallCues

extern CUE MadraCatacombsMainHallCues[]

CUE MadraCatacombsMainHallCues[]

The cues of the main hall.

References scMadraCatacombsOpenStoneDoor().

Referenced by scGetCues().

Definition at lines 192 and 1290 of file madra_catacombs.c.

MadraCatacombsBookshelfCues

extern CUE MadraCatacombsBookshelfCues[]

CUE MadraCatacombsBookshelfCues[]

The cues of the bookshelf room.

References scMadraCatacombsOpenBookshelfRoomEastDoor(), scMadraCatacombsOpenBookshelfRoomWestDoor() and scMadraCatacombsShakeBookshelf().

Referenced by scGetCues().

Definition at lines 193 and 1334 of file madra_catacombs.c.

MadraCatacombsTabletCues

extern CUE MadraCatacombsTabletCues[]

CUE MadraCatacombsTabletCues[]

The cues of the tablet room.

References scMadraCatacombsOpenTabletRoomDoor(), scMadraCatacombsTryLockedDoor() and scMadraCatacombsUnlockWithRuinKey().

Referenced by scGetCues().

Definition at lines 194 and 1366 of file madra_catacombs.c.

MadraCatacombsPushedPillar

extern Sint16 MadraCatacombsPushedPillar[]

Sint16 MadraCatacombsPushedPillar[]

The plain stone pillar Move pushes.

Referenced by scMadraCatacombsSetUpVillage() and scMadraCatacombsStartMovingPushedPillar().

Definition at lines 200 and 931 of file madra_catacombs.c.

MadraCatacombsPuddles

extern Sint16 MadraCatacombsPuddles[]

Sint16 MadraCatacombsPuddles[]

The puddle Frost freezes into a pillar, with its flag.

Referenced by scMadraCatacombsFreezePuddle() and scMadraCatacombsSetUpVillage().

Definition at lines 201 and 936 of file madra_catacombs.c.

MadraCatacombsFlameFlaresUp

extern Sint32 MadraCatacombsFlameFlaresUp[]

Sint32 MadraCatacombsFlameFlaresUp[]

A brazier's flame's actor script as it flares up.

References Sint32.

Referenced by scMadraCatacombsUnlockWithRuinKey().

Definition at lines 202 and 887 of file madra_catacombs.c.

MadraCatacombsGreatFlameFlaresUp

extern Sint32 MadraCatacombsGreatFlameFlaresUp[]

Sint32 MadraCatacombsGreatFlameFlaresUp[]

The actor script of the great braziers by Moloch's tablet as they flare up.

References Sint32.

Referenced by scMadraCatacombsUnlockWithRuinKey().

Definition at lines 203 and 906 of file madra_catacombs.c.

MadraCatacombsVinePillar

extern Sint16 MadraCatacombsVinePillar[]

Sint16 MadraCatacombsVinePillar[]

The vine-covered pillar Move pushes.

Referenced by scMadraCatacombsPushVinePillar(), scMadraCatacombsSetUpVillage() and scMadraCatacombsStartMovingVinePillar().

Definition at lines 204 and 941 of file madra_catacombs.c.

MadraCatacombsCues

extern CUE MadraCatacombsCues[]

CUE MadraCatacombsCues[]

The cues of the catacombs' rooms with no table of their own.

Referenced by scGetCues().

Definition at lines 220 and 1179 of file madra_catacombs.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 975 of file madra_catacombs.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_TUNNEL_ROPE_TIEDFLAG_VILLAGE_ROPE_TIEDFLAG_VILLAGE_PUDDLE_FROZENFLAG_BOOKSHELF_LEANINGFLAG_MADRA_CATACOMBS_HOLE_FILLEDFLAG_MADRA_CATACOMBS_TABLET_DOOR_OPENFLAG_MADRA_CATACOMBS_PILLAR_PLACEDFLAG_MADRA_CATACOMBS_VILLAGE_DOOR_OPENFLAG_MADRA_CATACOMBS_CHEST_FELLFLAG_MADRA_CATACOMBS_VINE_PILLAR_PLACEDFLAG_MADRA_CATACOMBS_BUTTON_REVEALEDFLARES_PER_SIDEDEFINE_LEAVE_BLOCKED_WAYEnumerations in detailMADRA_CATACOMBS_VILLAGE_ACTOR_IDMADRA_CATACOMBS_TUNNEL_ACTOR_IDanonymous enumanonymous enumMADRA_CATACOMBS_METATILE_BEHAVIORMADRA_CATACOMBS_TABLET_ROOM_ACTOR_IDMADRA_CATACOMBS_BOOKSHELF_ACTOR_IDFunctions in detailscMadraCatacombsSetUpVillagescMadraCatacombsSetUpChampaTunnelscMadraCatacombsSetUpBookshelfRoomscMadraCatacombsSetUpTabletRoomscMadraCatacombsRockChestWithBookshelfscMadraCatacombsLeaveBlockedVillagescMadraCatacombsSetUpMainHallscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscGetCuesscMadraCatacombsTryLockedDoorscMadraCatacombsDropPillarIntoHolescMadraCatacombsStartMovingPushedPillarscMadraCatacombsFinishMovingPushedPillarscMadraCatacombsFreezePuddlescMadraCatacombsLightFlamesscMadraCatacombsUnlockWithRuinKeyscMadraCatacombsSettleVinePillarscMadraCatacombsLeaveBlockedTunnelscMadraCatacombsRevealButtonscMadraCatacombsHideButtonscMadraCatacombsHearEyesOfTruthscMadraCatacombsShakeBookshelfscMadraCatacombsPushVinePillarscMadraCatacombsStartMovingVinePillarscMadraCatacombsOpenDoorAndEnterscMadraCatacombsFinishMovingVinePillarscMadraCatacombsEnterDoorscMadraCatacombsOpenStoneDoorscMadraCatacombsOpenBookshelfRoomWestDoorscMadraCatacombsOpenBookshelfRoomEastDoorscMadraCatacombsOpenTabletRoomDoorscInitscPrepareMapVariables in detailMadraCatacombsMainHallEntrancesMadraCatacombsBookshelfEntrancesMadraCatacombsLadderRoomRegionsMadraCatacombsPlacementsMadraCatacombsVillagePlacementsMadraCatacombsChampaTunnelPlacementsMadraCatacombsBookshelfPlacementsMadraCatacombsTabletPlacementsMadraCatacombsVillageCuesMadraCatacombsLaddersCuesMadraCatacombsChampaTunnelCuesMadraCatacombsMainHallCuesMadraCatacombsBookshelfCuesMadraCatacombsTabletCuesMadraCatacombsPushedPillarMadraCatacombsPuddlesMadraCatacombsFlameFlaresUpMadraCatacombsGreatFlameFlaresUpMadraCatacombsVinePillarMadraCatacombsCuesSceneExits