Kolima, whose villagers the forest's curse has turned into trees, in three maps: the village, an interior and the bridge. More...
Go to the source code of this file.
Functions | |
| static void | Kolima_WitnessForestCurse (void) |
| Shows the forest's curse, the party's protective Psynergy and the trees' appeal. | |
| static void | Kolima_ShowMessageAndWait (s32 actorId, s32 waitFrames) |
| Shows the selected dialogue through an actor, then holds for its reaction. | |
| static void | Kolima_FaceActorAndWait (s32 actorId, s32 facing, s32 waitFrames) |
| Turns an actor immediately, then leaves time for the next scene beat. | |
| static void | Kolima_SpawnCurseSparkle (void) |
| Spawns a moving curse sparkle every eighth frame. | |
| static void | Kolima_RestoreBridgeState (void) |
| Restores the bridge's villagers and collision after its collapse. | |
| static s32 | Kolima_ApplyPendingPose (struct ScriptInterpreter *interpreter) |
| Applies the deferred pose change requested by the falling-effect script. | |
| static s32 | Kolima_UpdateTimedAppearance (struct ScriptInterpreter *interpreter) |
| Alternates an ambient actor's child appearance with a random timer. | |
| static void | Kolima_InitializeCursedVillagers (struct ScenePlacement *placements) |
| Replaces the nine villagers' placement sprites with their cursed trees. | |
| static s32 | Kolima_UpdateFallingDebris (struct ScriptInterpreter *interpreter) |
| Moves, enlarges and releases one bridge fragment after its lifetime. | |
| const struct SceneEntrance * | Kolima_GetEntrances (void) |
| Selects the entrance table for the village, interior or bridge. | |
| const struct SceneRegion * | Kolima_GetRegions (void) |
| Returns the interior's regions; the other maps have none. | |
| const u32 * | Kolima_GetExits (void) |
| Returns the shared packed exit table. | |
| const struct ScenePlacement * | Kolima_GetPlacements (void) |
| Selects placements and applies tree sprites while the villagers are cursed. | |
| static void | Kolima_TalkToHealer (void) |
| Offers sanctum services to a north-facing leader, or discusses the trees. | |
| static void | Kolima_RecruitDjinni (void) |
| Lets the village's Djinni join the party. | |
| const struct SceneEvent * | Kolima_GetEvents (void) |
| Selects the village or bridge event table. | |
| static void | Kolima_WalkThroughExit (s32 exitId) |
| Walks the leader northward through the selected exit. | |
| static void | Kolima_AnimateSwitchOrExit (void) |
| Animates the touched map cells or leaves through the southern exit. | |
| static void | Kolima_ShowBridgeCollapse (void) |
| Shows the villager's crossing and the bridge collapsing into debris. | |
| s32 | Kolima_Initialize (void) |
| Restores the current map and plays the first visit to cursed Kolima. | |
| static __inline__ void | Kolima_SetProtectiveFieldHeight (s32 actorId, s32 visibleOnOddFrames) |
| Shows a protective field on its assigned alternating frame. | |
| static void | Kolima_AlternateProtectiveFieldHeights (void) |
| Alternates the four protective sprites between visible and hidden heights. | |
| static void | Kolima_ReadVillagerThoughts (s32 actorId, s32 targetId) |
| Begins Mind Read on one of the villagers transformed into a tree. | |
| static void | Kolima_FinishReadingThoughts (void) |
| Finishes Mind Read and releases its temporary scene objects. | |
| static __inline__ void | Kolima_NodTogether (void) |
| Gives the four companions the same nod, waiting on the final actor. | |
| static s32 | Kolima_TriggerRegionScript (struct ScriptInterpreter *interpreter) |
| Triggers a temporary pose when an effect enters the party's occupied area. | |
Variables | |
| s32 | gKolima_PendingPose |
| s32 | gKolima_MiaInParty |
| s32 | gKolima_EffectActive |
| s32 | gKolima_ActionTable1 [] |
| s32 | gKolima_ActionTable2 [] |
| s32 | gKolima_ActionTable3 [] |
| s32 | gKolima_PartySquashActions [] |
| s32 | gKolima_PartyRestoreScaleActions [] |
| s32 | gKolima_ProtectiveFieldGrowActions [] |
| s32 | gKolima_ProtectiveFieldShrinkActions [] |
| s32 | gKolima_EntryActions [] |
| s32 | gKolima_DebrisScript [] |
| s32 | gKolima_FaceLeaderScript [] |
| u16 | gKolima_SwitchCells [] |
| struct SceneEntrance | gKolimaEntrances [] |
| struct SceneEntrance | gKolimaEntrances3 [] |
| struct SceneEntrance | gKolimaEntrances2 [] |
| struct SceneRegion | gKolimaRegions2 [] |
| u32 | gKolimaExits [] |
| struct ScenePlacement | gKolimaPlacements [] |
| struct ScenePlacement | gKolimaPlacements1 [] |
| struct ScenePlacement | gKolima_EntryScript [] |
| struct ScenePlacement | gKolimaPlacements3 [] |
| struct SceneEvent | gKolimaEvents [] |
| struct SceneEvent | gKolimaEvents3 [] |
| s32 | gKolima_Object26Script [] |
| s32 | gKolima_RegionScript [] |
| s32 | gFallingEffectScript [] |
Kolima, whose villagers the forest's curse has turned into trees, in three maps: the village, an interior and the bridge.
On the first visit the party sees the curse fall and the bridge collapse.
Definition in file kolima.c.
|
static |
Shows the forest's curse, the party's protective Psynergy and the trees' appeal.
Definition at line 427 of file kolima.c.
Referenced by Kolima_Initialize(), and Kolima_WitnessForestCurse().
Shows the selected dialogue through an actor, then holds for its reaction.
Definition at line 1320 of file kolima.c.
Referenced by Kolima_ShowMessageAndWait(), and Kolima_WitnessForestCurse().
Turns an actor immediately, then leaves time for the next scene beat.
Definition at line 1326 of file kolima.c.
Referenced by Kolima_FaceActorAndWait(), and Kolima_WitnessForestCurse().
|
static |
Spawns a moving curse sparkle every eighth frame.
Definition at line 1334 of file kolima.c.
Referenced by Kolima_SpawnCurseSparkle(), and Kolima_WitnessForestCurse().
|
static |
Restores the bridge's villagers and collision after its collapse.
Definition at line 1405 of file kolima.c.
Referenced by Kolima_Initialize(), and Kolima_RestoreBridgeState().
|
static |
Applies the deferred pose change requested by the falling-effect script.
Definition at line 51 of file kolima.c.
Referenced by Kolima_ApplyPendingPose().
|
static |
Alternates an ambient actor's child appearance with a random timer.
Definition at line 61 of file kolima.c.
Referenced by Kolima_UpdateTimedAppearance().
|
static |
Replaces the nine villagers' placement sprites with their cursed trees.
Definition at line 80 of file kolima.c.
Referenced by Kolima_GetPlacements(), and Kolima_InitializeCursedVillagers().
|
static |
Moves, enlarges and releases one bridge fragment after its lifetime.
Definition at line 101 of file kolima.c.
Referenced by Kolima_UpdateFallingDebris().
| const struct SceneEntrance * Kolima_GetEntrances | ( | void | ) |
Selects the entrance table for the village, interior or bridge.
Definition at line 121 of file kolima.c.
Referenced by Kolima_GetEntrances().
| const struct SceneRegion * Kolima_GetRegions | ( | void | ) |
Returns the interior's regions; the other maps have none.
Definition at line 134 of file kolima.c.
Referenced by Kolima_GetRegions().
| const u32 * Kolima_GetExits | ( | void | ) |
Returns the shared packed exit table.
Definition at line 142 of file kolima.c.
Referenced by Kolima_GetExits().
| const struct ScenePlacement * Kolima_GetPlacements | ( | void | ) |
Selects placements and applies tree sprites while the villagers are cursed.
Definition at line 145 of file kolima.c.
Referenced by Kolima_GetPlacements().
|
static |
Offers sanctum services to a north-facing leader, or discusses the trees.
Definition at line 161 of file kolima.c.
Referenced by Kolima_TalkToHealer().
|
static |
Lets the village's Djinni join the party.
Definition at line 175 of file kolima.c.
Referenced by Kolima_RecruitDjinni().
| const struct SceneEvent * Kolima_GetEvents | ( | void | ) |
Selects the village or bridge event table.
Definition at line 178 of file kolima.c.
Referenced by Kolima_GetEvents().
|
static |
Walks the leader northward through the selected exit.
Definition at line 186 of file kolima.c.
Referenced by Kolima_AnimateSwitchOrExit(), and Kolima_WalkThroughExit().
|
static |
Animates the touched map cells or leaves through the southern exit.
Definition at line 196 of file kolima.c.
Referenced by Kolima_AnimateSwitchOrExit().
|
static |
Shows the villager's crossing and the bridge collapsing into debris.
Definition at line 235 of file kolima.c.
Referenced by Kolima_ShowBridgeCollapse().
| s32 Kolima_Initialize | ( | void | ) |
Restores the current map and plays the first visit to cursed Kolima.
Definition at line 320 of file kolima.c.
Referenced by Kolima_Initialize().
Shows a protective field on its assigned alternating frame.
Definition at line 380 of file kolima.c.
Referenced by Kolima_AlternateProtectiveFieldHeights(), and Kolima_SetProtectiveFieldHeight().
|
static |
Alternates the four protective sprites between visible and hidden heights.
Definition at line 394 of file kolima.c.
Referenced by Kolima_AlternateProtectiveFieldHeights(), and Kolima_WitnessForestCurse().
Begins Mind Read on one of the villagers transformed into a tree.
Definition at line 402 of file kolima.c.
Referenced by Kolima_ReadVillagerThoughts(), and Kolima_WitnessForestCurse().
|
static |
Finishes Mind Read and releases its temporary scene objects.
Definition at line 411 of file kolima.c.
Referenced by Kolima_FinishReadingThoughts(), and Kolima_WitnessForestCurse().
|
static |
Gives the four companions the same nod, waiting on the final actor.
Definition at line 418 of file kolima.c.
Referenced by Kolima_NodTogether(), and Kolima_WitnessForestCurse().
|
static |
Triggers a temporary pose when an effect enters the party's occupied area.
Definition at line 1373 of file kolima.c.
Referenced by Kolima_TriggerRegionScript().
| s32 gKolima_PendingPose |
Definition at line 1400 of file kolima.c.
Referenced by Kolima_ApplyPendingPose(), Kolima_TriggerRegionScript(), and Kolima_WitnessForestCurse().
| s32 gKolima_MiaInParty |
Definition at line 1401 of file kolima.c.
Referenced by Kolima_TriggerRegionScript(), and Kolima_WitnessForestCurse().
| s32 gKolima_EffectActive |
Definition at line 1402 of file kolima.c.
Referenced by Kolima_SpawnCurseSparkle(), and Kolima_WitnessForestCurse().
| s32 gKolima_ActionTable1[] |
Definition at line 1428 of file kolima.c.
Referenced by Kolima_WitnessForestCurse().
| s32 gKolima_ActionTable2[] |
Definition at line 1434 of file kolima.c.
Referenced by Kolima_WitnessForestCurse().
| s32 gKolima_ActionTable3[] |
Definition at line 1440 of file kolima.c.
Referenced by Kolima_WitnessForestCurse().
| s32 gKolima_PartySquashActions[] |
Definition at line 1446 of file kolima.c.
Referenced by Kolima_WitnessForestCurse().
| s32 gKolima_PartyRestoreScaleActions[] |
Definition at line 1462 of file kolima.c.
Referenced by Kolima_WitnessForestCurse().
| s32 gKolima_ProtectiveFieldGrowActions[] |
Definition at line 1469 of file kolima.c.
Referenced by Kolima_WitnessForestCurse().
| s32 gKolima_ProtectiveFieldShrinkActions[] |
| s32 gKolima_EntryActions[] |
Definition at line 1494 of file kolima.c.
Referenced by Kolima_Initialize().
| s32 gKolima_DebrisScript[] |
Definition at line 1504 of file kolima.c.
Referenced by Kolima_ShowBridgeCollapse().
| s32 gKolima_FaceLeaderScript[] |
Definition at line 1509 of file kolima.c.
Referenced by Kolima_ShowBridgeCollapse().
| u16 gKolima_SwitchCells[] |
Definition at line 1514 of file kolima.c.
Referenced by Kolima_AnimateSwitchOrExit().
| struct SceneEntrance gKolimaEntrances[] |
Definition at line 1520 of file kolima.c.
Referenced by Kolima_GetEntrances().
| struct SceneEntrance gKolimaEntrances3[] |
Definition at line 1535 of file kolima.c.
Referenced by Kolima_GetEntrances().
| struct SceneEntrance gKolimaEntrances2[] |
Definition at line 1541 of file kolima.c.
Referenced by Kolima_GetEntrances().
| struct SceneRegion gKolimaRegions2[] |
Definition at line 1548 of file kolima.c.
Referenced by Kolima_GetRegions().
| u32 gKolimaExits[] |
Definition at line 1554 of file kolima.c.
Referenced by Kolima_GetExits().
| struct ScenePlacement gKolimaPlacements[] |
Definition at line 1573 of file kolima.c.
Referenced by Kolima_GetPlacements().
| struct ScenePlacement gKolimaPlacements1[] |
Definition at line 1577 of file kolima.c.
Referenced by Kolima_GetPlacements().
| struct ScenePlacement gKolima_EntryScript[] |
Definition at line 1627 of file kolima.c.
Referenced by Kolima_Initialize().
| struct ScenePlacement gKolimaPlacements3[] |
Definition at line 1641 of file kolima.c.
Referenced by Kolima_GetPlacements().
| struct SceneEvent gKolimaEvents[] |
Definition at line 1649 of file kolima.c.
Referenced by Kolima_GetEvents().
| struct SceneEvent gKolimaEvents3[] |
Definition at line 1692 of file kolima.c.
Referenced by Kolima_GetEvents().
| s32 gKolima_Object26Script[] |
Definition at line 1702 of file kolima.c.
Referenced by Kolima_SpawnCurseSparkle().
| s32 gKolima_RegionScript[] |
Definition at line 1707 of file kolima.c.
Referenced by Kolima_TriggerRegionScript().
| s32 gFallingEffectScript[] |
Definition at line 1714 of file kolima.c.
Referenced by Kolima_UpdateCurseDust().