Skip to Content
The Alchemy Project

src/scene/colosseum_azart_match.c

Colosseum Final 1 (SceneIdColosseumAzartMatch) is the site of the first finals match, where Isaac races Azart through four stages to the arena and fights him there. More…

Macros

NameDescription
#defineCOLOSSEUM_AZART_MATCH_FACE_DIRECTION fdActorFaceDirectionById
#defineCOLOSSEUM_AZART_MATCH_MOVE_RIDING_LOG
#defineFLAG_COLOSSEUM_AZART_MATCH_FIRST_NUT_CHEST_OPENED FLAG_AREA_TEMP(0x08)The chests along the stages have been opened: a Nut, an Oil Drop and a second Nut, from west to east.
#defineFLAG_COLOSSEUM_AZART_MATCH_OIL_DROP_CHEST_OPENED FLAG_AREA_TEMP(0x09)
#defineFLAG_COLOSSEUM_AZART_MATCH_SECOND_NUT_CHEST_OPENED FLAG_AREA_TEMP(0x0a)
#defineBRIDGE_CYCLE_TICKS 120The Broken Bridge's cycle, in ticks counted down from BRIDGE_CYCLE_TICKS: the bridge starts to swing down at BRIDGE_SWINGS_DOWN_TICK, lies down, walkable, from BRIDGE_DOWN_TICK, starts to swing up at BRIDGE_SWINGS_UP_TICK and stands up again at 0.
#defineBRIDGE_SWINGS_DOWN_TICK 66
#defineBRIDGE_DOWN_TICK 60
#defineBRIDGE_DEMONSTRATION_TICK 22
#defineBRIDGE_SWINGS_UP_TICK 6
#defineLOG_NORTH_ROW 8The Lumber Water Crossing Area's logs float on fixed lines.
#defineLOG_SOUTH_ROW 11
#defineLOG_NORTH_SOUTH_FLOAT 48
#defineLOG_EAST_WEST_FLOAT 160
#defineLOG_EAST_WEST_SHORT_FLOAT 96
#defineCOLOSSO_BETTER_PRIZE ITEM_IRON_SHIELDThe arena at the east end, where Isaac and Azart meet: the Iron Shield and the Padded Gloves are the prizes, and the two stand in line along z 192, Azart to the east.
#defineCOLOSSO_OTHER_PRIZE ITEM_PADDED_GLOVES
#defineCOLOSSO_ARENA_X 1304
#defineCOLOSSO_ARENA_Z 192
#defineCOLOSSO_OPPONENT_SIDE 1
#defineCOLOSSO_SCENE SCENE_COLOSSEUM_AZART_MATCH
#defineCOLOSSO_AFTER_MATCH_WON COLOSSEUM_AZART_MATCH_AFTER_MATCH_WON
#defineCOLOSSO_AFTER_MATCH_LOST COLOSSEUM_AZART_MATCH_AFTER_MATCH_LOST

Enumerations

NameDescription
enumanonymous enum { FINALS_MATCH }The match held here, as the lettering The 1st Match reads; the friends' turns open with Lend a Hand! instead (scColossoShowOpeningLettering).
enumCOLOSSEUM_AZART_MATCH_STAGE { STAGE_ROCK_CHALLENGE, STAGE_PIPEWORKS, STAGE_BROKEN_BRIDGE, … }The stages, as their attendants number them: "This is stage 1 of the first finals".
enumanonymous enum { ACTOR_OPPONENT, ACTOR_ROCK_A, ACTOR_ROCK_B, ACTOR_ROCK_C, AC … }The first finals match's actors, numbering its actor placements from ACTOR_FIRST_PLACED, named by the guide's and attendants' explanations.
enumanonymous enum { FLAG_PIPES_MOVED, FLAG_PIPEWORKS_PIPE_PUSHED, FLAG_PLANT_GRO … }The temporary flags that keep what the friends changed on the stages for the race; scInit restores the stages from them.
enumCOLOSSEUM_AZART_MATCH_METATILE_BEHAVIOR { METATILE_BEHAVIOR_ROCK_CHALLENGE_FLOOR, METATILE_BEHAVIOR_RO … }Metatile behaviors the stages' cues answer.
enumCOLOSSEUM_AZART_MATCH_SPARE_METATILE { HOP_SQUARE_COLUMN, HOP_SQUARE_ROW, LOW_GROUND_COLUMN, LOW_GR … }Metatiles kept off the course whose attributes (behavior and height) the stages' changes copy.
enumCOLOSSEUM_AZART_MATCH_PICTURE_METATILE { BRIDGE_PICTURE_COLUMN, BRIDGE_UP_PICTURE_ROW, BRIDGE_SWINGIN … }Pictures kept on layer 1 (map rows 28 and down) at columns 92 to 100: the Broken Bridge's spans standing up, swinging and lying down, two metatiles square, drawn at the spans' places (50, 38) and (54, 38); and the five steps of water pouring into the Pipeworks' channel, one metatile by three each, drawn at (34, 38).
enumBRIDGE_OPERATOR_ANIMATION { BRIDGE_OPERATOR_ANIMATION_SWINGING, BRIDGE_OPERATOR_ANIMATIO … }The Broken Bridge's operator's poses as the bridge swings (young_man_with_fair_hair.tsv).
enumPIPE_ANIMATION { PIPE_ANIMATION_STILL, PIPE_ANIMATION_ROLLING }SPRITE_PIPE_NORTH_SOUTH's animations, as the Pipeworks' loose pipe is pushed (pipe_north_south.tsv).
enumPAN_ANIMATION { PAN_ANIMATION_EMPTY, PAN_ANIMATION_FULL }SPRITE_WHITE_PLATFORM's animations for the Pipeworks' pans (white_platform.tsv).

Functions

