bilibin_interiors.c
Bilibin's shops, inn and dining room before and after Kolima's curse ends.
games/tbs/src/scene/bilibin_interiors.c on GitHub
Bilibin's shops, inn and dining room before and after Kolima's curse ends. The event table keeps the two sets of conversations in their native order.
Functions
BilibinInteriors_GetPlacements
const struct ScenePlacement *BilibinInteriors_GetPlacements(void)
Marks placements outside the current room's view before actors are spawned.
Event_TalkToWeaponShopkeeper
static void Event_TalkToWeaponShopkeeper(void)
Opens the weapon shop from across the counter; otherwise discusses Kolima.
Used by gBilibinInteriorsEvents, gValeInteriors_Events, gValeInteriors_EventsAfterKalay, gValeInteriors_EventsAfterLeaving.
Event_TalkToItemShopkeeper
static void Event_TalkToItemShopkeeper(void)
Opens the item shop from across the counter, or talks about the curse.
Used by gBilibinInteriorsEvents, gValeInteriors_Events, gValeInteriors_EventsAfterKalay, gValeInteriors_EventsAfterLeaving.
BilibinInteriors_GetEvents
const struct SceneEvent *BilibinInteriors_GetEvents(void)
Returns both story stages' events; conditions choose the current dialogue.
Event_TalkToArmorShopkeeper
static void Event_TalkToArmorShopkeeper(void)
Opens the armor shop across the counter, or asks about seeing the ocean.
Used by gBilibinInteriorsEvents, gValeInteriors_Events, gValeInteriors_EventsAfterKalay, gValeInteriors_EventsAfterLeaving.
Event_TalkToWorriedChef
static void Event_TalkToWorriedChef(void)
The chef cannot concentrate on cooking while his hometown is cursed.
Used by gBilibinInteriorsEvents.
Event_TalkToHungryDiner
static void Event_TalkToHungryDiner(void)
A diner's growling stomach leads into a yes/no question about the sound.
Used by gBilibinInteriorsEvents.
Event_AskAboutTreeSpirit
static void Event_AskAboutTreeSpirit(void)
Asks whether a tree spirit can curse a person, then turns back to the table.
Used by gBilibinInteriorsEvents.
Event_AskAboutHolyTree
static void Event_AskAboutHolyTree(void)
Asks whether Kolima's holy tree survived.
Used by gBilibinInteriorsEvents.
Event_AskAboutSilk
static void Event_AskAboutSilk(void)
Asks whether the party knows what silk is.
Used by gBilibinInteriorsEvents.
Event_TalkToInnkeeper
static void Event_TalkToInnkeeper(void)
Opens the inn across the counter, or discusses the curse in Kolima.
Used by gBilibinInteriorsEvents, gInteriorReopenedEvents, gInteriorSealedEvents, gSuhallaInteriorsEvents, gSuhallaInteriorsEventsAfterAudience, gValeBabi_Events, gValeBabi_EventsAfterKalay, gValeBabi_EventsAfterLeaving, gVaultInteriorsRevisit_Events, gVaultInteriors_Events, gVaultInteriors_EventsAfterThieves.
Event_TalkToBusyChef
static void Event_TalkToBusyChef(void)
The chef calls out orders once, then refers diners to the waitress.
Used by gBilibinInteriorsEvents.
Event_TalkToKitchenWorker
static void Event_TalkToKitchenWorker(void)
The kitchen worker complains about the chef's renewed energy.
Used by gBilibinInteriorsEvents.
Event_TalkToWaitress
static void Event_TalkToWaitress(void)
The waitress works through serving water and laying the silverware.
Used by gBilibinInteriorsEvents.
Event_TalkAboutMeal
static void Event_TalkAboutMeal(void)
A satisfied diner asks whether the party enjoys the food.
Used by gBilibinInteriorsEvents.
Event_ReadMiaAdmirersMind
static void Event_ReadMiaAdmirersMind(void)
Mind Read on the villager who admires Mia: with Mia in the party (flags 0 to 7 say who is), even frozen Imil must feel warm with her around.
Used by gBilibinInteriorsEvents.
BilibinInteriors_Initialize
s32 BilibinInteriors_Initialize(void)
The rooms open through a window; the diner at the dining room table is drawn at sprite priority 2, never by the automatic priority.
Also, functions without a comment: BilibinInteriors_GetEntrances, BilibinInteriors_GetRegions, BilibinInteriors_GetExits.
Globals, without a comment: gBilibinInteriorsEntrances, gBilibinInteriorsExits, gBilibinInteriorsPlacements, gBilibinInteriorsEvents.