Alchemy
Loading...
Searching...
No Matches

kolima.c File Reference

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 []

Detailed Description

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.

Function Documentation

◆ Kolima_WitnessForestCurse()

void Kolima_WitnessForestCurse ( void )
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().

◆ Kolima_ShowMessageAndWait()

void Kolima_ShowMessageAndWait ( s32 actorId,
s32 waitFrames )
static

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().

◆ Kolima_FaceActorAndWait()

void Kolima_FaceActorAndWait ( s32 actorId,
s32 facing,
s32 waitFrames )
static

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().

◆ Kolima_SpawnCurseSparkle()

void Kolima_SpawnCurseSparkle ( void )
static

Spawns a moving curse sparkle every eighth frame.

Definition at line 1334 of file kolima.c.

Referenced by Kolima_SpawnCurseSparkle(), and Kolima_WitnessForestCurse().

◆ Kolima_RestoreBridgeState()

void Kolima_RestoreBridgeState ( void )
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().

◆ Kolima_ApplyPendingPose()

s32 Kolima_ApplyPendingPose ( struct ScriptInterpreter * interpreter)
static

Applies the deferred pose change requested by the falling-effect script.

Definition at line 51 of file kolima.c.

Referenced by Kolima_ApplyPendingPose().

◆ Kolima_UpdateTimedAppearance()

s32 Kolima_UpdateTimedAppearance ( struct ScriptInterpreter * interpreter)
static

Alternates an ambient actor's child appearance with a random timer.

Definition at line 61 of file kolima.c.

Referenced by Kolima_UpdateTimedAppearance().

◆ Kolima_InitializeCursedVillagers()

void Kolima_InitializeCursedVillagers ( struct ScenePlacement * placements)
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().

◆ Kolima_UpdateFallingDebris()

s32 Kolima_UpdateFallingDebris ( struct ScriptInterpreter * interpreter)
static

Moves, enlarges and releases one bridge fragment after its lifetime.

Definition at line 101 of file kolima.c.

Referenced by Kolima_UpdateFallingDebris().

◆ Kolima_GetEntrances()

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().

◆ Kolima_GetRegions()

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().

◆ Kolima_GetExits()

const u32 * Kolima_GetExits ( void )

Returns the shared packed exit table.

Definition at line 142 of file kolima.c.

Referenced by Kolima_GetExits().

◆ Kolima_GetPlacements()

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().

◆ Kolima_TalkToHealer()

void Kolima_TalkToHealer ( void )
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().

◆ Kolima_RecruitDjinni()

void Kolima_RecruitDjinni ( void )
static

Lets the village's Djinni join the party.

Definition at line 175 of file kolima.c.

Referenced by Kolima_RecruitDjinni().

◆ Kolima_GetEvents()

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().

◆ Kolima_WalkThroughExit()

void Kolima_WalkThroughExit ( s32 exitId)
static

Walks the leader northward through the selected exit.

Definition at line 186 of file kolima.c.

Referenced by Kolima_AnimateSwitchOrExit(), and Kolima_WalkThroughExit().

◆ Kolima_AnimateSwitchOrExit()

void Kolima_AnimateSwitchOrExit ( void )
static

Animates the touched map cells or leaves through the southern exit.

Definition at line 196 of file kolima.c.

Referenced by Kolima_AnimateSwitchOrExit().

◆ Kolima_ShowBridgeCollapse()

void Kolima_ShowBridgeCollapse ( void )
static

Shows the villager's crossing and the bridge collapsing into debris.

Definition at line 235 of file kolima.c.

Referenced by Kolima_ShowBridgeCollapse().

◆ Kolima_Initialize()

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().

◆ Kolima_SetProtectiveFieldHeight()

__inline__ void Kolima_SetProtectiveFieldHeight ( s32 actorId,
s32 visibleOnOddFrames )
static

Shows a protective field on its assigned alternating frame.

Definition at line 380 of file kolima.c.

Referenced by Kolima_AlternateProtectiveFieldHeights(), and Kolima_SetProtectiveFieldHeight().

◆ Kolima_AlternateProtectiveFieldHeights()

void Kolima_AlternateProtectiveFieldHeights ( void )
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().

◆ Kolima_ReadVillagerThoughts()

void Kolima_ReadVillagerThoughts ( s32 actorId,
s32 targetId )
static

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().

◆ Kolima_FinishReadingThoughts()

void Kolima_FinishReadingThoughts ( void )
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().

◆ Kolima_NodTogether()

__inline__ void Kolima_NodTogether ( void )
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().

