Alchemy
Loading...
Searching...
No Matches

colosso_solo.h File Reference

Go to the source code of this file.

Macros

#define COLOSSO_CHEER_COLUMN   0x370
#define COLOSSO_CHEER_ROW   0x378
#define COLOSSO_CHEER_SLOT(character)
#define COLOSSO_STAGE_CHEERED   0x200
 Scene flags, by stage number: a friend cheers at the stage, and its description was heard.
#define COLOSSO_STAGE_DESCRIBED   0x208

Functions

void Colosso_PlaceFriendsAtCheeringSpots (void)
 Puts Garet, Ivan and Mia back at the cells where they chose to cheer, at the centre of each cell.
void Colosso_ControlCharacterAlone (s32 id)
 Makes the character the party's only member, the one the player moves and the camera follows, with full HP and PP and no poison.
void Colosso_RaiseTakePlaceOnPsynergy (void)
 A scene callback while a friend looks around the course alone (entrance 2): when the Psynergy request names that friend and flag 0x141 is set, raise event 99, Colosso_TakePlaceForMatch.
static void Colosso_TakePlaceForMatch (void)
 Raised event 99: the nearest actor with animation 165 level with or below the friend on the map calls the competitors to their places, and the friend's cell becomes their place to cheer from.
void Colosso_AskDoneCheering (s32 id)
 A stage's guide, talking to a friend who looks around alone, asks whether they are done cheering.
static void Colosso_AskReadyToRace (s32 actorId)
 The guide at the course's start.
void Colosso_ClearCheeringSpots (void)
 Forgets where Garet, Ivan and Mia cheer from.
s32 Colosso_GreetAtStage (s32 speaker, s32 competitor)
 A stage's guide names the stage and decides what to do next.
void Colosso_RepeatStageNumber (s32 speaker, s32 competitor)
 A stage's guide, after describing the stage, names it again: the copy of that line after it in the text.
void Colosso_OfferCheeringSpot (s32 mode, s32 guide, s32 stage)
 The guide at a stage, with the mode Colosso_GreetAtStage returned: offer a friend's cheering at the stage.

Macro Definition Documentation

◆ COLOSSO_CHEER_COLUMN

◆ COLOSSO_CHEER_ROW

◆ COLOSSO_CHEER_SLOT

#define COLOSSO_CHEER_SLOT ( character)

◆ COLOSSO_STAGE_CHEERED

#define COLOSSO_STAGE_CHEERED   0x200

Scene flags, by stage number: a friend cheers at the stage, and its description was heard.

When a friend cheers there, the guide says "Unfortunately, we have a full house."

Definition at line 34 of file colosso_solo.h.

Referenced by Colosso_GreetAtStage(), and Colosso_OfferCheeringSpot().

◆ COLOSSO_STAGE_DESCRIBED

#define COLOSSO_STAGE_DESCRIBED   0x208

Definition at line 35 of file colosso_solo.h.

Referenced by Colosso_GreetAtStage().

Function Documentation

◆ Colosso_PlaceFriendsAtCheeringSpots()

void Colosso_PlaceFriendsAtCheeringSpots ( void )

Puts Garet, Ivan and Mia back at the cells where they chose to cheer, at the centre of each cell.

Definition at line 39 of file colosso_solo.h.

Referenced by Colosso_PlaceFriendsAtCheeringSpots(), ColossoLog_Initialize(), ColossoRiver_Initialize(), and ColossoWall_Initialize().

◆ Colosso_ControlCharacterAlone()

void Colosso_ControlCharacterAlone ( s32 id)

Makes the character the party's only member, the one the player moves and the camera follows, with full HP and PP and no poison.

The gauges are the battle's (0x4000 full; a character with any HP or PP left shows at least 1).

Definition at line 79 of file colosso_solo.h.

Referenced by Colosso_AskDoneCheering(), Colosso_ControlCharacterAlone(), Colosso_TakePlaceForMatch(), ColossoLog_Initialize(), ColossoLog_RunCompetitorTalk(), ColossoRiver_Initialize(), and ColossoWall_Initialize().

◆ Colosso_RaiseTakePlaceOnPsynergy()

void Colosso_RaiseTakePlaceOnPsynergy ( void )

A scene callback while a friend looks around the course alone (entrance 2): when the Psynergy request names that friend and flag 0x141 is set, raise event 99, Colosso_TakePlaceForMatch.

Definition at line 124 of file colosso_solo.h.

Referenced by Colosso_RaiseTakePlaceOnPsynergy(), ColossoLog_Initialize(), ColossoRiver_Initialize(), and ColossoWall_Initialize().

◆ Colosso_TakePlaceForMatch()

void Colosso_TakePlaceForMatch ( void )
static