NameDescription
Sint32scInit (void)Sets up Colosseum Final 1 for the visit its entrance stands for.
static voidscColosseumAzartMatchExplainFinalsRules (Sint32 guide)The guide gives the party the tour of Colosseum Final 1 (COLOSSEUM_AZART_MATCH_FROM_COLOSSEUM).
static voidscColossoShowOpeningLettering (Sint32 match)Shows the lettering a visit opens with: Lend a Hand! when match is LETTERING_LEND_A_HAND, or else The 1st Match to The 3rd Match, held for match seconds, and the count of 3, 2, 1 and GO, after which the race music starts.
static voidscColossoShowMatchResult (Sint32 result)Shows how a match ended, back in the arena after its battle: WIN, or LOSE in blue, swells over the arena with its jingle, the loser shows an ellipsis, and the screen closes. result is the match's number, 1 to 3, negated when Isaac lost it; the lettering stands a second for each.
static voidscColossoNoOperation (void)Does nothing; the arena's step script calls it first.
static voidscColossoWaitForOpponentToFinish (void)Waits until the opponent has run his recorded path to its end.
static Sint32scColossoTakePrize (Sint32 firstItem, Sint32 secondItem)Isaac reaches the finish: he walks up to the first prize, or the second when the opponent is there before him, holds it up, is given and equipped with it, and MsgGotItem names him and the item he got.
static voidscColossoPushActorAhead (void)The leader pushes the actor standing in the next metatile ahead one metatile on (a rock, a weight or a stone pillar on the stages), when nothing solid stands beyond it or on top of it and the ground lets it move, with the pushing pose and SE_PUSH_STEP.
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 voidscColosseumAzartMatchUpdateBrokenBridge (void)Each tick the Broken Bridge, the third stage, goes on through its cycle, its operator working it: it swings down and lies across the gap, then swings up again and leaves the gap open.
static voidscColosseumAzartMatchResetBrokenBridge (void)Stops the Broken Bridge and stands it up, for the attendant's demonstration.
static voidscColosseumAzartMatchStartBrokenBridge (void)Sets the Broken Bridge swinging again, from the start of its swing down.
static voidscColosseumAzartMatchWaitForBridgeOpening (void)Waits, for at most one cycle of the Broken Bridge, until it lies down far enough into its time for the demonstration to walk Isaac across.
static inline voidscColosseumAzartMatchStampHopSquare (ACTOR *pillar)Gives the metatile a stone pillar stands on the square to hop to, so its top is a step.
static voidscColosseumAzartMatchUpdateRockMetatiles (void)Move on one of the stone pillars in the Rock Challenge, the first stage, slides it a metatile, which can clear the way or give the racers a step.
static voidscColosseumAzartMatchPushRock (void)Walking into a stone pillar in the Rock Challenge pushes it a metatile, with Isaac leaning on it, if nothing is in the way.
static voidscColosseumAzartMatchGrowPlant (void)Growth on the sprout before the Broken Bridge, the third stage, grows it into a vine up the wall beside the bridge's scaffold (metatile (47, 12)), a shortcut up to the bridge.
static voidscColosseumAzartMatchDousePipe (void)Douse on the white pan under the Pipeworks' west pipe, the second stage, fills it with water.
static voidscColosseumAzartMatchMoveRidingLog (Sint32 logId, Sint32 offsetX, Sint32 offsetZ)Rolls one of the Lumber Water Crossing Area's logs across the water by the offset, in pixels, with Isaac on top walking backwards as it turns under him, and stops both in the middle of their metatiles.
static voidscColosseumAzartMatchRollLogNorthSouth (void)Walking north or south on the Lumber Water Crossing Area's north-south log rolls it three metatiles across the pool with Isaac on top, to the other end of its line.
static voidscColosseumAzartMatchRollLogEastWest (void)Walking east or west on the east-west log rolls it across the pool with Isaac on top, the way the pad is held: to the far bank, or only as far as the north-south log where that one bars the way at LOG_SOUTH_ROW.
static inline voidscColosseumAzartMatchAnimatePipeworksWater (void)Water pours down into the Pipeworks' channel, in five pictures three ticks apart.
static voidscColosseumAzartMatchPushPipeworksPipe (void)Walking west into the loose length of pipe in the Pipeworks pushes it three metatiles west, under the spout, and the camera follows it.
static voidscColosseumAzartMatchSetCourseFlag (void)Unused: sets FLAG_AREA_TEMP(0x00).
static voidscColosseumAzartMatchPushRockOrHopAcross (void)Walking on from the east edge of the Rock Challenge's raised square (metatile (22, 12)) pushes the stone pillar ahead if there is one.
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 voidscColosseumAzartMatchSetLayerOnVineMetatile (Sint32 actorId)A friend whose cheering spot is the vine's metatile before the Broken Bridge, half metatiles (94..95, 24..26), is put on layer 1 for the race, the layer the plant itself stands on.
static voidscColosseumAzartMatchTalkToRockAttendant (Sint32 attendant)The Rock Challenge's attendant explains stage 1 of Colosseum Final 1.
static inline voidscColosseumAzartMatchSetPipeHeight (ACTOR *actor, FIXED height)Sets one of the Pipeworks' pans moving to a height, at the pace the scales always move.
static voidscColosseumAzartMatchTalkToPipeworksAttendant (Sint32 attendant)The Pipeworks' attendant explains stage 2 of Colosseum Final 1.
static voidscColosseumAzartMatchTalkToBridgeAttendant (Sint32 attendant)The Broken Bridge's attendant explains stage 3 of Colosseum Final 1.
static voidscColosseumAzartMatchTalkToLumberAttendant (Sint32 attendant)The Lumber Water Crossing Area's attendant explains stage 4 of Colosseum Final 1.

Variables

NameDescription
extern SCENE_ENTRANCEColosseumAzartMatchEntrances []
extern Uint32ColosseumAzartMatchExits []
extern ACTOR_PLACEColosseumAzartMatchActorPlacements []
extern Uint32ColosseumAzartMatchBridgeTimerThe ticks left in the Broken Bridge's cycle (BRIDGE_CYCLE_TICKS).
extern CUEColosseumAzartMatchCues []
extern charHexDigits [20]
Sint16ColossoLetteringSlotThe VRAM cache entry holding the lettering's tiles, -1 when none is loaded.
Sint16ColossoPointerSlotThe VRAM cache entry holding the marker's tiles, -1 when none is loaded.

Description

Colosseum Final 1 (SceneIdColosseumAzartMatch) is the site of the first finals match, where Isaac races Azart through four stages to the arena and fights him there.

Azart is the second-best of the warriors who cleared the trials. Babi has put Isaac in the finals himself, and only Isaac may race. Garet, Ivan and Mia help from the stages.

The stages, by their attendants' names, are the Rock Challenge, the Pipeworks, the Broken Bridge and the Lumber Water Crossing Area.

