Alchemy
Loading...
Searching...
No Matches

colosso_wall.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_COLOSSO_WALL_H
2#define ALCHEMY_UNIT_SCENE_COLOSSO_WALL_H
3
4#include "types.h"
5#include "field_scene.h"
6
7struct SceneEntrance;
8struct SceneEvent;
9struct ScenePlacement;
10struct SceneRegion;
11
12const struct SceneEntrance *Scene_GetEntrances(void);
13const struct SceneRegion *Scene_GetRegions(void);
14const u32 *Scene_GetExits(void);
15const struct ScenePlacement *Scene_GetPlacements(void);
16const struct SceneEvent *Scene_GetEvents(void);
18// The native call precedes this definition; see MATCHING.md.
19#ifdef UBFIX
21 s32 raceMode, s32 finishX,
22 s32 finishZ, s32 firstItem,
23 s32 secondItem);
24#endif
25extern const u8 gColossoWall_RollLogScript[];
27extern const s16 gColossoWall_ModeRecordTwo[];
29extern char gHexDigits[20];
34extern u32 gColossoWallExits[];
38extern struct SceneEvent gColossoWallEvents[];
46
47#endif
const struct ScenePlacement * Scene_GetPlacements(void)
const struct SceneEntrance * Scene_GetEntrances(void)
const struct SceneEvent * Scene_GetEvents(void)
const u32 * Scene_GetExits(void)
Both scenes share one exit table.
const struct SceneRegion * Scene_GetRegions(void)
s16 gColosso_MarkerSlot
const u8 gColosso_LetteringPaletteOffsets[]
s16 gColosso_LetteringSlot
s32 gColosso_RivalFinishScript[]
char gHexDigits[20]
s32 gColossoWall_ApproachScript[]
const u8 gColossoWall_RollLogScript[]
struct ScenePlacement gColossoWallPlacements[]
struct SceneEntrance gColossoWallEntrances[]
s16 gColossoWall_ModeRecordDefault[]
u32 gColossoWall_DirectionSteps[]
const s16 gColossoWall_ModeRecordThreeAlt[]
s16 gColossoWall_ModeRecordFour[]
s32 gColossoWall_SpectatorTimer
s32 gColossoWall_SpectatorPhase
const s16 gColossoWall_ModeRecordTwo[]
u32 gColossoWallExits[]
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.
struct SceneEvent gColossoWallEvents[]
s32 ColossoWall_Initialize(void)
Restores obstacle progress and sets up the selected course entrance.
s32 gColossoWall_RaiseScript[]
s32 gColossoWall_SparkScript[]
s16 gColossoWall_ModeRecordThree[]
The scene table formats: entrances, exits, placements and events, and the macros that write them.
A scene entrance: where and facing which way the party arrives, and the camera's bounds there (-1 for...
Definition field_scene.h:54
A scene event: its kind and detail, the trigger it answers, its condition and its value (a message or...
An actor a scene places: its sprite, the condition for placing it, how it behaves,...
Definition field_scene.h:81
A scene's exit region: the box that, while its condition holds, takes the party leader out through it...
The integer types, TRUE, UNUSED and the fixed-address macros.
signed int s32
Definition types.h:14
unsigned int u32
Definition types.h:15
signed short s16
Definition types.h:12
unsigned char u8
Definition types.h:11