Alchemy
Loading...
Searching...
No Matches

goma_cave_pond.c File Reference

Goma Cave: the room the stump in the room above falls into. More...

Go to the source code of this file.

Macros

#define FLAG_GOMA_CAVE_STUMP_FELL   0x300
 The stump has been pushed over into the room below (goma_cave_pillar.c).
#define FALLEN_STUMP   8
 The stump the party pushes over in the room above, lying in this room.

Functions

const struct SceneEntrance * Scene_GetEntrances (void)
const struct SceneRegion * Scene_GetRegions (void)
const u32 * Scene_GetExits (void)
 Both scenes share one exit table.
const struct ScenePlacement * Scene_GetPlacements (void)
const struct SceneEvent * Scene_GetEvents (void)
s32 Scene_Initialize (void)
 Once the stump in the room above has been pushed over, it lies fallen here: put it in place and copy the map cells it covers.

Variables

struct SceneEntrance gGomaCavePondEntrances []
u32 gGomaCavePondExits []
struct ScenePlacement gGomaCavePondPlacements []
struct SceneEvent gGomaCavePondEvents []

Detailed Description

Goma Cave: the room the stump in the room above falls into.

Definition in file goma_cave_pond.c.

Macro Definition Documentation

◆ FLAG_GOMA_CAVE_STUMP_FELL

#define FLAG_GOMA_CAVE_STUMP_FELL   0x300

The stump has been pushed over into the room below (goma_cave_pillar.c).

Definition at line 30 of file goma_cave_pond.c.

◆ FALLEN_STUMP

#define FALLEN_STUMP   8

The stump the party pushes over in the room above, lying in this room.

Definition at line 33 of file goma_cave_pond.c.

Referenced by Scene_Initialize().

Function Documentation

◆ Scene_GetEntrances()

const struct SceneEntrance * Scene_GetEntrances ( void )

Definition at line 35 of file goma_cave_pond.c.

◆ Scene_GetRegions()

const struct SceneRegion * Scene_GetRegions ( void )

Definition at line 39 of file goma_cave_pond.c.

◆ Scene_GetExits()

const u32 * Scene_GetExits ( void )

Both scenes share one exit table.

Definition at line 41 of file goma_cave_pond.c.

◆ Scene_GetPlacements()

const struct ScenePlacement * Scene_GetPlacements ( void )

Definition at line 43 of file goma_cave_pond.c.

◆ Scene_GetEvents()

const struct SceneEvent * Scene_GetEvents ( void )

Definition at line 47 of file goma_cave_pond.c.

◆ Scene_Initialize()

s32 Scene_Initialize ( void )

Once the stump in the room above has been pushed over, it lies fallen here: put it in place and copy the map cells it covers.

Sets up whichever scene is being entered and runs its arrival events.

Definition at line 51 of file goma_cave_pond.c.

Variable Documentation

◆ gGomaCavePondEntrances

struct SceneEntrance gGomaCavePondEntrances[]
Initial value:
= {
{0, CONDITION_ALWAYS, 172, 0, 149, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{1, CONDITION_ALWAYS, 120, 0, 88, FACING_SOUTH, 0, 24, 8, 504, 424, 0},
{2, CONDITION_ALWAYS, 424, 0, 344, FACING_SOUTH, 0, 24, 8, 504, 424, 0},
{3, CONDITION_ALWAYS, 408, 0, 136, FACING_SOUTH, 0, 24, 8, 504, 424, 0},
}
@ SCENE_TABLE_END
Definition field_scene.h:43
@ CONDITION_ALWAYS
Definition field_scene.h:44
@ FACING_SOUTH
Definition field_scene.h:28

Definition at line 68 of file goma_cave_pond.c.

Referenced by Scene_GetEntrances().

◆ gGomaCavePondExits

u32 gGomaCavePondExits[]
Initial value:
= {
SCENE_EXITS(26), SCENE_EXIT(1, 27, 4), SCENE_EXIT(2, 27, 5),
}
#define SCENE_EXITS(scene)
Definition field_scene.h:72
#define SCENE_EXIT(exit, scene, entrance)
Definition field_scene.h:73
#define SCENE_EXITS_END
Definition field_scene.h:77

Definition at line 76 of file goma_cave_pond.c.

Referenced by Scene_GetExits().

◆ gGomaCavePondPlacements

struct ScenePlacement gGomaCavePondPlacements[]
Initial value:
= {
}
@ TALK_KEEP_FACING
@ ACTOR_STAND
#define PIXELS(value)

Definition at line 82 of file goma_cave_pond.c.

Referenced by Scene_GetPlacements().

◆ gGomaCavePondEvents

struct SceneEvent gGomaCavePondEvents[]
Initial value:
= {
{0x21, 5, CONDITION_ALWAYS, 1},
{0x21, 6, CONDITION_ALWAYS, 2},
{0x21, 7, CONDITION_ALWAYS, 3},
}
#define SCENE_EVENTS_END

Definition at line 89 of file goma_cave_pond.c.

Referenced by Scene_GetEvents().