Isaac comes here three times, each time at its own entrance. scInit blocks Retreat and restores the stages from their temporary flags (FLAG_PIPES_MOVED, FLAG_PIPEWORKS_PIPE_PUSHED, FLAG_PLANT_GROWN and the rock's column in FLAG_SECOND_ROCK_COLUMN), so that what the friends changed stays changed for the race. Then it sets up the visit that entrance stands for.

  • COLOSSEUM_AZART_MATCH_FROM_COLOSSEUM, the tour, from the Colosseum's east passage. The guide (scColosseumAzartMatchExplainFinalsRules) tells the party that warriors enter without their own equipment and race through the stages to the arena. There the first to arrive takes the better of two prizes and keeps it for the next match. He pans over the stages if asked. Each stage's attendant names it, the first time with a demonstration. Isaac appears on the stage to show how it is crossed, or, at the Pipeworks, a pointer shows how the pipes work. The attendant then offers a place to cheer there. The friend Isaac picks walks to the stage and leaves the party (scColossoOfferCheeringSpot). When all three are placed, the guide sends Isaac on to the Colosseum's waiting room (COLOSSEUM_AZART_MATCH_TO_COLOSSEUM_WEST).
  • COLOSSEUM_AZART_MATCH_FROM_COLOSSEUM_WEST, after the warriors have marched out. The lettering reads Lend a Hand, and Garet, Ivan and Mia in turn are the party alone, starting where they chose to cheer. Each may use Psynergy on the stages for Isaac. Douse on the Pipeworks' west pipe fills it, Growth grows the plant before the Broken Bridge, and Move shifts the Rock Challenge's rocks. A friend's turn ends when they use Psynergy (scColossoTakePlaceForMatch) or tell a stage's attendant they are done (scColossoAskDoneCheering), and where they stand is kept as their place. After Mia, COLOSSEUM_AZART_MATCH_LEND_A_HAND_TO_RACE starts the race.
  • COLOSSEUM_AZART_MATCH_RACE_FROM_LEND_A_HAND, the race. After the lettering The 1st Match and a count of three, Isaac runs alone against Azart, who follows a recorded path (scColossoStartOpponent). A gauge at the top of the screen shows how near each is to the finish (scColossoStartRaceGauge). Azart runs east of the finish, which is 1,304 pixels across, where the prizes stand. His path is the mirror of one through Isaac's own stages, so he is seen only as he comes into the arena. At the arena (scColossoReachArena) the first to arrive takes the Iron Shield and the second the Padded Gloves, which Isaac is given and equipped with. Then the two fight. The battle is ENCOUNTER_ZONE_COLOSSO's first or second group, the Azart who has the shield or the one who has not.

A win returns to COLOSSEUM_AZART_MATCH_AFTER_MATCH_WON, which shows the result and sends Isaac back to the Colosseum (COLOSSEUM_AZART_MATCH_TO_COLOSSEUM_EAST, to COLOSSEUM_FROM_COLOSSEUM_AZART_MATCH_EAST).

A loss returns to COLOSSEUM_AZART_MATCH_AFTER_MATCH_LOST, and COLOSSEUM_AZART_MATCH_TO_BABI_PALACE wakes the party in Babi's Palace, where Isaac's friends tell him he was only dreaming of the finals.

Macros in detail

COLOSSEUM_AZART_MATCH_FACE_DIRECTION

#define COLOSSEUM_AZART_MATCH_FACE_DIRECTION fdActorFaceDirectionById

#define COLOSSEUM_AZART_MATCH_FACE_DIRECTION

Referenced by scColosseumAzartMatchTalkToBridgeAttendant().

Definition at lines 109 and 113 of file colosseum_azart_match.c.

COLOSSEUM_AZART_MATCH_MOVE_RIDING_LOG

#define COLOSSEUM_AZART_MATCH_MOVE_RIDING_LOG

Referenced by scColosseumAzartMatchTalkToLumberAttendant().

Definition at lines 110 and 115 of file colosseum_azart_match.c.

FLAG_COLOSSEUM_AZART_MATCH_FIRST_NUT_CHEST_OPENED

#define FLAG_COLOSSEUM_AZART_MATCH_FIRST_NUT_CHEST_OPENED FLAG_AREA_TEMP(0x08)

The chests along the stages have been opened: a Nut, an Oil Drop and a second Nut, from west to east.

Referenced by ColosseumAzartMatchCues.

Definition at line 187 of file colosseum_azart_match.c.

FLAG_COLOSSEUM_AZART_MATCH_OIL_DROP_CHEST_OPENED

#define FLAG_COLOSSEUM_AZART_MATCH_OIL_DROP_CHEST_OPENED FLAG_AREA_TEMP(0x09)

Referenced by ColosseumAzartMatchCues.

Definition at line 188 of file colosseum_azart_match.c.

FLAG_COLOSSEUM_AZART_MATCH_SECOND_NUT_CHEST_OPENED

#define FLAG_COLOSSEUM_AZART_MATCH_SECOND_NUT_CHEST_OPENED FLAG_AREA_TEMP(0x0a)

Referenced by ColosseumAzartMatchCues.

Definition at line 189 of file colosseum_azart_match.c.

BRIDGE_CYCLE_TICKS

#define BRIDGE_CYCLE_TICKS 120

The Broken Bridge's cycle, in ticks counted down from BRIDGE_CYCLE_TICKS: the bridge starts to swing down at BRIDGE_SWINGS_DOWN_TICK, lies down, walkable, from BRIDGE_DOWN_TICK, starts to swing up at BRIDGE_SWINGS_UP_TICK and stands up again at 0. The attendant's demonstration sets Isaac walking across at BRIDGE_DEMONSTRATION_TICK.

Referenced by scColosseumAzartMatchUpdateBrokenBridge() and scColosseumAzartMatchWaitForBridgeOpening().

Definition at line 281 of file colosseum_azart_match.c.

BRIDGE_SWINGS_DOWN_TICK

#define BRIDGE_SWINGS_DOWN_TICK 66

Referenced by scColosseumAzartMatchStartBrokenBridge() and scColosseumAzartMatchUpdateBrokenBridge().

Definition at line 282 of file colosseum_azart_match.c.

BRIDGE_DOWN_TICK

#define BRIDGE_DOWN_TICK 60

Referenced by scColosseumAzartMatchUpdateBrokenBridge().

Definition at line 283 of file colosseum_azart_match.c.

BRIDGE_DEMONSTRATION_TICK

#define BRIDGE_DEMONSTRATION_TICK 22

Referenced by scColosseumAzartMatchWaitForBridgeOpening().

Definition at line 284 of file colosseum_azart_match.c.

BRIDGE_SWINGS_UP_TICK

#define BRIDGE_SWINGS_UP_TICK 6

Referenced by scColosseumAzartMatchUpdateBrokenBridge().

Definition at line 285 of file colosseum_azart_match.c.

LOG_NORTH_ROW

#define LOG_NORTH_ROW 8

The Lumber Water Crossing Area's logs float on fixed lines. The north-south log lies across columns 64 to 66 and floats three metatiles between row 8 and LOG_SOUTH_ROW, where it bars the way of the east-west log; that one lies across rows 9 to 11 and floats ten metatiles from the west bank's column 63 to the east bank, or six from column 67, where the other log stops it.

Referenced by scColosseumAzartMatchRollLogNorthSouth().

Definition at line 292 of file colosseum_azart_match.c.

LOG_SOUTH_ROW

#define LOG_SOUTH_ROW 11

Referenced by scColosseumAzartMatchRollLogEastWest().

Definition at line 293 of file colosseum_azart_match.c.

LOG_NORTH_SOUTH_FLOAT

#define LOG_NORTH_SOUTH_FLOAT 48

Referenced by scColosseumAzartMatchRollLogNorthSouth().

Definition at line 294 of file colosseum_azart_match.c.

LOG_EAST_WEST_FLOAT

#define LOG_EAST_WEST_FLOAT 160

Referenced by scColosseumAzartMatchRollLogEastWest() and scColosseumAzartMatchTalkToLumberAttendant().

Definition at line 295 of file colosseum_azart_match.c.

LOG_EAST_WEST_SHORT_FLOAT

#define LOG_EAST_WEST_SHORT_FLOAT 96

Referenced by scColosseumAzartMatchRollLogEastWest().

Definition at line 296 of file colosseum_azart_match.c.

COLOSSO_BETTER_PRIZE

#define COLOSSO_BETTER_PRIZE ITEM_IRON_SHIELD

The arena at the east end, where Isaac and Azart meet: the Iron Shield and the Padded Gloves are the prizes, and the two stand in line along z 192, Azart to the east.

Referenced by scColossoReachArena().

Definition at line 766 of file colosseum_azart_match.c.

COLOSSO_OTHER_PRIZE

#define COLOSSO_OTHER_PRIZE ITEM_PADDED_GLOVES

Referenced by scColossoReachArena().

Definition at line 767 of file colosseum_azart_match.c.

COLOSSO_ARENA_X

#define COLOSSO_ARENA_X 1304

Referenced by scColossoReachArena(), scColossoRestoreMatchResult() and scInit().

Definition at line 768 of file colosseum_azart_match.c.

COLOSSO_ARENA_Z

#define COLOSSO_ARENA_Z 192

Referenced by scColossoReachArena(), scColossoRestoreMatchResult() and scInit().

Definition at line 769 of file colosseum_azart_match.c.

COLOSSO_OPPONENT_SIDE

#define COLOSSO_OPPONENT_SIDE 1

Referenced by scColossoReachArena() and scColossoRestoreMatchResult().

Definition at line 770 of file colosseum_azart_match.c.

COLOSSO_SCENE

#define COLOSSO_SCENE SCENE_COLOSSEUM_AZART_MATCH

Referenced by scColossoReachArena().

Definition at line 771 of file colosseum_azart_match.c.

COLOSSO_AFTER_MATCH_WON

#define COLOSSO_AFTER_MATCH_WON COLOSSEUM_AZART_MATCH_AFTER_MATCH_WON

Referenced by scColossoReachArena().

Definition at line 772 of file colosseum_azart_match.c.

COLOSSO_AFTER_MATCH_LOST

#define COLOSSO_AFTER_MATCH_LOST COLOSSEUM_AZART_MATCH_AFTER_MATCH_LOST

Referenced by scColossoReachArena().

Definition at line 773 of file colosseum_azart_match.c.

Enumerations in detail

anonymous enum

enum { FINALS_MATCH }

The match held here, as the lettering The 1st Match reads; the friends' turns open with Lend a Hand! instead (scColossoShowOpeningLettering).

EnumeratorValueDescription
FINALS_MATCH1

Definition at line 80 of file colosseum_azart_match.c.

COLOSSEUM_AZART_MATCH_STAGE

enum COLOSSEUM_AZART_MATCH_STAGE

The stages, as their attendants number them: "This is stage 1 of the first finals".

EnumeratorValueDescription
STAGE_ROCK_CHALLENGE1
STAGE_PIPEWORKS2
STAGE_BROKEN_BRIDGE3
STAGE_LUMBER_WATER_CROSSING4

Definition at line 87 of file colosseum_azart_match.c.

anonymous enum

enum { ACTOR_OPPONENT, ACTOR_ROCK_A, ACTOR_ROCK_B, ACTOR_ROCK_C, … }

The first finals match's actors, numbering its actor placements from ACTOR_FIRST_PLACED, named by the guide's and attendants' explanations.

Four stages lead to the arena where the two warriors fight: the Rock Challenge, the Pipeworks, the Broken Bridge and the Lumber Water Crossing Area.

EnumeratorValueDescription
ACTOR_OPPONENTACTOR_FIRST_PLACEDAzart, racing Isaac to the arena.
ACTOR_ROCK_AThe Rock Challenge's three rocks, stone pillars the party moves to clear a path.
ACTOR_ROCK_B
ACTOR_ROCK_C
ACTOR_PIPEWORKS_PIPEA loose length of pipe, pushed west to let water into the Pipeworks' channel. It is drawn as mercury_lighthouse.c's ACTOR_THIRD_PIPE.
ACTOR_PIPE_WESTThe white pans hanging under the Pipeworks' two
ACTOR_PIPE_EASTwater pipes, which rise and sink against each other as water fills one, like scales.
ACTOR_GROWTH_PLANTThe plant Growth grows into a vine before the Broken Bridge.
ACTOR_BRIDGE_OPERATORA young man with fair hair who works the Broken Bridge.
ACTOR_LOG_NORTH_SOUTHThe Lumber Water Crossing Area's two floating
ACTOR_LOG_EAST_WESTlogs.
ACTOR_GUIDEA soldier who explains the finals.
ACTOR_ROCK_ATTENDANTThe stages' attendants, young men with fair hair in white tunics.
ACTOR_PIPEWORKS_ATTENDANT
ACTOR_BRIDGE_ATTENDANT
ACTOR_LUMBER_ATTENDANT
ACTOR_PRIZE_AThe arena's prizes, drawn as item icons at two blank
ACTOR_PRIZE_Bactors (scColossoShowItemIcon).

Definition at line 133 of file colosseum_azart_match.c.

anonymous enum

enum { FLAG_PIPES_MOVED, FLAG_PIPEWORKS_PIPE_PUSHED, FLAG_PLANT_GROWN, FLAG_SECOND_ROCK_COLUMN }

The temporary flags that keep what the friends changed on the stages for the race; scInit restores the stages from them.

EnumeratorValueDescription
FLAG_PIPES_MOVEDFLAG_AREA_TEMP(0x01)The Pipeworks' pans have tipped, the west one full of water and down.
FLAG_PIPEWORKS_PIPE_PUSHEDFLAG_AREA_TEMP(0x02)The loose length of pipe has been pushed west under the spout.
FLAG_PLANT_GROWNFLAG_AREA_TEMP(0x03)Growth has grown the sprout before the Broken Bridge into a vine.
FLAG_SECOND_ROCK_COLUMNFLAG_AREA_TEMP(0x10)The byte of flags that keeps the Rock Challenge's second rock's column.

Definition at line 168 of file colosseum_azart_match.c.

COLOSSEUM_AZART_MATCH_METATILE_BEHAVIOR

enum COLOSSEUM_AZART_MATCH_METATILE_BEHAVIOR

Metatile behaviors the stages' cues answer.

EnumeratorValueDescription
METATILE_BEHAVIOR_ROCK_CHALLENGE_FLOOR10The Rock Challenge's floor round its pillars, (17..21, 9..11), where walking into a pillar pushes it.
METATILE_BEHAVIOR_ROCK_CHALLENGE_EAST_END11Metatile (27, 11), at the Rock Challenge's east end, where walking into a pillar pushes it too.
METATILE_BEHAVIOR_ROCK_CHALLENGE_SQUARE_EDGE90The east edge of the Rock Challenge's raised square, metatile (22, 12).
METATILE_BEHAVIOR_PIPEWORKS_PIPE12East of the Pipeworks' loose pipe, metatiles (38, 7..10), where walking west pushes it.
METATILE_BEHAVIOR_LOG_NORTH_SOUTH20On the north-south log, as at (64..66, 24): walking north or south rides it.
METATILE_BEHAVIOR_LOG_EAST_WEST21On the east-west log, as at (63, 25..27): walking east or west rides it.
METATILE_BEHAVIOR_ARENA_ENTRY50The way into the arena, metatiles (79, 9..14).
METATILE_BEHAVIOR_FIRST_NUT_CHEST100The chests: a Nut at (28, 5), an Oil Drop at (48, 6) and a Nut at (61, 13), opened facing west.
METATILE_BEHAVIOR_OIL_DROP_CHEST101
METATILE_BEHAVIOR_SECOND_NUT_CHEST103

Definition at line 192 of file colosseum_azart_match.c.

COLOSSEUM_AZART_MATCH_SPARE_METATILE

enum COLOSSEUM_AZART_MATCH_SPARE_METATILE

Metatiles kept off the course whose attributes (behavior and height) the stages' changes copy.

EnumeratorValueDescription
HOP_SQUARE_COLUMN14A square to hop to
HOP_SQUARE_ROW13(METATILE_BEHAVIOR_JUMP_FORWARD), stamped on a pillar's top.
LOW_GROUND_COLUMN27Three metatiles of low ground with no
LOW_GROUND_ROW13behavior, laid over the Rock Challenge's (23..25, 12) before the pillars' tops are stamped again.
VINE_COLUMN47The grown vine's metatile, climbed
VINE_ROW24(METATILE_BEHAVIOR_CLIMB).
BRIDGE_DOWN_ROW25The Broken Bridge's row of six, (50..55,
BRIDGE_UP_ROW2412), with the bridge lying down and standing up.
LOG_NORTH_SOUTH_COLUMN64Three metatiles to ride the north-south log (METATILE_BEHAVIOR_LOG_NORTH_SOUTH), across, and three to ride the east-west one, down.
LOG_NORTH_SOUTH_ROW24
LOG_EAST_WEST_COLUMN63
LOG_EAST_WEST_ROW25

