kolima_forest_tree.c
Kolima Forest's clearing before Tret, the great tree, and Laurel: once Tret's hostile heart is defeated, Hermes' Water heals him and lifts Kolima's curse.
games/tbs/src/scene/kolima_forest_tree.c on GitHub
Kolima Forest's clearing before Tret, the great tree, and Laurel: once Tret's hostile heart is defeated, Hermes' Water heals him and lifts Kolima's curse.
Functions
KolimaForestTree_GetRegions
const struct SceneRegion *KolimaForestTree_GetRegions(void)
Returns the region at the entrance to Tret's interior.
KolimaForestTree_GetExits
const u32 *KolimaForestTree_GetExits(void)
Returns the connections to the bridge and Tret's interior.
KolimaForestTree_GetPlacements
const struct ScenePlacement *KolimaForestTree_GetPlacements(void)
Returns Tret, Laurel and their auxiliary actors.
KolimaForestTree_ExitTouchedRegion
UNUSED static void KolimaForestTree_ExitTouchedRegion(void)
Takes the touched exit after completing the leader's current movement.
KolimaForestTree_GetEvents
const struct SceneEvent *KolimaForestTree_GetEvents(void)
Returns the trees' dialogue, Mind Read and item-use events.
KolimaForestTree_TalkToLaurel
static void KolimaForestTree_TalkToLaurel(void)
Introduces Laurel or hears her warning while Tret is still dying.
Used by gKolimaForestTreeEvents.
KolimaForestTree_TalkToTret
static void KolimaForestTree_TalkToTret(void)
Talks to Tret and offers the item prompt when Hermes' Water is available.
Used by gKolimaForestTreeEvents.
KolimaForestTree_ReadLaurelThoughts
static void KolimaForestTree_ReadLaurelThoughts(void)
Reads Laurel's thoughts about the healing water or the danger beyond the river.
Used by gKolimaForestTreeEvents.
KolimaForestTree_ReadTretThoughts
static void KolimaForestTree_ReadTretThoughts(void)
Reads Tret's regret before healing, or his concern for the forest afterward.
Used by gKolimaForestTreeEvents.
KolimaForestTree_UseHermesWater
static void KolimaForestTree_UseHermesWater(void)
Heals Tret only after his hostile heart has been defeated.
Used by gKolimaForestTreeEvents.
KolimaForestTree_RejectHermesWater
static void KolimaForestTree_RejectHermesWater(void)
Shows Tret's hostile heart repelling the leader's attempt to help.
Used by KolimaForestTree_UseHermesWater.
KolimaForestTree_NodTogether
static __inline__ void KolimaForestTree_NodTogether(void)
Gives all four companions the same nod, waiting on Ivan's animation.
Used by KolimaForestTree_RestoreTret.
KolimaForestTree_FaceParty
static __inline__ void KolimaForestTree_FaceParty(s32 facing, s32 waitFrames)
Turns the companions together and pauses after the final facing change.
Used by KolimaForestTree_RestoreTret.
KolimaForestTree_RestoreTret
static void KolimaForestTree_RestoreTret(void)
Heals Tret, lifts Kolima's curse and hears the trees' warning.
Used by KolimaForestTree_UseHermesWater.
KolimaForestTree_Initialize
s32 KolimaForestTree_Initialize(void)
Restores the trees' faces, collision and the dying forest's palette.
KolimaForestTree_SpawnRejectionSpark
static void KolimaForestTree_SpawnRejectionSpark(void)
Spawns the growing sparks that repel the party leader.
Used by KolimaForestTree_RejectHermesWater.
KolimaForestTree_UpdateHealingPalette
static void KolimaForestTree_UpdateHealingPalette(void)
Alternates the saved healthy and withered palettes over thirty frames.
Used by KolimaForestTree_RestoreTret.
KolimaForestTree_AlternateFaceFrames
static __inline__ void KolimaForestTree_AlternateFaceFrames(s32 actorId, s32 firstFrame, s32 secondFrame)
Alternates two facial frames twice, ending on the first frame.
Used by KolimaForestTree_PlayGesture.
KolimaForestTree_PlayGesture
static void KolimaForestTree_PlayGesture(s32 auxiliaryActorId, s32 gesture)
Chooses Tret or Laurel's facial sequence through their auxiliary actor.
Used by KolimaForestTree_RestoreTret, KolimaForestTree_TalkToLaurel, KolimaForestTree_TalkToTret.
KolimaForestTree_UpdateOrbitSpark
static void KolimaForestTree_UpdateOrbitSpark(union FieldObject *fieldObject)
Expands a spark along its spiral for 120 frames, then releases its cache slot.
Used by KolimaForestTree_SpawnOrbitSparks.
KolimaForestTree_SpawnOrbitSparks
static void KolimaForestTree_SpawnOrbitSparks(void)
Emits six-spark rings at ten-frame intervals during each burst.
Used by KolimaForestTree_RestoreTret.
KolimaForestTree_ReplaceInventoryItem
static void KolimaForestTree_ReplaceInventoryItem(s32 oldItemId, s32 newItemId)
Replaces the used water with its empty bottle in the same inventory slot.
Used by KolimaForestTree_RestoreTret.
Also, functions without a comment: KolimaForestTree_GetEntrances.
Globals, without a comment: gKolimaForestTreeSparkOrigin, gKolimaForestTreeSparkFrame, gKolimaForestTreePlaySparkSound, gKolimaForestTreePaletteFrame, gKolimaForestTree_GaretApproachActions, gKolimaForestTree_IvanApproachActions, gKolimaForestTree_MiaApproachActions, gKolimaForestTree_RejoinPartyActions, gKolimaForestTreeEntrances, gKolimaForestTreeRegions, gKolimaForestTreeExits, gKolimaForestTreePlacements, gKolimaForestTreeEvents, gKolimaForestTreeEffectScript.