Alchemy

xian_interiors.c

Xian's houses, shops and inn, and the room behind Master Feh's school, where Master Feh, Feizhi and Hsu wait once Hsu is back.

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

Xian's houses, shops and inn, and the room behind Master Feh's school, where Master Feh, Feizhi and Hsu wait once Hsu is back.

Functions

XianInteriors_GetPlacements

const struct ScenePlacement *XianInteriors_GetPlacements(void)

The room behind the school places only Master Feh, Feizhi and Hsu.

Line 62

XianInteriors_GetLeaderFacing

static inline u32 XianInteriors_GetLeaderFacing(void)

Reads the leader's facing before a conversation changes actor state.

Used by XianInteriors_TalkToArmorMerchant, XianInteriors_TalkToInnkeeper, XianInteriors_TalkToItemMerchant, XianInteriors_TalkToWeaponMerchant.

Line 71

XianInteriors_TalkToWeaponMerchant

static void XianInteriors_TalkToWeaponMerchant(void)

Opens the weapon shop from its counter side, or discusses martial arts.

Used by gXianInteriors_Events.

Line 77

XianInteriors_TalkToArmorMerchant

static void XianInteriors_TalkToArmorMerchant(void)

Opens the armor shop from its counter side, or discusses armor and kung fu.

Used by gXianInteriors_Events.

Line 96

XianInteriors_TalkToItemMerchant

static void XianInteriors_TalkToItemMerchant(void)

Opens the item shop or asks whether the party will cross the desert.

Used by gXianInteriors_Events.

Line 115

XianInteriors_TalkToInnkeeper

static void XianInteriors_TalkToInnkeeper(void)

Offers a room from the counter side, or discusses travel through Xian.

Used by gXianInteriors_Events.

Line 134

XianInteriors_AskAboutSilkRoad

static void XianInteriors_AskAboutSilkRoad(void)

Asks the resident whether something is wrong on the Silk Road.

Used by gXianInteriors_Events.

Line 153

XianInteriors_AskAboutAltinMonsters

static void XianInteriors_AskAboutAltinMonsters(void)

Asks what the party knows about the monsters in Altin.

Used by gXianInteriors_Events.

Line 161

XianInteriors_FeizhiThanksParty

static void XianInteriors_FeizhiThanksParty(void)

Feizhi, when the party helped free Hsu, welcomes the party, looks at Hsu, then thanks the party and Master Hama. "Oh, warrior! Welcome!"

Used by gXianInteriors_SchoolRoomEvents.

Line 170

XianInteriors_GetEvents

const struct SceneEvent *XianInteriors_GetEvents(void)

The room behind the school has its own events.

Line 183

XianInteriors_Initialize

s32 XianInteriors_Initialize(void)

Places the interiors' effect objects; in the room behind the school, Hsu takes his pose.

Line 192

Also, functions without a comment: XianInteriors_GetEntrances, XianInteriors_GetRegions, XianInteriors_GetExits.

Globals, without a comment: gEffectScript0, gEffectScript1, gEffectScript2, gEffectScripts, gXianInteriors_Entrances, gXianInteriors_Exits, gXianInteriors_Placements, gXianInteriors_SchoolRoomPlacements, gXianInteriors_Events, gXianInteriors_SchoolRoomEvents.

On this page