◆ Kolima_TriggerRegionScript()

s32 Kolima_TriggerRegionScript ( struct ScriptInterpreter * interpreter)
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().

Variable Documentation

◆ gKolima_PendingPose

s32 gKolima_PendingPose

◆ gKolima_MiaInParty

s32 gKolima_MiaInParty

Definition at line 1401 of file kolima.c.

Referenced by Kolima_TriggerRegionScript(), and Kolima_WitnessForestCurse().

◆ gKolima_EffectActive

s32 gKolima_EffectActive

Definition at line 1402 of file kolima.c.

Referenced by Kolima_SpawnCurseSparkle(), and Kolima_WitnessForestCurse().

◆ gKolima_ActionTable1

s32 gKolima_ActionTable1[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(97), 0, PIXELS(221)),
}
@ FACING_NORTHEAST
Definition field_scene.h:33
#define PIXELS(value)
#define SC_SET(w, v)
Write a work value.
Definition objcmd.h:37
#define SC_SYNC
Wait for arrival.
Definition objcmd.h:17
#define SC_ARG(v)
Definition objcmd.h:44
#define SC_MOVE(x, y, z)
Move toward the target.
Definition objcmd.h:19
#define SC_END
Return to the main script.
Definition objcmd.h:32
@ SW_FACING
Definition objcmd.h:57

Definition at line 1428 of file kolima.c.

Referenced by Kolima_WitnessForestCurse().

◆ gKolima_ActionTable2

s32 gKolima_ActionTable2[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(101), 0, PIXELS(268)),
}
@ FACING_EAST
Definition field_scene.h:26

Definition at line 1434 of file kolima.c.

Referenced by Kolima_WitnessForestCurse().

◆ gKolima_ActionTable3

s32 gKolima_ActionTable3[]
Initial value:
= {
SC_ARG(2), SC_MOVE(PIXELS(78), 0, PIXELS(247)),
}
@ FACING_NORTH
Definition field_scene.h:32

Definition at line 1440 of file kolima.c.

Referenced by Kolima_WitnessForestCurse().

◆ gKolima_PartySquashActions

s32 gKolima_PartySquashActions[]
Initial value:
= {
SC_WAIT(2),
SC_WAIT(2),
SC_WAIT(2),
SC_WAIT(2),
}
#define Q16_ONE
One in the engine's signed 16.16 fixed-point format.
Definition fixed_math.h:10
#define SC_LOOP(n, to)
Repeat up to n times.
Definition objcmd.h:28
#define SC_FOREVER
Definition objcmd.h:14
#define SC_ADD(w, v)
Definition objcmd.h:38
#define SC_WAIT(n)
Wait n frames.
Definition objcmd.h:16
#define SC_TOP
Script start.
Definition objcmd.h:13
@ SW_SCALE_Y
Definition objcmd.h:63
@ SW_SCALE_X
Definition objcmd.h:62

Definition at line 1446 of file kolima.c.

Referenced by Kolima_WitnessForestCurse().

◆ gKolima_PartyRestoreScaleActions

s32 gKolima_PartyRestoreScaleActions[]
Initial value:

Definition at line 1462 of file kolima.c.

Referenced by Kolima_WitnessForestCurse().

◆ gKolima_ProtectiveFieldGrowActions

s32 gKolima_ProtectiveFieldGrowActions[]
Initial value:
= {
SC_WAIT(1),
SC_WAIT(1),
SC_LOOP(70, SC_TO(1)),
}
static s32 Kolima_ApplyPendingPose(struct ScriptInterpreter *interpreter)
Applies the deferred pose change requested by the falling-effect script.
Definition kolima.c:51
#define SC_LABEL(n)
Branch destination.
Definition objcmd.h:11
#define SC_TO(n)
Definition objcmd.h:12
#define SC_CALL(fn)
Definition objcmd.h:50

Definition at line 1469 of file kolima.c.

Referenced by Kolima_WitnessForestCurse().

◆ gKolima_ProtectiveFieldShrinkActions

s32 gKolima_ProtectiveFieldShrinkActions[]
Initial value:
= {
SC_ARG(1),
SC_ADD(SW_Z, -PIXELS(1) / 10),
SC_ADD(SW_SCALE_X, -3 * Q16_ONE / 200),
SC_ADD(SW_SCALE_Y, -3 * Q16_ONE / 200),
SC_WAIT(1),
SC_POS(0, 0, 0),
SC_WAIT(1),
}
#define SC_POS(x, y, z)
Set position.
Definition objcmd.h:18
@ SW_Z
Definition objcmd.h:60

