Alchemy
Loading...
Searching...
No Matches

colosseum_entrance.c File Reference

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. More...

Go to the source code of this file.

Enumerations

enum  { TRIAL_ATTENDANT = 17 }
 The attendant by the trials (ColosseumEntrance1, entrances 5 and 69). More...
enum  {
  FINALS_OFFICIAL = 8 , MORGAN = 12 , AZART = 13 , GALAHAD = 14 ,
  SATRAGE = 15 , DEKKA = 16 , NAVAMPA = 17 , BUFORD = 18
}
 The finals' waiting room (ColosseumEntrance1, entrance 12): an official and the seven warriors who cleared the trials, as they introduce themselves. More...

Functions

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.
static void ColosseumEntrance_ShowMessageAndPause (s32 speaker)
static void ColosseumEntrance_FaceDirection (s32 actor, s32 facing)
 Turns an actor to the given facing over ten frames.
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.
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.
static void ColosseumEntrance_EscortToEastExit (void)
 An official leads Isaac east to the next stage.
static void ColosseumEntrance_AnnounceFinals (void)
 Arriving in the waiting room: the official tells the warriors to prepare.
static void ColosseumEntrance_WalkToEastExit (void)
 Isaac walks east alone to the next stage.
static void ColosseumEntrance_CelebrateAdvancement (void)
 After the first match: the officials congratulate Isaac and lead him on.
static void ColosseumEntrance_EscortToWestExit (void)
 An official leads Isaac west to the next stage.
static void ColosseumEntrance_WalkToWestExit (void)
 Isaac walks west alone to the next stage.
static void ColosseumEntrance_CelebrateBothWins (void)
 After the second match: one more win and Isaac is the champion.
static void ColosseumEntrance_InitializeContestants (void)
 The warriors' child values and their waiting actions in the waiting room.
static void ColosseumEntrance_Turn (s32 actor, s32 facing)
const struct SceneEntrance * ColosseumEntrance_GetEntrances (void)
const struct SceneRegion * ColosseumEntrance_GetRegions (void)
const u32 * ColosseumEntrance_GetExits (void)
 Returns the shared colosseum exits.
const struct ScenePlacement * ColosseumEntrance_GetPlacements (void)
 Selects actors for the current area and stage of Colosso.
const struct SceneEvent * ColosseumEntrance_GetEvents (void)
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.
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.
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.
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).
static void Event_TalkToAzart (void)
 Azart, the second-best, will not lose to someone who skipped the trials; then he goes back to pacing.
static void Event_TalkToGalahad (void)
 Galahad, the third seed, jumps. "Waah! Don't frighten me!".
static void Event_TalkToSatrage (void)
 Satrage, the fourth-ranked, opens his eyes and names himself.
static void Event_TalkToDekka (void)
 Dekka psyches himself up; the first time, Navampa explains he will not answer (0x3c1).
static void Event_TalkToNavampa (void)
 Navampa of Gondowan, the sixth-ranked, introduces himself.
static void Event_TalkToBuford (void)
 Buford, the seventh seed: anyone could win today.
static void Event_AskIfReadyForFinals (void)
 The official asks whether Isaac is ready for the finals.
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.
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.
static void Event_RearmFinalsStart (void)
 Stepping back from the line arms the question again (scene flags 0x234 and 0x235).
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.
static void ColosseumEntrance_ShowFailedTrial (void)
 Arriving at entrance 7: a warrior strains at the trial, gives up and runs.
static void ColosseumEntrance_ExplainTrial (void)
 Back from a trial: the attendant says the warrior failed, or after the second trial that he cleared it.
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.
s32 ColosseumEntrance_Initialize (void)
 Sets up the halls by the arrival, or the gates outside by Colosso's stage.
static void ColosseumEntrance_PositionPartyForBriefing (void)
 Places the three companions behind Isaac for the officials' briefing.

Variables

