Alchemy

hammet_palace.c

Hammet's palace in Kalay: Lady Layana hears that Hammet is still held in Lunpa, and later welcomes him home.

games/tbs/src/scene/hammet_palace.c on GitHub

Hammet's palace in Kalay: Lady Layana hears that Hammet is still held in Lunpa, and later welcomes him home.

Functions

HammetPalace_AdvanceMessage

static __inline__ void HammetPalace_AdvanceMessage(s32 amount)

Advances within the current conversation's consecutive message block.

Used by HammetPalace_HammetsHomecoming.

Line 45

Scene_GetEntrances

const struct SceneEntrance *Scene_GetEntrances(void)

Selects the palace's entrances, or the fallback table for this overlay.

Line 51

Scene_GetPlacements

const struct ScenePlacement *Scene_GetPlacements(void)

Applies placement clipping before returning the palace's actor rows.

Line 65

Scene_GetEvents

const struct SceneEvent *Scene_GetEvents(void)

Selects the palace's dialogue and doorway handlers.

Line 74

Event_AskWhetherHammetWillBeReleased

static void Event_AskWhetherHammetWillBeReleased(void)

Talking to a resident (actor 13) before Hammet is rescued: the resident hopes for his release. "Lord Hammet will be released soon. Right?"

Used by gHammetPalaceEvents.

Line 85

Event_AskWhetherSilkTradeHasEnded

static void Event_AskWhetherSilkTradeHasEnded(void)

Talking to a resident (actor 16) before Hammet is rescued: the resident worries for his silk trade. "Has the legacy of Lord Hammet's silk trading come to an end?"

Used by gHammetPalaceEvents.

Line 95

Event_LayanaScoldsLunpaVisit

static void Event_LayanaScoldsLunpaVisit(void)

Talking to Layana once the party has been to Lunpa: she is glad Hammet is unhurt, but asks the party not to go back, and to fulfill their quest. "Isaac, you sneaked into Lunpa? That's far too dangerous!"

Used by gHammetPalaceEvents.

Line 105

Event_LeaveThroughDoor

static void Event_LeaveThroughDoor(void)

Walking north into a door (triggers 2, 3, 4 and 14): it opens, and Isaac walks through it to the next room.

Used by gHammetPalaceEvents.

Line 123

Scene_Initialize

s32 Scene_Initialize(void)

Opens the palace with its window transition and runs entrance-specific setup.

Line 155

HammetPalace_SetUpEntrance

static void HammetPalace_SetUpEntrance(void)

Sets up the room the party enters by: Layana and Hammet in the audience hall (entrance 9), the opened door (10 and 11), or Ivan's report (20).

Used by Scene_Initialize.

Line 165

HammetPalace_IvanReportsToLayana

static void HammetPalace_IvanReportsToLayana(void)

Ivan brings the party to Layana: she had hoped Hammet came back with him. The ransom was paid long ago, yet Dodonpa holds Hammet still; Layana will not risk him by sending the soldiers, nor the party. She tells of the prophecy, the Jupiter Adept who gave Hammet the Shaman's Rod and Ivan, and what the rod is to find, then sends everyone back to their posts.

Used by HammetPalace_SetUpEntrance.

Line 225

HammetPalace_FacePartyOutward

static void HammetPalace_FacePartyOutward(s32 waitFrames)

Turns the party outward from the group, then optionally waits.

Used by HammetPalace_IvanReportsToLayana.

Line 690

HammetPalace_FacePartyNorth

static void HammetPalace_FacePartyNorth(s32 waitFrames)

Turns all four party members north toward Layana, then optionally waits.

Used by HammetPalace_HammetsHomecoming, HammetPalace_IvanReportsToLayana.

Line 701

HammetPalace_HammetsHomecoming

static void HammetPalace_HammetsHomecoming(void)

Back with Hammet, the party walks into the audience hall: Hammet welcomes them, Layana scolds Ivan for going to Lunpa against her word, and Ivan decides to leave at once on the quest. Hammet sends them to Hesperia with the Shaman's Rod, as the Jupiter Adept said.

Used by HammetPalace_SetUpEntrance.

Line 715

Also, functions without a comment: Scene_GetRegions, Scene_GetExits.

Macros, without a comment: LAYANA, HAMMET, SOLDIER_1, SOLDIER_2.

Globals, without a comment: gHammetPalace_PartyActions, gHammetPalaceEntrancesOther, gHammetPalaceEntrances, gHammetPalaceExits, gHammetPalacePlacementsOther, gHammetPalacePlacements, gHammetPalaceEventsOther, gHammetPalaceEvents.

On this page