Alchemy
Loading...
Searching...
No Matches

tolbi.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_TOLBI_H
2#define ALCHEMY_UNIT_SCENE_TOLBI_H
3
4#include "types.h"
5#include "field_event.h"
6#include "field_scene.h"
7
8const struct SceneEntrance *Tolbi_GetEntrances(void);
9const struct SceneRegion *Tolbi_GetRegions(void);
10const u32 *Tolbi_GetExits(void);
11const struct ScenePlacement *Tolbi_GetPlacements(void);
12const struct SceneEvent *Tolbi_SelectEvents(void);
17extern struct SceneEntrance gTolbiEntrances[];
18extern u32 gTolbiExits[];
19extern struct ScenePlacement gTolbiPlacements[];
20extern struct SceneEvent gTolbiEventsFestival[];
21extern struct SceneEvent gTolbiEventsFinalsDay[];
23extern u16 gTolbiDoorOpening[];
24extern struct MapCellAnim gTolbiDoors[];
25
26#endif
The scene script layer: the engine services a scene's events call, declared once (Engine_EventBegin,...
The scene table formats: entrances, exits, placements and events, and the macros that write them.
Cell replacement: procedure and destination cells.
Definition field_event.h:64
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...
struct SceneEvent gTolbiEventsAfterColosso[]
After Colosso has ended.
Definition tolbi.c:896
struct SceneEvent gTolbiEventsFinalsDay[]
On finals day.
Definition tolbi.c:829
struct SceneEntrance gTolbiEntrances[]
Definition tolbi.c:674
s32 gTolbiYoungerSiblingRun[]
The younger sibling runs the same loop half a lap ahead.
Definition tolbi.c:650
s32 gTolbiOlderBrotherRun[]
The older brother runs a loop of eight points around the plaza.
Definition tolbi.c:625
u32 gTolbiExits[]
Definition tolbi.c:694
s32 Tolbi_ApplyEntryState(s32 unused)
Sets up the scene on entry: the running children, actor 14's update, and everything the flags have al...
Definition tolbi.c:398
const struct SceneEntrance * Tolbi_GetEntrances(void)
Definition tolbi.c:137
struct MapCellAnim gTolbiDoors[]
The doors, in the order of their triggers 1 to 9, by map cell.
Definition tolbi.c:957
const struct SceneRegion * Tolbi_GetRegions(void)
Definition tolbi.c:139
s32 gTolbiMirroredActor[]
The action script of a mirrored actor: flips its sprite and passes 7 on.
Definition tolbi.c:618
u16 gTolbiDoorOpening[]
How a door opens: two frames of cells copied over the closed door.
Definition tolbi.c:950
struct SceneEvent gTolbiEventsFestival[]
During the festival, before the finals.
Definition tolbi.c:760
const struct SceneEvent * Tolbi_SelectEvents(void)
Picks the event table for Tolbi's current mood.
Definition tolbi.c:266
const u32 * Tolbi_GetExits(void)
Definition tolbi.c:141
struct ScenePlacement gTolbiPlacements[]
Definition tolbi.c:704
const struct ScenePlacement * Tolbi_GetPlacements(void)
Definition tolbi.c:143
The integer types, TRUE, UNUSED and the fixed-address macros.
signed int s32
Definition types.h:14
unsigned int u32
Definition types.h:15
unsigned short u16
Definition types.h:13