s32 gColosseumEntrance_GatherAtSpectatorLeaderScript []
s32 gColosseumEntrance_GatherAtSpectatorPartyScript []
s32 gColosseumEntrance_RejoinPartyScript []
s32 gColosseumEntrance_LeaveSpectatorAreaScript []
s32 gColosseumEntrance_ApproachFinalsGroupScript []
s32 gColosseumEntrance_JoinFinalsFromEastScript []
s32 gColosseumEntrance_JoinFinalsFromSouthScript []
s32 gColosseumEntrance_EnterFinalsScript []
s32 gColosseumEntrance_PulseScaleScript []
struct SceneEntrance gColosseumEntranceEntrancesOther []
struct SceneEntrance gColosseumEntranceEntrances1 []
struct SceneEntrance gColosseumEntranceEntrances3 []
u32 gColosseumEntranceExits []
struct ScenePlacement gColosseumEntrancePlacementsOther []
struct ScenePlacement gColosseumEntrancePlacements1Entrance5 []
struct ScenePlacement gColosseumEntrancePlacements1Entrance7 []
struct ScenePlacement gColosseumEntrancePlacements1 []
struct ScenePlacement gColosseumEntrancePlacements1Entrance8 []
struct ScenePlacement gColosseumEntrancePlacements1Entrance12 []
struct ScenePlacement gColosseumEntrancePlacements1Entrance66 []
struct ScenePlacement gColosseumEntrancePlacements3 []
struct ScenePlacement gColosseumEntrancePlacements3FinalsDay []
struct ScenePlacement gColosseumEntrancePlacements3AfterColosso []
struct SceneEvent gColosseumEntranceEventsOther []
struct SceneEvent gColosseumEntranceEvents2 []
struct SceneEvent gColosseumEntranceEvents1 []
struct SceneEvent gColosseumEntranceEvents3 []
struct SceneEvent gColosseumEntranceEvents1Entrance12 []

Detailed Description

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.

Definition in file colosseum_entrance.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

The attendant by the trials (ColosseumEntrance1, entrances 5 and 69).

Enumerator
TRIAL_ATTENDANT 

Definition at line 56 of file colosseum_entrance.c.

◆ anonymous enum

anonymous enum

The finals' waiting room (ColosseumEntrance1, entrance 12): an official and the seven warriors who cleared the trials, as they introduce themselves.

Enumerator
FINALS_OFFICIAL 
MORGAN 

the highest-ranked

AZART 

the second-best

GALAHAD 
SATRAGE 
DEKKA 
NAVAMPA 
BUFORD 

Definition at line 60 of file colosseum_entrance.c.

Function Documentation

◆ ColosseumEntrance_ApplyArrivalState()

void ColosseumEntrance_ApplyArrivalState ( void )
static

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.

Definition at line 1020 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_Initialize().

◆ ColosseumEntrance_ShowMessageAndPause()

◆ ColosseumEntrance_FaceDirection()

◆ ColosseumEntrance_UpdateEntranceCells()

void ColosseumEntrance_UpdateEntranceCells ( void )
static

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.

Definition at line 1097 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_Initialize(), and ColosseumEntrance_UpdateEntranceCells().

◆ ColosseumEntrance_ExplainPartySupport()

void ColosseumEntrance_ExplainPartySupport ( void )
static

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.

Definition at line 1124 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_ExplainPartySupport().

◆ ColosseumEntrance_EscortToEastExit()

void ColosseumEntrance_EscortToEastExit ( void )
static

An official leads Isaac east to the next stage.

Definition at line 1322 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_EscortToEastExit().

◆ ColosseumEntrance_AnnounceFinals()

void ColosseumEntrance_AnnounceFinals ( void )
static

Arriving in the waiting room: the official tells the warriors to prepare.

Definition at line 1357 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_AnnounceFinals(), and ColosseumEntrance_ApplyArrivalState().

◆ ColosseumEntrance_WalkToEastExit()

void ColosseumEntrance_WalkToEastExit ( void )
static

Isaac walks east alone to the next stage.

Definition at line 1403 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_WalkToEastExit().

◆ ColosseumEntrance_CelebrateAdvancement()

