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. More...
Go to the source code of this file.
Enumerations | |
| enum | { ACTOR_TRET = 8 , ACTOR_LAUREL = 9 , ACTOR_TRET_AUXILIARY = 10 , ACTOR_LAUREL_AUXILIARY = 11 , ACTOR_TRETS_DARK_SIDE = 14 } |
Functions | |
| static void | KolimaForestTree_RejectHermesWater (void) |
| Shows Tret's hostile heart repelling the leader's attempt to help. | |
| static void | KolimaForestTree_RestoreTret (void) |
| Heals Tret, lifts Kolima's curse and hears the trees' warning. | |
| static void | KolimaForestTree_SpawnRejectionSpark (void) |
| Spawns the growing sparks that repel the party leader. | |
| static void | KolimaForestTree_UpdateHealingPalette (void) |
| Alternates the saved healthy and withered palettes over thirty frames. | |
| static void | KolimaForestTree_PlayGesture (s32 auxiliaryActorId, s32 gesture) |
| Chooses Tret or Laurel's facial sequence through their auxiliary actor. | |
| static void | KolimaForestTree_SpawnOrbitSparks (void) |
| Emits six-spark rings at ten-frame intervals during each burst. | |
| static void | KolimaForestTree_ReplaceInventoryItem (s32 oldItemId, s32 newItemId) |
| Replaces the used water with its empty bottle in the same inventory slot. | |
| const struct SceneEntrance * | KolimaForestTree_GetEntrances (void) |
| const struct SceneRegion * | KolimaForestTree_GetRegions (void) |
| Returns the region at the entrance to Tret's interior. | |
| const u32 * | KolimaForestTree_GetExits (void) |
| Returns the connections to the bridge and Tret's interior. | |
| const struct ScenePlacement * | KolimaForestTree_GetPlacements (void) |
| Returns Tret, Laurel and their auxiliary actors. | |
| static UNUSED void | KolimaForestTree_ExitTouchedRegion (void) |
| Takes the touched exit after completing the leader's current movement. | |
| const struct SceneEvent * | KolimaForestTree_GetEvents (void) |
| Returns the trees' dialogue, Mind Read and item-use events. | |
| static void | KolimaForestTree_TalkToLaurel (void) |
| Introduces Laurel or hears her warning while Tret is still dying. | |
| static void | KolimaForestTree_TalkToTret (void) |
| Talks to Tret and offers the item prompt when Hermes' Water is available. | |
| static void | KolimaForestTree_ReadLaurelThoughts (void) |
| Reads Laurel's thoughts about the healing water or the danger beyond the river. | |
| static void | KolimaForestTree_ReadTretThoughts (void) |
| Reads Tret's regret before healing, or his concern for the forest afterward. | |
| static void | KolimaForestTree_UseHermesWater (void) |
| Heals Tret only after his hostile heart has been defeated. | |
| static __inline__ void | KolimaForestTree_NodTogether (void) |
| Gives all four companions the same nod, waiting on Ivan's animation. | |
| static __inline__ void | KolimaForestTree_FaceParty (s32 facing, s32 waitFrames) |
| Turns the companions together and pauses after the final facing change. | |
| s32 | KolimaForestTree_Initialize (void) |
| Restores the trees' faces, collision and the dying forest's palette. | |
| static __inline__ void | KolimaForestTree_AlternateFaceFrames (s32 actorId, s32 firstFrame, s32 secondFrame) |
| Alternates two facial frames twice, ending on the first frame. | |
| static void | KolimaForestTree_UpdateOrbitSpark (union FieldObject *fieldObject) |
| Expands a spark along its spiral for 120 frames, then releases its cache slot. | |
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.
Definition in file kolima_forest_tree.c.
| anonymous enum |
| Enumerator | |
|---|---|
| ACTOR_TRET | |
| ACTOR_LAUREL | |
| ACTOR_TRET_AUXILIARY | |
| ACTOR_LAUREL_AUXILIARY | |
| ACTOR_TRETS_DARK_SIDE | |
Definition at line 46 of file kolima_forest_tree.c.
|
static |
Shows Tret's hostile heart repelling the leader's attempt to help.
Definition at line 209 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RejectHermesWater(), and KolimaForestTree_UseHermesWater().
|
static |
Heals Tret, lifts Kolima's curse and hears the trees' warning.
Definition at line 292 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret(), and KolimaForestTree_UseHermesWater().
|
static |
Spawns the growing sparks that repel the party leader.
Definition at line 697 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RejectHermesWater(), and KolimaForestTree_SpawnRejectionSpark().
|
static |
Alternates the saved healthy and withered palettes over thirty frames.
Definition at line 732 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret(), and KolimaForestTree_UpdateHealingPalette().
Chooses Tret or Laurel's facial sequence through their auxiliary actor.
Definition at line 765 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_PlayGesture(), KolimaForestTree_RestoreTret(), KolimaForestTree_TalkToLaurel(), and KolimaForestTree_TalkToTret().
|
static |
Emits six-spark rings at ten-frame intervals during each burst.
Definition at line 875 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret(), and KolimaForestTree_SpawnOrbitSparks().
Replaces the used water with its empty bottle in the same inventory slot.
Definition at line 915 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_ReplaceInventoryItem(), and KolimaForestTree_RestoreTret().
| const struct SceneEntrance * KolimaForestTree_GetEntrances | ( | void | ) |
Definition at line 67 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetEntrances().
| const struct SceneRegion * KolimaForestTree_GetRegions | ( | void | ) |
Returns the region at the entrance to Tret's interior.
Definition at line 72 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetRegions().
| const u32 * KolimaForestTree_GetExits | ( | void | ) |
Returns the connections to the bridge and Tret's interior.
Definition at line 77 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetExits().
| const struct ScenePlacement * KolimaForestTree_GetPlacements | ( | void | ) |
Returns Tret, Laurel and their auxiliary actors.
Definition at line 80 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetPlacements().
|
static |
Takes the touched exit after completing the leader's current movement.
Definition at line 85 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_ExitTouchedRegion().
| const struct SceneEvent * KolimaForestTree_GetEvents | ( | void | ) |
Returns the trees' dialogue, Mind Read and item-use events.
Definition at line 96 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetEvents().
|
static |
Introduces Laurel or hears her warning while Tret is still dying.
Definition at line 101 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_TalkToLaurel().
|
static |
Talks to Tret and offers the item prompt when Hermes' Water is available.
Definition at line 132 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_TalkToTret().
|
static |
Reads Laurel's thoughts about the healing water or the danger beyond the river.
Definition at line 173 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_ReadLaurelThoughts().
|
static |
Reads Tret's regret before healing, or his concern for the forest afterward.
Definition at line 185 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_ReadTretThoughts().
|
static |
Heals Tret only after his hostile heart has been defeated.
Definition at line 197 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_UseHermesWater().
|
static |
Gives all four companions the same nod, waiting on Ivan's animation.
Definition at line 276 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_NodTogether(), and KolimaForestTree_RestoreTret().
Turns the companions together and pauses after the final facing change.
Definition at line 284 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_FaceParty(), and KolimaForestTree_RestoreTret().
| s32 KolimaForestTree_Initialize | ( | void | ) |
Restores the trees' faces, collision and the dying forest's palette.
Definition at line 651 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_Initialize().
|
static |
Alternates two facial frames twice, ending on the first frame.
Definition at line 750 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_AlternateFaceFrames(), and KolimaForestTree_PlayGesture().
|
static |
Expands a spark along its spiral for 120 frames, then releases its cache slot.
Definition at line 852 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_SpawnOrbitSparks(), and KolimaForestTree_UpdateOrbitSpark().
| s32 gKolimaForestTreeSparkOrigin[3] |
Definition at line 62 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret(), and KolimaForestTree_SpawnOrbitSparks().
| s32 gKolimaForestTreeSparkFrame |
Definition at line 63 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret(), and KolimaForestTree_SpawnOrbitSparks().
| s32 gKolimaForestTreePlaySparkSound |
Definition at line 64 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RejectHermesWater(), and KolimaForestTree_SpawnRejectionSpark().
| s32 gKolimaForestTreePaletteFrame |
Definition at line 65 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret(), and KolimaForestTree_UpdateHealingPalette().
| s32 gKolimaForestTree_GaretApproachActions[] |
Definition at line 930 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret().
| s32 gKolimaForestTree_IvanApproachActions[] |
Definition at line 936 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret().
| s32 gKolimaForestTree_MiaApproachActions[] |
Definition at line 942 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret().
| s32 gKolimaForestTree_RejoinPartyActions[] |
Definition at line 948 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_RestoreTret().
| struct SceneEntrance gKolimaForestTreeEntrances[] |
Definition at line 954 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetEntrances().
| struct SceneRegion gKolimaForestTreeRegions[] |
Definition at line 962 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetRegions().
| u32 gKolimaForestTreeExits[] |
Definition at line 967 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetExits().
| struct ScenePlacement gKolimaForestTreePlacements[] |
Definition at line 974 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetPlacements().
| struct SceneEvent gKolimaForestTreeEvents[] |
Definition at line 998 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_GetEvents().
| s32 gKolimaForestTreeEffectScript[] |
Definition at line 1011 of file kolima_forest_tree.c.
Referenced by KolimaForestTree_SpawnRejectionSpark().