Alchemy

kolima_interiors.c

Kolima's houses and shops, whose residents stand as trees while the curse lasts.

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

Kolima's houses and shops, whose residents stand as trees while the curse lasts.

Functions

KolimaInteriors_TurnVillagersIntoTrees

static void KolimaInteriors_TurnVillagersIntoTrees(struct ScenePlacement *placement)

Replaces the cursed residents' sprites and disables their movement and turning.

Used by KolimaInteriors_GetPlacements.

Line 38

KolimaInteriors_GetExits

const u32 *KolimaInteriors_GetExits(void)

Returns the doors and stairs linking the interiors.

Line 70

KolimaInteriors_GetPlacements

const struct ScenePlacement *KolimaInteriors_GetPlacements(void)

Applies the curse before preparing the residents' placement records.

Line 73

KolimaInteriors_TalkToWeaponMerchant

static void KolimaInteriors_TalkToWeaponMerchant(void)

Offers weapons at the counter or discusses Fuchin Temple.

Used by gKolimaInteriors_Events.

Line 85

KolimaInteriors_TalkToArmorMerchant

static void KolimaInteriors_TalkToArmorMerchant(void)

Offers armor at the counter or discusses the bridge.

Used by gKolimaInteriors_Events.

Line 99

KolimaInteriors_TalkToItemMerchant

static void KolimaInteriors_TalkToItemMerchant(void)

Offers items at the counter or discusses life after the curse.

Used by gKolimaInteriors_Events.

Line 113

KolimaInteriors_TalkToInnkeeper

static void KolimaInteriors_TalkToInnkeeper(void)

Offers a room at the counter or discusses McCoy's construction.

Used by gKolimaInteriors_Events.

Line 127

KolimaInteriors_GetEvents

const struct SceneEvent *KolimaInteriors_GetEvents(void)

Returns the residents' conversations, thoughts and searchable objects.

Line 143

KolimaInteriors_Initialize

s32 KolimaInteriors_Initialize(void)

Clears resident sprite flags and selects the room layout for this entrance.

Line 148

Also, functions without a comment: KolimaInteriors_GetEntrances, KolimaInteriors_GetRegions.

Enumerations, without a comment: KolimaInteriorActor.

Globals, without a comment: gKolimaInteriors_Entrances, gKolimaInteriors_Exits, gKolimaInteriors_Placements, gKolimaInteriors_Events.

On this page