src/scene/vale_kradens_cottage.c
Vale (SceneIdValeKradensCottage) is the part of the village around Kraden's cottage, by the fence that closes off the lands beyond. More…
#include "ability_ids.h"#include "flags.h"#include "item_ids.h"#include "battle/battle.h"#include "debug/debug.h"#include "field/actor_script.h"#include "field/script_inline.h"#include "graphics/graphics.h"#include "scene/walk_into_leader.h"#include "text/msg_ids.h"#include "shared/actor_facing.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_VALE_KRADENS_DOOR_OPEN FLAG_SCENE_TEMP(0x42) | The front door of Kraden's cottage stands open since Kraden set off, so walking in (METATILE_BEHAVIOR_KRADENS_COTTAGE_DOOR) skips its opening. |
Enumerations
| Name | Description | |
|---|---|---|
enum | EAVESDROP_MESSAGE { EAVESDROP_MENARDI_FORBIDS_SPYING, EAVESDROP_MENARDI_TAKES_WO … } | Menardi's answers to "Were you eavesdropping on our conversation?", counted from MsgValeTheyKnowLittleOfThe. |
enum | APPOINTMENT_MESSAGE { APPOINTMENT_SATUROS_GIVES_WAY, APPOINTMENT_KRADEN_SENT_THEM_ … } | Saturos's answers to "And this appointment is important enough to drive us away?", counted from MsgValeYoureTheOnesSneakingAround. |
enum | VALE_KRADENS_COTTAGE_METATILE_BEHAVIOR { METATILE_BEHAVIOR_KRADENS_COTTAGE_NORTH_WAY_TO_VALE, METATIL … } | What the metatiles of this part of Vale do, by the cue rows that answer them. |
enum | VALE_KRADENS_COTTAGE_ACTOR_ID { ACTOR_FENCE_BOULDER, ACTOR_WEST_ROCK, ACTOR_EAST_ROCK, ACTOR … } | The placed actors, numbered in the order of ValeKradensCottageActorPlacements. |
Functions
| Name | Description | |
|---|---|---|
Sint32 | scInit (void) | Arriving in Kraden's part of Vale places the actors for the storm or for the day, and plays the arrival from the cottage. |
const SCENE_ENTRANCE * | scGetEntrances (void) | The six rooms share one entrance table. |
const SCENE_EXIT_REGION * | scGetExitRegions (void) | The scene has no exit regions: its regions entry returns none. |
const Uint32 * | scGetExits (void) | Both scenes share one exit table. |
const ACTOR_PLACE * | scGetActorPlacements (void) | Returns the one actor placement table for every visit. |
const CUE * | scGetCues (void) | Selects the scripts for the current visit to Vale. |
static inline void | scValeKradensCottageNodTogether (void) | Finishes the party's nod together before the next line of dialogue. |
static inline void | scValeKradensCottageFacePartySouth (void) | Turns all three party members toward the strangers. |
static inline void | scValeKradensCottageWalkTowardLeader (Sint32 companionId) | Starts a companion walking back to Isaac's current pixel position. |
static void | scValeKradensCottageTalkToBoyByTheFence (void) | In Vale by Kraden's cottage, the child at the fence asks whether Isaac hears the growls beyond it. |
static void | scValeKradensCottageKradenPlansSanctumVisit (void) | In Vale, talking to Kraden outside his cottage has him talk Isaac, Garet and Jenna into a secret look at Sol Sanctum. |
static void | scValeKradensCottageKradenSetsOff (void) | In Vale, when the party comes back out of Kraden's cottage, Kraden comes out ready and everyone joins Isaac for Mt. Aleph. |
static void | scValeKradensCottageEnterCottage (void) | In Vale, walking into Kraden's cottage opens the door, unless Kraden left it open. |
static void | scValeKradensCottageMeetSaturosAndMenardi (void) | In Vale on the way to Kraden's cottage, Isaac, Garet and Jenna walk past two strangers and overhear them. |
static void | scValeKradensCottageOverhearKraden (void) | In Vale, walking up to Kraden's cottage finds Kraden pacing. |
static void | scValeKradensCottageTalkToRockslideSurvivor (void) | In Vale on the stormy night, the man hurt in the rockslide asks whether he will die. |
static void | scValeKradensCottageFightFirstMonster (void) | In Vale on the stormy night, a monster attacks by the broken fence. |
static void | scValeKradensCottageFightSecondMonster (void) | In Vale on the stormy night, a second monster attacks by the broken fence. |
static void | scValeKradensCottageTalkToCottageVisitor (void) | A villager at Kraden's cottage asks Isaac about his memories of it. |
Variables
| Name | Description | |
|---|---|---|
extern Sint32 | ValeKradensCottageRockslideSurvivorEscapeActions [] | Leads the party away from the broken fence, then leaves the scene. |
extern Sint32 | ValeKradensCottageRockslideSurvivorSquashes [] | The survivor squashes flat and recovers every 68 ticks as he lies by the fence. |
extern Sint32 | ValeKradensCottageFaceTargetActions [] | Keeps a watched actor facing its current target. |
extern SCENE_ENTRANCE | ValeKradensCottageEntrances [] | |
extern Uint32 | ValeKradensCottageExits [] | |
extern ACTOR_PLACE | ValeKradensCottageActorPlacements [] | |
extern CUE | ValeKradensCottageCues [] | |
extern CUE | ValeKradensCottageStormCues [] | |
extern CUE | ValeKradensCottageCuesAfterKalay [] | |
extern Uint16 | ValeKradensCottageDoorOpens [] | The cottage's arched front door opening. |
Description
Vale (SceneIdValeKradensCottage) is the part of the village around Kraden's
cottage, by the fence that closes off the lands beyond.
Kraden, "a trained Alchemy sage" in his own words, came to Vale to study Mt. Aleph and Alchemy.
One actor placement table serves every visit. scInit removes the people a
visit does not use, and scGetCues picks the scripts for the time of the
story.
On the stormy night of the prologue (FLAG_VALE_STORM), the storm's scene
(Vale, SceneIdValePrologue) leads here by
VALE_PROLOGUE_VALE_KRADENS_COTTAGE_NORTH and
VALE_PROLOGUE_VALE_KRADENS_COTTAGE_SOUTH. The party arrives by
VALE_KRADENS_COTTAGE_VALE_NORTH and
VALE_KRADENS_COTTAGE_VALE_SOUTH, and the two paths lead back
(VALE_KRADENS_COTTAGE_TO_VALE_PROLOGUE_NORTH and
VALE_KRADENS_COTTAGE_TO_VALE_PROLOGUE_SOUTH).
A rockslide has broken the fence and let monsters in. Initialize starts the
lightning and leaves the two rocks that Isaac cannot budge across the way. It
copies METATILE_BEHAVIOR_WALL over the path's six metatiles below the west
rock and under the east one. Two of those metatiles are
METATILE_BEHAVIOR_KRADENS_COTTAGE_PAST_THE_STRANGERS by day. It also lays a
hurt man by the fence.
Talking to the hurt man, or walking up to him
(METATILE_BEHAVIOR_KRADENS_COTTAGE_BESIDE_THE_SURVIVOR), plays
scValeKradensCottageTalkToRockslideSurvivor. He asks whether he will die. A
yes leaves him giving up (FLAG_VALE_ROCKSLIDE_SURVIVOR_GAVE_UP). A no has him
find he is not hurt at all, warn them of the monsters on their way to the
plaza and run off (FLAG_VALE_ROCKSLIDE_SURVIVOR_ESCAPED), after which he is
no longer placed.
Two metatiles start a monster battle each, once. They are the first two slots of the encounter zone of the scripted battles of Vale, Vault and the world map.
Three years later, the day the story begins, Isaac comes up with Garet and Jenna to find two strangers outside.
- Walking past the strangers
(
METATILE_BEHAVIOR_KRADENS_COTTAGE_PAST_THE_STRANGERS) playsscValeKradensCottageMeetSaturosAndMenardi. The three overhear the two speak of Sol Sanctum and of using Kraden, confront them and are let go. The two call each other Saturos and Menardi (FLAG_MET_SATUROS_AND_MENARDI). The strangers then stand aside, turning to watch the leader. - Before the cottage
(
METATILE_BEHAVIOR_KRADENS_COTTAGE_BEFORE_THE_COTTAGE), the party overhears Kraden wondering what the strangers know of the Elemental Stars (scValeKradensCottageOverhearKraden,FLAG_KRADEN_WONDERED_ABOUT_STRANGERS). - Talking to Kraden plays
scValeKradensCottageKradenPlansSanctumVisit. Garet brings up Saturos and Menardi. Kraden talks the three into a secret look at Sol Sanctum on the forbidden mountain, then goes in to prepare. VALE_KRADENS_COTTAGE_TO_COTTAGE_ROOMS_B_MYTHRIL_BAGthen takes the party into the cottage (SceneIdCottageRoomsB,COTTAGE_ROOMS_B_FROM_VALE_KRADENS_COTTAGE_MYTHRIL_BAG).- Coming back out by
VALE_KRADENS_COTTAGE_FROM_COTTAGE_ROOMS_B_SOUTH, Kraden joins them for Mt. Aleph (scValeKradensCottageKradenSetsOff,FLAG_SANCTUM_VISIT_PLANNED). From then on he and the strangers are gone.
On that day a small boy at the fence hears growls beyond it, and a jar holds an Elixir.
After the party has left Vale (FLAG_VALE_PARTY_LEFT) the child means to climb
the fence one day. After Kalay (FLAG_KALAY_REACHED) a woman with fair hair
visits the empty cottage, missing Kraden.
By day the scene has these ways out.
- The cottage's door (
scValeKradensCottageEnterCottage) leads into the cottage (VALE_KRADENS_COTTAGE_COTTAGE_ROOMS_B_NORTH, toSceneIdCottageRoomsB'sCOTTAGE_ROOMS_B_VALE_KRADENS_COTTAGE_NORTH). VALE_KRADENS_COTTAGE_VALE_NORTHandVALE_KRADENS_COTTAGE_VALE_SOUTHgo down into the village (SceneIdVale).VALE_KRADENS_COTTAGE_VALE_CAVE_MOUTH_WESTandVALE_KRADENS_COTTAGE_VALE_CAVE_MOUTH_EASTgo into Vale Cave's way in (SceneIdValeCaveMouth).
Coming back from Vale Cave's way in by
VALE_KRADENS_COTTAGE_VALE_CAVE_MOUTH_EAST clears FLAG_SHOW_AREA_NAME, so
the area name is not shown again.
The jar's row finds nothing on the stormy night. After Kalay it is there only from the third patch on.
Macros in detail
FLAG_VALE_KRADENS_DOOR_OPEN
#define FLAG_VALE_KRADENS_DOOR_OPEN FLAG_SCENE_TEMP(0x42)
The front door of Kraden's cottage stands open since Kraden set off, so
walking in (METATILE_BEHAVIOR_KRADENS_COTTAGE_DOOR) skips its opening.
Referenced by scInit(), scValeKradensCottageEnterCottage() and scValeKradensCottageKradenSetsOff().
Definition at line 212 of file vale_kradens_cottage.c.
Enumerations in detail
EAVESDROP_MESSAGE
enum EAVESDROP_MESSAGE
Menardi's answers to "Were you eavesdropping on our conversation?", counted
from MsgValeTheyKnowLittleOfThe.
| Enumerator | Value | Description |
|---|---|---|
EAVESDROP_MENARDI_FORBIDS_SPYING | 10 | |
EAVESDROP_MENARDI_TAKES_WORD | 11 |
Definition at line 104 of file vale_kradens_cottage.c.
APPOINTMENT_MESSAGE
enum APPOINTMENT_MESSAGE
Saturos's answers to "And this appointment is important enough to drive us
away?", counted from MsgValeYoureTheOnesSneakingAround.
| Enumerator | Value | Description |
|---|---|---|
APPOINTMENT_SATUROS_GIVES_WAY | 5 | |
APPOINTMENT_KRADEN_SENT_THEM_AWAY | 6 |
Definition at line 112 of file vale_kradens_cottage.c.
VALE_KRADENS_COTTAGE_METATILE_BEHAVIOR
enum VALE_KRADENS_COTTAGE_METATILE_BEHAVIOR
What the metatiles of this part of Vale do, by the cue rows that answer them. The ways out are numbered as the day's exits, and lead to the stormy night's on that night.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_KRADENS_COTTAGE_NORTH_WAY_TO_VALE | 1 | The way down into the village by the north. |
METATILE_BEHAVIOR_KRADENS_COTTAGE_SOUTH_WAY_TO_VALE | The way down into the village by the south. | |
METATILE_BEHAVIOR_KRADENS_COTTAGE_DOOR | The cottage's front door. | |
METATILE_BEHAVIOR_KRADENS_COTTAGE_WEST_PATH_TO_VALE_CAVE | The lower path up to Vale Cave's way in. | |
METATILE_BEHAVIOR_KRADENS_COTTAGE_BEFORE_THE_COTTAGE | The ground before the cottage, where the party overhears Kraden. | |
METATILE_BEHAVIOR_KRADENS_COTTAGE_EAST_PATH_TO_VALE_CAVE | The raised path up to Vale Cave's way in. | |
METATILE_BEHAVIOR_KRADENS_COTTAGE_PAST_THE_STRANGERS | The way past the two strangers, where the party meets Saturos and Menardi. | |
METATILE_BEHAVIOR_KRADENS_COTTAGE_FIRST_MONSTER | 10 | On the stormy |
METATILE_BEHAVIOR_KRADENS_COTTAGE_SECOND_MONSTER | night, the metatiles where a monster attacks, each once. | |
METATILE_BEHAVIOR_KRADENS_COTTAGE_BESIDE_THE_SURVIVOR | 20 | On the stormy night, beside the man hurt in the rockslide. |
METATILE_BEHAVIOR_KRADENS_COTTAGE_JAR | 100 | The jar that holds an Elixir. |
Definition at line 121 of file vale_kradens_cottage.c.
VALE_KRADENS_COTTAGE_ACTOR_ID
enum VALE_KRADENS_COTTAGE_ACTOR_ID
The placed actors, numbered in the order of
ValeKradensCottageActorPlacements. Garet and Jenna, placed between Kraden and
Saturos, keep their own slots.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_FENCE_BOULDER | ACTOR_FIRST_PLACED | This is a boulder by the fence. It has the sprite of the boulder Lift raises at the Alpine Crossing (MsgMountainIsaacDidLiftBoulder) and in Gondowan Cave. Its Lift row runs no script, like ACTOR_RIVER_BOULDER's in gondowan_cave.c. The stormy night's scripts have no row for it. Cast on it, Lift's two hands close on it and burst into sparkles. The boulder stays where it is, and no message follows, since the row answers the cast. |
ACTOR_WEST_ROCK | The west rock. "It's a huge | |
ACTOR_EAST_ROCK | rock that Isaac's strength can't even budge." | |
ACTOR_ROCKSLIDE_SURVIVOR | A young man with brown hair who lies by the broken fence on the stormy night. "Rockslide...destroyed fence... Monsters everywhere..." | |
ACTOR_BOY_BY_THE_FENCE | A small boy with fair hair, by day, younger than Isaac. "Do you hear those awful growls coming from the other side of this fence?" | |
ACTOR_KRADEN | ||
ACTOR_SATUROS | ||
ACTOR_MENARDI | ||
ACTOR_COTTAGE_VISITOR | A woman with fair hair, after Kalay. "You must have so many memories of this cottage, don't you?" |
Definition at line 173 of file vale_kradens_cottage.c.
Functions in detail
scInit
Sint32 scInit(void)
Arriving in Kraden's part of Vale places the actors for the storm or for the day, and plays the arrival from the cottage.
References fdActorGet(), fdActorSetAnimation(), fdActorSetScript(), fdActorWalkToAndWait(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdWeatherStartLightning(), fdWeatherStartRain(), gmFlagClear(), gmFlagGet(), MainRoutineStateWork, scFieldActorWatchAndStartScript(), scValeKradensCottageKradenSetsOff(), Sint32, ValeKradensCottageFaceTargetActions and ValeKradensCottageRockslideSurvivorSquashes.
Definition at lines 158 and 1036 of file vale_kradens_cottage.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References ValeKradensCottageEntrances.
Definition at line 214 of file vale_kradens_cottage.c.
scGetExitRegions
const SCENE_EXIT_REGION *scGetExitRegions(void)
Definition at line 219 of file vale_kradens_cottage.c.
scGetExits
const Uint32 *scGetExits(void)
References ValeKradensCottageExits.
Definition at line 224 of file vale_kradens_cottage.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
Returns the one actor placement table for every visit. scInit removes the
actors a visit does not use.
References ValeKradensCottageActorPlacements.
Definition at line 231 of file vale_kradens_cottage.c.
scGetCues
const CUE *scGetCues(void)
Selects the scripts for the current visit to Vale.
References gmFlagGet(), ValeKradensCottageCues, ValeKradensCottageCuesAfterKalay and ValeKradensCottageStormCues.
Definition at line 237 of file vale_kradens_cottage.c.
scValeKradensCottageNodTogether
static inline void scValeKradensCottageNodTogether(void)
Finishes the party's nod together before the next line of dialogue.
References fdActorSetAnimation() and fdActorSetAnimationAndWait().
Referenced by scValeKradensCottageKradenPlansSanctumVisit().
Definition at line 251 of file vale_kradens_cottage.c.
scValeKradensCottageFacePartySouth
static inline void scValeKradensCottageFacePartySouth(void)
Turns all three party members toward the strangers.
References fdActorFaceDirection().
Referenced by scValeKradensCottageMeetSaturosAndMenardi().
Definition at line 259 of file vale_kradens_cottage.c.
scValeKradensCottageWalkTowardLeader
static inline void scValeKradensCottageWalkTowardLeader(Sint32 companionId)
Starts a companion walking back to Isaac's current pixel position.
References fdActorSetAnimation(), scWalkTowardLeader() and Sint32.
Referenced by scValeKradensCottageKradenSetsOff() and scValeKradensCottageMeetSaturosAndMenardi().
Definition at line 267 of file vale_kradens_cottage.c.
scValeKradensCottageTalkToBoyByTheFence
static void scValeKradensCottageTalkToBoyByTheFence(void)
In Vale by Kraden's cottage, the child at the fence asks whether Isaac hears the growls beyond it.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorStartRepeatedMotion(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet() and Sint32.
Referenced by ValeKradensCottageCues.
Definition at line 275 of file vale_kradens_cottage.c.
scValeKradensCottageKradenPlansSanctumVisit
static void scValeKradensCottageKradenPlansSanctumVisit(void)
In Vale, talking to Kraden outside his cottage has him talk Isaac, Garet and Jenna into a secret look at Sol Sanctum.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorShowEmote(), fdActorWalkTo(), fdActorWalkToAndWait(), fdMapGridAnimateMetatiles(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagGet(), scValeKradensCottageNodTogether(), Sint32, syImportScriptSetExitRequest(), sySoundPlay() and ValeKradensCottageDoorOpens.
Referenced by ValeKradensCottageCues.
Definition at line 312 of file vale_kradens_cottage.c.
scValeKradensCottageKradenSetsOff
static void scValeKradensCottageKradenSetsOff(void)
In Vale, when the party comes back out of Kraden's cottage, Kraden comes out ready and everyone joins Isaac for Mt. Aleph.
References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorWaitForMoveById(), fdActorWalkToAndWait(), fdMapGridAnimateMetatiles(), fdPaletteFadeApplySource(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagSet(), scValeKradensCottageWalkTowardLeader() and ValeKradensCottageDoorOpens.
Referenced by scInit().
Definition at line 615 of file vale_kradens_cottage.c.
scValeKradensCottageEnterCottage
static void scValeKradensCottageEnterCottage(void)
In Vale, walking into Kraden's cottage opens the door, unless Kraden left it open.
References fdActorWalkTo(), fdMapGridPlayMapEdit(), gmFlagGet(), syImportScriptSetExitRequest(), sySoundPlay() and ValeKradensCottageDoorOpens.
Referenced by ValeKradensCottageCues and ValeKradensCottageCuesAfterKalay.
Definition at line 681 of file vale_kradens_cottage.c.
scValeKradensCottageMeetSaturosAndMenardi
static void scValeKradensCottageMeetSaturosAndMenardi(void)
In Vale on the way to Kraden's cottage, Isaac, Garet and Jenna walk past two strangers and overhear them.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWaitForMoveById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraWaitForMove(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptGetFlag(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet(), gmPlayMusic(), scFieldActorWatchAndStartScript(), scFieldScriptShowMessageThenWait(), scValeKradensCottageFacePartySouth(), scValeKradensCottageWalkTowardLeader(), Sint32, sySoundPlay() and ValeKradensCottageFaceTargetActions.
Referenced by ValeKradensCottageCues.
Definition at line 694 of file vale_kradens_cottage.c.
scValeKradensCottageOverhearKraden
static void scValeKradensCottageOverhearKraden(void)
In Vale, walking up to Kraden's cottage finds Kraden pacing.
References fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorShowEmote(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdCameraWaitForMove(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scWalkIntoLeader() and Sint32.
Referenced by ValeKradensCottageCues.
Definition at line 952 of file vale_kradens_cottage.c.
scValeKradensCottageTalkToRockslideSurvivor
static void scValeKradensCottageTalkToRockslideSurvivor(void)
In Vale on the stormy night, the man hurt in the rockslide asks whether he will die.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorShowEmote(), fdActorStop(), fdActorWalkToAndWait(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptGetFlag(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scFieldActorWatchAndStartScript(), scWalkIntoLeader(), Sint32, ValeKradensCottageFaceTargetActions and ValeKradensCottageRockslideSurvivorEscapeActions.
Referenced by ValeKradensCottageStormCues.
Definition at line 1128 of file vale_kradens_cottage.c.
scValeKradensCottageFightFirstMonster
static void scValeKradensCottageFightFirstMonster(void)
In Vale on the stormy night, a monster attacks by the broken fence.
References fdRequestBattleFromEncounterTable(), fdScriptEnd(), fdScriptStart(), gmFlagSet() and state.
Referenced by ValeKradensCottageStormCues.
Definition at line 1239 of file vale_kradens_cottage.c.
scValeKradensCottageFightSecondMonster
static void scValeKradensCottageFightSecondMonster(void)
In Vale on the stormy night, a second monster attacks by the broken fence.
References fdRequestBattleFromEncounterTable(), fdScriptEnd(), fdScriptStart(), gmFlagSet() and state.
Referenced by ValeKradensCottageStormCues.
Definition at line 1257 of file vale_kradens_cottage.c.
scValeKradensCottageTalkToCottageVisitor
static void scValeKradensCottageTalkToCottageVisitor(void)
A villager at Kraden's cottage asks Isaac about his memories of it. This is in Vale after the party has reached Kalay.
References fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId() and fdScriptStart().
Referenced by ValeKradensCottageCuesAfterKalay.
Definition at line 1276 of file vale_kradens_cottage.c.
Variables in detail
ValeKradensCottageRockslideSurvivorEscapeActions
extern Sint32 ValeKradensCottageRockslideSurvivorEscapeActions[]
Sint32 ValeKradensCottageRockslideSurvivorEscapeActions[]
Leads the party away from the broken fence, then leaves the scene.
References Sint32.
Referenced by scValeKradensCottageTalkToRockslideSurvivor().
Definition at lines 159 and 1288 of file vale_kradens_cottage.c.
ValeKradensCottageRockslideSurvivorSquashes
extern Sint32 ValeKradensCottageRockslideSurvivorSquashes[]
Sint32 ValeKradensCottageRockslideSurvivorSquashes[]
The survivor squashes flat and recovers every 68 ticks as he lies by the fence.
References Sint32.
Referenced by scInit() and ValeKradensCottageActorPlacements.
Definition at lines 160 and 1302 of file vale_kradens_cottage.c.
ValeKradensCottageFaceTargetActions
extern Sint32 ValeKradensCottageFaceTargetActions[]
Sint32 ValeKradensCottageFaceTargetActions[]
Keeps a watched actor facing its current target.
References scTurnTowardTarget() and Sint32.
Referenced by scInit(), scValeKradensCottageMeetSaturosAndMenardi() and scValeKradensCottageTalkToRockslideSurvivor().
Definition at lines 161 and 1322 of file vale_kradens_cottage.c.
ValeKradensCottageEntrances
extern SCENE_ENTRANCE ValeKradensCottageEntrances[]
SCENE_ENTRANCE ValeKradensCottageEntrances[]
Referenced by scGetEntrances().
Definition at lines 162 and 1327 of file vale_kradens_cottage.c.
ValeKradensCottageExits
extern Uint32 ValeKradensCottageExits[]
Uint32 ValeKradensCottageExits[]
Referenced by scGetExits().
Definition at lines 163 and 1394 of file vale_kradens_cottage.c.
ValeKradensCottageActorPlacements
extern ACTOR_PLACE ValeKradensCottageActorPlacements[]
ACTOR_PLACE ValeKradensCottageActorPlacements[]
References Sint32 and ValeKradensCottageRockslideSurvivorSquashes.
Referenced by scGetActorPlacements().
Definition at lines 164 and 1422 of file vale_kradens_cottage.c.
ValeKradensCottageCues
extern CUE ValeKradensCottageCues[]
CUE ValeKradensCottageCues[]
References scValeKradensCottageEnterCottage(), scValeKradensCottageKradenPlansSanctumVisit(), scValeKradensCottageMeetSaturosAndMenardi(), scValeKradensCottageOverhearKraden() and scValeKradensCottageTalkToBoyByTheFence().
Referenced by scGetCues().
Definition at lines 165 and 1449 of file vale_kradens_cottage.c.
ValeKradensCottageStormCues
extern CUE ValeKradensCottageStormCues[]
CUE ValeKradensCottageStormCues[]
References scValeKradensCottageFightFirstMonster(), scValeKradensCottageFightSecondMonster() and scValeKradensCottageTalkToRockslideSurvivor().
Referenced by scGetCues().
Definition at lines 166 and 1478 of file vale_kradens_cottage.c.
ValeKradensCottageCuesAfterKalay
extern CUE ValeKradensCottageCuesAfterKalay[]
CUE ValeKradensCottageCuesAfterKalay[]
References scValeKradensCottageEnterCottage() and scValeKradensCottageTalkToCottageVisitor().
Referenced by scGetCues().
Definition at lines 167 and 1498 of file vale_kradens_cottage.c.
ValeKradensCottageDoorOpens
extern Uint16 ValeKradensCottageDoorOpens[]
Uint16 ValeKradensCottageDoorOpens[]
The cottage's arched front door opening. It is two pictures from the layout's metatiles below the village, drawn over the closed door on the middle layer.
Referenced by scValeKradensCottageEnterCottage(), scValeKradensCottageKradenPlansSanctumVisit() and scValeKradensCottageKradenSetsOff().
Definition at lines 168 and 1527 of file vale_kradens_cottage.c.