Alchemy
Loading...
Searching...
No Matches

sol_sanctum_psynergy_stone.c File Reference

The Sol Sanctum room that holds a Psynergy Stone, scene 13. More...

Go to the source code of this file.

Macros

#define FLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN   0x350

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)
 The exit and the Psynergy Stone.
s32 Scene_Initialize (void)
 The room opens through a window.

Variables

struct SceneEntrance gSolSanctumPsynergyStoneEntrances []
u32 gSolSanctumPsynergyStoneExits []
struct ScenePlacement gSolSanctumPsynergyStonePlacements []
struct SceneEvent gSolSanctumPsynergyStoneEvents []

Detailed Description

The Sol Sanctum room that holds a Psynergy Stone, scene 13.

Definition in file sol_sanctum_psynergy_stone.c.

Macro Definition Documentation

◆ FLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN

#define FLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN   0x350

Definition at line 27 of file sol_sanctum_psynergy_stone.c.

Function Documentation

◆ Scene_GetEntrances()

const struct SceneEntrance * Scene_GetEntrances ( void )

Definition at line 29 of file sol_sanctum_psynergy_stone.c.

◆ Scene_GetRegions()

const struct SceneRegion * Scene_GetRegions ( void )

Definition at line 33 of file sol_sanctum_psynergy_stone.c.

◆ Scene_GetExits()

const u32 * Scene_GetExits ( void )

Both scenes share one exit table.

Definition at line 35 of file sol_sanctum_psynergy_stone.c.

◆ Scene_GetPlacements()

const struct ScenePlacement * Scene_GetPlacements ( void )

Definition at line 37 of file sol_sanctum_psynergy_stone.c.

◆ Scene_GetEvents()

const struct SceneEvent * Scene_GetEvents ( void )

The exit and the Psynergy Stone.

Definition at line 42 of file sol_sanctum_psynergy_stone.c.

◆ Scene_Initialize()

s32 Scene_Initialize ( void )

The room opens through a window.

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

After the eruption it rumbles and shakes gently, as the rest of the sanctum does.

Definition at line 48 of file sol_sanctum_psynergy_stone.c.

Variable Documentation

◆ gSolSanctumPsynergyStoneEntrances

struct SceneEntrance gSolSanctumPsynergyStoneEntrances[]
Initial value:
= {
{0, CONDITION_ALWAYS, 87, 0, 142, FACING_NORTH, 0, -1, -1, -1, -1, 0},
{1, CONDITION_ALWAYS, 87, 0, 142, FACING_NORTH, 0, -1, -1, -1, -1, 0},
}
@ SCENE_TABLE_END
Definition field_scene.h:43
@ CONDITION_ALWAYS
Definition field_scene.h:44
@ FACING_NORTH
Definition field_scene.h:32

Definition at line 64 of file sol_sanctum_psynergy_stone.c.

Referenced by Scene_GetEntrances().

◆ gSolSanctumPsynergyStoneExits

u32 gSolSanctumPsynergyStoneExits[]
Initial value:
= {
SCENE_EXIT(1, 12, 2),
}
#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 70 of file sol_sanctum_psynergy_stone.c.

Referenced by Scene_GetExits().

◆ gSolSanctumPsynergyStonePlacements

struct ScenePlacement gSolSanctumPsynergyStonePlacements[]
Initial value:
= {
}

Definition at line 76 of file sol_sanctum_psynergy_stone.c.

Referenced by Scene_GetPlacements().

◆ gSolSanctumPsynergyStoneEvents

struct SceneEvent gSolSanctumPsynergyStoneEvents[]
Initial value:
= {
}
#define SCENE_EVENTS_END
@ EVENT_EXIT
#define FIND_PSYNERGY_STONE
#define SEARCH(target)
@ SEARCH_UNNAMED
#define FLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN

Definition at line 80 of file sol_sanctum_psynergy_stone.c.

Referenced by Scene_GetEvents().