Alchemy
Loading...
Searching...
No Matches

tolbi.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * Tolbi_GetEntrances (void)
const struct SceneRegion * Tolbi_GetRegions (void)
const u32 * Tolbi_GetExits (void)
const struct ScenePlacement * Tolbi_GetPlacements (void)
const struct SceneEvent * Tolbi_SelectEvents (void)
 Picks the event table for Tolbi's current mood.
s32 Tolbi_ApplyEntryState (s32 unused)
 Sets up the scene on entry: the running children, actor 14's update, and everything the flags have already changed.

Variables

s32 gTolbiMirroredActor []
 The action script of a mirrored actor: flips its sprite and passes 7 on.
s32 gTolbiOlderBrotherRun []
 The older brother runs a loop of eight points around the plaza.
s32 gTolbiYoungerSiblingRun []
 The younger sibling runs the same loop half a lap ahead.
struct SceneEntrance gTolbiEntrances []
u32 gTolbiExits []
struct ScenePlacement gTolbiPlacements []
struct SceneEvent gTolbiEventsFestival []
 During the festival, before the finals.
struct SceneEvent gTolbiEventsFinalsDay []
 On finals day.
struct SceneEvent gTolbiEventsAfterColosso []
 After Colosso has ended.
u16 gTolbiDoorOpening []
 How a door opens: two frames of cells copied over the closed door.
struct MapCellAnim gTolbiDoors []
 The doors, in the order of their triggers 1 to 9, by map cell.

Function Documentation

◆ Tolbi_GetEntrances()

const struct SceneEntrance * Tolbi_GetEntrances ( void )

Definition at line 137 of file tolbi.c.

Referenced by Tolbi_GetEntrances().

◆ Tolbi_GetRegions()

const struct SceneRegion * Tolbi_GetRegions ( void )

Definition at line 139 of file tolbi.c.

Referenced by Tolbi_GetRegions().

◆ Tolbi_GetExits()

const u32 * Tolbi_GetExits ( void )

Definition at line 141 of file tolbi.c.

Referenced by Tolbi_GetExits().

◆ Tolbi_GetPlacements()

const struct ScenePlacement * Tolbi_GetPlacements ( void )

Definition at line 143 of file tolbi.c.

Referenced by Tolbi_GetPlacements().

◆ Tolbi_SelectEvents()

const struct SceneEvent * Tolbi_SelectEvents ( void )

Picks the event table for Tolbi's current mood.

Definition at line 266 of file tolbi.c.

Referenced by Tolbi_SelectEvents().

◆ Tolbi_ApplyEntryState()

s32 Tolbi_ApplyEntryState ( s32 unused)

Sets up the scene on entry: the running children, actor 14's update, and everything the flags have already changed.

Definition at line 398 of file tolbi.c.

Referenced by Tolbi_ApplyEntryState().

Variable Documentation

◆ gTolbiMirroredActor

s32 gTolbiMirroredActor[]
extern

The action script of a mirrored actor: flips its sprite and passes 7 on.

Definition at line 618 of file tolbi.c.

◆ gTolbiOlderBrotherRun

s32 gTolbiOlderBrotherRun[]
extern

The older brother runs a loop of eight points around the plaza.

Definition at line 625 of file tolbi.c.

Referenced by Tolbi_ApplyEntryState().

◆ gTolbiYoungerSiblingRun

s32 gTolbiYoungerSiblingRun[]
extern

The younger sibling runs the same loop half a lap ahead.

Definition at line 650 of file tolbi.c.

Referenced by Tolbi_ApplyEntryState().

◆ gTolbiEntrances

struct SceneEntrance gTolbiEntrances[]
extern

Definition at line 674 of file tolbi.c.

Referenced by Tolbi_GetEntrances().

◆ gTolbiExits

u32 gTolbiExits[]
extern

Definition at line 694 of file tolbi.c.

Referenced by Tolbi_GetExits().

◆ gTolbiPlacements

struct ScenePlacement gTolbiPlacements[]
extern

Definition at line 704 of file tolbi.c.

Referenced by Tolbi_GetPlacements().

◆ gTolbiEventsFestival

struct SceneEvent gTolbiEventsFestival[]
extern

During the festival, before the finals.

Definition at line 760 of file tolbi.c.

Referenced by Tolbi_SelectEvents().

◆ gTolbiEventsFinalsDay

struct SceneEvent gTolbiEventsFinalsDay[]
extern

On finals day.

Definition at line 829 of file tolbi.c.

Referenced by Tolbi_SelectEvents().

◆ gTolbiEventsAfterColosso

struct SceneEvent gTolbiEventsAfterColosso[]
extern

After Colosso has ended.

Definition at line 896 of file tolbi.c.

Referenced by Tolbi_SelectEvents().

◆ gTolbiDoorOpening

u16 gTolbiDoorOpening[]
extern

How a door opens: two frames of cells copied over the closed door.

Definition at line 950 of file tolbi.c.

◆ gTolbiDoors

struct MapCellAnim gTolbiDoors[]
extern

The doors, in the order of their triggers 1 to 9, by map cell.

Definition at line 957 of file tolbi.c.

Referenced by Tolbi_EnterDoor().