src/scene/shared/colosso_arena.c
The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the end of the race, where Isaac and his opponent meet in the arena and fight. More…
Included by colosseum_azart_match.c, colosseum_navampa_match.c and colosseum_satrage_match.c.
Functions
| Name | Description | |
|---|---|---|
static void | scColossoReachArena (void) | Reaching the arena, Isaac takes the better prize if he is first and the other if not, and waits for his opponent to hold up his own. |
Description
The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3):
the end of the race, where Isaac and his opponent meet in the arena and
fight. The scene defines, before including it, the two prizes
(COLOSSO_BETTER_PRIZE and COLOSSO_OTHER_PRIZE), the middle of the arena where
the two meet (COLOSSO_ARENA_X and COLOSSO_ARENA_Z, in pixels), the side the
opponent stands on (COLOSSO_OPPONENT_SIDE: 1 east of Isaac, -1 west) and
where the battle returns to (COLOSSO_SCENE, with its entrances
COLOSSO_AFTER_MATCH_WON and COLOSSO_AFTER_MATCH_LOST).
Functions in detail
scColossoReachArena
static void scColossoReachArena(void)
Reaching the arena, Isaac takes the better prize if he is first and the other if not, and waits for his opponent to hold up his own. The two walk to 16 pixels either side of the arena's middle, face each other and nod, step 8 pixels closer, and fight.
References fdActorFaceEachOther(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorWaitForScriptEndById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdRequestBattleFromEncounterTable(), fdScriptSetAfterBattleDestination(), fdScriptSetDefeatDestination(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scColossoNoOperation(), scColossoTakePrize(), scColossoWaitForOpponentToFinish() and Sint32.
Referenced by ColosseumAzartMatchCues, ColosseumNavampaMatchCues and ColosseumSatrageMatchCues.
Definition at line 14 of file colosso_arena.c.