void ColosseumEntrance_CelebrateAdvancement ( void )
static

After the first match: the officials congratulate Isaac and lead him on.

Definition at line 1421 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_CelebrateAdvancement().

◆ ColosseumEntrance_EscortToWestExit()

void ColosseumEntrance_EscortToWestExit ( void )
static

An official leads Isaac west to the next stage.

Definition at line 1471 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_EscortToWestExit().

◆ ColosseumEntrance_WalkToWestExit()

void ColosseumEntrance_WalkToWestExit ( void )
static

Isaac walks west alone to the next stage.

Definition at line 1502 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_WalkToWestExit().

◆ ColosseumEntrance_CelebrateBothWins()

void ColosseumEntrance_CelebrateBothWins ( void )
static

After the second match: one more win and Isaac is the champion.

Definition at line 1516 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_CelebrateBothWins().

◆ ColosseumEntrance_InitializeContestants()

void ColosseumEntrance_InitializeContestants ( void )
static

The warriors' child values and their waiting actions in the waiting room.

Definition at line 1566 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_InitializeContestants().

◆ ColosseumEntrance_Turn()

void ColosseumEntrance_Turn ( s32 actor,
s32 facing )
inlinestatic

Definition at line 49 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_Turn(), and Event_CrowdRecognizesIsaac().

◆ ColosseumEntrance_GetEntrances()

const struct SceneEntrance * ColosseumEntrance_GetEntrances ( void )

Definition at line 71 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEntrances().

◆ ColosseumEntrance_GetRegions()

const struct SceneRegion * ColosseumEntrance_GetRegions ( void )

Definition at line 83 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetRegions().

◆ ColosseumEntrance_GetExits()

const u32 * ColosseumEntrance_GetExits ( void )

Returns the shared colosseum exits.

Definition at line 86 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetExits().

◆ ColosseumEntrance_GetPlacements()

const struct ScenePlacement * ColosseumEntrance_GetPlacements ( void )

Selects actors for the current area and stage of Colosso.

Definition at line 89 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ ColosseumEntrance_GetEvents()

const struct SceneEvent * ColosseumEntrance_GetEvents ( void )

Definition at line 135 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEvents().

◆ Event_DiscussSeating()

void Event_DiscussSeating ( void )
static

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.

Definition at line 155 of file colosseum_entrance.c.

Referenced by Event_DiscussSeating().

◆ Event_DiscussLuckyGuessSeats()

void Event_DiscussLuckyGuessSeats ( void )
static

Outside the gates: the Lucky Guess makes the battles better; on the finals day, a good spot costs too much.

Definition at line 169 of file colosseum_entrance.c.

Referenced by Event_DiscussLuckyGuessSeats().

◆ Event_DiscussLuckyGuessWinnings()

void Event_DiscussLuckyGuessWinnings ( void )
static

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.

Definition at line 184 of file colosseum_entrance.c.

Referenced by Event_DiscussLuckyGuessWinnings().

◆ Event_OfferLuckyGuess()

void Event_OfferLuckyGuess ( void )
static

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).

Definition at line 203 of file colosseum_entrance.c.

Referenced by Event_OfferLuckyGuess().

◆ Event_TalkToAzart()

void Event_TalkToAzart ( void )
static

Azart, the second-best, will not lose to someone who skipped the trials; then he goes back to pacing.

Definition at line 235 of file colosseum_entrance.c.

Referenced by Event_TalkToAzart().

◆ Event_TalkToGalahad()

void Event_TalkToGalahad ( void )
static

Galahad, the third seed, jumps. "Waah! Don't frighten me!".

Definition at line 263 of file colosseum_entrance.c.

Referenced by Event_TalkToGalahad().

◆ Event_TalkToSatrage()

void Event_TalkToSatrage ( void )
static

Satrage, the fourth-ranked, opens his eyes and names himself.

Definition at line 275 of file colosseum_entrance.c.

Referenced by Event_TalkToSatrage().

◆ Event_TalkToDekka()