Definition at line 234 of file colosseum_azart_match.c.

COLOSSEUM_AZART_MATCH_PICTURE_METATILE

enum COLOSSEUM_AZART_MATCH_PICTURE_METATILE

Pictures kept on layer 1 (map rows 28 and down) at columns 92 to 100: the Broken Bridge's spans standing up, swinging and lying down, two metatiles square, drawn at the spans' places (50, 38) and (54, 38); and the five steps of water pouring into the Pipeworks' channel, one metatile by three each, drawn at (34, 38).

EnumeratorValueDescription
BRIDGE_PICTURE_COLUMN92
BRIDGE_UP_PICTURE_ROW29
BRIDGE_SWINGING_PICTURE_ROW31
BRIDGE_DOWN_PICTURE_ROW33
WATER_PICTURE_COLUMN96
WATER_PICTURE_ROW29

Definition at line 266 of file colosseum_azart_match.c.

BRIDGE_OPERATOR_ANIMATION

enum BRIDGE_OPERATOR_ANIMATION

The Broken Bridge's operator's poses as the bridge swings (young_man_with_fair_hair.tsv).

EnumeratorValueDescription
BRIDGE_OPERATOR_ANIMATION_SWINGING10as the bridge starts to move
BRIDGE_OPERATOR_ANIMATION_BRIDGE_DOWN11
BRIDGE_OPERATOR_ANIMATION_BRIDGE_UP12

