Alchemy
Loading...
Searching...
No Matches

vale_kraden.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * ValeKraden_GetEntrances (void)
const struct SceneRegion * ValeKraden_GetRegions (void)
const u32 * ValeKraden_GetExits (void)
const struct ScenePlacement * ValeKraden_GetPlacements (void)
 Returns the one placement table for every visit; ValeKraden_Initialize removes the actors a visit does not use.
const struct SceneEvent * ValeKraden_GetEvents (void)
 Selects the events for the current visit to Vale: after Kalay (FLAG_REACHED_KALAY), on the stormy night (FLAG_VALE_STORM), else the day the story begins.
s32 ValeKraden_Initialize (void)
 Places the actors for the storm or for the day, and plays the arrival from the cottage.

Variables

s32 gValeKraden_RockslideSurvivorEscapeActions []
 Leads the party away from the broken fence, then leaves the map.
s32 gValeKraden_RockslideSurvivorSwayActions []
 Alternates the survivor's width and height while he lies by the fence.
s32 gValeKraden_FaceTargetActions []
 Keeps a linked actor facing its current target.
struct SceneEntrance gValeKraden_Entrances []
u32 gValeKraden_Exits []
struct ScenePlacement gValeKraden_Placements []
struct SceneEvent gValeKraden_Events []
struct SceneEvent gValeKraden_StormEvents []
struct SceneEvent gValeKraden_EventsAfterKalay []
u16 gValeKraden_GateCells []

Function Documentation

◆ ValeKraden_GetEntrances()

const struct SceneEntrance * ValeKraden_GetEntrances ( void )

Definition at line 51 of file vale_kraden.c.

Referenced by ValeKraden_GetEntrances().

◆ ValeKraden_GetRegions()

const struct SceneRegion * ValeKraden_GetRegions ( void )

Definition at line 55 of file vale_kraden.c.

Referenced by ValeKraden_GetRegions().

◆ ValeKraden_GetExits()

const u32 * ValeKraden_GetExits ( void )

Definition at line 57 of file vale_kraden.c.

Referenced by ValeKraden_GetExits().

◆ ValeKraden_GetPlacements()

const struct ScenePlacement * ValeKraden_GetPlacements ( void )

Returns the one placement table for every visit; ValeKraden_Initialize removes the actors a visit does not use.

Definition at line 61 of file vale_kraden.c.

Referenced by ValeKraden_GetPlacements().

◆ ValeKraden_GetEvents()

const struct SceneEvent * ValeKraden_GetEvents ( void )

Selects the events for the current visit to Vale: after Kalay (FLAG_REACHED_KALAY), on the stormy night (FLAG_VALE_STORM), else the day the story begins.

Definition at line 68 of file vale_kraden.c.

Referenced by ValeKraden_GetEvents().

◆ ValeKraden_Initialize()

s32 ValeKraden_Initialize ( void )

Places the actors for the storm or for the day, and plays the arrival from the cottage.

The scene's initialize entry. On the stormy night (FLAG_VALE_STORM) it starts the lightning, removes the day's people, lays the survivor by the fence (unless FLAG_VALE_ROCKSLIDE_SURVIVOR_ESCAPED) and blocks the cells the rockslide covers. By day it removes the rocks and Garet, runs Event_KradenSetsOff from entrance 10, removes Kraden and the strangers once FLAG_SANCTUM_VISIT_PLANNED is set, and places the cottage visitor after Kalay. Clears FLAG_SCENE_TEMP_42 when the party keeps its position.

Definition at line 806 of file vale_kraden.c.

Referenced by ValeKraden_Initialize().

Variable Documentation

◆ gValeKraden_RockslideSurvivorEscapeActions

s32 gValeKraden_RockslideSurvivorEscapeActions[]
extern

Leads the party away from the broken fence, then leaves the map.

Definition at line 1042 of file vale_kraden.c.

Referenced by Event_TalkToRockslideSurvivor().

◆ gValeKraden_RockslideSurvivorSwayActions

s32 gValeKraden_RockslideSurvivorSwayActions[]
extern

Alternates the survivor's width and height while he lies by the fence.

Definition at line 1051 of file vale_kraden.c.

Referenced by ValeKraden_Initialize().

◆ gValeKraden_FaceTargetActions

s32 gValeKraden_FaceTargetActions[]
extern

Keeps a linked actor facing its current target.

Definition at line 1071 of file vale_kraden.c.

Referenced by Event_MeetSaturosAndMenardi(), Event_TalkToRockslideSurvivor(), and ValeKraden_Initialize().

◆ gValeKraden_Entrances

struct SceneEntrance gValeKraden_Entrances[]
extern

Definition at line 1076 of file vale_kraden.c.

Referenced by ValeKraden_GetEntrances().

◆ gValeKraden_Exits

u32 gValeKraden_Exits[]
extern

Definition at line 1087 of file vale_kraden.c.

Referenced by ValeKraden_GetExits().

◆ gValeKraden_Placements

struct ScenePlacement gValeKraden_Placements[]
extern

Definition at line 1095 of file vale_kraden.c.

Referenced by ValeKraden_GetPlacements().

◆ gValeKraden_Events

struct SceneEvent gValeKraden_Events[]
extern

Definition at line 1121 of file vale_kraden.c.

Referenced by ValeKraden_GetEvents().

◆ gValeKraden_StormEvents

struct SceneEvent gValeKraden_StormEvents[]
extern

Definition at line 1139 of file vale_kraden.c.

Referenced by ValeKraden_GetEvents().

◆ gValeKraden_EventsAfterKalay

struct SceneEvent gValeKraden_EventsAfterKalay[]
extern

Definition at line 1152 of file vale_kraden.c.

Referenced by ValeKraden_GetEvents().

◆ gValeKraden_GateCells

u16 gValeKraden_GateCells[]
extern