suhalla_interiors.c
Suhalla's houses, shop, inn and sanctum.
games/tbs/src/scene/suhalla_interiors.c on GitHub
Suhalla's houses, shop, inn and sanctum. After Babi's audience the inn holds two of Tolbi's soldiers, wounded in the sandstorms, and Iodem comes to question them about Sheba.
Functions
Scene_GetPlacements
const struct ScenePlacement *Scene_GetPlacements(void)
The townsfolk, joined after Babi's audience by Iodem, the wounded soldiers and the travelers the sandstorms brought.
Event_TalkToShopkeeper
static void Event_TalkToShopkeeper(s32 actorId)
Spoken to facing north, across the counter, the shopkeeper opens the shop; otherwise the shopkeeper says Suhalla's is the only store, or, after Babi's audience, asks whether the party is surprised to find so few shops.
Used by gSuhallaInteriorsEvents, gSuhallaInteriorsEventsAfterAudience.
Event_TalkToInnkeeper
static void Event_TalkToInnkeeper(s32 actorId)
Spoken to facing north, across the counter, the innkeeper offers a room; otherwise the innkeeper has nothing to do until Tolbi's festival ends, or, after Babi's audience, has been busy since the sandstorms began.
Used by gBilibinInteriorsEvents, gInteriorReopenedEvents, gInteriorSealedEvents, gSuhallaInteriorsEvents, gSuhallaInteriorsEventsAfterAudience, gValeBabi_Events, gValeBabi_EventsAfterKalay, gValeBabi_EventsAfterLeaving, gVaultInteriorsRevisit_Events, gVaultInteriors_Events, gVaultInteriors_EventsAfterThieves.
Event_TalkToPriest
static void Event_TalkToPriest(s32 actorId)
Spoken to facing north, across the counter, the priest offers the sanctum's services; otherwise the priest talks of Lalivero under Tolbi's rule, or, after Babi's audience, wonders why there are so many sandstorms.
Used by gSuhallaInteriorsEvents, gSuhallaInteriorsEventsAfterAudience.
Event_AskIfBlownHere
static void Event_AskIfBlownHere(s32 actorId)
A traveler asks whether the party was blown here on the way to Babi Lighthouse, and answers yes or no.
Used by gSuhallaInteriorsEventsAfterAudience.
Event_LeaveByExit
static void Event_LeaveByExit(void)
The party leaves by the touched exit.
Used by gSuhallaInteriorsEvents, gSuhallaInteriorsEventsAfterAudience.
Event_IodemQuestionsWoundedSoldiers
static void Event_IodemQuestionsWoundedSoldiers(void)
After Babi's audience, on entering the inn: Iodem steps out of the party and questions the two wounded soldiers. They were escorting Sheba to Lalivero when a sandstorm hit them, and tell of others who stopped the cyclones with water and slew the monsters causing them. Iodem resolves to search the desert for Sheba, and rejoins the party. Once the party has been to Babi Lighthouse (FLAG_IODEM_AT_BABI_LIGHTHOUSE), Iodem does not come.
Used by gSuhallaInteriorsEventsAfterAudience.
Scene_GetEvents
const struct SceneEvent *Scene_GetEvents(void)
The doors, the townsfolk and the ovens, before or after Babi's audience.
Scene_Initialize
s32 Scene_Initialize(void)
Sets the houses up as the party enters: the shopkeeper and innkeeper behind their counters, and the two wounded soldiers lying in their beds.
Also, functions without a comment: Scene_GetEntrances, Scene_GetRegions, Scene_GetExits.
Globals, without a comment: gSuhallaInteriorsEntrances, gSuhallaInteriorsRegions, gSuhallaInteriorsExits, gSuhallaInteriorsPlacements, gSuhallaInteriorsPlacementsAfterAudience, gSuhallaInteriorsEvents, gSuhallaInteriorsEventsAfterAudience.