Skip to Content
The Alchemy Project

src/scene/champa_sanctum.c

Champa's Sanctum, whose healer serves the party across the counter and otherwise talks of Briggs: the village's last hope until he sails from Alhafra, and after it the jewels that made Champa's people lazy.

Macros

NameDescription
#defineACTOR_HEALER ACTOR_FIRST_PLACEDThe healer behind the counter, a bearded man in a long robe.

Functions

NameDescription
const SCENE_ENTRANCE *scGetEntrances (void)Where the party can enter: the cave under the spring has its own entrances.
const SCENE_REGION *scGetExitRegions (void)The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room.
const Uint32 *scGetExits (void)The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
voidscChampaSanctumServeAcrossTheCounter (Sint32 keeper)Talking to the healer from across the counter, facing north: the Sanctum's services.
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
Sint32scInit (void)Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.

Variables

NameDescription
Uint32SceneExits []The room has no exits of its own.
ACTOR_PLACEActorPlacements []The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's.
CUESceneCues []The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers.

Description

Champa's Sanctum, whose healer serves the party across the counter and otherwise talks of Briggs: the village's last hope until he sails from Alhafra, and after it the jewels that made Champa's people lazy.

Macros in detail

ACTOR_HEALER

#define ACTOR_HEALER ACTOR_FIRST_PLACED

The healer behind the counter, a bearded man in a long robe.

Referenced by ContigoShopsCues, DailaRoomsSanctumCues, DailaRoomsSanctumCuesOnceTaviIsRescued, IsletsEastTundariaCues, KibomboHousesCues, MadraRoomsCuesAfterRaid, MadraRoomsCuesBeforeRaid, MadraRoomsCuesOnReturn, ProxSanctumCues, scContigoTalkToHealer(), SceneCues, scInit(), scIsletsTalkToHealer(), scKibomboOpenSanctum() and scProxTalkToHealer().

Definition at line 32 of file champa_sanctum.c.

Functions in detail

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 11 of file champa_sanctum.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

Definition at line 16 of file champa_sanctum.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 21 of file champa_sanctum.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References ActorPlacements.

Definition at line 26 of file champa_sanctum.c.

scChampaSanctumServeAcrossTheCounter

void scChampaSanctumServeAcrossTheCounter(Sint32 keeper)

Talking to the healer from across the counter, facing north: the Sanctum's services.

References mnSanctumRun() and Sint32.

Referenced by SceneCues.

Definition at line 36 of file champa_sanctum.c.

scGetCues

const CUE *scGetCues(void)

References SceneCues.

Definition at line 41 of file champa_sanctum.c.

scInit

Sint32 scInit(void)

References fdActorGetById(), fdActorSetSpritePriority() and Sint32.

Definition at line 46 of file champa_sanctum.c.

scPrepareMap

Sint32 scPrepareMap(void)

References Sint32.

Definition at line 58 of file champa_sanctum.c.

Variables in detail

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 67 of file champa_sanctum.c.

ActorPlacements

ACTOR_PLACE ActorPlacements[]

Referenced by scGetActorPlacements().

Definition at line 74 of file champa_sanctum.c.

SceneCues

CUE SceneCues[]

References scChampaSanctumServeAcrossTheCounter().

Referenced by scGetCues().

Definition at line 87 of file champa_sanctum.c.