Definition at line 1482 of file kolima.c.

Referenced by Kolima_WitnessForestCurse().

◆ gKolima_EntryActions

s32 gKolima_EntryActions[]
Initial value:
= {
SC_SET(0x23, 0),
}
static s32 Kolima_UpdateTimedAppearance(struct ScriptInterpreter *interpreter)
Alternates an ambient actor's child appearance with a random timer.
Definition kolima.c:61
@ SW_COLLISION
Definition objcmd.h:79

Definition at line 1494 of file kolima.c.

Referenced by Kolima_Initialize().

◆ gKolima_DebrisScript

s32 gKolima_DebrisScript[]
Initial value:
= {
}
static s32 Kolima_UpdateFallingDebris(struct ScriptInterpreter *interpreter)
Moves, enlarges and releases one bridge fragment after its lifetime.
Definition kolima.c:101

Definition at line 1504 of file kolima.c.

Referenced by Kolima_ShowBridgeCollapse().

◆ gKolima_FaceLeaderScript

s32 gKolima_FaceLeaderScript[]
Initial value:
= {
SC_CALL(Scene_TurnTowardTarget),
}

Definition at line 1509 of file kolima.c.

Referenced by Kolima_ShowBridgeCollapse().

◆ gKolima_SwitchCells

u16 gKolima_SwitchCells[]
Initial value:
= {
MAP_CELL_STEP(66, 32, 1, 2, 4),
MAP_CELL_STEP(67, 32, 1, 2, 4),
}
#define MAP_CELL_STEP(srcX, srcY, width, height, frames)
Definition field_event.h:59
#define MAP_CELL_STEPS_END
Definition field_event.h:61

Definition at line 1514 of file kolima.c.

Referenced by Kolima_AnimateSwitchOrExit().

◆ gKolimaEntrances