void Event_TalkToDekka ( void )
static

Dekka psyches himself up; the first time, Navampa explains he will not answer (0x3c1).

Definition at line 290 of file colosseum_entrance.c.

Referenced by Event_TalkToDekka().

◆ Event_TalkToNavampa()

void Event_TalkToNavampa ( void )
static

Navampa of Gondowan, the sixth-ranked, introduces himself.

Definition at line 313 of file colosseum_entrance.c.

Referenced by Event_TalkToNavampa().

◆ Event_TalkToBuford()

void Event_TalkToBuford ( void )
static

Buford, the seventh seed: anyone could win today.

Definition at line 328 of file colosseum_entrance.c.

Referenced by Event_TalkToBuford().

◆ Event_AskIfReadyForFinals()

void Event_AskIfReadyForFinals ( void )
static

The official asks whether Isaac is ready for the finals.

Definition at line 345 of file colosseum_entrance.c.

Referenced by Event_AskIfReadyForFinals().

◆ Event_CrowdRecognizesIsaac()

void Event_CrowdRecognizesIsaac ( void )
static

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.

Definition at line 359 of file colosseum_entrance.c.

Referenced by Event_CrowdRecognizesIsaac().

◆ Event_FinalsBegin()

void Event_FinalsBegin ( void )
static

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.

Definition at line 586 of file colosseum_entrance.c.

Referenced by Event_FinalsBegin().

◆ Event_RearmFinalsStart()

void Event_RearmFinalsStart ( void )
static

Stepping back from the line arms the question again (scene flags 0x234 and 0x235).

Definition at line 712 of file colosseum_entrance.c.

Referenced by Event_RearmFinalsStart().

◆ Event_TalkToTrialAttendant()

void Event_TalkToTrialAttendant ( void )
static

The trial attendant: before both trials have been watched, the screen goes to the next warrior's trial; afterwards he talks about the techniques.

Definition at line 719 of file colosseum_entrance.c.

Referenced by Event_TalkToTrialAttendant().

◆ ColosseumEntrance_ShowFailedTrial()

void ColosseumEntrance_ShowFailedTrial ( void )
static

Arriving at entrance 7: a warrior strains at the trial, gives up and runs.

Definition at line 752 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_ShowFailedTrial().

◆ ColosseumEntrance_ExplainTrial()

void ColosseumEntrance_ExplainTrial ( void )
static

Back from a trial: the attendant says the warrior failed, or after the second trial that he cleared it.

Definition at line 863 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_ExplainTrial().

◆ ColosseumEntrance_ShowClearedTrial()

void ColosseumEntrance_ShowClearedTrial ( void )
static

Arriving at entrance 70: a warrior heaves the trial object up in jolts and drops it, shaking the ground: he clears the trial.

Definition at line 888 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ApplyArrivalState(), and ColosseumEntrance_ShowClearedTrial().

◆ ColosseumEntrance_Initialize()

s32 ColosseumEntrance_Initialize ( void )

Sets up the halls by the arrival, or the gates outside by Colosso's stage.

Definition at line 1007 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_Initialize().

◆ ColosseumEntrance_PositionPartyForBriefing()

void ColosseumEntrance_PositionPartyForBriefing ( void )
inlinestatic

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

Definition at line 1116 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_CelebrateAdvancement(), ColosseumEntrance_CelebrateBothWins(), ColosseumEntrance_ExplainPartySupport(), and ColosseumEntrance_PositionPartyForBriefing().

Variable Documentation

◆ gColosseumEntrance_GatherAtSpectatorLeaderScript

s32 gColosseumEntrance_GatherAtSpectatorLeaderScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(262), 0, PIXELS(188)),
SC_POS(0, 0, 0), SC_END,
}
#define PIXELS(value)
#define SC_POS(x, y, z)
Set position.
Definition objcmd.h:18
#define SC_SYNC
Wait for arrival.
Definition objcmd.h:17
#define SC_ARG(v)
Definition objcmd.h:44
#define SC_MOVE(x, y, z)
Move toward the target.
Definition objcmd.h:19
#define SC_END
Return to the main script.
Definition objcmd.h:32

