Skip to Content
The Alchemy Project

src/scene/sol_sanctum_psynergy_stone.c

Sol Sanctum (SceneIdSolSanctumPsynergyStone), a room off the statue room (SceneIdSolSanctumStatue) that holds a Psynergy Stone. More…

Macros

NameDescription
#defineFLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN FLAG_AREA_TEMP(0x50)Area flags: gmArrive clears 0x300 to 0x3ff when the party enters another area, and other areas use the numbers for their own.

Functions

NameDescription
const SCENE_ENTRANCE *scGetEntrances (void)The six rooms share one entrance table.
const SCENE_EXIT_REGION *scGetExitRegions (void)The scene has no exit regions: its regions entry returns none.
const Uint32 *scGetExits (void)Both scenes share one exit table.
const ACTOR_PLACE *scGetActorPlacements (void)Some villagers only turn back after talking once the flood is over or their family has gone home.
const CUE *scGetCues (void)The exit and the Psynergy Stone.
Sint32scInit (void)Opens the map with the window transition and blocks Retreat.

Variables

NameDescription
extern SCENE_ENTRANCESolSanctumPsynergyStoneEntrances []
extern Uint32SolSanctumPsynergyStoneExits []
extern ACTOR_PLACESolSanctumPsynergyStoneActorPlacements []
extern CUESolSanctumPsynergyStoneCues []

Description

Sol Sanctum (SceneIdSolSanctumPsynergyStone), a room off the statue room (SceneIdSolSanctumStatue) that holds a Psynergy Stone.

Its one exit, SOL_SANCTUM_PSYNERGY_STONE_SOL_SANCTUM_STATUE, leads back to the statue room, and it places nobody.

Searching in it finds the Psynergy Stone, which restores all PP. The stone is kept by an area flag (FLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN) rather than a story flag, so gmArrive puts it back whenever the party enters another area.

Retreat does not work here. Once Mt. Aleph has erupted, the room rumbles and shakes, as the rest of the sanctum does.

Macros in detail

FLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN

#define FLAG_SOL_SANCTUM_PSYNERGY_STONE_TAKEN FLAG_AREA_TEMP(0x50)

Area flags: gmArrive clears 0x300 to 0x3ff when the party enters another area, and other areas use the numbers for their own.

Referenced by SolSanctumPsynergyStoneCues.

Definition at line 27 of file sol_sanctum_psynergy_stone.c.

Functions in detail

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SolSanctumPsynergyStoneEntrances.

Definition at line 29 of file sol_sanctum_psynergy_stone.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 34 of file sol_sanctum_psynergy_stone.c.

scGetExits

const Uint32 *scGetExits(void)

References SolSanctumPsynergyStoneExits.

Definition at line 39 of file sol_sanctum_psynergy_stone.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References SolSanctumPsynergyStoneActorPlacements.

Definition at line 44 of file sol_sanctum_psynergy_stone.c.

scGetCues

const CUE *scGetCues(void)

The exit and the Psynergy Stone.

References SolSanctumPsynergyStoneCues.

Definition at line 50 of file sol_sanctum_psynergy_stone.c.

scInit

Sint32 scInit(void)

Opens the map with the window transition and blocks Retreat.

References fdEffectInitSparkles(), fdMapGridSetScreenShake(), fdQueueMusic(), gmFlagGet(), Sint32 and syImportGameFlagSet().

Definition at line 56 of file sol_sanctum_psynergy_stone.c.

Variables in detail

SolSanctumPsynergyStoneEntrances

extern SCENE_ENTRANCE SolSanctumPsynergyStoneEntrances[]

SCENE_ENTRANCE SolSanctumPsynergyStoneEntrances[]

Referenced by scGetEntrances().

Definition at lines 20 and 74 of file sol_sanctum_psynergy_stone.c.

SolSanctumPsynergyStoneExits

extern Uint32 SolSanctumPsynergyStoneExits[]

Uint32 SolSanctumPsynergyStoneExits[]

Referenced by scGetExits().

Definition at lines 21 and 96 of file sol_sanctum_psynergy_stone.c.

SolSanctumPsynergyStoneActorPlacements

extern ACTOR_PLACE SolSanctumPsynergyStoneActorPlacements[]

ACTOR_PLACE SolSanctumPsynergyStoneActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 22 and 104 of file sol_sanctum_psynergy_stone.c.

SolSanctumPsynergyStoneCues

extern CUE SolSanctumPsynergyStoneCues[]

CUE SolSanctumPsynergyStoneCues[]

Referenced by scGetCues().

Definition at lines 23 and 108 of file sol_sanctum_psynergy_stone.c.