The north of Vale around Kraden's cottage: the fence above the village, the path down to the plaza, and the cottage's gate. More...
Go to the source code of this file.
Enumerations | |
| enum | ValeKradenActor { ACTOR_WEST_ROCK = 9 , ACTOR_EAST_ROCK = 10 , ACTOR_ROCKSLIDE_SURVIVOR = 11 , ACTOR_FENCE_ONLOOKER = 12 , ACTOR_KRADEN = 13 , ACTOR_SATUROS = 14 , ACTOR_MENARDI = 15 , ACTOR_COTTAGE_VISITOR = 16 } |
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. | |
| static __inline__ void | ValeKraden_NodTogether (void) |
| Finishes the party's nod together before the next line of dialogue. | |
| static __inline__ void | ValeKraden_FacePartySouth (void) |
| Turns all three party members toward the strangers. | |
| static __inline__ void | ValeKraden_WalkTowardLeader (s32 companionId) |
| Starts a companion walking back to Isaac's current pixel position. | |
| static void | Event_TalkToFenceOnlooker (void) |
| The child at the fence asks whether Isaac hears the growls beyond it; once the party has left Vale, he means to climb it someday. | |
| static void | Event_KradenPlansSanctumVisit (void) |
| Talking to Kraden outside his cottage: he talks Isaac, Garet and Jenna into a secret look at Sol Sanctum, then goes inside to prepare. | |
| static void | Event_KradenSetsOff (void) |
| Arriving by entrance 10, from the cottage: Kraden comes out ready, and everyone joins Isaac for the mountain. | |
| static void | Event_EnterCottage (void) |
| Walking into the cottage: the gate opens unless Kraden left it open. | |
| static void | Event_MeetSaturosAndMenardi (void) |
| Walking past the two strangers: Isaac, Garet and Jenna overhear Saturos and Menardi, confront them and are warned off. | |
| static void | Event_OverhearKraden (void) |
| Walking up to the cottage: Kraden paces, wondering aloud who the strangers were and what they know of Sol Sanctum and the Elemental Stars. | |
| s32 | ValeKraden_Initialize (void) |
| Places the actors for the storm or for the day, and plays the arrival from the cottage. | |
| static void | Event_TalkToRockslideSurvivor (void) |
| The man hurt in the rockslide asks whether he will die: yes, and he gives up; no, and he finds he is unhurt and runs off to the plaza. | |
| static void | Event_FightFirstMonster (void) |
| On the stormy night, a monster attacks by the broken fence. | |
| static void | Event_FightSecondMonster (void) |
| On the stormy night, a second monster attacks by the broken fence. | |
| static void | Event_TalkToCottageVisitor (void) |
| After the party has reached Kalay, a villager at the cottage asks Isaac about his memories of it. | |
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 [] |
The north of Vale around Kraden's cottage: the fence above the village, the path down to the plaza, and the cottage's gate.
Definition in file vale_kraden.c.
| enum ValeKradenActor |
Definition at line 37 of file vale_kraden.c.
| const struct SceneEntrance * ValeKraden_GetEntrances | ( | void | ) |
Definition at line 51 of file vale_kraden.c.
Referenced by ValeKraden_GetEntrances().
| const struct SceneRegion * ValeKraden_GetRegions | ( | void | ) |
Definition at line 55 of file vale_kraden.c.
Referenced by ValeKraden_GetRegions().
| const u32 * ValeKraden_GetExits | ( | void | ) |
Definition at line 57 of file vale_kraden.c.
Referenced by ValeKraden_GetExits().
| 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().
| 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().
|
static |
Finishes the party's nod together before the next line of dialogue.
Definition at line 79 of file vale_kraden.c.
Referenced by Event_KradenPlansSanctumVisit(), and ValeKraden_NodTogether().
|
static |
Turns all three party members toward the strangers.
Definition at line 86 of file vale_kraden.c.
Referenced by Event_MeetSaturosAndMenardi(), and ValeKraden_FacePartySouth().
|
static |
Starts a companion walking back to Isaac's current pixel position.
Definition at line 93 of file vale_kraden.c.
Referenced by Event_KradenSetsOff(), Event_MeetSaturosAndMenardi(), and ValeKraden_WalkTowardLeader().
|
static |
The child at the fence asks whether Isaac hears the growls beyond it; once the party has left Vale, he means to climb it someday.
Reached by talking to the onlooker at the fence (actor 12) in the day's events.
Definition at line 109 of file vale_kraden.c.
Referenced by Event_TalkToFenceOnlooker().
|
static |
Talking to Kraden outside his cottage: he talks Isaac, Garet and Jenna into a secret look at Sol Sanctum, then goes inside to prepare.
Reached by talking to Kraden (actor 13) in the day's events, until FLAG_SANCTUM_VISIT_PLANNED is set. Ends by taking exit 13 into the cottage (scene 8, entrance 22); the party comes back by entrance 10, where Event_KradenSetsOff goes on.
Definition at line 142 of file vale_kraden.c.
Referenced by Event_KradenPlansSanctumVisit().
|
static |
Arriving by entrance 10, from the cottage: Kraden comes out ready, and everyone joins Isaac for the mountain.
"This is our best bet." The mountain is Mt. Aleph.
Called by ValeKraden_Initialize on entrance 10 unless the party keeps its position. Sets FLAG_SANCTUM_VISIT_PLANNED and FLAG_SCENE_TEMP_42 (the gate stays open), and removes Kraden, Garet, Jenna, Saturos and Menardi.
Definition at line 398 of file vale_kraden.c.
Referenced by Event_KradenSetsOff(), and ValeKraden_Initialize().
|
static |
Walking into the cottage: the gate opens unless Kraden left it open.
Reached by walking north into cell code 3, by day and after Kalay; takes exit 3 into the cottage.
Definition at line 468 of file vale_kraden.c.
Referenced by Event_EnterCottage().
|
static |
Walking past the two strangers: Isaac, Garet and Jenna overhear Saturos and Menardi, confront them and are warned off.
Reached by stepping on cell code 7 in the day's events; runs once, setting FLAG_MET_SATUROS_AND_MENARDI. Saturos and Menardi are left turning to watch the leader.
Definition at line 483 of file vale_kraden.c.
Referenced by Event_MeetSaturosAndMenardi().
|
static |
Walking up to the cottage: Kraden paces, wondering aloud who the strangers were and what they know of Sol Sanctum and the Elemental Stars.
Reached by stepping on cell code 5 in the day's events; runs once, setting FLAG_OVERHEARD_KRADEN.
Definition at line 708 of file vale_kraden.c.
Referenced by Event_OverhearKraden().
| 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().
|
static |
The man hurt in the rockslide asks whether he will die: yes, and he gives up; no, and he finds he is unhurt and runs off to the plaza.
Reached on the stormy night by talking to him (actor 11), or by stepping on cell code 20 until he has given up. Sets FLAG_VALE_ROCKSLIDE_SURVIVOR_GAVE_UP on yes, or FLAG_VALE_ROCKSLIDE_SURVIVOR_ESCAPED on no; once he has escaped it does nothing.
Definition at line 897 of file vale_kraden.c.
Referenced by Event_TalkToRockslideSurvivor().
|
static |
On the stormy night, a monster attacks by the broken fence.
Reached by stepping on cell code 10 until FLAG_VALE_STORM_FIRST_MONSTER_FOUGHT is set. Sets it and FLAG_VALE_STORM_MONSTER_FOUGHT, and starts encounter 0 of table 12.
Definition at line 994 of file vale_kraden.c.
Referenced by Event_FightFirstMonster().
|
static |
On the stormy night, a second monster attacks by the broken fence.
Reached by stepping on cell code 11 until FLAG_VALE_STORM_SECOND_MONSTER_FOUGHT is set. Sets it and FLAG_VALE_STORM_MONSTER_FOUGHT, and starts encounter 1 of table 12.
Definition at line 1014 of file vale_kraden.c.
Referenced by Event_FightSecondMonster().
|
static |
After the party has reached Kalay, a villager at the cottage asks Isaac about his memories of it.
Reached by talking to the cottage visitor (actor 16) in the events after Kalay.
Definition at line 1034 of file vale_kraden.c.
Referenced by Event_TalkToCottageVisitor().
| s32 gValeKraden_RockslideSurvivorEscapeActions[] |
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().
| s32 gValeKraden_RockslideSurvivorSwayActions[] |
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().
| s32 gValeKraden_FaceTargetActions[] |
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().
| struct SceneEntrance gValeKraden_Entrances[] |
Definition at line 1076 of file vale_kraden.c.
Referenced by ValeKraden_GetEntrances().
| u32 gValeKraden_Exits[] |
Definition at line 1087 of file vale_kraden.c.
Referenced by ValeKraden_GetExits().
| struct ScenePlacement gValeKraden_Placements[] |
Definition at line 1095 of file vale_kraden.c.
Referenced by ValeKraden_GetPlacements().
| struct SceneEvent gValeKraden_Events[] |
Definition at line 1121 of file vale_kraden.c.
Referenced by ValeKraden_GetEvents().
| struct SceneEvent gValeKraden_StormEvents[] |
Definition at line 1139 of file vale_kraden.c.
Referenced by ValeKraden_GetEvents().
| struct SceneEvent gValeKraden_EventsAfterKalay[] |
Definition at line 1152 of file vale_kraden.c.
Referenced by ValeKraden_GetEvents().
| u16 gValeKraden_GateCells[] |
Definition at line 1170 of file vale_kraden.c.
Referenced by Event_EnterCottage(), Event_KradenPlansSanctumVisit(), and Event_KradenSetsOff().