colosseum_entrance.c
The colosseum where Colosso is held, in three scenes: the crowd outside the gates, the halls where the party watches the warriors' trials, and the finals' waiting room, where Isaac meets the seven warriors who cleared the trials and marches out with them to the finals.
games/tbs/src/scene/colosseum_entrance.c on GitHub
The colosseum where Colosso is held, in three scenes: the crowd outside the gates, the halls where the party watches the warriors' trials, and the finals' waiting room, where Isaac meets the seven warriors who cleared the trials and marches out with them to the finals.
Functions
ColosseumEntrance_GetExits
const u32 *ColosseumEntrance_GetExits(void)
Returns the shared colosseum exits.
ColosseumEntrance_GetPlacements
const struct ScenePlacement *ColosseumEntrance_GetPlacements(void)
Selects actors for the current area and stage of Colosso.
Event_DiscussSeating
static void Event_DiscussSeating(void)
Outside the gates: during the trials, a man asks whether the party hopes to get in to see Colosso; on the finals day the colosseum is already full.
Used by gColosseumEntranceEvents3.
Event_DiscussLuckyGuessSeats
static void Event_DiscussLuckyGuessSeats(void)
Outside the gates: the Lucky Guess makes the battles better; on the finals day, a good spot costs too much.
Used by gColosseumEntranceEvents3.
Event_DiscussLuckyGuessWinnings
static void Event_DiscussLuckyGuessWinnings(void)
Outside the gates: a bettor put it all on a warrior no one picked; on the finals day a scalper, busy with a customer, asks if the party wants seats.
Used by gColosseumEntranceEvents3.
Event_OfferLuckyGuess
static void Event_OfferLuckyGuess(void)
The Lucky Guess man explains the game; on the finals day he recognizes Isaac and refuses him, as finalists may not play (0x3c0: said once).
Used by gColosseumEntranceEvents3.
Event_TalkToAzart
static void Event_TalkToAzart(void)
Azart, the second-best, will not lose to someone who skipped the trials; then he goes back to pacing.
Used by gColosseumEntranceEvents1Entrance12.
Event_TalkToGalahad
static void Event_TalkToGalahad(void)
Galahad, the third seed, jumps. "Waah! Don't frighten me!"
Used by gColosseumEntranceEvents1Entrance12.
Event_TalkToSatrage
static void Event_TalkToSatrage(void)
Satrage, the fourth-ranked, opens his eyes and names himself.
Used by gColosseumEntranceEvents1Entrance12.
Event_TalkToDekka
static void Event_TalkToDekka(void)
Dekka psyches himself up; the first time, Navampa explains he will not answer (0x3c1).
Used by gColosseumEntranceEvents1Entrance12.
Event_TalkToNavampa
static void Event_TalkToNavampa(void)
Navampa of Gondowan, the sixth-ranked, introduces himself.
Used by gColosseumEntranceEvents1Entrance12.
Event_TalkToBuford
static void Event_TalkToBuford(void)
Buford, the seventh seed: anyone could win today.
Used by gColosseumEntranceEvents1Entrance12.
Event_AskIfReadyForFinals
static void Event_AskIfReadyForFinals(void)
The official asks whether Isaac is ready for the finals.
Used by gColosseumEntranceEvents1Entrance12.
Event_CrowdRecognizesIsaac
static void Event_CrowdRecognizesIsaac(void)
Outside the gates on the finals day, the crowd recognizes Isaac as Babi's pick, and a guide takes the party in; if Isaac will not fight, his companions talk him round.
Used by gColosseumEntranceEvents3.
Event_FinalsBegin
static void Event_FinalsBegin(void)
Stepping forward in the waiting room: asked whether he is ready, Isaac can still wait; if he is, the warriors grumble, line up by rank and march out to the finals.
Used by gColosseumEntranceEvents1Entrance12.
Event_RearmFinalsStart
static void Event_RearmFinalsStart(void)
Stepping back from the line arms the question again (scene flags 0x234 and 0x235).
Used by gColosseumEntranceEvents1Entrance12.
Event_TalkToTrialAttendant
static void Event_TalkToTrialAttendant(void)
The trial attendant: before both trials have been watched, the screen goes to the next warrior's trial; afterwards he talks about the techniques.
Used by gColosseumEntranceEvents1.
ColosseumEntrance_ShowFailedTrial
static void ColosseumEntrance_ShowFailedTrial(void)
Arriving at entrance 7: a warrior strains at the trial, gives up and runs.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_ExplainTrial
static void ColosseumEntrance_ExplainTrial(void)
Back from a trial: the attendant says the warrior failed, or after the second trial that he cleared it.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_ShowClearedTrial
static void ColosseumEntrance_ShowClearedTrial(void)
Arriving at entrance 70: a warrior heaves the trial object up in jolts and drops it, shaking the ground: he clears the trial.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_Initialize
s32 ColosseumEntrance_Initialize(void)
Sets up the halls by the arrival, or the gates outside by Colosso's stage.
ColosseumEntrance_ApplyArrivalState
static void ColosseumEntrance_ApplyArrivalState(void)
Each arrival in the halls has its own scene: the trials, the briefing before the finals, the passages to the stages and the congratulations after them.
Used by ColosseumEntrance_Initialize.
ColosseumEntrance_FaceDirection
static void ColosseumEntrance_FaceDirection(s32 actor, s32 facing)
Turns an actor to the given facing over ten frames.
Used by ColosseumEntrance_CelebrateAdvancement, ColosseumEntrance_CelebrateBothWins, ColosseumEntrance_ExplainPartySupport, ColosseumEntrance_ExplainTrial, ColosseumEntrance_ShowClearedTrial, ColosseumEntrance_ShowFailedTrial, ColosseumEntrance_Turn, Event_CrowdRecognizesIsaac, Event_DiscussLuckyGuessWinnings, Event_FinalsBegin, Event_TalkToBuford, Event_TalkToDekka, Event_TalkToNavampa, Event_TalkToSatrage.
ColosseumEntrance_UpdateEntranceCells
static void ColosseumEntrance_UpdateEntranceCells(void)
Outside: once Colosso is over, the tiles by the gates change; before that, actor 16 takes child value 2, and on the finals day a cell pair changes.
Used by ColosseumEntrance_Initialize.
ColosseumEntrance_PositionPartyForBriefing
static inline void ColosseumEntrance_PositionPartyForBriefing(void)
Places the three companions behind Isaac for the officials' briefing.
Used by ColosseumEntrance_CelebrateAdvancement, ColosseumEntrance_CelebrateBothWins, ColosseumEntrance_ExplainPartySupport.
ColosseumEntrance_ExplainPartySupport
static void ColosseumEntrance_ExplainPartySupport(void)
Before the first match: only Isaac may enter the finals, so the officials seat his companions by the stage, where they can cheer him on.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_EscortToEastExit
static void ColosseumEntrance_EscortToEastExit(void)
An official leads Isaac east to the next stage.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_AnnounceFinals
static void ColosseumEntrance_AnnounceFinals(void)
Arriving in the waiting room: the official tells the warriors to prepare.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_WalkToEastExit
static void ColosseumEntrance_WalkToEastExit(void)
Isaac walks east alone to the next stage.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_CelebrateAdvancement
static void ColosseumEntrance_CelebrateAdvancement(void)
After the first match: the officials congratulate Isaac and lead him on.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_EscortToWestExit
static void ColosseumEntrance_EscortToWestExit(void)
An official leads Isaac west to the next stage.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_WalkToWestExit
static void ColosseumEntrance_WalkToWestExit(void)
Isaac walks west alone to the next stage.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_CelebrateBothWins
static void ColosseumEntrance_CelebrateBothWins(void)
After the second match: one more win and Isaac is the champion.
Used by ColosseumEntrance_ApplyArrivalState.
ColosseumEntrance_InitializeContestants
static void ColosseumEntrance_InitializeContestants(void)
The warriors' child values and their waiting actions in the waiting room.
Used by ColosseumEntrance_ApplyArrivalState.
Also, functions without a comment: ColosseumEntrance_Turn, ColosseumEntrance_GetEntrances, ColosseumEntrance_GetRegions, ColosseumEntrance_GetEvents, ColosseumEntrance_ShowMessageAndPause.
Globals, without a comment: gColosseumEntrance_GatherAtSpectatorLeaderScript, gColosseumEntrance_GatherAtSpectatorPartyScript, gColosseumEntrance_RejoinPartyScript, gColosseumEntrance_LeaveSpectatorAreaScript, gColosseumEntrance_ApproachFinalsGroupScript, gColosseumEntrance_JoinFinalsFromEastScript, gColosseumEntrance_JoinFinalsFromSouthScript, gColosseumEntrance_EnterFinalsScript, gColosseumEntrance_PulseScaleScript, gColosseumEntranceEntrancesOther, gColosseumEntranceEntrances1, gColosseumEntranceEntrances3, gColosseumEntranceExits, gColosseumEntrancePlacementsOther, gColosseumEntrancePlacements1Entrance5, gColosseumEntrancePlacements1Entrance7, gColosseumEntrancePlacements1, gColosseumEntrancePlacements1Entrance8, gColosseumEntrancePlacements1Entrance12, gColosseumEntrancePlacements1Entrance66, gColosseumEntrancePlacements3, gColosseumEntrancePlacements3FinalsDay, gColosseumEntrancePlacements3AfterColosso, gColosseumEntranceEventsOther, gColosseumEntranceEvents2, gColosseumEntranceEvents1, gColosseumEntranceEvents3, gColosseumEntranceEvents1Entrance12.