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…
#include "ability_ids.h"#include "item_ids.h"#include "macros.h"#include "resource_ids.h"#include "debug/debug.h"#include "field/actor_script.h"#include "field/script_inline.h"#include "scene/pushed_actor.h"#include "graphics/graphics.h"#include "scene/colosso_gauge.h"#include "scene/colosso_guide.h"#include "scene/colosso_lettering.h"#include "scene/colosso_push.h"#include "scene/colosso_setup.h"#include "scene/colosso_solo.h"#include "sound/sound_driver_symbols.h"#include "text/msg_ids.h"#include "shared/colosso_state.c"#include "shared/colosso_tour.c"#include "shared/colosso_arena.c"#include "shared/colosso_match_result.c"#include "shared/colosso_solo.c"#include "shared/item_equip.c"#include "shared/colosso_task.c"#include "shared/colosso_lettering.c"#include "shared/colosso_guide.c"#include "shared/colosso_item_icon.c"#include "shared/colosso_hex_string.c"#include "shared/colosso_finish.c"#include "shared/colosso_path_opponent.c"#include "shared/colosso_setup.c"#include "shared/colosso_map_state.c"#include "shared/actor_find_at_position.c"#include "shared/colosso_push.c"#include "shared/colosso_lettering_tables.c"#include "shared/colosso_prize_scripts.c"#include "shared/pushed_actor_direction_steps.c"#include "shared/colosso_lettering_scripts.c"#include "shared/colosso_finish_scripts.c"
Macros
| Name | Description | |
|---|---|---|
#define | COLOSSEUM_AZART_MATCH_FACE_DIRECTION fdActorFaceDirectionById | |
#define | COLOSSEUM_AZART_MATCH_MOVE_RIDING_LOG | |
#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. |
#define | FLAG_COLOSSEUM_AZART_MATCH_OIL_DROP_CHEST_OPENED FLAG_AREA_TEMP(0x09) | |
#define | FLAG_COLOSSEUM_AZART_MATCH_SECOND_NUT_CHEST_OPENED FLAG_AREA_TEMP(0x0a) | |
#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. |
#define | BRIDGE_SWINGS_DOWN_TICK 66 | |
#define | BRIDGE_DOWN_TICK 60 | |
#define | BRIDGE_DEMONSTRATION_TICK 22 | |
#define | BRIDGE_SWINGS_UP_TICK 6 | |
#define | LOG_NORTH_ROW 8 | The Lumber Water Crossing Area's logs float on fixed lines. |
#define | LOG_SOUTH_ROW 11 | |
#define | LOG_NORTH_SOUTH_FLOAT 48 | |
#define | LOG_EAST_WEST_FLOAT 160 | |
#define | LOG_EAST_WEST_SHORT_FLOAT 96 | |
#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. |
#define | COLOSSO_OTHER_PRIZE ITEM_PADDED_GLOVES | |
#define | COLOSSO_ARENA_X 1304 | |
#define | COLOSSO_ARENA_Z 192 | |
#define | COLOSSO_OPPONENT_SIDE 1 | |
#define | COLOSSO_SCENE SCENE_COLOSSEUM_AZART_MATCH | |
#define | COLOSSO_AFTER_MATCH_WON COLOSSEUM_AZART_MATCH_AFTER_MATCH_WON | |
#define | COLOSSO_AFTER_MATCH_LOST COLOSSEUM_AZART_MATCH_AFTER_MATCH_LOST |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { FINALS_MATCH } | The match held here, as the lettering The 1st Match reads; the friends' turns open with Lend a Hand! instead (scColossoShowOpeningLettering). |
enum | COLOSSEUM_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". |
enum | anonymous 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. |
enum | anonymous 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. |
enum | COLOSSEUM_AZART_MATCH_METATILE_BEHAVIOR { METATILE_BEHAVIOR_ROCK_CHALLENGE_FLOOR, METATILE_BEHAVIOR_RO … } | Metatile behaviors the stages' cues answer. |
enum | COLOSSEUM_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. |
enum | COLOSSEUM_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). |
enum | BRIDGE_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). |
enum | PIPE_ANIMATION { PIPE_ANIMATION_STILL, PIPE_ANIMATION_ROLLING } | SPRITE_PIPE_NORTH_SOUTH's animations, as the Pipeworks' loose pipe is pushed (pipe_north_south.tsv). |
enum | PAN_ANIMATION { PAN_ANIMATION_EMPTY, PAN_ANIMATION_FULL } | SPRITE_WHITE_PLATFORM's animations for the Pipeworks' pans (white_platform.tsv). |
Functions
| Name | Description | |
|---|---|---|
Sint32 | scInit (void) | Sets up Colosseum Final 1 for the visit its entrance stands for. |
static void | scColosseumAzartMatchExplainFinalsRules (Sint32 guide) | The guide gives the party the tour of Colosseum Final 1 (COLOSSEUM_AZART_MATCH_FROM_COLOSSEUM). |
static void | scColossoShowOpeningLettering (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 void | scColossoShowMatchResult (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 void | scColossoNoOperation (void) | Does nothing; the arena's step script calls it first. |
static void | scColossoWaitForOpponentToFinish (void) | Waits until the opponent has run his recorded path to its end. |
static Sint32 | scColossoTakePrize (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 void | scColossoPushActorAhead (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 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. |
static void | scColosseumAzartMatchResetBrokenBridge (void) | Stops the Broken Bridge and stands it up, for the attendant's demonstration. |
static void | scColosseumAzartMatchStartBrokenBridge (void) | Sets the Broken Bridge swinging again, from the start of its swing down. |
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. |
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. |
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. |
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. |
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. |
static void | scColosseumAzartMatchDousePipe (void) | Douse on the white pan under the Pipeworks' west pipe, the second stage, fills it with water. |
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. |
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. |
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. |
static inline void | scColosseumAzartMatchAnimatePipeworksWater (void) | Water pours down into the Pipeworks' channel, in five pictures three ticks apart. |
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. |
static void | scColosseumAzartMatchSetCourseFlag (void) | Unused: sets FLAG_AREA_TEMP(0x00). |
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. |
const CUE * | scGetCues (void) | The first water beast's cave changes its cues once the first drain has lowered its water: the beast is gone and its two puddles can be frozen. |
static void | 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. |
static void | scColosseumAzartMatchTalkToRockAttendant (Sint32 attendant) | The Rock Challenge's attendant explains stage 1 of Colosseum Final 1. |
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. |
static void | scColosseumAzartMatchTalkToPipeworksAttendant (Sint32 attendant) | The Pipeworks' attendant explains stage 2 of Colosseum Final 1. |
static void | scColosseumAzartMatchTalkToBridgeAttendant (Sint32 attendant) | The Broken Bridge's attendant explains stage 3 of Colosseum Final 1. |
static void | scColosseumAzartMatchTalkToLumberAttendant (Sint32 attendant) | The Lumber Water Crossing Area's attendant explains stage 4 of Colosseum Final 1. |
Variables
| Name | Description | |
|---|---|---|
extern SCENE_ENTRANCE | ColosseumAzartMatchEntrances [] | |
extern Uint32 | ColosseumAzartMatchExits [] | |
extern ACTOR_PLACE | ColosseumAzartMatchActorPlacements [] | |
extern Uint32 | ColosseumAzartMatchBridgeTimer | The ticks left in the Broken Bridge's cycle (BRIDGE_CYCLE_TICKS). |
extern CUE | ColosseumAzartMatchCues [] | |
extern char | HexDigits [20] | |
Sint16 | ColossoLetteringSlot | The VRAM cache entry holding the lettering's tiles, -1 when none is loaded. |
Sint16 | ColossoPointerSlot | The 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 readsLend 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_RACEstarts the race.COLOSSEUM_AZART_MATCH_RACE_FROM_LEND_A_HAND, the race. After the letteringThe 1st Matchand 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 isENCOUNTER_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).
| Enumerator | Value | Description |
|---|---|---|
FINALS_MATCH | 1 |
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".
| Enumerator | Value | Description |
|---|---|---|
STAGE_ROCK_CHALLENGE | 1 | |
STAGE_PIPEWORKS | 2 | |
STAGE_BROKEN_BRIDGE | 3 | |
STAGE_LUMBER_WATER_CROSSING | 4 |
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.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_OPPONENT | ACTOR_FIRST_PLACED | Azart, racing Isaac to the arena. |
ACTOR_ROCK_A | The Rock Challenge's three rocks, stone pillars the party moves to clear a path. | |
ACTOR_ROCK_B | ||
ACTOR_ROCK_C | ||
ACTOR_PIPEWORKS_PIPE | A 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_WEST | The white pans hanging under the Pipeworks' two | |
ACTOR_PIPE_EAST | water pipes, which rise and sink against each other as water fills one, like scales. | |
ACTOR_GROWTH_PLANT | The plant Growth grows into a vine before the Broken Bridge. | |
ACTOR_BRIDGE_OPERATOR | A young man with fair hair who works the Broken Bridge. | |
ACTOR_LOG_NORTH_SOUTH | The Lumber Water Crossing Area's two floating | |
ACTOR_LOG_EAST_WEST | logs. | |
ACTOR_GUIDE | A soldier who explains the finals. | |
ACTOR_ROCK_ATTENDANT | The stages' attendants, young men with fair hair in white tunics. | |
ACTOR_PIPEWORKS_ATTENDANT | ||
ACTOR_BRIDGE_ATTENDANT | ||
ACTOR_LUMBER_ATTENDANT | ||
ACTOR_PRIZE_A | The arena's prizes, drawn as item icons at two blank | |
ACTOR_PRIZE_B | actors (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.
| Enumerator | Value | Description |
|---|---|---|
FLAG_PIPES_MOVED | FLAG_AREA_TEMP(0x01) | The Pipeworks' pans have tipped, the west one full of water and down. |
FLAG_PIPEWORKS_PIPE_PUSHED | FLAG_AREA_TEMP(0x02) | The loose length of pipe has been pushed west under the spout. |
FLAG_PLANT_GROWN | FLAG_AREA_TEMP(0x03) | Growth has grown the sprout before the Broken Bridge into a vine. |
FLAG_SECOND_ROCK_COLUMN | FLAG_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.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_ROCK_CHALLENGE_FLOOR | 10 | The Rock Challenge's floor round its pillars, (17..21, 9..11), where walking into a pillar pushes it. |
METATILE_BEHAVIOR_ROCK_CHALLENGE_EAST_END | 11 | Metatile (27, 11), at the Rock Challenge's east end, where walking into a pillar pushes it too. |
METATILE_BEHAVIOR_ROCK_CHALLENGE_SQUARE_EDGE | 90 | The east edge of the Rock Challenge's raised square, metatile (22, 12). |
METATILE_BEHAVIOR_PIPEWORKS_PIPE | 12 | East of the Pipeworks' loose pipe, metatiles (38, 7..10), where walking west pushes it. |
METATILE_BEHAVIOR_LOG_NORTH_SOUTH | 20 | On the north-south log, as at (64..66, 24): walking north or south rides it. |
METATILE_BEHAVIOR_LOG_EAST_WEST | 21 | On the east-west log, as at (63, 25..27): walking east or west rides it. |
METATILE_BEHAVIOR_ARENA_ENTRY | 50 | The way into the arena, metatiles (79, 9..14). |
METATILE_BEHAVIOR_FIRST_NUT_CHEST | 100 | The 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_CHEST | 101 | |
METATILE_BEHAVIOR_SECOND_NUT_CHEST | 103 |
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.
| Enumerator | Value | Description |
|---|---|---|
HOP_SQUARE_COLUMN | 14 | A square to hop to |
HOP_SQUARE_ROW | 13 | (METATILE_BEHAVIOR_JUMP_FORWARD), stamped on a pillar's top. |
LOW_GROUND_COLUMN | 27 | Three metatiles of low ground with no |
LOW_GROUND_ROW | 13 | behavior, laid over the Rock Challenge's (23..25, 12) before the pillars' tops are stamped again. |
VINE_COLUMN | 47 | The grown vine's metatile, climbed |
VINE_ROW | 24 | (METATILE_BEHAVIOR_CLIMB). |
BRIDGE_DOWN_ROW | 25 | The Broken Bridge's row of six, (50..55, |
BRIDGE_UP_ROW | 24 | 12), with the bridge lying down and standing up. |
LOG_NORTH_SOUTH_COLUMN | 64 | Three 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_ROW | 24 | |
LOG_EAST_WEST_COLUMN | 63 | |
LOG_EAST_WEST_ROW | 25 |
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).
| Enumerator | Value | Description |
|---|---|---|
BRIDGE_PICTURE_COLUMN | 92 | |
BRIDGE_UP_PICTURE_ROW | 29 | |
BRIDGE_SWINGING_PICTURE_ROW | 31 | |
BRIDGE_DOWN_PICTURE_ROW | 33 | |
WATER_PICTURE_COLUMN | 96 | |
WATER_PICTURE_ROW | 29 |
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).
| Enumerator | Value | Description |
|---|---|---|
BRIDGE_OPERATOR_ANIMATION_SWINGING | 10 | as the bridge starts to move |
BRIDGE_OPERATOR_ANIMATION_BRIDGE_DOWN | 11 | |
BRIDGE_OPERATOR_ANIMATION_BRIDGE_UP | 12 |
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).
| Enumerator | Value | Description |
|---|---|---|
PIPE_ANIMATION_STILL | 1 | |
PIPE_ANIMATION_ROLLING | 2 | its 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).
| Enumerator | Value | Description |
|---|---|---|
PAN_ANIMATION_EMPTY | 2 | |
PAN_ANIMATION_FULL | 3 | water 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.