Skip to Content
The Alchemy Project

src/scene/colosseum_entrance.c

Tolbi's colosseum, where Colosso is fought, in three scenes. More…

Macros

NameDescription
#defineTRIAL_PILLAR_HEAVES 20The heaves that lift the trial pillar as a warrior clears his trial, each three tenths of a pixel up.

Enumerations

NameDescription
enumanonymous enum { COLOSSEUM_STONE_PASSAGE_AT_LOCKED_DOOR, COLOSSEUM_PASSAGE_SO … }Entrances no exit leads to, named for where they stand the party.
enumCOLOSSEUM_ENTRANCE_ACTOR_ID { ACTOR_VILLAGER_PRELIMINARY_HEATS, ACTOR_WOMAN_CANNOT_GET_IN, … }The Colosseum Entrance's people, numbered by the rows of ColosseumEntranceActorPlacements.
enumCOLOSSEUM_STANDS_ACTOR_ID { ACTOR_STANDS_WEST_TORCH, ACTOR_STANDS_EAST_TORCH, ACTOR_SPEC … }The Colosseum's stands, numbered by the rows of ColosseumStandsActorPlacements.
enumCOLOSSEUM_TRIAL_ACTOR_ID { ACTOR_GROUNDS_FIRST_TORCH, ACTOR_FIRST_TRIAL_WARRIOR, ACTOR_ … }The Colosseum's trial grounds, numbered by the rows of ColosseumTrialGroundsActorPlacements.
enumFLAG_BEARER_ANIMATION { FLAG_BEARER_ANIMATION_RED_FLAG, FLAG_BEARER_ANIMATION_WHITE_ … }The flag bearers' animations (SPRITE_YOUNG_MAN_WITH_FAIR_HAIR, young_man_with_fair_hair.tsv).
enumanonymous enum { WARRIOR_ANIMATION_BACK_TURNED }A trial warrior standing with his back turned, arms at his sides, before the pillar (warrior_in_golden_helmet.tsv's picture 38).
enumCOLOSSEUM_SOLDIER_ACTOR_ID { ACTOR_FIRST_SOLDIER, ACTOR_SECOND_SOLDIER, ACTOR_THIRD_SOLDI … }The four soldiers of ColosseumSoldiersActorPlacements (SPRITE_SOLDIER).
enumCOLOSSEUM_WAITING_ROOM_ACTOR_ID { ACTOR_FINALS_SOLDIER, ACTOR_EXIT_SOLDIER, ACTOR_WAITING_SOLD … }The Colosseum's waiting room (Colosseum, COLOSSEUM_COLOSSEUM_AZART_MATCH_WEST), numbered by the rows of ColosseumActorPlacementsFromColosseumAzartMatchWest.
enumCOLOSSEUM_ENTRANCE_METATILE_BEHAVIOR { METATILE_BEHAVIOR_COLOSSEUM_ENTRANCE_BEFORE_GATES }The metatile behaviors the Colosseum Entrance's cues answer.
enumCOLOSSEUM_METATILE_BEHAVIOR { METATILE_BEHAVIOR_COLOSSEUM_FINALS_LINE, METATILE_BEHAVIOR_C … }The metatile behaviors the Colosseum's cues answer.
enumanonymous enum { FLAG_LUCKY_GUESS_REFUSED_ISAAC, FLAG_NAVAMPA_SPOKE_FOR_DEKKA … }The temporary flags the colosseum's scenes keep.

Functions

NameDescription
static voidscColosseumEntranceApplyArrivalState (void)Each arrival in the Colosseum has its own script.
static voidscColosseumEntranceShowMessageAndPause (Sint32 speaker)Shows the next message from a speaker, then pauses ten ticks.
static voidscColosseumEntranceFaceDirection (Sint32 actorId, Sint32 facing)Turns an actor to the given facing over ten ticks.
static voidscColosseumEntranceUpdateEntranceMetatiles (void)Once Colosso is over the colosseum's doors are shut: the doorway, on map layer 1 at (48..49, 5..6), takes the closed doors kept at (64..65, 0..1), and the doorway's floor, (16..17, 8), the walls beside it at (14..15, 8).
static voidscColosseumEntranceExplainPartySupport (void)The Colosseum's briefing, as the party arrives from the gates (COLOSSEUM_FROM_COLOSSEUM_ENTRANCE).
static voidscColosseumEntranceEscortToEastExit (void)In the Colosseum's east passage, a soldier leads Isaac to the next finals match's tour.
static voidscColosseumEntranceAnnounceFinals (void)Arriving in the Colosseum's waiting room from Colosseum Final 1's tour, the soldier tells the warriors to prepare.
static voidscColosseumEntranceWalkToEastExit (void)In the Colosseum's east passage, Isaac walks alone into his match.
static voidscColosseumEntrancePraiseFirstMatchWon (void)Back in the Colosseum after the first win, the soldiers congratulate Isaac and lead him on to Colosseum Final 2.
static voidscColosseumEntranceEscortToWestExit (void)In the Colosseum's west passage, a soldier leads Isaac to Colosseum Final 2's tour, Mia taking Jenna's place as in scColosseumEntranceEscortToEastExit.
static voidscColosseumEntranceWalkToWestExit (void)In the Colosseum's west passage, Isaac walks alone into Colosseum Final 2.
static voidscColosseumEntrancePraiseBothMatchesWon (void)Back in the Colosseum after the second win, one more win and Isaac is the champion.
static voidscColosseumEntranceInitContestants (void)Tints each warrior in the Colosseum's waiting room his own colours and sets the pace of his waiting animation.
const SCENE_ENTRANCE *scGetEntrances (void)The six rooms share one entrance table.
const SCENE_EXIT_REGION *scGetExitRegions (void)The scene has no exit regions: its regions entry returns none.
const Uint32 *scGetExits (void)Returns the shared colosseum exits.
const ACTOR_PLACE *scGetActorPlacements (void)Selects the actors for the scene being entered.
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 voidscColosseumEntranceDiscussSeating (void)At the Colosseum Entrance, a burly grey-haired man talks about getting in.
static voidscColosseumEntranceDiscussLuckyGuessSeats (void)At the Colosseum Entrance, an old woman talks about the Lucky Guess.
static voidscColosseumEntranceDiscussLuckyGuessWinnings (void)At the Colosseum Entrance, a strongman talks about his bet; on the finals day he is a scalper busy with a customer.
static voidscColosseumEntranceOfferLuckyGuess (void)The Lucky Guess man at the Colosseum Entrance explains the game.
static voidscColosseumEntranceTalkToAzart (void)In the Colosseum's waiting room, Azart, the second-best, won't lose to someone who skipped the trials.
static voidscColosseumEntranceTalkToGalahad (void)In the Colosseum's waiting room, Galahad, the third seed, jumps.
static voidscColosseumEntranceTalkToSatrage (void)In the Colosseum's waiting room, Satrage, the fourth-ranked, opens his eyes and names himself.
static voidscColosseumEntranceTalkToDekka (void)In the Colosseum's waiting room, Dekka psyches himself up.
static voidscColosseumEntranceTalkToNavampa (void)In the Colosseum's waiting room, Navampa of Gondowan, the sixth-ranked, introduces himself.
static voidscColosseumEntranceTalkToBuford (void)In the Colosseum's waiting room, Buford, the seventh seed, says anyone could win today.
static voidscColosseumEntranceAskIfReadyForFinals (void)In the Colosseum's waiting room, the soldier asks whether Isaac is ready for the finals.
static voidscColosseumEntranceCrowdRecognizesIsaac (void)Stepping toward the gates at the Colosseum Entrance on the finals day, the soldiers recognize Isaac and take the party in.
static voidscColosseumEntranceFinalsStart (void)Stepping to the line in the Colosseum's waiting room asks whether Isaac is ready for the finals.
static voidscColosseumEntranceStepBackFromFinalsLine (void)Stepping back from the line in the Colosseum's waiting room (METATILE_BEHAVIOR_COLOSSEUM_BEHIND_FINALS_LINE) arms the question again (FLAG_FINALS_LINE_ARMED and FLAG_FINALS_LINE_REACHED).
static voidscColosseumEntranceTalkToTrialAttendant (void)The trial attendant in the Colosseum's stands shows the party two warriors' trials.
static voidscColosseumEntranceShowFailedTrial (void)In the Colosseum's trial grounds, a warrior fails his trial.
static voidscColosseumEntranceExplainTrial (void)Back in the Colosseum's stands from a trial, the attendant says how it went.
static voidscColosseumEntranceShowClearedTrial (void)In the Colosseum's trial grounds, a warrior clears his trial.
Sint32scInit (void)Sets up the Colosseum or its entrance as the party arrives.
static inline voidscColosseumEntranceFollowEscortOut (void)In the waiting room, once his companions have gathered into him, Isaac turns east to the escorting soldier and the two nod.
static inline voidscColosseumEntrancePlaceCompanionsBehindIsaac (void)Places the three companions behind Isaac for the soldiers' briefing.

Variables

NameDescription
extern Sint32ColosseumEntranceGatherIntoIsaacScript []
extern Sint32ColosseumEntranceGatherIntoGaretScript []
extern Sint32ColosseumEntranceGatherIntoIsaacInWaitingRoomScript []
extern Sint32ColosseumEntranceEnterGatesScript []
extern Sint32ColosseumEntranceApproachFinalsGroupScript []
extern Sint32ColosseumEntranceJoinFinalsFromEastScript []
extern Sint32ColosseumEntranceJoinFinalsFromSouthScript []
extern Sint32ColosseumEntranceEnterFinalsScript []
extern Sint32ColosseumEntranceQuiverScript []A trial warrior quivering at the pillar before the flash: his sprite jumps an eighth taller and narrower and settles back, every six ticks.
extern SCENE_ENTRANCEColosseumEntranceEntrancesOther []
extern SCENE_ENTRANCEColosseumEntrances []
extern SCENE_ENTRANCEColosseumEntranceEntrances []
extern Uint32ColosseumEntranceExits []
extern ACTOR_PLACEColosseumEntranceActorPlacementsOther []
extern ACTOR_PLACEColosseumStandsActorPlacements []
extern ACTOR_PLACEColosseumTrialGroundsActorPlacements []
extern ACTOR_PLACEColosseumActorPlacements []
extern ACTOR_PLACEColosseumSoldiersActorPlacements []
extern ACTOR_PLACEColosseumActorPlacementsFromColosseumAzartMatchWest []
extern ACTOR_PLACEColosseumActorPlacementsFromColosseumNavampaMatch []
extern ACTOR_PLACEColosseumEntranceActorPlacements []
extern ACTOR_PLACEColosseumEntranceActorPlacementsFinalsDay []
extern ACTOR_PLACEColosseumEntranceActorPlacementsAfterColosso []
extern CUEColosseumEntranceCuesOther []
extern CUEColosseumTunnelCues []
extern CUEColosseumCues []
extern CUEColosseumEntranceCues []
extern CUEColosseumCuesFromColosseumAzartMatchWest []

Description

Tolbi's colosseum, where Colosso is fought, in three scenes.

The three are the Colosseum Entrance outside its gates, the Colosseum Tunnel from Babi's Palace, and the Colosseum itself. The Colosseum's stands, waiting room and passages lead to the sites of the three finals matches.

Colosso has two parts. While warriors fight their trials, Babi, the ruler of Tolbi, is missing. Once the party has saved his life in Altmiller Cave, the trials are over and Babi has picked Isaac for the finals himself.

The code tells the two parts apart by FLAG_BABI_SAVED. Once it is set, every scene here plays the finals day. FLAG_COLOSSO_OVER, set after the third finals match, closes the colosseum until next year.

The three scenes share one exit table, a run of exits for each scene. The Colosseum's exits are how its arrivals chain into one another and into the finals stages.

Macros in detail

TRIAL_PILLAR_HEAVES

#define TRIAL_PILLAR_HEAVES 20

The heaves that lift the trial pillar as a warrior clears his trial, each three tenths of a pixel up.

Referenced by scColosseumEntranceShowClearedTrial().

Definition at line 1370 of file colosseum_entrance.c.

Enumerations in detail

anonymous enum

enum { COLOSSEUM_STONE_PASSAGE_AT_LOCKED_DOOR, COLOSSEUM_PASSAGE_SOUTH_OF_WAITING_ROOM, COLOSSEUM_ENTRANCE_AT_GATES }

Entrances no exit leads to, named for where they stand the party.

EnumeratorValueDescription
COLOSSEUM_STONE_PASSAGE_AT_LOCKED_DOOR3In the Colosseum's stone passage, before its locked door.
COLOSSEUM_PASSAGE_SOUTH_OF_WAITING_ROOM8In the Colosseum's pillared passage south of the waiting room, facing north.
COLOSSEUM_ENTRANCE_AT_GATES2At the Colosseum Entrance's gates, facing south.

Definition at line 71 of file colosseum_entrance.c.

COLOSSEUM_ENTRANCE_ACTOR_ID

enum COLOSSEUM_ENTRANCE_ACTOR_ID

The Colosseum Entrance's people, numbered by the rows of ColosseumEntranceActorPlacements.

ColosseumEntranceActorPlacementsFinalsDay places the same people in its first nine rows after Isaac's companions, who take their own actor slots. ColosseumEntranceActorPlacementsAfterColosso keeps the first two.

They are named by what they say during the trials, except where the finals day says more about who they are.

EnumeratorValueDescription
ACTOR_VILLAGER_PRELIMINARY_HEATSACTOR_FIRST_PLACEDA young man with brown hair in a purple shirt who talks of the heats. "They're holding the preliminary Colosso heats right now."
ACTOR_WOMAN_CANNOT_GET_INA woman with fair hair who cannot get into the packed colosseum. "Sigh... The colosseum is packed with people. I'll never get in there."
ACTOR_VILLAGER_SEATINGA burly grey-haired man who asks whether the party hopes to get in (scColosseumEntranceDiscussSeating). "Are you hoping to get in to see Colosso now?"
ACTOR_WOMAN_PRETTY_PENNYA woman in a green dress who talks of winning at the Lucky Guess. "If you hit it big in the Lucky Guess, you can win a pretty penny."
ACTOR_OLD_MAN_BETTING_FOR_YEARSAn old man with a cane who has bet on the Lucky Guess for years. "I've been betting on the Lucky Guess for many years, but I've never won."
ACTOR_OLD_WOMAN_GOOD_SPOTAn old woman who walks about before the finals day. "Colosso's Lucky Guess makes the battles in the colosseum better." On the finals day, "I want to watch the finals from a good spot, but it costs too much!"
ACTOR_SCALPERA strongman, one of the scalpers. During the trials he bets. "I want to win big, so I put it all on a warrior no one else has picked." On the finals day he is busy with a customer, and Mind Read hears "I'm going to be in trouble if I get stuck with any unsold seats..."
ACTOR_LUCKY_GUESS_MANACTOR_FIRST_PLACED + 8The Lucky Guess man, in a green cap and carrying a pack. "Do you know what the Lucky Guess is?"
ACTOR_FIRST_GATE_SOLDIERThe four soldiers at the gates on the finals day (SPRITE_SOLDIER, as in the waiting room), ColosseumEntranceActorPlacementsFinalsDay only. The first greets Isaac ("Hey, you're Isaac!") and leads the party in.
ACTOR_SECOND_GATE_SOLDIER
ACTOR_THIRD_GATE_SOLDIER
ACTOR_FOURTH_GATE_SOLDIER

Definition at line 135 of file colosseum_entrance.c.

COLOSSEUM_STANDS_ACTOR_ID

enum COLOSSEUM_STANDS_ACTOR_ID

The Colosseum's stands, numbered by the rows of ColosseumStandsActorPlacements.

EnumeratorValueDescription
ACTOR_STANDS_WEST_TORCHACTOR_FIRST_PLACEDA torch
ACTOR_STANDS_EAST_TORCH(SPRITE_TORCH).
ACTOR_SPECTATOR_CHEERINGACTOR_FIRST_PLACED + 5A young man with brown hair in a purple shirt who cheers on a small warrior. "Go for it! That's it! I'm cheering for you, little guy!"
ACTOR_SPECTATOR_EXCITEDA woman with fair hair, excited by the trials. "Watching the trials makes me really excited. The battles are incredible!"
ACTOR_SPECTATOR_ENCHANTEDA burly grey-haired man, taken with the warriors. "Watching such proud, skilled warriors in battle is so enchanting."
ACTOR_SPECTATOR_WAITED_A_YEARA woman in a green dress who has waited a year for Colosso. "I've waited a whole year to see Colosso. I can't wait for the finals!"
ACTOR_TRIAL_ATTENDANTThe attendant by the trials, a bald, muscular man, who shows the party two warriors' trials.

Definition at line 187 of file colosseum_entrance.c.

COLOSSEUM_TRIAL_ACTOR_ID

enum COLOSSEUM_TRIAL_ACTOR_ID

The Colosseum's trial grounds, numbered by the rows of ColosseumTrialGroundsActorPlacements.

EnumeratorValueDescription
ACTOR_GROUNDS_FIRST_TORCHACTOR_FIRST_PLACEDSix torches (SPRITE_TORCH) around the trial.
ACTOR_FIRST_TRIAL_WARRIORACTOR_FIRST_PLACED + 6Five warriors, 14 to 18, in the finalists' sprite
ACTOR_FAILING_WARRIORACTOR_FIRST_TRIAL_WARRIOR + 2(SPRITE_WARRIOR_IN_GOLDEN_HELMET). Two of them take the trials the party is shown. The warrior the party first watches, of whom the attendant then says "That warrior failed his trial, so he's disqualified here."
ACTOR_CLEARING_WARRIORThe warrior the party
ACTOR_FIRST_FLAG_BEARERACTOR_FIRST_PLACED + 11watches second, of whom the attendant then says "That warrior cleared this trial, but I doubt he'll make the finals." Two young men with fair hair
ACTOR_TRIAL_PILLARACTOR_FIRST_PLACED + 13(SPRITE_YOUNG_MAN_WITH_FAIR_HAIR, drawn mirrored) who judge the trial with flags. They raise a red flag when the warrior fails and a white one when he clears it (enum FLAG_BEARER_ANIMATION). No text names them. A capped pillar (SPRITE_CAPPED_PILLAR) the clearing warrior heaves up and drops.

Definition at line 227 of file colosseum_entrance.c.

FLAG_BEARER_ANIMATION

enum FLAG_BEARER_ANIMATION

The flag bearers' animations (SPRITE_YOUNG_MAN_WITH_FAIR_HAIR, young_man_with_fair_hair.tsv).

EnumeratorValueDescription
FLAG_BEARER_ANIMATION_RED_FLAG5raises a red flag: the warrior failed
FLAG_BEARER_ANIMATION_WHITE_FLAG6raises a white flag: he cleared it

Definition at line 266 of file colosseum_entrance.c.

anonymous enum

enum { WARRIOR_ANIMATION_BACK_TURNED }

A trial warrior standing with his back turned, arms at his sides, before the pillar (warrior_in_golden_helmet.tsv's picture 38).

EnumeratorValueDescription
WARRIOR_ANIMATION_BACK_TURNED11

Definition at line 276 of file colosseum_entrance.c.

COLOSSEUM_SOLDIER_ACTOR_ID

enum COLOSSEUM_SOLDIER_ACTOR_ID

The four soldiers of ColosseumSoldiersActorPlacements (SPRITE_SOLDIER).

They brief the party at COLOSSEUM_FROM_COLOSSEUM_ENTRANCE, congratulate Isaac after his wins and lead him through the passages. Isaac's companions take their own actor slots.

EnumeratorValueDescription
ACTOR_FIRST_SOLDIERACTOR_FIRST_PLACED
ACTOR_SECOND_SOLDIER
ACTOR_THIRD_SOLDIER
ACTOR_ESCORTING_SOLDIERACTOR_FIRST_PLACED + 3The last, who leads Isaac on to each finals stage.

Definition at line 286 of file colosseum_entrance.c.

COLOSSEUM_WAITING_ROOM_ACTOR_ID

enum COLOSSEUM_WAITING_ROOM_ACTOR_ID

The Colosseum's waiting room (Colosseum, COLOSSEUM_COLOSSEUM_AZART_MATCH_WEST), numbered by the rows of ColosseumActorPlacementsFromColosseumAzartMatchWest.

It holds four soldiers and the seven warriors who cleared the trials, as they introduce themselves.

EnumeratorValueDescription
ACTOR_FINALS_SOLDIERACTOR_FIRST_PLACEDAsks whether Isaac is ready for the finals.
ACTOR_EXIT_SOLDIERWill not let Isaac leave. "You cannot leave until the finals are over."
ACTOR_WAITING_SOLDIERHas waited long for the finals. "I feel we've been waiting forever for the finals to begin."
ACTOR_GONG_SOLDIERTells of the gong. "When the gong sounds, the finals will begin."
ACTOR_MORGANThe highest-ranked.
ACTOR_AZARTThe second-best.
ACTOR_GALAHAD
ACTOR_SATRAGE
ACTOR_DEKKA
ACTOR_NAVAMPA
ACTOR_BUFORD

Definition at line 301 of file colosseum_entrance.c.

COLOSSEUM_ENTRANCE_METATILE_BEHAVIOR

enum COLOSSEUM_ENTRANCE_METATILE_BEHAVIOR

The metatile behaviors the Colosseum Entrance's cues answer.

EnumeratorValueDescription
METATILE_BEHAVIOR_COLOSSEUM_ENTRANCE_BEFORE_GATES10Before the gates (scColosseumEntranceCrowdRecognizesIsaac).

Definition at line 326 of file colosseum_entrance.c.

COLOSSEUM_METATILE_BEHAVIOR

enum COLOSSEUM_METATILE_BEHAVIOR

The metatile behaviors the Colosseum's cues answer.

EnumeratorValueDescription
METATILE_BEHAVIOR_COLOSSEUM_FINALS_LINE12The line before the waiting
METATILE_BEHAVIOR_COLOSSEUM_BEHIND_FINALS_LINE13room's east passage (scColosseumEntranceFinalsStart). The metatiles behind it (scColosseumEntranceStepBackFromFinalsLine).
METATILE_BEHAVIOR_COLOSSEUM_LOCKED_DOOR50A locked door, metatile (7, 9): "It is locked."

Definition at line 333 of file colosseum_entrance.c.

anonymous enum

enum { FLAG_LUCKY_GUESS_REFUSED_ISAAC, FLAG_NAVAMPA_SPOKE_FOR_DEKKA, FLAG_FINALS_LINE_ARMED, FLAG_FINALS_LINE_REACHED }

The temporary flags the colosseum's scenes keep.

EnumeratorValueDescription
FLAG_LUCKY_GUESS_REFUSED_ISAACFLAG_AREA_TEMP(0xc0)The Lucky Guess
FLAG_NAVAMPA_SPOKE_FOR_DEKKAFLAG_AREA_TEMP(0xc1)man has refused Isaac as a finalist (scColosseumEntranceOfferLuckyGuess). Navampa has explained that Dekka will not answer (scColosseumEntranceTalkToDekka).
FLAG_FINALS_LINE_ARMEDFLAG_SCENE_TEMP(0x34)The leader has crossed the metatiles behind the finals line, so stepping onto it asks whether Isaac is ready.
FLAG_FINALS_LINE_REACHEDFLAG_SCENE_TEMP(0x35)The leader has stepped onto the line since. Its step cue is off.

Definition at line 347 of file colosseum_entrance.c.

Functions in detail

scColosseumEntranceApplyArrivalState

static void scColosseumEntranceApplyArrivalState(void)

Each arrival in the Colosseum has its own script.

References fdActorSetAnimation(), gmFlagGet(), gmFlagSet(), gmInventorySnapshotSave(), gmPartyAddMember(), MainRoutineStateWork, scColosseumEntranceAnnounceFinals(), scColosseumEntranceEscortToEastExit(), scColosseumEntranceEscortToWestExit(), scColosseumEntranceExplainPartySupport(), scColosseumEntranceExplainTrial(), scColosseumEntranceInitContestants(), scColosseumEntrancePraiseBothMatchesWon(), scColosseumEntrancePraiseFirstMatchWon(), scColosseumEntranceShowClearedTrial(), scColosseumEntranceShowFailedTrial(), scColosseumEntranceWalkToEastExit(), scColosseumEntranceWalkToWestExit(), Sint32 and sySynch().

Referenced by scInit().

Definition at lines 112 and 1524 of file colosseum_entrance.c.

scColosseumEntranceShowMessageAndPause

static void scColosseumEntranceShowMessageAndPause(Sint32 speaker)

Shows the next message from a speaker, then pauses ten ticks.

References fdScriptShowMessage(), fdScriptWait() and Sint32.

Referenced by scColosseumEntranceAnnounceFinals(), scColosseumEntranceCrowdRecognizesIsaac(), scColosseumEntranceDiscussLuckyGuessWinnings(), scColosseumEntranceExplainPartySupport(), scColosseumEntranceExplainTrial(), scColosseumEntranceFinalsStart(), scColosseumEntrancePraiseBothMatchesWon(), scColosseumEntrancePraiseFirstMatchWon(), scColosseumEntranceTalkToAzart(), scColosseumEntranceTalkToBuford(), scColosseumEntranceTalkToDekka(), scColosseumEntranceTalkToGalahad(), scColosseumEntranceTalkToNavampa(), scColosseumEntranceTalkToSatrage() and scColosseumEntranceTalkToTrialAttendant().

Definition at lines 113 and 1591 of file colosseum_entrance.c.

scColosseumEntranceFaceDirection

static void scColosseumEntranceFaceDirection(Sint32 actorId, Sint32 facing)

Turns an actor to the given facing over ten ticks.

References fdActorFaceDirection() and Sint32.

Referenced by scColosseumEntranceCrowdRecognizesIsaac(), scColosseumEntranceDiscussLuckyGuessWinnings(), scColosseumEntranceExplainPartySupport(), scColosseumEntranceExplainTrial(), scColosseumEntranceFinalsStart(), scColosseumEntranceFollowEscortOut(), scColosseumEntranceShowClearedTrial(), scColosseumEntranceShowFailedTrial(), scColosseumEntranceTalkToBuford(), scColosseumEntranceTalkToDekka(), scColosseumEntranceTalkToNavampa() and scColosseumEntranceTalkToSatrage().

Definition at lines 114 and 1598 of file colosseum_entrance.c.

scColosseumEntranceUpdateEntranceMetatiles

static void scColosseumEntranceUpdateEntranceMetatiles(void)

Once Colosso is over the colosseum's doors are shut: the doorway, on map layer 1 at (48..49, 5..6), takes the closed doors kept at (64..65, 0..1), and the doorway's floor, (16..17, 8), the walls beside it at (14..15, 8). Before then, once Babi is saved, the tops of the westmost stone posts on the cliff below the gates, (14, 11..12), take the walls kept at (30, 22..23).

References fdActorSetSpriteColorById(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), gmFlagGet() and Sint32.

Referenced by scInit().

Definition at lines 115 and 1608 of file colosseum_entrance.c.

scColosseumEntranceExplainPartySupport

static void scColosseumEntranceExplainPartySupport(void)

The Colosseum's briefing, as the party arrives from the gates (COLOSSEUM_FROM_COLOSSEUM_ENTRANCE).

References ColosseumEntranceGatherIntoIsaacInWaitingRoomScript, fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeStartInterpolation(), fdScriptAskYesNoWithActorAnimation(), fdScriptFinishScreenTransition(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scColosseumEntranceFaceDirection(), scColosseumEntranceFollowEscortOut(), scColosseumEntrancePlaceCompanionsBehindIsaac(), scColosseumEntranceShowMessageAndPause(), Sint32, syImportScriptSetExitRequest() and sySynch().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 116 and 1664 of file colosseum_entrance.c.

scColosseumEntranceEscortToEastExit

static void scColosseumEntranceEscortToEastExit(void)

In the Colosseum's east passage, a soldier leads Isaac to the next finals match's tour.

Jenna is never with the party at Colosso in normal play; if she is, Mia takes her place and the debug battle keys are switched on (FLAG_DEBUG_BATTLE_KEYS).

References fdActorGet(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetDestination(), fdCameraFollowActor(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), gmFlagGet(), gmFlagSet(), gmPartyAddMember(), gmPartyRemoveMember(), syImportScriptSetExitRequest() and sySynch().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 117 and 1894 of file colosseum_entrance.c.

scColosseumEntranceAnnounceFinals

static void scColosseumEntranceAnnounceFinals(void)

Arriving in the Colosseum's waiting room from Colosseum Final 1's tour, the soldier tells the warriors to prepare.

References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetMovementTypeById(), fdActorStop(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scColosseumEntranceShowMessageAndPause() and sySynch().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 118 and 1933 of file colosseum_entrance.c.

scColosseumEntranceWalkToEastExit

static void scColosseumEntranceWalkToEastExit(void)

In the Colosseum's east passage, Isaac walks alone into his match.

References fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetDestination(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), gmFlagGet() and syImportScriptSetExitRequest().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 119 and 1973 of file colosseum_entrance.c.

scColosseumEntrancePraiseFirstMatchWon

static void scColosseumEntrancePraiseFirstMatchWon(void)

Back in the Colosseum after the first win, the soldiers congratulate Isaac and lead him on to Colosseum Final 2.

References ColosseumEntranceGatherIntoIsaacInWaitingRoomScript, fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetScript(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scColosseumEntranceFollowEscortOut(), scColosseumEntrancePlaceCompanionsBehindIsaac(), scColosseumEntranceShowMessageAndPause(), Sint32 and syImportScriptSetExitRequest().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 120 and 1997 of file colosseum_entrance.c.

scColosseumEntranceEscortToWestExit

static void scColosseumEntranceEscortToWestExit(void)

In the Colosseum's west passage, a soldier leads Isaac to Colosseum Final 2's tour, Mia taking Jenna's place as in scColosseumEntranceEscortToEastExit.

References fdActorGet(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetDestination(), fdCameraFollowActor(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), gmFlagGet(), gmFlagSet(), gmPartyAddMember(), gmPartyRemoveMember(), syImportScriptSetExitRequest() and sySynch().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 121 and 2040 of file colosseum_entrance.c.

scColosseumEntranceWalkToWestExit

static void scColosseumEntranceWalkToWestExit(void)

In the Colosseum's west passage, Isaac walks alone into Colosseum Final 2.

References fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetDestination(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks() and syImportScriptSetExitRequest().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 122 and 2070 of file colosseum_entrance.c.

scColosseumEntrancePraiseBothMatchesWon

static void scColosseumEntrancePraiseBothMatchesWon(void)

Back in the Colosseum after the second win, one more win and Isaac is the champion.

References ColosseumEntranceGatherIntoIsaacInWaitingRoomScript, fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetScript(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scColosseumEntranceFollowEscortOut(), scColosseumEntrancePlaceCompanionsBehindIsaac(), scColosseumEntranceShowMessageAndPause(), Sint32 and syImportScriptSetExitRequest().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 123 and 2086 of file colosseum_entrance.c.

scColosseumEntranceInitContestants

static void scColosseumEntranceInitContestants(void)

Tints each warrior in the Colosseum's waiting room his own colours and sets the pace of his waiting animation.

References fdActorSetAnimation(), fdActorSetAnimationSpeedById() and fdActorSetSpriteColorById().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at lines 124 and 2128 of file colosseum_entrance.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References ColosseumEntranceEntrances, ColosseumEntranceEntrancesOther, ColosseumEntrances and MainRoutineStateWork.

Definition at line 367 of file colosseum_entrance.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 382 of file colosseum_entrance.c.

scGetExits

const Uint32 *scGetExits(void)

Returns the shared colosseum exits.

References ColosseumEntranceExits.

Definition at line 388 of file colosseum_entrance.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

Selects the actors for the scene being entered.

References ColosseumActorPlacements, ColosseumActorPlacementsFromColosseumAzartMatchWest, ColosseumActorPlacementsFromColosseumNavampaMatch, ColosseumEntranceActorPlacements, ColosseumEntranceActorPlacementsAfterColosso, ColosseumEntranceActorPlacementsFinalsDay, ColosseumEntranceActorPlacementsOther, ColosseumSoldiersActorPlacements, ColosseumStandsActorPlacements, ColosseumTrialGroundsActorPlacements, gmFlagGet() and MainRoutineStateWork.

Definition at line 394 of file colosseum_entrance.c.

scGetCues

const CUE *scGetCues(void)

References ColosseumCues, ColosseumCuesFromColosseumAzartMatchWest, ColosseumEntranceCues, ColosseumEntranceCuesOther, ColosseumTunnelCues and MainRoutineStateWork.

Definition at line 455 of file colosseum_entrance.c.

scColosseumEntranceDiscussSeating

static void scColosseumEntranceDiscussSeating(void)

At the Colosseum Entrance, a burly grey-haired man talks about getting in.

References fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagGet().

Referenced by ColosseumEntranceCues.

Definition at line 480 of file colosseum_entrance.c.

scColosseumEntranceDiscussLuckyGuessSeats

static void scColosseumEntranceDiscussLuckyGuessSeats(void)

At the Colosseum Entrance, an old woman talks about the Lucky Guess.

References fdActorShowEmote(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagGet().

Referenced by ColosseumEntranceCues.

Definition at line 501 of file colosseum_entrance.c.

scColosseumEntranceDiscussLuckyGuessWinnings

static void scColosseumEntranceDiscussLuckyGuessWinnings(void)

At the Colosseum Entrance, a strongman talks about his bet; on the finals day he is a scalper busy with a customer.

References fdActorRunRepeatedMotion(), fdActorTurnToFaceEachOther(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet(), scColosseumEntranceFaceDirection() and scColosseumEntranceShowMessageAndPause().

Referenced by ColosseumEntranceCues.

Definition at line 523 of file colosseum_entrance.c.

scColosseumEntranceOfferLuckyGuess

static void scColosseumEntranceOfferLuckyGuess(void)

The Lucky Guess man at the Colosseum Entrance explains the game.

References fdActorShowEmote(), fdScriptAskYesNo(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptGetFlag(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet() and gmFlagSet().

Referenced by ColosseumEntranceCues.

Definition at line 550 of file colosseum_entrance.c.

scColosseumEntranceTalkToAzart

static void scColosseumEntranceTalkToAzart(void)

In the Colosseum's waiting room, Azart, the second-best, won't lose to someone who skipped the trials.

References fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetMovementTypeById(), fdActorStop(), fdActorTurnToFaceEachOther(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and scColosseumEntranceShowMessageAndPause().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 606 of file colosseum_entrance.c.

scColosseumEntranceTalkToGalahad

static void scColosseumEntranceTalkToGalahad(void)

In the Colosseum's waiting room, Galahad, the third seed, jumps. "Waah! Don't frighten me!"

References fdActorRunRepeatedMotion(), fdActorSetAttachedEffect(), fdActorShowEmote(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and scColosseumEntranceShowMessageAndPause().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 629 of file colosseum_entrance.c.

scColosseumEntranceTalkToSatrage

static void scColosseumEntranceTalkToSatrage(void)

In the Colosseum's waiting room, Satrage, the fourth-ranked, opens his eyes and names himself.

References fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorTurnToFaceEachOther(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), scColosseumEntranceFaceDirection() and scColosseumEntranceShowMessageAndPause().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 646 of file colosseum_entrance.c.

scColosseumEntranceTalkToDekka

static void scColosseumEntranceTalkToDekka(void)

In the Colosseum's waiting room, Dekka psyches himself up.

References fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorShowEmote(), fdActorTurnToFaceEachOther(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scColosseumEntranceFaceDirection() and scColosseumEntranceShowMessageAndPause().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 664 of file colosseum_entrance.c.

scColosseumEntranceTalkToNavampa

static void scColosseumEntranceTalkToNavampa(void)

In the Colosseum's waiting room, Navampa of Gondowan, the sixth-ranked, introduces himself.

References fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorTurnToFaceEachOther(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), scColosseumEntranceFaceDirection() and scColosseumEntranceShowMessageAndPause().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 696 of file colosseum_entrance.c.

scColosseumEntranceTalkToBuford

static void scColosseumEntranceTalkToBuford(void)

In the Colosseum's waiting room, Buford, the seventh seed, says anyone could win today.

References fdActorFaceDirection(), fdActorSetAnimationAndWait(), fdActorTurnToFaceEachOther(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), scColosseumEntranceFaceDirection() and scColosseumEntranceShowMessageAndPause().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 716 of file colosseum_entrance.c.

scColosseumEntranceAskIfReadyForFinals

static void scColosseumEntranceAskIfReadyForFinals(void)

In the Colosseum's waiting room, the soldier asks whether Isaac is ready for the finals.

References fdActorTurnToFaceEachOther(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage() and fdScriptStart().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 738 of file colosseum_entrance.c.

scColosseumEntranceCrowdRecognizesIsaac

static void scColosseumEntranceCrowdRecognizesIsaac(void)

Stepping toward the gates at the Colosseum Entrance on the finals day, the soldiers recognize Isaac and take the party in.

References ColosseumEntranceEnterGatesScript, ColosseumEntranceGatherIntoGaretScript, ColosseumEntranceGatherIntoIsaacScript, fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraGetActor(), fdCameraWaitForArrival(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptSkipMessages(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagGet(), gmFlagSet(), scColosseumEntranceFaceDirection(), scColosseumEntranceShowMessageAndPause(), scPlaceAtLeader() and syImportScriptSetExitRequest().

Referenced by ColosseumEntranceCues.

Definition at line 755 of file colosseum_entrance.c.

scColosseumEntranceFinalsStart

static void scColosseumEntranceFinalsStart(void)

Stepping to the line in the Colosseum's waiting room asks whether Isaac is ready for the finals.

References ColosseumEntranceApproachFinalsGroupScript, ColosseumEntranceEnterFinalsScript, ColosseumEntranceJoinFinalsFromEastScript, ColosseumEntranceJoinFinalsFromSouthScript, fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorStartRepeatedMotion(), fdActorStop(), fdActorWalkToAndWait(), fdCameraWaitForArrival(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scColosseumEntranceFaceDirection(), scColosseumEntranceShowMessageAndPause(), Sint32, syImportScriptSetExitRequest() and sySynch().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 1014 of file colosseum_entrance.c.

scColosseumEntranceStepBackFromFinalsLine

static void scColosseumEntranceStepBackFromFinalsLine(void)

Stepping back from the line in the Colosseum's waiting room (METATILE_BEHAVIOR_COLOSSEUM_BEHIND_FINALS_LINE) arms the question again (FLAG_FINALS_LINE_ARMED and FLAG_FINALS_LINE_REACHED).

References gmFlagClear() and gmFlagSet().

Referenced by ColosseumCuesFromColosseumAzartMatchWest.

Definition at line 1167 of file colosseum_entrance.c.

scColosseumEntranceTalkToTrialAttendant

static void scColosseumEntranceTalkToTrialAttendant(void)

The trial attendant in the Colosseum's stands shows the party two warriors' trials.

References fdActorFaceDirection(), fdActorStartRepeatedMotion(), fdActorTurnToFaceEachOther(), fdCameraGetActor(), fdCameraWaitForArrival(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWaitTransitionTicks(), gmFlagGet(), scColosseumEntranceShowMessageAndPause(), syImportScriptSetExitRequest() and sySynch().

Referenced by ColosseumCues.

Definition at line 1175 of file colosseum_entrance.c.

scColosseumEntranceShowFailedTrial

static void scColosseumEntranceShowFailedTrial(void)

In the Colosseum's trial grounds, a warrior fails his trial.

References ColosseumEntranceQuiverScript, fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorStop(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scColosseumEntranceFaceDirection(), Sint32, syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at line 1216 of file colosseum_entrance.c.

scColosseumEntranceExplainTrial

static void scColosseumEntranceExplainTrial(void)

Back in the Colosseum's stands from a trial, the attendant says how it went.

References fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagGet(), gmFlagSet(), scColosseumEntranceFaceDirection() and scColosseumEntranceShowMessageAndPause().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at line 1339 of file colosseum_entrance.c.

scColosseumEntranceShowClearedTrial

static void scColosseumEntranceShowClearedTrial(void)

In the Colosseum's trial grounds, a warrior clears his trial.

References ColosseumEntranceQuiverScript, fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorStop(), fdActorWalkToAndWait(), fdMapGridWaitForShakeToSettle(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagSet(), scColosseumEntranceFaceDirection(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scColosseumEntranceApplyArrivalState().

Definition at line 1373 of file colosseum_entrance.c.

scInit

Sint32 scInit(void)

Sets up the Colosseum or its entrance as the party arrives.

References MainRoutineStateWork, scColosseumEntranceApplyArrivalState(), scColosseumEntranceUpdateEntranceMetatiles() and Sint32.

Definition at line 1508 of file colosseum_entrance.c.

scColosseumEntranceFollowEscortOut

static inline void scColosseumEntranceFollowEscortOut(void)

In the waiting room, once his companions have gathered into him, Isaac turns east to the escorting soldier and the two nod. The soldier steps round to x 808 and walks south to z 312, and Isaac follows him while the camera pans slowly after them.

References fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetDestination(), fdActorWalkTo(), fdActorWalkToAndWait(), fdScriptWait() and scColosseumEntranceFaceDirection().

Referenced by scColosseumEntranceExplainPartySupport(), scColosseumEntrancePraiseBothMatchesWon() and scColosseumEntrancePraiseFirstMatchWon().

Definition at line 1635 of file colosseum_entrance.c.

scColosseumEntrancePlaceCompanionsBehindIsaac

static inline void scColosseumEntrancePlaceCompanionsBehindIsaac(void)

Places the three companions behind Isaac for the soldiers' briefing.

Referenced by scColosseumEntranceExplainPartySupport(), scColosseumEntrancePraiseBothMatchesWon() and scColosseumEntrancePraiseFirstMatchWon().

Definition at line 1655 of file colosseum_entrance.c.

Variables in detail

ColosseumEntranceGatherIntoIsaacScript

extern Sint32 ColosseumEntranceGatherIntoIsaacScript[]

Sint32 ColosseumEntranceGatherIntoIsaacScript[]

References Sint32.

Referenced by scColosseumEntranceCrowdRecognizesIsaac().

Definition at lines 83 and 2147 of file colosseum_entrance.c.

ColosseumEntranceGatherIntoGaretScript

extern Sint32 ColosseumEntranceGatherIntoGaretScript[]

Sint32 ColosseumEntranceGatherIntoGaretScript[]

References Sint32.

Referenced by scColosseumEntranceCrowdRecognizesIsaac().

Definition at lines 84 and 2156 of file colosseum_entrance.c.

ColosseumEntranceGatherIntoIsaacInWaitingRoomScript

extern Sint32 ColosseumEntranceGatherIntoIsaacInWaitingRoomScript[]

Sint32 ColosseumEntranceGatherIntoIsaacInWaitingRoomScript[]

References Sint32.

Referenced by scColosseumEntranceExplainPartySupport(), scColosseumEntrancePraiseBothMatchesWon() and scColosseumEntrancePraiseFirstMatchWon().

Definition at lines 85 and 2165 of file colosseum_entrance.c.

ColosseumEntranceEnterGatesScript

extern Sint32 ColosseumEntranceEnterGatesScript[]

Sint32 ColosseumEntranceEnterGatesScript[]

References Sint32.

Referenced by scColosseumEntranceCrowdRecognizesIsaac().

Definition at lines 86 and 2174 of file colosseum_entrance.c.

ColosseumEntranceApproachFinalsGroupScript

extern Sint32 ColosseumEntranceApproachFinalsGroupScript[]

Sint32 ColosseumEntranceApproachFinalsGroupScript[]

References Sint32.

Referenced by scColosseumEntranceFinalsStart().

Definition at lines 87 and 2184 of file colosseum_entrance.c.

ColosseumEntranceJoinFinalsFromEastScript

extern Sint32 ColosseumEntranceJoinFinalsFromEastScript[]

Sint32 ColosseumEntranceJoinFinalsFromEastScript[]

References Sint32.

Referenced by scColosseumEntranceFinalsStart().

Definition at lines 88 and 2194 of file colosseum_entrance.c.

ColosseumEntranceJoinFinalsFromSouthScript

extern Sint32 ColosseumEntranceJoinFinalsFromSouthScript[]

Sint32 ColosseumEntranceJoinFinalsFromSouthScript[]

References Sint32.

Referenced by scColosseumEntranceFinalsStart().

Definition at lines 89 and 2210 of file colosseum_entrance.c.

ColosseumEntranceEnterFinalsScript

extern Sint32 ColosseumEntranceEnterFinalsScript[]

Sint32 ColosseumEntranceEnterFinalsScript[]

References Sint32.

Referenced by scColosseumEntranceFinalsStart().

Definition at lines 90 and 2222 of file colosseum_entrance.c.

ColosseumEntranceQuiverScript

extern Sint32 ColosseumEntranceQuiverScript[]

Sint32 ColosseumEntranceQuiverScript[]

A trial warrior quivering at the pillar before the flash: his sprite jumps an eighth taller and narrower and settles back, every six ticks.

References Sint32.

Referenced by scColosseumEntranceShowClearedTrial() and scColosseumEntranceShowFailedTrial().

Definition at lines 91 and 2237 of file colosseum_entrance.c.

ColosseumEntranceEntrancesOther

extern SCENE_ENTRANCE ColosseumEntranceEntrancesOther[]

SCENE_ENTRANCE ColosseumEntranceEntrancesOther[]

Referenced by scGetEntrances().

Definition at lines 92 and 2256 of file colosseum_entrance.c.

ColosseumEntrances

extern SCENE_ENTRANCE ColosseumEntrances[]

SCENE_ENTRANCE ColosseumEntrances[]

Referenced by scGetEntrances().

Definition at lines 93 and 2283 of file colosseum_entrance.c.

ColosseumEntranceEntrances

extern SCENE_ENTRANCE ColosseumEntranceEntrances[]

SCENE_ENTRANCE ColosseumEntranceEntrances[]

Referenced by scGetEntrances().

Definition at lines 94 and 2422 of file colosseum_entrance.c.

ColosseumEntranceExits

extern Uint32 ColosseumEntranceExits[]

Uint32 ColosseumEntranceExits[]

Referenced by scGetExits().

Definition at lines 95 and 2440 of file colosseum_entrance.c.

ColosseumEntranceActorPlacementsOther

extern ACTOR_PLACE ColosseumEntranceActorPlacementsOther[]

ACTOR_PLACE ColosseumEntranceActorPlacementsOther[]

Referenced by scGetActorPlacements().

Definition at lines 96 and 2510 of file colosseum_entrance.c.

ColosseumStandsActorPlacements

extern ACTOR_PLACE ColosseumStandsActorPlacements[]

ACTOR_PLACE ColosseumStandsActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 97 and 2522 of file colosseum_entrance.c.

ColosseumTrialGroundsActorPlacements

extern ACTOR_PLACE ColosseumTrialGroundsActorPlacements[]

ACTOR_PLACE ColosseumTrialGroundsActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 98 and 2575 of file colosseum_entrance.c.

ColosseumActorPlacements

extern ACTOR_PLACE ColosseumActorPlacements[]

ACTOR_PLACE ColosseumActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 99 and 2607 of file colosseum_entrance.c.

ColosseumSoldiersActorPlacements

extern ACTOR_PLACE ColosseumSoldiersActorPlacements[]

ACTOR_PLACE ColosseumSoldiersActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 100 and 2617 of file colosseum_entrance.c.

ColosseumActorPlacementsFromColosseumAzartMatchWest

extern ACTOR_PLACE ColosseumActorPlacementsFromColosseumAzartMatchWest[]

ACTOR_PLACE ColosseumActorPlacementsFromColosseumAzartMatchWest[]

Referenced by scGetActorPlacements().

Definition at lines 101 and 2635 of file colosseum_entrance.c.

ColosseumActorPlacementsFromColosseumNavampaMatch

extern ACTOR_PLACE ColosseumActorPlacementsFromColosseumNavampaMatch[]

ACTOR_PLACE ColosseumActorPlacementsFromColosseumNavampaMatch[]

Referenced by scGetActorPlacements().

Definition at lines 102 and 2661 of file colosseum_entrance.c.

ColosseumEntranceActorPlacements

extern ACTOR_PLACE ColosseumEntranceActorPlacements[]

ACTOR_PLACE ColosseumEntranceActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 103 and 2677 of file colosseum_entrance.c.

ColosseumEntranceActorPlacementsFinalsDay

extern ACTOR_PLACE ColosseumEntranceActorPlacementsFinalsDay[]

ACTOR_PLACE ColosseumEntranceActorPlacementsFinalsDay[]

Referenced by scGetActorPlacements().

Definition at lines 104 and 2716 of file colosseum_entrance.c.

ColosseumEntranceActorPlacementsAfterColosso

extern ACTOR_PLACE ColosseumEntranceActorPlacementsAfterColosso[]

ACTOR_PLACE ColosseumEntranceActorPlacementsAfterColosso[]

Referenced by scGetActorPlacements().

Definition at lines 105 and 2769 of file colosseum_entrance.c.

ColosseumEntranceCuesOther

extern CUE ColosseumEntranceCuesOther[]

CUE ColosseumEntranceCuesOther[]

Referenced by scGetCues().

Definition at lines 106 and 2777 of file colosseum_entrance.c.

ColosseumTunnelCues

extern CUE ColosseumTunnelCues[]

CUE ColosseumTunnelCues[]

Referenced by scGetCues().

Definition at lines 107 and 2781 of file colosseum_entrance.c.

ColosseumCues

extern CUE ColosseumCues[]

CUE ColosseumCues[]

References scColosseumEntranceTalkToTrialAttendant().

Referenced by scGetCues().

Definition at lines 108 and 2789 of file colosseum_entrance.c.

ColosseumEntranceCues

extern CUE ColosseumEntranceCues[]

CUE ColosseumEntranceCues[]

References scColosseumEntranceCrowdRecognizesIsaac(), scColosseumEntranceDiscussLuckyGuessSeats(), scColosseumEntranceDiscussLuckyGuessWinnings(), scColosseumEntranceDiscussSeating() and scColosseumEntranceOfferLuckyGuess().

Referenced by scGetCues().

Definition at lines 109 and 2825 of file colosseum_entrance.c.

ColosseumCuesFromColosseumAzartMatchWest

extern CUE ColosseumCuesFromColosseumAzartMatchWest[]

CUE ColosseumCuesFromColosseumAzartMatchWest[]

References scColosseumEntranceAskIfReadyForFinals(), scColosseumEntranceFinalsStart(), scColosseumEntranceStepBackFromFinalsLine(), scColosseumEntranceTalkToAzart(), scColosseumEntranceTalkToBuford(), scColosseumEntranceTalkToDekka(), scColosseumEntranceTalkToGalahad(), scColosseumEntranceTalkToNavampa() and scColosseumEntranceTalkToSatrage().

Referenced by scGetCues().

Definition at lines 110 and 2899 of file colosseum_entrance.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailTRIAL_PILLAR_HEAVESEnumerations in detailanonymous enumCOLOSSEUM_ENTRANCE_ACTOR_IDCOLOSSEUM_STANDS_ACTOR_IDCOLOSSEUM_TRIAL_ACTOR_IDFLAG_BEARER_ANIMATIONanonymous enumCOLOSSEUM_SOLDIER_ACTOR_IDCOLOSSEUM_WAITING_ROOM_ACTOR_IDCOLOSSEUM_ENTRANCE_METATILE_BEHAVIORCOLOSSEUM_METATILE_BEHAVIORanonymous enumFunctions in detailscColosseumEntranceApplyArrivalStatescColosseumEntranceShowMessageAndPausescColosseumEntranceFaceDirectionscColosseumEntranceUpdateEntranceMetatilesscColosseumEntranceExplainPartySupportscColosseumEntranceEscortToEastExitscColosseumEntranceAnnounceFinalsscColosseumEntranceWalkToEastExitscColosseumEntrancePraiseFirstMatchWonscColosseumEntranceEscortToWestExitscColosseumEntranceWalkToWestExitscColosseumEntrancePraiseBothMatchesWonscColosseumEntranceInitContestantsscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscGetCuesscColosseumEntranceDiscussSeatingscColosseumEntranceDiscussLuckyGuessSeatsscColosseumEntranceDiscussLuckyGuessWinningsscColosseumEntranceOfferLuckyGuessscColosseumEntranceTalkToAzartscColosseumEntranceTalkToGalahadscColosseumEntranceTalkToSatragescColosseumEntranceTalkToDekkascColosseumEntranceTalkToNavampascColosseumEntranceTalkToBufordscColosseumEntranceAskIfReadyForFinalsscColosseumEntranceCrowdRecognizesIsaacscColosseumEntranceFinalsStartscColosseumEntranceStepBackFromFinalsLinescColosseumEntranceTalkToTrialAttendantscColosseumEntranceShowFailedTrialscColosseumEntranceExplainTrialscColosseumEntranceShowClearedTrialscInitscColosseumEntranceFollowEscortOutscColosseumEntrancePlaceCompanionsBehindIsaacVariables in detailColosseumEntranceGatherIntoIsaacScriptColosseumEntranceGatherIntoGaretScriptColosseumEntranceGatherIntoIsaacInWaitingRoomScriptColosseumEntranceEnterGatesScriptColosseumEntranceApproachFinalsGroupScriptColosseumEntranceJoinFinalsFromEastScriptColosseumEntranceJoinFinalsFromSouthScriptColosseumEntranceEnterFinalsScriptColosseumEntranceQuiverScriptColosseumEntranceEntrancesOtherColosseumEntrancesColosseumEntranceEntrancesColosseumEntranceExitsColosseumEntranceActorPlacementsOtherColosseumStandsActorPlacementsColosseumTrialGroundsActorPlacementsColosseumActorPlacementsColosseumSoldiersActorPlacementsColosseumActorPlacementsFromColosseumAzartMatchWestColosseumActorPlacementsFromColosseumNavampaMatchColosseumEntranceActorPlacementsColosseumEntranceActorPlacementsFinalsDayColosseumEntranceActorPlacementsAfterColossoColosseumEntranceCuesOtherColosseumTunnelCuesColosseumCuesColosseumEntranceCuesColosseumCuesFromColosseumAzartMatchWest