Definition at line 1582 of file colosseum_entrance.c.

Referenced by Event_CrowdRecognizesIsaac().

◆ gColosseumEntrance_GatherAtSpectatorPartyScript

s32 gColosseumEntrance_GatherAtSpectatorPartyScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(246), 0, PIXELS(200)),
SC_POS(0, 0, 0), SC_END,
}

Definition at line 1588 of file colosseum_entrance.c.

Referenced by Event_CrowdRecognizesIsaac().

◆ gColosseumEntrance_RejoinPartyScript

s32 gColosseumEntrance_RejoinPartyScript[]

◆ gColosseumEntrance_LeaveSpectatorAreaScript

s32 gColosseumEntrance_LeaveSpectatorAreaScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(268), 0, PIXELS(146)),
SC_SYNC, SC_MOVE(PIXELS(262), 0, PIXELS(24)),
}

Definition at line 1600 of file colosseum_entrance.c.

Referenced by Event_CrowdRecognizesIsaac().

◆ gColosseumEntrance_ApproachFinalsGroupScript

s32 gColosseumEntrance_ApproachFinalsGroupScript[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(776), 0, PIXELS(120)), SC_SYNC,
}
@ FACING_STEP
Definition field_scene.h:36
@ FACING_NORTH
Definition field_scene.h:32
#define SC_SET(w, v)
Write a work value.
Definition objcmd.h:37
#define SC_WAIT(n)
Wait n frames.
Definition objcmd.h:16
@ SW_FACING
Definition objcmd.h:57

Definition at line 1607 of file colosseum_entrance.c.

Referenced by Event_FinalsBegin().

◆ gColosseumEntrance_JoinFinalsFromEastScript

s32 gColosseumEntrance_JoinFinalsFromEastScript[]
Initial value:
= {
SC_ARG(2),
SC_MOVE(PIXELS(894), 0, PIXELS(106)),
SC_MOVE(PIXELS(882), 0, PIXELS(136)),
SC_MOVE(PIXELS(808), 0, PIXELS(136)),
SC_MOVE(PIXELS(792), 0, PIXELS(152)),
SC_ARG(1),
SC_WAIT(20),
}

Definition at line 1613 of file colosseum_entrance.c.

Referenced by Event_FinalsBegin().

◆ gColosseumEntrance_JoinFinalsFromSouthScript

s32 gColosseumEntrance_JoinFinalsFromSouthScript[]
Initial value:
= {
SC_ARG(2),
SC_MOVE(PIXELS(840), 0, PIXELS(136)),
SC_MOVE(PIXELS(824), 0, PIXELS(152)),
SC_ARG(1),
SC_WAIT(20),
}
@ FACING_NORTHWEST
Definition field_scene.h:31

Definition at line 1629 of file colosseum_entrance.c.

Referenced by Event_FinalsBegin().

◆ gColosseumEntrance_EnterFinalsScript

s32 gColosseumEntrance_EnterFinalsScript[]
Initial value:
= {
SC_ARG(2),
SC_MOVE(PIXELS(808), 0, PIXELS(88)),
SC_MOVE(PIXELS(808), 0, PIXELS(58)),
SC_ARG(1),
SC_POS(0, 0, 0),
}
@ SW_ACCEL
Definition objcmd.h:68
@ SW_SPEED
Definition objcmd.h:67

Definition at line 1641 of file colosseum_entrance.c.

Referenced by Event_FinalsBegin().

◆ gColosseumEntrance_PulseScaleScript

s32 gColosseumEntrance_PulseScaleScript[]
Initial value:
= {
SC_WAIT(2),
SC_WAIT(1),
SC_WAIT(1),
SC_WAIT(1),
SC_WAIT(1),
}
#define Q16_ONE
One in the engine's signed 16.16 fixed-point format.
Definition fixed_math.h:10
#define SC_LOOP(n, to)
Repeat up to n times.
Definition objcmd.h:28
#define SC_FOREVER
Definition objcmd.h:14
#define SC_ADD(w, v)
Definition objcmd.h:38
#define SC_TOP
Script start.
Definition objcmd.h:13
@ SW_SCALE_Y
Definition objcmd.h:63
@ SW_SCALE_X
Definition objcmd.h:62

