Alchemy
Loading...
Searching...
No Matches

vault.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_VAULT_H
2#define ALCHEMY_UNIT_SCENE_VAULT_H
3
4#include "types.h"
5#include "field_scene.h"
6
7const struct SceneEntrance *Scene_GetEntrances(void);
8const struct SceneRegion *Scene_GetRegions(void);
9const u32 *Scene_GetExits(void);
10const struct ScenePlacement *Scene_GetPlacements(void);
11const struct SceneEvent *Scene_GetEvents(void);
13extern s32 gEffectScript0[];
14extern s32 gEffectScript1[];
15extern s32 gEffectScript2[];
16extern const s32 *gEffectScripts[];
17extern s32 gVault_Actor2[];
18extern s32 gVault_Actor0[];
19extern s32 gVault_Actor1[];
20extern struct SceneEntrance gVault_Entrances[];
21extern u32 gVault_Exits[];
22extern struct ScenePlacement gVault_Placements[];
24extern struct SceneEvent gVault_Events[];
26extern u16 gVault_Scene5Cells[];
27extern u16 gVault_Scene6Cells[];
28extern u16 gVault_Scene7Cells[];
29extern u16 gVault_Scene8Cells[];
30extern u16 gVault_Scene9Cells[];
35
36#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)
s32 Scene_Initialize(void)
Sets up whichever scene is being entered and runs its arrival events.
s32 gEffectScript0[]
const s32 * gEffectScripts[]
s32 gEffectScript1[]
s32 gEffectScript2[]
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
unsigned short u16
Definition types.h:13
u32 gVault_Exits[]
Definition vault.c:1143
s32 gVault_DriftScriptA[]
Definition vault.c:1371
u16 gVault_Scene10Cells[]
Definition vault.c:1359
s32 gVault_DriftScriptB[]
Definition vault.c:1377
s32 gVault_Actor0[]
Definition vault.c:1077
u16 gVault_Scene5Cells[]
Definition vault.c:1329
u16 gVault_Scene9Cells[]
Definition vault.c:1353
struct SceneEvent gVault_Events[]
Definition vault.c:1235
u16 gVault_Scene6Cells[]
Definition vault.c:1335
u16 gVault_Scene12Cells[]
Definition vault.c:1365
s32 gVault_Actor1[]
Definition vault.c:1102
struct ScenePlacement gVault_PlacementsAfterThieves[]
Definition vault.c:1199
u16 gVault_Scene8Cells[]
Definition vault.c:1347
struct SceneEntrance gVault_Entrances[]
Definition vault.c:1127
s32 gVault_Actor2[]
Definition vault.c:1021
struct SceneEvent gVault_EventsAfterThieves[]
Definition vault.c:1283
struct ScenePlacement gVault_Placements[]
Definition vault.c:1161
u16 gVault_Scene7Cells[]
Definition vault.c:1341