Definition at line 300 of file colosseum_azart_match.c.

PIPE_ANIMATION

enum PIPE_ANIMATION

SPRITE_PIPE_NORTH_SOUTH's animations, as the Pipeworks' loose pipe is pushed (pipe_north_south.tsv).

EnumeratorValueDescription
PIPE_ANIMATION_STILL1
PIPE_ANIMATION_ROLLING2its four pictures in turn

Definition at line 309 of file colosseum_azart_match.c.

PAN_ANIMATION

enum PAN_ANIMATION

SPRITE_WHITE_PLATFORM's animations for the Pipeworks' pans (white_platform.tsv).

EnumeratorValueDescription
PAN_ANIMATION_EMPTY2
PAN_ANIMATION_FULL3water in it

Definition at line 317 of file colosseum_azart_match.c.

Functions in detail

scInit

Sint32 scInit(void)

Sets up Colosseum Final 1 for the visit its entrance stands for.

References fdActorGet(), fdActorReleaseById(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorWatchAndSetScript(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatiles(), fdMapGridCopyMetatilesLayered(), fdMapGridGetTerrainHeight(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scColosseumAzartMatchExplainFinalsRules(), scColosseumAzartMatchSetLayerOnVineMetatile(), scColosseumAzartMatchStampHopSquare(), scColosseumAzartMatchUpdateBrokenBridge(), scColossoClearCheeringSpots(), scColossoControlCharacterAlone(), scColossoPlaceFriendsAtCheeringSpots(), scColossoRaiseTakePlaceOnPsynergy(), scColossoRestoreMatchResult(), scColossoShowItemIcon(), scColossoShowOpeningLettering(), scColossoStartOpponent(), scColossoStartRaceGauge(), scFieldGameFlagGetByte(), Sint32, syImportScriptSetExitRequest(), sySetTickEvent() and sySoundPlay().

Definition at lines 98 and 821 of file colosseum_azart_match.c.

scColosseumAzartMatchExplainFinalsRules

static void scColosseumAzartMatchExplainFinalsRules(Sint32 guide)

The guide gives the party the tour of Colosseum Final 1 (COLOSSEUM_AZART_MATCH_FROM_COLOSSEUM).

References fdActorFaceActor(), fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdCameraFollowActor(), fdCameraWaitForMove(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), scColossoEndTour(), scColossoGatherPartyForTour() and Sint32.

Referenced by scInit().

Definition at lines 119 and 967 of file colosseum_azart_match.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References ColosseumAzartMatchEntrances.

Definition at line 323 of file colosseum_azart_match.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 328 of file colosseum_azart_match.c.

scGetExits

const Uint32 *scGetExits(void)

References ColosseumAzartMatchExits.

Definition at line 333 of file colosseum_azart_match.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References ColosseumAzartMatchActorPlacements.

Definition at line 338 of file colosseum_azart_match.c.

scColosseumAzartMatchUpdateBrokenBridge

static void scColosseumAzartMatchUpdateBrokenBridge(void)

Each tick the Broken Bridge, the third stage, goes on through its cycle, its operator working it: it swings down and lies across the gap, then swings up again and leaves the gap open.

References ColosseumAzartMatchBridgeTimer, fdActorSetAnimation(), fdMapGridCopyMetatileAttributes() and fdMapGridCopyMetatilesLayered().

Referenced by scColosseumAzartMatchResetBrokenBridge(), scColosseumAzartMatchStartBrokenBridge() and scInit().

Definition at line 346 of file colosseum_azart_match.c.

scColosseumAzartMatchResetBrokenBridge

static void scColosseumAzartMatchResetBrokenBridge(void)

Stops the Broken Bridge and stands it up, for the attendant's demonstration.

References ColosseumAzartMatchBridgeTimer, scColosseumAzartMatchUpdateBrokenBridge() and syCloseEvent().

Referenced by scColosseumAzartMatchTalkToBridgeAttendant().

Definition at line 409 of file colosseum_azart_match.c.

scColosseumAzartMatchStartBrokenBridge

static void scColosseumAzartMatchStartBrokenBridge(void)

Sets the Broken Bridge swinging again, from the start of its swing down.

References ColosseumAzartMatchBridgeTimer, scColosseumAzartMatchUpdateBrokenBridge() and sySetTickEvent().

Referenced by scColosseumAzartMatchTalkToBridgeAttendant().

Definition at line 420 of file colosseum_azart_match.c.

scColosseumAzartMatchWaitForBridgeOpening

static void scColosseumAzartMatchWaitForBridgeOpening(void)

Waits, for at most one cycle of the Broken Bridge, until it lies down far enough into its time for the demonstration to walk Isaac across.

References ColosseumAzartMatchBridgeTimer, Sint32 and sySynch().

Referenced by scColosseumAzartMatchTalkToBridgeAttendant().

Definition at line 428 of file colosseum_azart_match.c.

scColosseumAzartMatchStampHopSquare

static inline void scColosseumAzartMatchStampHopSquare(ACTOR *pillar)

Gives the metatile a stone pillar stands on the square to hop to, so its top is a step.

References fdMapGridCopyMetatileAttributes() and Sint32.

Referenced by scColosseumAzartMatchUpdateRockMetatiles() and scInit().

Definition at line 441 of file colosseum_azart_match.c.

scColosseumAzartMatchUpdateRockMetatiles

static void scColosseumAzartMatchUpdateRockMetatiles(void)

Move on one of the stone pillars in the Rock Challenge, the first stage, slides it a metatile, which can clear the way or give the racers a step.

The same work follows every push. Once the first pillar has come down to the low ground, level with its floor, it is drawn under the party and its top becomes a square to hop across. The second pillar's top is always such a square, and the column it stands in is kept in FLAG_SECOND_ROCK_COLUMN, so that a friend's Move during Lend a Hand still holds for the race.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdMapGridGetTerrainHeight(), scColosseumAzartMatchStampHopSquare() and scFieldGameFlagSetByte().

Referenced by ColosseumAzartMatchCues and scColosseumAzartMatchPushRock().

Definition at line 458 of file colosseum_azart_match.c.

scColosseumAzartMatchPushRock

static void scColosseumAzartMatchPushRock(void)

Walking into a stone pillar in the Rock Challenge pushes it a metatile, with Isaac leaning on it, if nothing is in the way.

References scColosseumAzartMatchUpdateRockMetatiles() and scColossoPushActorAhead().

Referenced by ColosseumAzartMatchCues and scColosseumAzartMatchPushRockOrHopAcross().

Definition at line 481 of file colosseum_azart_match.c.

scColosseumAzartMatchGrowPlant

static void scColosseumAzartMatchGrowPlant(void)

Growth on the sprout before the Broken Bridge, the third stage, grows it into a vine up the wall beside the bridge's scaffold (metatile (47, 12)), a shortcut up to the bridge.

References fdMapGridCopyMetatileAttributes() and gmFlagSet().

Referenced by ColosseumAzartMatchCues.

Definition at line 490 of file colosseum_azart_match.c.

scColosseumAzartMatchDousePipe

static void scColosseumAzartMatchDousePipe(void)

Douse on the white pan under the Pipeworks' west pipe, the second stage, fills it with water. The camera moves over, the full pan sinks and the one under the east pipe rises, as the attendant says the pipes form a kind of scale, and the way on to the next stage opens (metatile (41, 12)).

References fdActorGet(), fdActorSelectAnimation(), fdActorWaitForMove(), fdCameraWaitForMove(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagSet() and scFieldActorSetMoveTargetFX().

Referenced by ColosseumAzartMatchCues.

Definition at line 500 of file colosseum_azart_match.c.

scColosseumAzartMatchMoveRidingLog

static void scColosseumAzartMatchMoveRidingLog(Sint32 logId, Sint32 offsetX, Sint32 offsetZ)

Rolls one of the Lumber Water Crossing Area's logs across the water by the offset, in pixels, with Isaac on top walking backwards as it turns under him, and stops both in the middle of their metatiles.

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

Referenced by scColosseumAzartMatchRollLogEastWest() and scColosseumAzartMatchRollLogNorthSouth().

Definition at line 532 of file colosseum_azart_match.c.

scColosseumAzartMatchRollLogNorthSouth

static void scColosseumAzartMatchRollLogNorthSouth(void)

Walking north or south on the Lumber Water Crossing Area's north-south log rolls it three metatiles across the pool with Isaac on top, to the other end of its line.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), MainRoutineStateWork, scColosseumAzartMatchMoveRidingLog() and Sint32.

Referenced by ColosseumAzartMatchCues.

Definition at line 576 of file colosseum_azart_match.c.

scColosseumAzartMatchRollLogEastWest

static void scColosseumAzartMatchRollLogEastWest(void)

Walking east or west on the east-west log rolls it across the pool with Isaac on top, the way the pad is held: to the far bank, or only as far as the north-south log where that one bars the way at LOG_SOUTH_ROW.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), MainRoutineStateWork, PerData, scColosseumAzartMatchMoveRidingLog() and Sint32.

Referenced by ColosseumAzartMatchCues.

Definition at line 602 of file colosseum_azart_match.c.

scColosseumAzartMatchAnimatePipeworksWater

static inline void scColosseumAzartMatchAnimatePipeworksWater(void)

Water pours down into the Pipeworks' channel, in five pictures three ticks apart.

References fdMapGridCopyMetatiles() and fdScriptWait().

Referenced by scColosseumAzartMatchPushPipeworksPipe().

Definition at line 658 of file colosseum_azart_match.c.

scColosseumAzartMatchPushPipeworksPipe

static void scColosseumAzartMatchPushPipeworksPipe(void)

Walking west into the loose length of pipe in the Pipeworks pushes it three metatiles west, under the spout, and the camera follows it. Water then runs down into the channel, and if the pans have not tipped already, the west pan fills and sinks and the east one rises, opening the way on (metatile (41, 12)).

References fdActorGet(), fdActorSelectAnimation(), fdActorSetAnimation(), fdActorStartCamera(), fdActorWaitForMove(), fdActorWaitForMoveById(), fdCameraWaitForMove(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagSet(), MainRoutineStateWork, scColosseumAzartMatchAnimatePipeworksWater(), scFieldActorSetMoveTargetFX(), Sint32, syHeapSlotAllocateEWRAM() and sySoundPlay().

Referenced by ColosseumAzartMatchCues.

Definition at line 681 of file colosseum_azart_match.c.

scColosseumAzartMatchSetCourseFlag

static void scColosseumAzartMatchSetCourseFlag(void)

Unused: sets FLAG_AREA_TEMP(0x00). Nothing calls it.

References gmFlagSet().

Definition at line 758 of file colosseum_azart_match.c.

scColosseumAzartMatchPushRockOrHopAcross

static void scColosseumAzartMatchPushRockOrHopAcross(void)

Walking on from the east edge of the Rock Challenge's raised square (metatile (22, 12)) pushes the stone pillar ahead if there is one. With no pillar there, Isaac hops forward across the gap where there is somewhere to land, and otherwise nothing happens.

References fdTryJumpForward(), scColosseumAzartMatchPushRock() and scColossoFindActorAhead().

Referenced by ColosseumAzartMatchCues.

Definition at line 780 of file colosseum_azart_match.c.

scGetCues

const CUE *scGetCues(void)

References ColosseumAzartMatchCues.

Definition at line 792 of file colosseum_azart_match.c.

scColosseumAzartMatchSetLayerOnVineMetatile

static void scColosseumAzartMatchSetLayerOnVineMetatile(Sint32 actorId)

A friend whose cheering spot is the vine's metatile before the Broken Bridge, half metatiles (94..95, 24..26), is put on layer 1 for the race, the layer the plant itself stands on.

References fdActorGet() and Sint32.

Referenced by scInit().

Definition at line 802 of file colosseum_azart_match.c.

scColosseumAzartMatchTalkToRockAttendant

static void scColosseumAzartMatchTalkToRockAttendant(Sint32 attendant)

The Rock Challenge's attendant explains stage 1 of Colosseum Final 1.

References fdActorFaceDirection(), fdActorSetAnimation(), fdActorShowEmote(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdCameraWaitForMove(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scActorResetMotionFields(), scColossoAskDoneCheering(), scColossoFadeInWarrior(), scColossoGreetAtStage(), scColossoOfferCheeringSpot(), scColossoPushActorAhead(), scColossoRepeatStageNumber(), scColossoRestoreWarrior(), scColossoWalkActorToAndStand() and Sint32.

Referenced by ColosseumAzartMatchCues.

Definition at line 1091 of file colosseum_azart_match.c.

scColosseumAzartMatchSetPipeHeight

static inline void scColosseumAzartMatchSetPipeHeight(ACTOR *actor, FIXED height)

Sets one of the Pipeworks' pans moving to a height, at the pace the scales always move.

References scFieldActorSetMoveTargetFX().

Referenced by scColosseumAzartMatchTalkToPipeworksAttendant().

Definition at line 1164 of file colosseum_azart_match.c.

scColosseumAzartMatchTalkToPipeworksAttendant

static void scColosseumAzartMatchTalkToPipeworksAttendant(Sint32 attendant)

The Pipeworks' attendant explains stage 2 of Colosseum Final 1.

References fdActorGet(), fdActorWaitForMove(), fdCameraFollowActor(), fdCameraWaitForMove(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scColosseumAzartMatchSetPipeHeight(), scColossoAskDoneCheering(), scColossoGreetAtStage(), scColossoHidePointer(), scColossoMovePointer(), scColossoOfferCheeringSpot(), scColossoRepeatStageNumber(), scColossoShowPointer(), Sint32 and sySynch().

Referenced by ColosseumAzartMatchCues.

Definition at line 1174 of file colosseum_azart_match.c.

scColosseumAzartMatchTalkToBridgeAttendant

static void scColosseumAzartMatchTalkToBridgeAttendant(Sint32 attendant)

The Broken Bridge's attendant explains stage 3 of Colosseum Final 1.

References fdActorShowEmote(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdCameraWaitForMove(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scColosseumAzartMatchResetBrokenBridge(), scColosseumAzartMatchStartBrokenBridge(), scColosseumAzartMatchWaitForBridgeOpening(), scColossoAskDoneCheering(), scColossoFadeInWarrior(), scColossoGreetAtStage(), scColossoOfferCheeringSpot(), scColossoRepeatStageNumber(), scColossoRestoreWarrior() and Sint32.

Referenced by ColosseumAzartMatchCues.

Definition at line 1248 of file colosseum_azart_match.c.

scColosseumAzartMatchTalkToLumberAttendant

static void scColosseumAzartMatchTalkToLumberAttendant(Sint32 attendant)

The Lumber Water Crossing Area's attendant explains stage 4 of Colosseum Final 1.

References fdActorFaceDirection(), fdActorSetAnimation(), fdActorShowEmote(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdCameraWaitForMove(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scColossoAskDoneCheering(), scColossoFadeInWarrior(), scColossoGreetAtStage(), scColossoHidePointer(), scColossoOfferCheeringSpot(), scColossoRepeatStageNumber(), scColossoRestoreWarrior(), scColossoShowPointer(), scColossoWalkActorToAndStand() and Sint32.

Referenced by ColosseumAzartMatchCues.

Definition at line 1303 of file colosseum_azart_match.c.

Variables in detail

ColosseumAzartMatchEntrances

extern SCENE_ENTRANCE ColosseumAzartMatchEntrances[]

SCENE_ENTRANCE ColosseumAzartMatchEntrances[]

Referenced by scGetEntrances().

Definition at lines 99 and 1395 of file colosseum_azart_match.c.

ColosseumAzartMatchExits

extern Uint32 ColosseumAzartMatchExits[]

Uint32 ColosseumAzartMatchExits[]

Referenced by scGetExits().

Definition at lines 100 and 1402 of file colosseum_azart_match.c.

ColosseumAzartMatchActorPlacements

extern ACTOR_PLACE ColosseumAzartMatchActorPlacements[]

ACTOR_PLACE ColosseumAzartMatchActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 101 and 1419 of file colosseum_azart_match.c.

ColosseumAzartMatchBridgeTimer

extern Uint32 ColosseumAzartMatchBridgeTimer

Uint32 ColosseumAzartMatchBridgeTimer

The ticks left in the Broken Bridge's cycle (BRIDGE_CYCLE_TICKS).

Referenced by scColosseumAzartMatchResetBrokenBridge(), scColosseumAzartMatchStartBrokenBridge(), scColosseumAzartMatchUpdateBrokenBridge() and scColosseumAzartMatchWaitForBridgeOpening().

Definition at lines 102 and 1468 of file colosseum_azart_match.c.

ColosseumAzartMatchCues

extern CUE ColosseumAzartMatchCues[]

CUE ColosseumAzartMatchCues[]

References scColosseumAzartMatchDousePipe(), scColosseumAzartMatchGrowPlant(), scColosseumAzartMatchPushPipeworksPipe(), scColosseumAzartMatchPushRock(), scColosseumAzartMatchPushRockOrHopAcross(), scColosseumAzartMatchRollLogEastWest(), scColosseumAzartMatchRollLogNorthSouth(), scColosseumAzartMatchTalkToBridgeAttendant(), scColosseumAzartMatchTalkToLumberAttendant(), scColosseumAzartMatchTalkToPipeworksAttendant(), scColosseumAzartMatchTalkToRockAttendant(), scColosseumAzartMatchUpdateRockMetatiles(), scColossoAskDoneLookingAround(), scColossoReachArena() and scColossoTakePlaceForMatch().

Referenced by scGetCues().

Definition at lines 103 and 1470 of file colosseum_azart_match.c.

HexDigits

extern char HexDigits[20]

char HexDigits[20]

Referenced by scStringWriteU32AsHex().

Definition at lines 104 and 1389 of file colosseum_azart_match.c.

ColossoLetteringSlot

Sint16 ColossoLetteringSlot

The VRAM cache entry holding the lettering's tiles, -1 when none is loaded.

Referenced by scColossoLoadLettering() and scColossoUpdateLettering().

Definition at line 1556 of file colosseum_azart_match.c.

ColossoPointerSlot

Sint16 ColossoPointerSlot

The VRAM cache entry holding the marker's tiles, -1 when none is loaded.

Referenced by scColossoHidePointer(), scColossoLoadPointer() and scColossoUpdatePointer().

Definition at line 1562 of file colosseum_azart_match.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailCOLOSSEUM_AZART_MATCH_FACE_DIRECTIONCOLOSSEUM_AZART_MATCH_MOVE_RIDING_LOGFLAG_COLOSSEUM_AZART_MATCH_FIRST_NUT_CHEST_OPENEDFLAG_COLOSSEUM_AZART_MATCH_OIL_DROP_CHEST_OPENEDFLAG_COLOSSEUM_AZART_MATCH_SECOND_NUT_CHEST_OPENEDBRIDGE_CYCLE_TICKSBRIDGE_SWINGS_DOWN_TICKBRIDGE_DOWN_TICKBRIDGE_DEMONSTRATION_TICKBRIDGE_SWINGS_UP_TICKLOG_NORTH_ROWLOG_SOUTH_ROWLOG_NORTH_SOUTH_FLOATLOG_EAST_WEST_FLOATLOG_EAST_WEST_SHORT_FLOATCOLOSSO_BETTER_PRIZECOLOSSO_OTHER_PRIZECOLOSSO_ARENA_XCOLOSSO_ARENA_ZCOLOSSO_OPPONENT_SIDECOLOSSO_SCENECOLOSSO_AFTER_MATCH_WONCOLOSSO_AFTER_MATCH_LOSTEnumerations in detailanonymous enumCOLOSSEUM_AZART_MATCH_STAGEanonymous enumanonymous enumCOLOSSEUM_AZART_MATCH_METATILE_BEHAVIORCOLOSSEUM_AZART_MATCH_SPARE_METATILECOLOSSEUM_AZART_MATCH_PICTURE_METATILEBRIDGE_OPERATOR_ANIMATIONPIPE_ANIMATIONPAN_ANIMATIONFunctions in detailscInitscColosseumAzartMatchExplainFinalsRulesscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscColosseumAzartMatchUpdateBrokenBridgescColosseumAzartMatchResetBrokenBridgescColosseumAzartMatchStartBrokenBridgescColosseumAzartMatchWaitForBridgeOpeningscColosseumAzartMatchStampHopSquarescColosseumAzartMatchUpdateRockMetatilesscColosseumAzartMatchPushRockscColosseumAzartMatchGrowPlantscColosseumAzartMatchDousePipescColosseumAzartMatchMoveRidingLogscColosseumAzartMatchRollLogNorthSouthscColosseumAzartMatchRollLogEastWestscColosseumAzartMatchAnimatePipeworksWaterscColosseumAzartMatchPushPipeworksPipescColosseumAzartMatchSetCourseFlagscColosseumAzartMatchPushRockOrHopAcrossscGetCuesscColosseumAzartMatchSetLayerOnVineMetatilescColosseumAzartMatchTalkToRockAttendantscColosseumAzartMatchSetPipeHeightscColosseumAzartMatchTalkToPipeworksAttendantscColosseumAzartMatchTalkToBridgeAttendantscColosseumAzartMatchTalkToLumberAttendantVariables in detailColosseumAzartMatchEntrancesColosseumAzartMatchExitsColosseumAzartMatchActorPlacementsColosseumAzartMatchBridgeTimerColosseumAzartMatchCuesHexDigitsColossoLetteringSlotColossoPointerSlot