Definition at line 1654 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_ShowClearedTrial(), and ColosseumEntrance_ShowFailedTrial().

◆ gColosseumEntranceEntrancesOther

struct SceneEntrance gColosseumEntranceEntrancesOther[]
Initial value:
= {
{0, CONDITION_ALWAYS, 72, 0, 72, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{1, CONDITION_ALWAYS, 72, 0, 72, FACING_SOUTH, 0, 16, 16, 528, 256, 0},
{2, CONDITION_ALWAYS, 488, 0, 88, FACING_SOUTH, 0, 16, 16, 528, 256, 0},
}
@ SCENE_TABLE_END
Definition field_scene.h:43
@ CONDITION_ALWAYS
Definition field_scene.h:44
@ FACING_SOUTH
Definition field_scene.h:28

Definition at line 1673 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEntrances().

◆ gColosseumEntranceEntrances1

struct SceneEntrance gColosseumEntranceEntrances1[]
Initial value:
= {
{0, CONDITION_ALWAYS, 56, 0, 296, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{1, CONDITION_ALWAYS, 184, 0, 72, FACING_SOUTH, 0, 0, 0, 240, 384, 0},
{2, CONDITION_ALWAYS, 56, 0, 120, FACING_SOUTH, 0, 0, 0, 240, 384, 0},
{3, CONDITION_ALWAYS, 120, 0, 176, FACING_SOUTH, 0, 0, 0, 240, 384, 0},
{4, CONDITION_ALWAYS, 56, 0, 296, FACING_SOUTH, 0, 0, 0, 240, 384, 0},
{5, CONDITION_ALWAYS, 392, 0, 120, FACING_SOUTH, 0, 272, 0, 656, 304, 0},
{6, CONDITION_ALWAYS, 520, 0, 72, FACING_SOUTH, 0, 272, 0, 656, 304, 0},
{7, CONDITION_ALWAYS, 184, 0, 912, FACING_SOUTH, 0, 0, 736, 368, 1024, 0},
{8, CONDITION_ALWAYS, 808, 0, 296, FACING_NORTH, 0, 656, 0, 960, 320, 0},
{12, CONDITION_ALWAYS, 784, 0, 108, FACING_SOUTHWEST, 0, 656, 0, 960, 320,
0},
{21, CONDITION_ALWAYS, 808, 0, 120, FACING_NORTH, 0, 656, 0, 960, 320, 0},
{31, CONDITION_ALWAYS, 808, 0, 120, FACING_NORTH, 0, 656, 0, 960, 320, 0},
{64, CONDITION_ALWAYS, 808, 0, 120, FACING_NORTH, 0, 656, 0, 960, 320, 0},
{65, CONDITION_ALWAYS, 680, 0, 588, FACING_EAST, 0, 520, 490, 1020, 640, 0},
{66, CONDITION_ALWAYS, 680, 0, 428, FACING_EAST, 0, 520, 330, 1020, 480, 0},
{67, CONDITION_ALWAYS, 900, 0, 588, FACING_WEST, 0, 520, 490, 1020, 640, 0},
{68, CONDITION_ALWAYS, 900, 0, 428, FACING_WEST, 0, 520, 330, 1020, 480, 0},
{69, CONDITION_ALWAYS, 440, 0, 120, FACING_SOUTHEAST, 0, 272, 0, 656, 304,
0},
{70, CONDITION_ALWAYS, 184, 0, 912, FACING_SOUTH, 0, 0, 736, 368, 1024, 0},
}
@ FACING_EAST
Definition field_scene.h:26
@ FACING_SOUTHEAST
Definition field_scene.h:27
@ FACING_SOUTHWEST
Definition field_scene.h:29
@ FACING_WEST
Definition field_scene.h:30

Definition at line 1680 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEntrances().

◆ gColosseumEntranceEntrances3

struct SceneEntrance gColosseumEntranceEntrances3[]
Initial value:
= {
{1, CONDITION_ALWAYS, 96, 0, 288, FACING_NORTH, 0, 0, 0, 512, 320, 0},
{2, CONDITION_ALWAYS, 272, 0, 88, FACING_SOUTH, 0, 0, 0, 512, 320, 0},
}

Definition at line 1705 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEntrances().

◆ gColosseumEntranceExits

u32 gColosseumEntranceExits[]
Initial value:
= {
SCENE_EXITS(141), SCENE_EXIT(1, 138, 13), SCENE_EXIT(2, 140, 4),
SCENE_EXIT(0, 140, 0), SCENE_EXIT(1, 140, 6), SCENE_EXIT(2, 140, 5),
SCENE_EXIT(3, 140, 1), SCENE_EXIT(4, 141, 2), SCENE_EXIT(5, 140, 2),
SCENE_EXIT(6, 140, 1), SCENE_EXIT(7, 140, 7), SCENE_EXIT(69, 140, 69),
SCENE_EXIT(70, 140, 70), SCENE_EXIT(64, 140, 65), SCENE_EXIT(65, 143, 3),
SCENE_EXIT(66, 140, 66), SCENE_EXIT(67, 140, 67), SCENE_EXIT(12, 143, 2),
SCENE_EXIT(21, 144, 3), SCENE_EXIT(22, 144, 2), SCENE_EXIT(31, 145, 3),
SCENE_EXIT(32, 145, 2), SCENE_EXIT(0, 142, 0), SCENE_EXIT(1, 135, 12),
}
#define SCENE_EXITS(scene)
Definition field_scene.h:72
#define SCENE_EXIT(exit, scene, entrance)
Definition field_scene.h:73
#define SCENE_EXITS_END
Definition field_scene.h:77

Definition at line 1711 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetExits().

◆ gColosseumEntrancePlacementsOther

struct ScenePlacement gColosseumEntrancePlacementsOther[]
Initial value:

Definition at line 1724 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntrancePlacements1Entrance5

struct ScenePlacement gColosseumEntrancePlacements1Entrance5[]

Definition at line 1736 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntrancePlacements1Entrance7

struct ScenePlacement gColosseumEntrancePlacements1Entrance7[]

Definition at line 1788 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntrancePlacements1

struct ScenePlacement gColosseumEntrancePlacements1[]
Initial value:

Definition at line 1820 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntrancePlacements1Entrance8

struct ScenePlacement gColosseumEntrancePlacements1Entrance8[]

◆ gColosseumEntrancePlacements1Entrance12

struct ScenePlacement gColosseumEntrancePlacements1Entrance12[]
Initial value:

Definition at line 1848 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntrancePlacements1Entrance66

struct ScenePlacement gColosseumEntrancePlacements1Entrance66[]

◆ gColosseumEntrancePlacements3

struct ScenePlacement gColosseumEntrancePlacements3[]

Definition at line 1890 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntrancePlacements3FinalsDay

struct ScenePlacement gColosseumEntrancePlacements3FinalsDay[]

Definition at line 1926 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntrancePlacements3AfterColosso

struct ScenePlacement gColosseumEntrancePlacements3AfterColosso[]
Initial value:

Definition at line 1976 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetPlacements().

◆ gColosseumEntranceEventsOther

struct SceneEvent gColosseumEntranceEventsOther[]
Initial value:
= {
}
#define SCENE_EVENTS_END

Definition at line 1984 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEvents().

◆ gColosseumEntranceEvents2

struct SceneEvent gColosseumEntranceEvents2[]
Initial value:
= {
{ 0x21, 1, CONDITION_ALWAYS, 1 },
{ 0x21, 2, CONDITION_ALWAYS, 2 },
}

Definition at line 1988 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEvents().

◆ gColosseumEntranceEvents1

struct SceneEvent gColosseumEntranceEvents1[]
Initial value:
= {
{ 0x21, 1, CONDITION_ALWAYS, 1 },
{ 0x21, 2, CONDITION_ALWAYS, 2 },
{ 0x31, 4, CONDITION_ALWAYS, 4 },
{ 0x31, 5, CONDITION_ALWAYS, 5 },
{ 0x31, 6, CONDITION_ALWAYS, 6 },
{ EVENT_TALK, 13, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceGoForItThatsItIm) },
{ EVENT_TALK, 14, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceWatchingTheTrialsMakesMeReally) },
{ EVENT_TALK, 15, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceWatchingSuchProudSkilledWarriorsIn) },
{ EVENT_TALK, 16, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceIveWaitedAWholeYearTo) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 13, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceEvenTheSmallerWarriorsCanWin) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 14, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceTheseTrialsAreBasedOnPersonal) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 15, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceWhatFantasticPhysiquesWhyIfI) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 16, CONDITION_ALWAYS, MSGNO(MsgColossoDidntThinkBattles) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 17, CONDITION_ALWAYS, MSGNO(MsgColosseumEntranceNoMatterHowGoodAWarrior) },
{ SEARCH(SEARCH_UNNAMED), 50, CONDITION_ALWAYS, FIND_MESSAGE(MSGNO(MsgXianItIsLocked)) },
}
@ ABILITY_MIND_READ
Definition ability_ids.h:16
@ TRIAL_ATTENDANT
static void Event_TalkToTrialAttendant(void)
The trial attendant: before both trials have been watched, the screen goes to the next warrior's tria...
@ EVENT_TALK
#define FIND_MESSAGE(message)
#define PSYNERGY_ON_ACTOR(ability)
#define EVENT_SCRIPT(script)
#define SEARCH(target)
@ SEARCH_UNNAMED

