lalivero_interiors.c
Lalivero's buildings, on two maps.
games/tbs/src/scene/lalivero_interiors.c on GitHub
Lalivero's buildings, on two maps. The first holds the shops, the sanctum and the houses along the streets; the second holds Faran's house and the inn, where the party reports to Faran after Venus Lighthouse and Iodem asks them to meet him outside.
Functions
Maid_Sigh
static s32 Maid_Sigh(struct ScriptInterpreter *interpreter)
The maid sighs between chores.
Used by gLaliveroMaidChores.
LaliveroInteriors_GetPlacements
const struct ScenePlacement *LaliveroInteriors_GetPlacements(void)
The people of each map; Faran's house fills up after Venus Lighthouse.
Leader_GetSide
static inline u16 Leader_GetSide(void)
The side the leader faces: the facing rounded to the nearest of east, south, west and north. Facing north, the leader is across the counter from a shopkeeper.
Used by TalkToInnkeeper, TalkToMaid, TalkToPriest, TalkToShopkeeper33, TalkToShopkeeper34.
TalkToShopkeeper32
static void TalkToShopkeeper32(s32 keeper)
A shopkeeper across the counter opens shop 32; from elsewhere they talk about Sheba, asking whether the party will go after her.
Used by gLaliveroEvents, gLaliveroEventsAfterLighthouse.
TalkToShopkeeper33
static void TalkToShopkeeper33(s32 keeper)
Shop 33 across the counter; otherwise small talk.
Used by gLaliveroEvents, gLaliveroEventsAfterLighthouse.
TalkToShopkeeper34
static void TalkToShopkeeper34(s32 keeper)
Shop 34 across the counter; otherwise small talk.
Used by gLaliveroEvents, gLaliveroEventsAfterLighthouse.
TalkToPriest
static void TalkToPriest(s32 priest)
The sanctum's services across the counter; otherwise small talk.
Used by gLaliveroEvents, gLaliveroEventsAfterLighthouse.
TalkToInnkeeper
static void TalkToInnkeeper(s32 innkeeper)
A room for the night across the counter (inn 11); otherwise small talk.
Used by gFaranHouseEvents, gFaranHouseEventsAfterLighthouse.
TalkToMaid
static void TalkToMaid(void)
The maid stops her chores to apologize: worry for Sheba keeps her from concentrating. A leader standing west of her steps aside to the south before she starts again.
Used by gFaranHouseEvents.
IodemCallsOut
static void IodemCallsOut(void)
Trigger 51 in Faran's house after the report: the camera finds Iodem, who asks the party to wait for him outside.
Used by gFaranHouseEventsAfterLighthouse.
TalkToIodem
static void TalkToIodem(void)
Iodem, talked to before he has given the Black Orb, repeats his request.
Used by gFaranHouseEventsAfterLighthouse.
LeaveBuilding
static void LeaveBuilding(void)
A doorway out: take the touched trigger's exit with the exit sound.
Used by gFaranHouseEvents, gFaranHouseEventsAfterLighthouse, gLaliveroEvents, gLaliveroEventsAfterLighthouse.
LaliveroInteriors_GetEvents
const struct SceneEvent *LaliveroInteriors_GetEvents(void)
What the party can talk to, touch and search on each map, before and after Venus Lighthouse.
ReportToFaran
static void ReportToFaran(void)
Back from Venus Lighthouse, the party reports to Faran with Iodem: no sign of Sheba or of Felix, Faran's faith that Sheba lived, what an Adept is, and a farewell as the party sets out after Felix.
Used by Scene_Initialize.
TellFaranAboutFelix
static void TellFaranAboutFelix(void)
The party tells Faran and Iodem what became of Felix, when it did not see the ship from the lighthouse.
Used by ReportToFaran.
Scene_Initialize
s32 Scene_Initialize(void)
Sets the maps up as the party enters: shopkeepers and the innkeeper behind their counters, the sanctum as the place to wake after a defeat, the maid back at her chores, and the report to Faran on coming back from Venus Lighthouse.
Also, functions without a comment: LaliveroInteriors_GetEntrances, LaliveroInteriors_GetRegions, LaliveroInteriors_GetExits.
Macros
ACTOR_BEHIND_COUNTER
#define ACTOR_BEHIND_COUNTER 4
Behind a counter: the actor is drawn under the counter's top and the party talks across it.
Used by Scene_Initialize.
Globals
gLaliveroMaidChores
s32 gLaliveroMaidChores[]
The maid's chores once she has apologized: she paces between two spots, turning to each side, and sighs now and then.
Used by Scene_Initialize, TalkToMaid.
Also, globals without a comment: gLaliveroEntrances, gLaliveroSanctumRegions, gLaliveroRegions, gLaliveroExits, gLaliveroPlacements, gFaranHousePlacements, gFaranHousePlacementsAfterLighthouse, gLaliveroEvents, gLaliveroEventsAfterLighthouse, gFaranHouseEvents, gFaranHouseEventsAfterLighthouse.