Raised event 99: the nearest actor with animation 165 level with or below the friend on the map calls the competitors to their places, and the friend's cell becomes their place to cheer from.

"The match is about to begin. Please take your places." The next friend then looks around, or, after Mia, the party leaves by exit 10.

Definition at line 142 of file colosso_solo.h.

Referenced by Colosso_TakePlaceForMatch().

◆ Colosso_AskDoneCheering()

void Colosso_AskDoneCheering ( s32 id)

A stage's guide, talking to a friend who looks around alone, asks whether they are done cheering.

"Huh? Are you done cheering?" On "Yeah", "Then please wait here until the match begins.": the friend's cell becomes their place, and the next friend looks around, or, after Mia, the party leaves by exit 10. On "Nope", "Then cheer as best you can!"

Definition at line 213 of file colosso_solo.h.

Referenced by Colosso_AskDoneCheering(), Event_TalkToBoardWalkAttendant(), Event_TalkToBridgeAttendant(), Event_TalkToFreeClimbAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToMiniMazeAttendant(), Event_TalkToMovingSidewalkAttendant(), Event_TalkToPipeworksAttendant(), Event_TalkToRockAttendant(), Event_TalkToScalesAttendant(), Event_TalkToShiftingFloorAttendant(), Event_TalkToSteppingStoneAttendant(), Event_TalkToWallAttendant(), and Event_TalkToWallWedgeAttendant().

◆ Colosso_AskReadyToRace()

void Colosso_AskReadyToRace ( s32 actorId)
static

The guide at the course's start.

Once the friends have all gone to cheer (Isaac is the party), "Isaac, did you get a good look around?": on yes the guide steps aside, Isaac walks past and the party leaves by exit 11. Otherwise "Wait, shouldn't you decide where the best place to cheer for Isaac is?"

Definition at line 266 of file colosso_solo.h.

Referenced by Colosso_AskReadyToRace().

◆ Colosso_ClearCheeringSpots()

void Colosso_ClearCheeringSpots ( void )

Forgets where Garet, Ivan and Mia cheer from.

Definition at line 298 of file colosso_solo.h.

Referenced by Colosso_ClearCheeringSpots(), ColossoLog_Initialize(), ColossoRiver_Initialize(), and ColossoWall_Initialize().

◆ Colosso_GreetAtStage()

s32 Colosso_GreetAtStage ( s32 speaker,
s32 competitor )

A stage's guide names the stage and decides what to do next.

"This is stage N of the first finals match." (Colosso River; the second is Colosso Wall and the third Colosso Log). Returns what the guide does next: 0: describe the stage (yes to "Would you like to hear a description of this stage?", asked the first time, or "Descriptions" afterwards); 1: no description, then offer a friend's cheering; 2: "Cheer" chosen, or a friend already cheers here; 3: "Nothing", or the choice cancelled.

Definition at line 315 of file colosso_solo.h.

Referenced by Colosso_GreetAtStage(), Event_TalkToBoardWalkAttendant(), Event_TalkToBridgeAttendant(), Event_TalkToFreeClimbAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToMiniMazeAttendant(), Event_TalkToMovingSidewalkAttendant(), Event_TalkToPipeworksAttendant(), Event_TalkToRockAttendant(), Event_TalkToScalesAttendant(), Event_TalkToShiftingFloorAttendant(), Event_TalkToSteppingStoneAttendant(), Event_TalkToWallAttendant(), and Event_TalkToWallWedgeAttendant().

◆ Colosso_RepeatStageNumber()

◆ Colosso_OfferCheeringSpot()

void Colosso_OfferCheeringSpot ( s32 mode,
s32 guide,
s32 stage )

The guide at a stage, with the mode Colosso_GreetAtStage returned: offer a friend's cheering at the stage.

With Isaac alone, "All right, do your best!"; with the stage taken, "Unfortunately, we have a full house."; otherwise "Would you like a friend to cheer for you here?" (taken as yes in mode 2) and the party's character menu. The friend chosen is led to the stage and leaves the party, and their cell is kept. Mode 3, no or no choice: "If you know who you want to cheer you on, please let me know!"

Definition at line 379 of file colosso_solo.h.

Referenced by Colosso_OfferCheeringSpot(), Event_TalkToBoardWalkAttendant(), Event_TalkToBridgeAttendant(), Event_TalkToFreeClimbAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLogRollingAttendant(), Event_TalkToLumberAttendant(), Event_TalkToMiniMazeAttendant(), Event_TalkToMovingSidewalkAttendant(), Event_TalkToPipeworksAttendant(), Event_TalkToRockAttendant(), Event_TalkToScalesAttendant(), Event_TalkToShiftingFloorAttendant(), Event_TalkToSteppingStoneAttendant(), Event_TalkToWallAttendant(), and Event_TalkToWallWedgeAttendant().