Definition at line 1994 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEvents().

◆ gColosseumEntranceEvents3

struct SceneEvent gColosseumEntranceEvents3[]

Definition at line 2014 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEvents().

◆ gColosseumEntranceEvents1Entrance12

struct SceneEvent gColosseumEntranceEvents1Entrance12[]
Initial value:
= {
MSGNO(MsgColosseumEntranceIAmMorganIAmThe)},
MSGNO(MsgColosseumEntranceYouCannotLeaveUntilTheFinals)},
MSGNO(MsgColosseumEntranceIFeelWeveBeenWaitingForever)},
MSGNO(MsgColosseumEntranceWhenTheGongSoundsTheFinals)},
}
static void Event_TalkToAzart(void)
Azart, the second-best, will not lose to someone who skipped the trials; then he goes back to pacing.
@ NAVAMPA
@ FINALS_OFFICIAL
@ GALAHAD
@ SATRAGE
@ MORGAN
the highest-ranked
@ AZART
the second-best
static void Event_AskIfReadyForFinals(void)
The official asks whether Isaac is ready for the finals.
static void Event_TalkToDekka(void)
Dekka psyches himself up; the first time, Navampa explains he will not answer (0x3c1).
static void Event_TalkToGalahad(void)
Galahad, the third seed, jumps. "Waah! Don't frighten me!".
static void Event_FinalsBegin(void)
Stepping forward in the waiting room: asked whether he is ready, Isaac can still wait; if he is,...
static void Event_RearmFinalsStart(void)
Stepping back from the line arms the question again (scene flags 0x234 and 0x235).
static void Event_TalkToNavampa(void)
Navampa of Gondowan, the sixth-ranked, introduces himself.
static void Event_TalkToBuford(void)
Buford, the seventh seed: anyone could win today.
static void Event_TalkToSatrage(void)
Satrage, the fourth-ranked, opens his eyes and names himself.
@ EVENT_TOUCH
#define FLAG_SCENE_TEMP_35
Definition flags.h:766

Definition at line 2054 of file colosseum_entrance.c.

Referenced by ColosseumEntrance_GetEvents().