struct SceneEntrance gKolimaEntrances[]
Initial value:
= {
{0, CONDITION_ALWAYS, 232, 0, 120, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{1, CONDITION_ALWAYS, 44, 0, 267, FACING_EAST, 0, -1, -1, -1, -1, 0},
{2, CONDITION_ALWAYS, 418, 0, 285, FACING_WEST, 0, -1, -1, -1, -1, 0},
{3, CONDITION_ALWAYS, 119, 0, 182, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{4, CONDITION_ALWAYS, 151, 0, 310, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{5, CONDITION_ALWAYS, 264, 0, 373, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{6, CONDITION_ALWAYS, 329, 0, 230, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{7, CONDITION_ALWAYS, 263, 0, 326, FACING_NORTH, 0, -1, -1, -1, -1, 0},
{8, CONDITION_ALWAYS, 360, 0, 346, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{10, CONDITION_ALWAYS, 44, 0, 267, FACING_EAST, 0, -1, -1, -1, -1, 0},
{12, CONDITION_ALWAYS, 232, 0, 176, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
}
@ SCENE_TABLE_END
Definition field_scene.h:43
@ CONDITION_ALWAYS
Definition field_scene.h:44
@ FACING_SOUTH
Definition field_scene.h:28
@ FACING_WEST
Definition field_scene.h:30

Definition at line 1520 of file kolima.c.

Referenced by Kolima_GetEntrances().

◆ gKolimaEntrances3

struct SceneEntrance gKolimaEntrances3[]
Initial value:
= {
{1, CONDITION_ALWAYS, 170, 0, 386, FACING_NORTH, 0, 0, 0, 288, 416, 0},
{2, CONDITION_ALWAYS, 168, 0, 50, FACING_SOUTH, 0, 48, 0, 288, 416, 0},
}

Definition at line 1535 of file kolima.c.

Referenced by Kolima_GetEntrances().

◆ gKolimaEntrances2

struct SceneEntrance gKolimaEntrances2[]
Initial value:
= {
{1, CONDITION_ALWAYS, 216, 0, 320, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
{2, CONDITION_ALWAYS, 312, 0, 312, FACING_SOUTH, 0, -1, -1, -1, -1, 0},
}

Definition at line 1541 of file kolima.c.

Referenced by Kolima_GetEntrances().

◆ gKolimaRegions2

struct SceneRegion gKolimaRegions2[]
Initial value:
= {
{207, 31, 311, 225, 49, 329, -1, 1},
{303, 31, 303, 321, 49, 321, -1, 2},
{-1, 0, 0, 0, 0, 0, 0, 0},
}

Definition at line 1548 of file kolima.c.

Referenced by Kolima_GetRegions().

◆ gKolimaExits

u32 gKolimaExits[]
Initial value:
= {
SCENE_EXIT(1, 2, 7),
SCENE_EXIT(2, 2, 38),
SCENE_EXIT(5, 37, 4),
SCENE_EXIT(6, 37, 3),
SCENE_EXIT(7, 37, 7),
SCENE_EXIT(8, 37, 10),
SCENE_EXIT(9, 37, 8),
SCENE_EXIT(10, 38, 2),
SCENE_EXIT(0, 39, 0),
SCENE_EXIT(1, 2, 11),
SCENE_EXIT(2, 2, 46),
SCENE_EXIT(0, 38, 0),
SCENE_EXIT(1, 37, 9),
SCENE_EXIT(2, 36, 8),
}
#define SCENE_EXITS(scene)
Definition field_scene.h:72
#define SCENE_EXIT(exit, scene, entrance)
Definition field_scene.h:73
#define SCENE_EXITS_END
Definition field_scene.h:77

Definition at line 1554 of file kolima.c.

Referenced by Kolima_GetExits().

◆ gKolimaPlacements

struct ScenePlacement gKolimaPlacements[]
Initial value:
= {
}

Definition at line 1573 of file kolima.c.

Referenced by Kolima_GetPlacements().

◆ gKolimaPlacements1

struct ScenePlacement gKolimaPlacements1[]

Definition at line 1577 of file kolima.c.

Referenced by Kolima_GetPlacements().

◆ gKolima_EntryScript

struct ScenePlacement gKolima_EntryScript[]

◆ gKolimaPlacements3

struct ScenePlacement gKolimaPlacements3[]
Initial value:
= {
PIXELS(234), 0, PIXELS(200), FACING_SOUTH + FACING_STEP, 3, 0 },
}
@ FACING_STEP
Definition field_scene.h:36
@ TALK_KEEP_FACING
@ ACTOR_STAND

Definition at line 1641 of file kolima.c.

Referenced by Kolima_GetPlacements().

◆ gKolimaEvents

struct SceneEvent gKolimaEvents[]

Definition at line 1649 of file kolima.c.

Referenced by Kolima_GetEvents().

◆ gKolimaEvents3

struct SceneEvent gKolimaEvents3[]
Initial value:
= {
{ EVENT_TALK, 8, CONDITION_ALWAYS, MSGNO(MsgKolimaForAWhileIThoughtNo) },
{ PSYNERGY_ON_ACTOR(ABILITY_MIND_READ), 8, CONDITION_ALWAYS, MSGNO(MsgKolimaYouWouldntUnderstandButItsTruly) },
}
@ ABILITY_MIND_READ
Definition ability_ids.h:16
#define SCENE_EVENTS_END
@ EVENT_TOUCH
@ EVENT_EXIT
@ EVENT_TALK
#define PSYNERGY_ON_ACTOR(ability)
#define EVENT_SCRIPT(script)
#define FLAG_KOLIMA_BRIDGE_COLLAPSED
Kolima's bridge fell as the party crossed it.
Definition flags.h:262
static void Kolima_ShowBridgeCollapse(void)
Shows the villager's crossing and the bridge collapsing into debris.
Definition kolima.c:235

Definition at line 1692 of file kolima.c.

Referenced by Kolima_GetEvents().

◆ gKolima_Object26Script

s32 gKolima_Object26Script[]
Initial value:
= {
SC_CALL(SceneEffect_AdvanceAngleUntilIdle),
}

Definition at line 1702 of file kolima.c.

Referenced by Kolima_SpawnCurseSparkle().

◆ gKolima_RegionScript

s32 gKolima_RegionScript[]
Initial value:
= {
SC_WAIT(10),
}
#define SC_FREE
Release.
Definition objcmd.h:43

Definition at line 1707 of file kolima.c.

Referenced by Kolima_TriggerRegionScript().

◆ gFallingEffectScript

s32 gFallingEffectScript[]
Initial value:
= {
SC_CALL(Kolima_FlickerCurseDust),
SC_WAIT(1),
SC_CALL(Kolima_FlickerCurseDust),
SC_WAIT(1),
SC_CALL(Kolima_FlickerCurseDust),
SC_WAIT(1),
SC_LOOP(40, SC_TO(1)),
}
static s32 Kolima_TriggerRegionScript(struct ScriptInterpreter *interpreter)
Triggers a temporary pose when an effect enters the party's occupied area.
Definition kolima.c:1373
@ SW_Y
Definition objcmd.h:59

Definition at line 1714 of file kolima.c.

Referenced by Kolima_UpdateCurseDust().