Colosso's second finals course: Isaac races another warrior through the Mini-Maze, the shifting floor, the Log-Rolling Stage, the Wall and the Board Walk to the arena. More...
Go to the source code of this file.
Data Structures | |
| struct | StageControl |
| The rival's recorded-path playback state, held in the scene state; status 9 marks the rival finished. More... | |
Macros | |
| #define | COLOSSO_WALL_FIRST_PLATFORM 22 |
| #define | COLOSSO_WALL_LAST_PLATFORM 25 |
| #define | COLOSSO_WALL_PLATFORM_CYCLE_FRAMES 120 |
| #define | COLOSSO_WALL_PLATFORM_CROSSING_FRAME 75 |
| #define | COLOSSO_WALL_DEMONSTRATION_TIMEOUT_FRAMES 600 |
| #define | COLOSSO_WALL_LOG_TRAVEL_PIXELS 64 |
| #define | COLOSSO_WALL_OFFSET_FIXED(value) |
| #define | COLOSSO_WALL_ALTERNATE_PORTRAIT_PALETTE_OFFSET 64 |
| #define | COLOSSO_WALL_INTRO_SCALE 384 |
| #define | COLOSSO_WALL_PULSE_FIRST_SCALE 512 |
| #define | COLOSSO_WALL_PULSE_HIGH_SCALE 384 |
| #define | COLOSSO_WALL_PULSE_LOW_SCALE 256 |
| #define | COLOSSO_WALL_SHOW_MESSAGE ((s32 (*)())Engine_EventShowMessage) |
| #define | COLOSSO_WALL_MOVE_ACTOR_PAIR ((s32 (*)())ColossoWall_MovePusherAndLog) |
| #define | COLOSSO_WALL_START_MODE_TASK ((s32 (*)())ColossoWall_StartLetteringAnimation) |
| #define | COLOSSO_WALL_APPLY_MATCHING_SLOT_VALUE ((s32 (*)())Scene_GiveAndEquipItem) |
| #define | WORK_SLOT_STAGE 59 |
| #define | DIRECTION_STEP(x, z) |
Enumerations | |
| enum | { OPPONENT = 8 , ROLLING_LOG_WEST = 15 , ROLLING_LOG_EAST = 16 , ROLLING_LOG_CENTER = 17 , FORCE_TARGET = 18 , GROWTH_PLANT = 19 , FROST_TARGET_WEST = 20 , FROST_TARGET_EAST = 21 , FALLING_OBSTACLE = 30 , LIFT_OPERATOR = 31 , RIDING_LOG_NORTH = 32 , RIDING_LOG_SOUTH = 33 , GUIDE = 34 , MINI_MAZE_ATTENDANT = 35 , SHIFTING_FLOOR_ATTENDANT = 36 , LOG_ROLLING_ATTENDANT = 37 , WALL_ATTENDANT = 38 , BOARD_WALK_ATTENDANT = 39 , PRIZE_A = 40 , PRIZE_B = 41 } |
| The second course's actors, by the guide's and attendants' explanations: the Mini-Maze, the shifting floor, the Log-Rolling Stage, the Wall and the Board Walk lead to the arena. More... | |
Functions | |
| static void | ColossoWall_IntroduceSecondFinals (s32 attendantId) |
| Introduces the second finals course, then gathers the party behind Isaac. | |
| static void | ColossoWall_ShowRoundStartLettering (s32 mode) |
| Shows the course-opening lettering and plays its timed audio cues. | |
| static void | ColossoWall_ShowBattleResultLettering (s32 result) |
| Shows the win-or-loss lettering and the appropriate competitor's reaction. | |
| static void | SceneState_EmptyHook (void) |
| Retains the empty hook called before the finish sequence. | |
| static void | ColossoWall_WaitForRivalFinish (void) |
| static s32 | ColossoWall_ApproachFinishAndTakeItem (s32 firstItem, s32 secondItem) |
| Approaches the finish item on the unused side and shows the item message. | |
| static void | ColossoWall_StartRivalPath (s32 pathResource) |
| Decodes the rival's recorded path and starts its playback task. | |
| static void | ColossoWall_PushAdjacentObstacle (void) |
| Pushes the adjacent obstacle only when the destination and space above are clear. | |
| static void | InitializeActorZero (void) |
| Sets the party leader's walking speed and acceleration. | |
| static void | InitializeSelectedActor (s32 actorId) |
| Sets the specified actor's walking speed and acceleration. | |
| const struct SceneEntrance * | Scene_GetEntrances (void) |
| const struct SceneRegion * | Scene_GetRegions (void) |
| const u32 * | Scene_GetExits (void) |
| Returns the packed course and battle-result exits. | |
| const struct ScenePlacement * | Scene_GetPlacements (void) |
| Returns the course's competitors, obstacles and attendants. | |
| static void | Event_IgnoreMove (void) |
| Move on the first two rocks does nothing. | |
| static void | Event_PushRock (void) |
| Pushes the obstacle immediately ahead of the selected actor. | |
| static void | Event_UpdateMovedRockCell (void) |
| Updates the first movable obstacle's collision after Move. | |
| static void | Event_PushRockAndUpdateCells (void) |
| Pushes an obstacle, then restores the first obstacle's collision cell. | |
| static void | Event_SaveMovedRockColumns (void) |
| Saves the movable obstacles' columns and rebuilds their collision cells. | |
| static void | Event_PrepareForce (void) |
| Enables the child effect for Force on the course obstacle. | |
| static void | Event_KnockDownObstacle (void) |
| Force on the target: the obstacle spins down into place and the way past it opens (0x330). | |
| static void | Event_FreezeWestTarget (void) |
| Frost on the western target: it freezes and its crossing opens (0x331). | |
| static void | Event_FreezeEastTarget (void) |
| Frost on the eastern target: it freezes and its crossing opens (0x332). | |
| static void | Event_GrowPlant (void) |
| Growth on the plant: it grows into a strip that can be climbed (0x333). | |
| static void | Event_RunRisingSequence (void) |
| Runs the rising-object sequence for the actor touching the obstacle. | |
| static void | Event_CheckAhead (void) |
| static void | ColossoWall_MovePusherAndLog (s32 logId, s32 offsetX, s32 offsetZ) |
| Moves a riding log and its pusher to aligned cell centers. | |
| static void | Event_RideLog (void) |
| Moves the aligned riding log in the direction the player holds. | |
| static void | ColossoWall_RollLogToCell (s32 logId, s32 halfCellX, s32 halfCellZ) |
| Rolls a log to half-cell coordinates while its pusher follows halfway. | |
| static void | ColossoWall_UpdateRollingLogCollision (void) |
| Rebuilds the three rolling logs' collision rectangles at their positions. | |
| static void | Event_RollWestLogWest (void) |
| static void | Event_RollWestLogEast (void) |
| static void | Event_RollEastLogWest (void) |
| static void | Event_RollEastLogEast (void) |
| static UNUSED void | ColossoWall_RollCenterLogNorth (void) |
| Rolls the center log north and rebuilds the log collision rectangles. | |
| static UNUSED void | ColossoWall_RollCenterLogSouth (void) |
| Rolls the center log south and rebuilds the log collision rectangles. | |
| static void | ColossoWall_UpdateMovingPlatforms (void) |
| Carries the selected actor on the moving platforms and alternates their routes. | |
| static void | ColossoWall_ResetMovingPlatforms (void) |
| Stops the moving-platform task and restores its starting row. | |
| static void | ColossoWall_StartMovingPlatforms (void) |
| Starts the moving-platform task and releases its pause flag. | |
| static void | ColossoWall_WaitForPlatformCrossingPhase (void) |
| Waits for the demonstration's crossing phase, with a ten-second timeout. | |
| static void | Event_HaltLifts (void) |
| Halt on the lift operator: the lifts stop and leave a crossing (0x334). | |
| static void | Event_ReachArena (void) |
| Reaching the arena: the leader takes a prize (the Chain Mail if first, the Cotton Shirt if second), and he and his opponent face off and fight. | |
| const struct SceneEvent * | Scene_GetEvents (void) |
| Returns the course's obstacle interactions and attendant dialogue. | |
| static void | ColossoWall_StageBattleResult (s32 result) |
| Back from the battle: the two warriors stand in the arena as the result is shown. | |
| s32 | ColossoWall_Initialize (void) |
| Restores obstacle progress and sets up the selected course entrance. | |
| static void | Event_TalkToMiniMazeAttendant (s32 attendant) |
| The Mini-Maze's attendant: the first time, a warrior runs the maze; then the objective. | |
| static void | Event_TalkToShiftingFloorAttendant (s32 attendant) |
| The shifting floor's attendant: the first time, a warrior rides the lifts; then, that the lifts' operator will cheer for Isaac. | |
| static void | Event_TalkToLogRollingAttendant (s32 attendant) |
| The Log-Rolling Stage's attendant: a warrior rides a log across; then the objective. | |
| static void | Event_TalkToWallAttendant (s32 attendant) |
| The Wall's attendant: a warrior climbs it; then the objective. | |
| static void | ColossoWall_PushBlockToCell (s32 obstacleId, s32 column, s32 row) |
| Moves a demonstration obstacle to pixel coordinates while its pusher follows. | |
| static void | Event_TalkToBoardWalkAttendant (s32 attendant) |
| The Board Walk's attendant: a warrior rolls a log into a path; then the objective. | |
| static void | ColossoWall_StartLetteringAnimation (u32 mode, u32 tileVariant) |
| Chooses the lettering animation script and resets its task state. | |
| static UNUSED void | Text_WriteU32AsHex (u8 *destination, u32 value) |
| Writes eight uppercase hexadecimal digits followed by a terminator. | |
| static UNUSED void | ColossoWall_MarkRivalFinished (void) |
| static void | ColossoWall_SpawnRandomSceneEffect (union FieldObject *fieldObject) |
| Occasionally spawns a falling particle around the linked finish effect. | |
| static s32 | ColossoWall_RaiseLinkedSceneEffect (struct ScriptInterpreter *interpreter) |
| Raises the linked finish effect, starts its script and clears the link. | |
| void | FieldScene_BuildDescriptorAndInstallTask (s32 leaderId, s32 rivalId, s32 raceMode, s32 finishX, s32 finishZ, s32 firstItem, s32 secondItem) |
| Allocates the race work, records both competitors and installs the gauge task. | |
Variables | |
| const u8 | gColossoWall_RollLogScript [] = {2, 2, 3, 3} |
| const u8 | gColosso_LetteringPaletteOffsets [] |
| const s16 | gColossoWall_ModeRecordTwo [] |
| const s16 | gColossoWall_ModeRecordThreeAlt [] |
| char | gHexDigits [20] = "0123456789ABCDEF" |
| s32 | gColossoWall_SparkScript [] |
| s32 | gColossoWall_RaiseScript [] |
| u32 | gColossoWall_DirectionSteps [] |
| struct SceneEntrance | gColossoWallEntrances [] |
| u32 | gColossoWallExits [] |
| struct ScenePlacement | gColossoWallPlacements [] |
| s32 | gColossoWall_SpectatorPhase = 0 |
| s32 | gColossoWall_SpectatorTimer = 0 |
| struct SceneEvent | gColossoWallEvents [] |
| s16 | gColosso_LetteringSlot = -1 |
| s16 | gColossoWall_ModeRecordDefault [] |
| s16 | gColossoWall_ModeRecordFour [] |
| s16 | gColossoWall_ModeRecordThree [] |
| s16 | gColosso_MarkerSlot = -1 |
| s32 | gColosso_RivalFinishScript [] |
| s32 | gColossoWall_ApproachScript [] |
Colosso's second finals course: Isaac races another warrior through the Mini-Maze, the shifting floor, the Log-Rolling Stage, the Wall and the Board Walk to the arena.
Definition in file colosso_wall.c.
| #define COLOSSO_WALL_FIRST_PLATFORM 22 |
Definition at line 60 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), and ColossoWall_UpdateMovingPlatforms().
| #define COLOSSO_WALL_LAST_PLATFORM 25 |
Definition at line 61 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), and ColossoWall_UpdateMovingPlatforms().
| #define COLOSSO_WALL_PLATFORM_CYCLE_FRAMES 120 |
Definition at line 62 of file colosso_wall.c.
Referenced by ColossoWall_UpdateMovingPlatforms().
| #define COLOSSO_WALL_PLATFORM_CROSSING_FRAME 75 |
Definition at line 63 of file colosso_wall.c.
Referenced by ColossoWall_WaitForPlatformCrossingPhase().
| #define COLOSSO_WALL_DEMONSTRATION_TIMEOUT_FRAMES 600 |
Definition at line 64 of file colosso_wall.c.
Referenced by ColossoWall_WaitForPlatformCrossingPhase().
| #define COLOSSO_WALL_LOG_TRAVEL_PIXELS 64 |
Definition at line 65 of file colosso_wall.c.
Referenced by Event_RideLog().
| #define COLOSSO_WALL_OFFSET_FIXED | ( | value | ) |
Definition at line 72 of file colosso_wall.c.
Referenced by ColossoWall_MovePusherAndLog().
| #define COLOSSO_WALL_ALTERNATE_PORTRAIT_PALETTE_OFFSET 64 |
Definition at line 76 of file colosso_wall.c.
| #define COLOSSO_WALL_INTRO_SCALE 384 |
Definition at line 84 of file colosso_wall.c.
| #define COLOSSO_WALL_PULSE_FIRST_SCALE 512 |
Definition at line 96 of file colosso_wall.c.
| #define COLOSSO_WALL_PULSE_HIGH_SCALE 384 |
Definition at line 97 of file colosso_wall.c.
| #define COLOSSO_WALL_PULSE_LOW_SCALE 256 |
Definition at line 98 of file colosso_wall.c.
| #define COLOSSO_WALL_SHOW_MESSAGE ((s32 (*)())Engine_EventShowMessage) |
Definition at line 107 of file colosso_wall.c.
Referenced by Event_TalkToShiftingFloorAttendant().
| #define COLOSSO_WALL_MOVE_ACTOR_PAIR ((s32 (*)())ColossoWall_MovePusherAndLog) |
Definition at line 108 of file colosso_wall.c.
Referenced by Event_TalkToLogRollingAttendant().
| #define COLOSSO_WALL_START_MODE_TASK ((s32 (*)())ColossoWall_StartLetteringAnimation) |
Definition at line 109 of file colosso_wall.c.
Referenced by ColossoWall_ShowBattleResultLettering().
| #define COLOSSO_WALL_APPLY_MATCHING_SLOT_VALUE ((s32 (*)())Scene_GiveAndEquipItem) |
Definition at line 111 of file colosso_wall.c.
Referenced by ColossoWall_ApproachFinishAndTakeItem().
| #define WORK_SLOT_STAGE 59 |
Definition at line 152 of file colosso_wall.c.
Referenced by Colosso_SetGaugeHold(), ColossoWall_ApproachFinishAndTakeItem(), and ColossoWall_StartRivalPath().
| #define DIRECTION_STEP | ( | x, | |
| z ) |
Definition at line 1797 of file colosso_wall.c.
| anonymous enum |
The second course's actors, by the guide's and attendants' explanations: the Mini-Maze, the shifting floor, the Log-Rolling Stage, the Wall and the Board Walk lead to the arena.
The lifts are actors 22 to 25 (COLOSSO_WALL_FIRST_PLATFORM to COLOSSO_WALL_LAST_PLATFORM).
Definition at line 129 of file colosso_wall.c.
|
static |
Introduces the second finals course, then gathers the party behind Isaac.
Definition at line 927 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), and ColossoWall_IntroduceSecondFinals().
|
static |
Shows the course-opening lettering and plays its timed audio cues.
Definition at line 1321 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), and ColossoWall_ShowRoundStartLettering().
|
static |
Shows the win-or-loss lettering and the appropriate competitor's reaction.
Definition at line 1375 of file colosso_wall.c.
Referenced by ColossoWall_ShowBattleResultLettering(), and ColossoWall_StageBattleResult().
|
static |
Retains the empty hook called before the finish sequence.
Definition at line 1435 of file colosso_wall.c.
Referenced by Event_ReachArena(), and SceneState_EmptyHook().
|
static |
Definition at line 1441 of file colosso_wall.c.
Referenced by ColossoWall_WaitForRivalFinish(), and Event_ReachArena().
Approaches the finish item on the unused side and shows the item message.
Definition at line 1501 of file colosso_wall.c.
Referenced by ColossoWall_ApproachFinishAndTakeItem(), and Event_ReachArena().
|
static |
Decodes the rival's recorded path and starts its playback task.
Definition at line 1619 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), and ColossoWall_StartRivalPath().
|
static |
Pushes the adjacent obstacle only when the destination and space above are clear.
Definition at line 1640 of file colosso_wall.c.
Referenced by ColossoWall_PushAdjacentObstacle(), Event_PushRock(), and Event_PushRockAndUpdateCells().
|
inlinestatic |
Sets the party leader's walking speed and acceleration.
Definition at line 165 of file colosso_wall.c.
|
inlinestatic |
Sets the specified actor's walking speed and acceleration.
Definition at line 170 of file colosso_wall.c.
| const struct SceneEntrance * Scene_GetEntrances | ( | void | ) |
Definition at line 174 of file colosso_wall.c.
| const struct SceneRegion * Scene_GetRegions | ( | void | ) |
Definition at line 178 of file colosso_wall.c.
| const u32 * Scene_GetExits | ( | void | ) |
Returns the packed course and battle-result exits.
Both scenes share one exit table.
Definition at line 181 of file colosso_wall.c.
| const struct ScenePlacement * Scene_GetPlacements | ( | void | ) |
Returns the course's competitors, obstacles and attendants.
Definition at line 184 of file colosso_wall.c.
|
static |
Move on the first two rocks does nothing.
Definition at line 189 of file colosso_wall.c.
|
static |
Pushes the obstacle immediately ahead of the selected actor.
Definition at line 192 of file colosso_wall.c.
|
static |
Updates the first movable obstacle's collision after Move.
Definition at line 195 of file colosso_wall.c.
Referenced by Event_PushRockAndUpdateCells(), and Event_UpdateMovedRockCell().
|
static |
Pushes an obstacle, then restores the first obstacle's collision cell.
Definition at line 215 of file colosso_wall.c.
Referenced by Event_PushRockAndUpdateCells().
|
static |
Saves the movable obstacles' columns and rebuilds their collision cells.
Definition at line 221 of file colosso_wall.c.
Referenced by Event_SaveMovedRockColumns().
|
static |
Enables the child effect for Force on the course obstacle.
Definition at line 245 of file colosso_wall.c.
Referenced by Event_PrepareForce().
|
static |
Force on the target: the obstacle spins down into place and the way past it opens (0x330).
Definition at line 253 of file colosso_wall.c.
Referenced by Event_KnockDownObstacle().
|
static |
Frost on the western target: it freezes and its crossing opens (0x331).
Definition at line 301 of file colosso_wall.c.
Referenced by Event_FreezeWestTarget().
|
static |
Frost on the eastern target: it freezes and its crossing opens (0x332).
Definition at line 314 of file colosso_wall.c.
Referenced by Event_FreezeEastTarget().
|
static |
Growth on the plant: it grows into a strip that can be climbed (0x333).
Definition at line 327 of file colosso_wall.c.
|
static |
Runs the rising-object sequence for the actor touching the obstacle.
Definition at line 336 of file colosso_wall.c.
Referenced by Event_RunRisingSequence().
|
static |
Definition at line 340 of file colosso_wall.c.
Moves a riding log and its pusher to aligned cell centers.
Definition at line 343 of file colosso_wall.c.
Referenced by ColossoWall_MovePusherAndLog(), and Event_RideLog().
|
static |
Moves the aligned riding log in the direction the player holds.
Definition at line 392 of file colosso_wall.c.
Referenced by Event_RideLog().
Rolls a log to half-cell coordinates while its pusher follows halfway.
Definition at line 423 of file colosso_wall.c.
Referenced by ColossoWall_RollCenterLogNorth(), ColossoWall_RollCenterLogSouth(), ColossoWall_RollLogToCell(), Event_RollEastLogEast(), Event_RollEastLogWest(), Event_RollWestLogEast(), and Event_RollWestLogWest().
|
static |
Rebuilds the three rolling logs' collision rectangles at their positions.
Definition at line 472 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), ColossoWall_RollCenterLogNorth(), ColossoWall_RollCenterLogSouth(), ColossoWall_UpdateRollingLogCollision(), Event_RollEastLogEast(), Event_RollEastLogWest(), Event_RollWestLogEast(), and Event_RollWestLogWest().
|
static |
Definition at line 487 of file colosso_wall.c.
Referenced by Event_RollWestLogWest().
|
static |
Definition at line 492 of file colosso_wall.c.
Referenced by Event_RollWestLogEast().
|
static |
Definition at line 497 of file colosso_wall.c.
Referenced by Event_RollEastLogWest().
|
static |
Definition at line 502 of file colosso_wall.c.
Referenced by Event_RollEastLogEast().
|
static |
Rolls the center log north and rebuilds the log collision rectangles.
Definition at line 508 of file colosso_wall.c.
Referenced by ColossoWall_RollCenterLogNorth().
|
static |
Rolls the center log south and rebuilds the log collision rectangles.
Definition at line 514 of file colosso_wall.c.
Referenced by ColossoWall_RollCenterLogSouth().
|
static |
Carries the selected actor on the moving platforms and alternates their routes.
Definition at line 521 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), ColossoWall_ResetMovingPlatforms(), ColossoWall_StartMovingPlatforms(), ColossoWall_UpdateMovingPlatforms(), and Event_HaltLifts().
|
static |
Stops the moving-platform task and restores its starting row.
Definition at line 620 of file colosso_wall.c.
Referenced by ColossoWall_ResetMovingPlatforms(), and Event_TalkToShiftingFloorAttendant().
|
static |
Starts the moving-platform task and releases its pause flag.
Definition at line 632 of file colosso_wall.c.
Referenced by ColossoWall_StartMovingPlatforms(), and Event_TalkToShiftingFloorAttendant().
|
static |
Waits for the demonstration's crossing phase, with a ten-second timeout.
Definition at line 638 of file colosso_wall.c.
Referenced by ColossoWall_WaitForPlatformCrossingPhase(), and Event_TalkToShiftingFloorAttendant().
|
static |
Halt on the lift operator: the lifts stop and leave a crossing (0x334).
Definition at line 655 of file colosso_wall.c.
Referenced by Event_HaltLifts().
|
static |
Reaching the arena: the leader takes a prize (the Chain Mail if first, the Cotton Shirt if second), and he and his opponent face off and fight.
FLAG_SCENE_TEMP_11 says the arena was already reached; the arena's touch works while FLAG_SCENE_TEMP_10 is clear.
Definition at line 676 of file colosso_wall.c.
| const struct SceneEvent * Scene_GetEvents | ( | void | ) |
Returns the course's obstacle interactions and attendant dialogue.
Definition at line 720 of file colosso_wall.c.
|
static |
Back from the battle: the two warriors stand in the arena as the result is shown.
Definition at line 724 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), and ColossoWall_StageBattleResult().
| s32 ColossoWall_Initialize | ( | void | ) |
Restores obstacle progress and sets up the selected course entrance.
Definition at line 748 of file colosso_wall.c.
Referenced by ColossoWall_Initialize().
|
static |
The Mini-Maze's attendant: the first time, a warrior runs the maze; then the objective.
Definition at line 998 of file colosso_wall.c.
Referenced by Event_TalkToMiniMazeAttendant().
|
static |
The shifting floor's attendant: the first time, a warrior rides the lifts; then, that the lifts' operator will cheer for Isaac.
Definition at line 1042 of file colosso_wall.c.
Referenced by Event_TalkToShiftingFloorAttendant().
|
static |
The Log-Rolling Stage's attendant: a warrior rides a log across; then the objective.
Definition at line 1088 of file colosso_wall.c.
|
static |
The Wall's attendant: a warrior climbs it; then the objective.
Definition at line 1141 of file colosso_wall.c.
Referenced by Event_TalkToWallAttendant().
Moves a demonstration obstacle to pixel coordinates while its pusher follows.
Definition at line 1198 of file colosso_wall.c.
Referenced by ColossoWall_PushBlockToCell(), and Event_TalkToBoardWalkAttendant().
|
static |
The Board Walk's attendant: a warrior rolls a log into a path; then the objective.
Definition at line 1239 of file colosso_wall.c.
Referenced by Event_TalkToBoardWalkAttendant().
Chooses the lettering animation script and resets its task state.
Definition at line 1287 of file colosso_wall.c.
Referenced by ColossoWall_ShowRoundStartLettering(), and ColossoWall_StartLetteringAnimation().
Writes eight uppercase hexadecimal digits followed by a terminator.
Definition at line 1421 of file colosso_wall.c.
|
static |
Definition at line 1437 of file colosso_wall.c.
Referenced by ColossoWall_MarkRivalFinished().
|
static |
Occasionally spawns a falling particle around the linked finish effect.
Definition at line 1450 of file colosso_wall.c.
Referenced by ColossoWall_SpawnRandomSceneEffect().
|
static |
Raises the linked finish effect, starts its script and clears the link.
Definition at line 1487 of file colosso_wall.c.
Referenced by ColossoWall_RaiseLinkedSceneEffect().
| void FieldScene_BuildDescriptorAndInstallTask | ( | s32 | leaderId, |
| s32 | rivalId, | ||
| s32 | raceMode, | ||
| s32 | finishX, | ||
| s32 | finishZ, | ||
| s32 | firstItem, | ||
| s32 | secondItem ) |
Allocates the race work, records both competitors and installs the gauge task.
Definition at line 1572 of file colosso_wall.c.
Referenced by ColossoWall_Initialize(), and FieldScene_BuildDescriptorAndInstallTask().
| const u8 gColossoWall_RollLogScript[] = {2, 2, 3, 3} |
Definition at line 1728 of file colosso_wall.c.
Referenced by ColossoWall_RollLogToCell().
| const u8 gColosso_LetteringPaletteOffsets[] |
Definition at line 1731 of file colosso_wall.c.
| const s16 gColossoWall_ModeRecordTwo[] |
Definition at line 1736 of file colosso_wall.c.
Referenced by ColossoWall_StartLetteringAnimation().
| const s16 gColossoWall_ModeRecordThreeAlt[] |
Definition at line 1742 of file colosso_wall.c.
Referenced by ColossoWall_ShowBattleResultLettering(), and ColossoWall_StartLetteringAnimation().
| char gHexDigits[20] = "0123456789ABCDEF" |
Definition at line 1753 of file colosso_wall.c.
| s32 gColossoWall_SparkScript[] |
Definition at line 1755 of file colosso_wall.c.
Referenced by ColossoWall_SpawnRandomSceneEffect().
| s32 gColossoWall_RaiseScript[] |
Definition at line 1762 of file colosso_wall.c.
Referenced by ColossoWall_RaiseLinkedSceneEffect().
| u32 gColossoWall_DirectionSteps[] |
Definition at line 1799 of file colosso_wall.c.
Referenced by ColossoWall_PushAdjacentObstacle().
| struct SceneEntrance gColossoWallEntrances[] |
Definition at line 1818 of file colosso_wall.c.
Referenced by Scene_GetEntrances().
| u32 gColossoWallExits[] |
Definition at line 1825 of file colosso_wall.c.
Referenced by Scene_GetExits().
| struct ScenePlacement gColossoWallPlacements[] |
Definition at line 1834 of file colosso_wall.c.
Referenced by Scene_GetPlacements().
| s32 gColossoWall_SpectatorPhase = 0 |
Definition at line 1914 of file colosso_wall.c.
Referenced by ColossoWall_ResetMovingPlatforms(), ColossoWall_UpdateMovingPlatforms(), ColossoWall_WaitForPlatformCrossingPhase(), and Event_HaltLifts().
| s32 gColossoWall_SpectatorTimer = 0 |
Definition at line 1916 of file colosso_wall.c.
Referenced by ColossoWall_ResetMovingPlatforms(), ColossoWall_UpdateMovingPlatforms(), ColossoWall_WaitForPlatformCrossingPhase(), and Event_HaltLifts().
| struct SceneEvent gColossoWallEvents[] |
Definition at line 1918 of file colosso_wall.c.
Referenced by Scene_GetEvents().
| s16 gColosso_LetteringSlot = -1 |
Definition at line 1961 of file colosso_wall.c.
| s16 gColossoWall_ModeRecordDefault[] |
Definition at line 1963 of file colosso_wall.c.
Referenced by ColossoWall_ShowRoundStartLettering(), and ColossoWall_StartLetteringAnimation().
| s16 gColossoWall_ModeRecordFour[] |
Definition at line 1969 of file colosso_wall.c.
Referenced by ColossoWall_StartLetteringAnimation().
| s16 gColossoWall_ModeRecordThree[] |
Definition at line 1981 of file colosso_wall.c.
Referenced by ColossoWall_ShowBattleResultLettering(), and ColossoWall_StartLetteringAnimation().
| s16 gColosso_MarkerSlot = -1 |
Definition at line 1993 of file colosso_wall.c.
| s32 gColosso_RivalFinishScript[] |
Definition at line 1995 of file colosso_wall.c.