src/scene/vale.c
Vale by day (SceneIdVale), Isaac's village at the foot of Mt. More…
#include "item_ids.h"#include "battle/battle.h"#include "debug/debug.h"#include "field/script_inline.h"#include "field/field_effect.h"#include "graphics/graphics.h"#include "scene/floating_nut.h"#include "scene/actor_polar_target.h"#include "scene/catch_nut.h"#include "scene/script_psynergy.h"#include "scene/vale.h"#include "scene/walk_into_leader.h"#include "scene/golden_ring.h"#include "text/msg_ids.h"#include "shared/pushed_actor.c"#include "shared/script_psynergy.c"#include "shared/floating_nut.c"#include "shared/field_effect_vertical.c"#include "shared/golden_ring.c"#include "shared/pushed_actor_tables.c"
Macros
| Name | Description | |
|---|---|---|
#define | VALE_GARET_REUNION_Z | Where Garet lands after his jump once Dora has gone in, at the roof's end (scValeRoofMended): two pixels further south in the German, Spanish, French and Italian editions. |
#define | VALE_DORA_Z WHEN(VALE_DORA_SPOT_MATCHES_ROOF_SCENE, 887, 889) | Where Dora stands by the house in the opening and before the party leaves: two pixels further north in the Spanish and Italian editions. |
#define | PILLAR_WEST_X 362 | Where Garet's training stone stands among the three metatiles it can be pushed between below the cliff, (22, 36) to (24, 36), two pixels east of each metatile's middle. |
#define | PILLAR_MIDDLE_X 378 | in the middle column |
#define | PILLAR_EAST_X 394 | in the east column |
#define | PILLAR_Z 584 | in row 36 |
#define | FLAG_VALE_ROOF_JUST_MENDED FLAG_SCENE_TEMP(0x02) | The roof of Isaac's house has just been mended. |
#define | FLAG_VALE_ON_ROOF FLAG_SCENE_TEMP(0x04) | The leader has climbed the ladder onto the roof of Isaac's house, whose metatiles are changed so it can be walked. |
#define | FLAG_VALE_MT_ALEPH_GUARD_PAUSED FLAG_SCENE_TEMP(0x41) | The man guarding Mt. Aleph is paused while a menu is open. |
#define | FLAG_VALE_GARET_MET_SISTER FLAG_AREA_TEMP(0x03) | Back from Kalay, Garet has met his sister. |
#define | FLAG_VALE_GARET_ASKED_TO_PROTECT_FAMILY FLAG_AREA_TEMP(0x04) | Back from Kalay, Garet has asked his brother to protect the family while he is gone. |
#define | FLAG_VALE_UNUSED_WATER_BURST_SEEN FLAG_AREA_TEMP(0x05) | Unused: the water has burst up by the river and the strongman has remembered Felix (scValeUnusedWaterBurstsByTheRiver, which nothing reaches). |
#define | FLAG_VALE_ASKED_ABOUT_TRAVELERS FLAG_AREA_TEMP(0x07) | Back from Kalay, the burly man has asked about the lack of travellers since the eruption. |
#define | FLAG_VALE_ROOF_MENDED_SCRIPT_PLAYED FLAG_AREA_TEMP(0x08) | scValeRoofMended has played, in which Dora praises the roof and sends the three off to Mt. Aleph. |
#define | FLAG_VALE_PILLAR_IN_WEST_COLUMN FLAG_AREA_TEMP(0x14) | The stone pillar below the cliff stands in its west column. |
#define | FLAG_VALE_PILLAR_IN_MIDDLE_COLUMN FLAG_AREA_TEMP(0x15) | The stone pillar below the cliff stands in its middle column, where it starts. |
#define | FLAG_VALE_PILLAR_IN_EAST_COLUMN FLAG_AREA_TEMP(0x16) | The stone pillar below the cliff stands in its east column. |
Enumerations
| Name | Description | |
|---|---|---|
enum | VALE_ACTOR_ID { ACTOR_OLD_WOMAN_ADMIRING_MT_ALEPH, ACTOR_WOMAN_ON_ALEPHS_PUR … } | The placed actors of Vale by day, numbered in the order of ValeActorPlacements and ValeActorPlacementsAfterLeaving, which place the same people in the same rows. |
enum | VALE_AFTER_KALAY_ACTOR_ID { ACTOR_GARETS_SISTER_AFTER_KALAY, ACTOR_GARETS_BROTHER_AFTER_ … } | Back from Kalay, the placed actors of ValeActorPlacementsAfterKalay. |
enum | VALE_OPENING_ACTOR_ID { ACTOR_OPENING_WOMAN, ACTOR_OPENING_PILLAR, ACTOR_OPENING_DOR … } | The game's opening (scValeMendingTheRoof), the placed actors of ValeRepairActorPlacements. |
enum | VALE_METATILE_BEHAVIOR { METATILE_BEHAVIOR_VALE_SANCTUM_DOOR, METATILE_BEHAVIOR_VALE_ … } | What Vale's metatiles do when Isaac steps on them, walks into them or searches them, by the cue rows that answer them. |
enum | VALE_GUARD_BEAT { GUARD_ON_THE_PATH, GUARD_BEFORE_THE_SANCTUM, GUARD_BEHIND_TH … } | Which stretch of his beat the man guarding Mt. Aleph is on, kept in his SW_TIMER (ValeAlephGuardPatrolRoute). |
enum | anonymous enum { ANIM_HAMMER } | The leader's animation of hammering on the roof, beyond enum ACTOR_ANIMATION's. |
enum | VALE_ANIMATION { ANIM_GARET_STARTLED } | Animations of Garet's sprite beyond ACTOR_ANIMATION, as its animation table and ticks under graphics/sprite draw them. |
Functions
| Name | Description | |
|---|---|---|
static void | scValeJennaSaysKradenIsWaiting (void) | At the foot of the steps up Mt. Aleph, before Kraden has planned the visit, Jenna steps out of Isaac and tells him "Kraden is waiting for us." He nods, she steps back in, and he walks back down off the steps. |
static void | scValeAskAboutSneakingToAleph (const Sint32 *leaderActions, const Sint32 *guardActions) | The man guarding Mt. Aleph catches Isaac sneaking: both start, Isaac winces and runs back by leaderActions, the man follows him by guardActions to stand before the Sanctum's door, and asks "You're not planning on sneaking up to Mt. Aleph, are you?" before going back to his beat. |
static void | scValeClimbUpRoofLadder (Sint32 actorId, Sint32 approachAnimationId, Sint32 departureAnimationId, Sint32 resumeMotion) | Walks an actor to the foot of the ladder beside Isaac's house and climbs it onto the roof, in approachAnimationId on the rungs and departureAnimationId over the eaves. |
static void | scValeClimbDownRoofLadder (Sint32 actorId, Sint32 approachAnimationId, Sint32 departureAnimationId, Sint32 resumeMotion) | Climbs an actor down the ladder beside Isaac's house from the roof to the ground, in approachAnimationId over the eaves and departureAnimationId on the rungs. |
static void | scValePlaceOrHideBoards (Sint32 first, Uint32 count, Sint32 mode) | Lays count of the roof's boards, from actor first on, by the hole in the roof, still and without shadows; with any mode but 0 it puts them out of sight instead. |
static void | scValeMendingTheRoof (void) | The game's opening, three years after the storm: Isaac is mending the roof of his house while Dora calls up to him, "Isaac! |
static void | scValeRoofMended (void) | The end of the opening, on the roof of Isaac's house: Isaac lifts the last boards into place with his Psynergy, and Dora climbs the ladder to see. |
static void | scValeUpdateGaretPaletteAndEffects (void) | Garet using his Psynergy on his training stone in the opening: his colours shift and golden rings rise about him (scValeCycleActorPaletteAndSpawnEffects). |
static void | scValeUpdateLeaderPaletteAndEffects (void) | Isaac using his Psynergy on the roof's boards at the end of the opening: his colours shift and golden rings rise about him. |
static void | scValeCycleOpeningPillarPalette (void) | Garet's training stone shifting colours while his Psynergy moves it in the opening. |
static void | scValeCycleFirstBoardPalette (void) | The first board shifting colours while Isaac's Psynergy lifts it onto the roof. |
static void | scValeCycleSecondBoardPalette (void) | The second board shifting colours while Isaac's Psynergy lifts it. |
static void | scValeCycleThirdBoardPalette (void) | The third board shifting colours while Isaac's Psynergy lifts it. |
static UNREAD_RESULT | scValeHaveGuardWatchTheLeader (ACTOR *actor) | The update function of the man guarding Mt. Aleph. |
static void | scValeTrailSparkles (ACTOR *actor) | The Move hand's update function in the opening. |
static void | scValeVanishMoveHand (ACTOR *emitter) | The Move hand rises, spins and shrinks for 31 ticks, bursts into eight sparkles with SE_PSYNERGY_SPARKLE, and is put out of sight. |
static void | fdActorSetTargetPosFromMagnitudeAngle (ACTOR *actor, Sint32 magnitude, Sint32 angle) | Sends an actor toward the point magnitude (16.16 pixels) away from it in direction angle (actor_polar_target.h). |
static void | scValeMovePillarBelowCliff (void) | Move on Garet's training stone, below the cliff north of his house, pushes it a metatile east or west with the hand of Move, between metatiles (22, 36) and (24, 36). |
static void | scValePlayPsynergySparkleSound (void) | The event that plays SE_PSYNERGY_SPARKLE every 16 ticks while Isaac's Psynergy lifts a board at the roof's end. |
static void | scValeSynchronizeAlephGuardPause (void) | Keeps the man guarding Mt. Aleph standing still while a menu is open, and lets him walk on when it closes. |
static void | scValeSetPillarPriorityByLeaderHeight (void) | Draws Garet's training stone under Isaac while he is up on the cliff above it, and in front of him or behind as usual while he is down beside it. |
static void | scValeFlashActorAndSpawnEffects (ACTOR *actor) | Someone calling up Psynergy: they flash white two ticks in four, and a golden ring rises about them every 16 ticks. |
static void | scValeCycleActorPaletteAndSpawnEffects (ACTOR *actor) | Someone using Psynergy: they step through the six colour modes, one every second tick, and a golden ring rises about them every 16 ticks. |
static void | scValeCycleActorPalette (ACTOR *actor) | What Psynergy moves. |
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) | Places the villagers for the story so far, or for the game's opening, when Isaac is mending the roof (VALE_FROM_TITLE). |
static void | scValeCatchNut (void) | Catch on the Nut in the tree on the ledge by the river, above the house the storm wrecked on the west bank, plucks it from the tree, and Isaac holds it up and gets it. |
static void | scValeCatchNutAfterKalay (void) | Back from Kalay, Catch on the Nut in the tree on the ledge by the river, above the wrecked house on the west bank, plucks it from the tree for Isaac, if he did not take it before. |
const CUE * | scGetCues (void) | Vale's cues for the story so far: before the party leaves, after it has left, or back from Kalay. |
static void | scValeTalkAboutTheMayorAndTremors (void) | A little girl with orange pigtails, west of Garet's training stone, tells Garet she is jealous that his grandpa is the mayor and asks whether Isaac is too. |
static void | scValeWarnAboutGoingBeyondKradensCottage (void) | A woman with fair hair at the northern way west to Kraden's cottage asks whether Isaac needs to go past, and warns him not to go beyond Kraden's cottage. |
static void | scValeArgueWithGaretsSister (void) | Garet's sister, by his training stone, scolds him: "Your training stone crushed my flowers!" Afterwards she only threatens him with what will happen tonight. |
static void | scValeDoraTalksAboutTheHole (void) | Dora, by the door of Isaac's house, speaks of the hole in the roof before the party leaves. |
static void | scValeAskWhetherJennaHasReturned (void) | Back from Kalay, the young man by the river in the south of Vale asks Isaac whether Jenna is back yet, and makes him promise to bring her home. |
static void | scValeFeelAnotherTremor (void) | Back from Kalay, a woman in a green dress cries out as the ground shakes: "Aghh! |
static void | scValeAskAboutTheLackOfTravelers (void) | Back from Kalay, a burly grey-haired man wonders why no travellers have come since the eruption, and asks whether Isaac knows. |
static void | scValeStepOntoBridge (void) | Nothing visible happens as Isaac steps up to either end of the rope bridge across the river in the south of Vale, at metatiles (8, 85) to (8, 88) on the west bank or (18, 84) to (18, 87) on the east. |
static void | scValeStepOffBridge (void) | Nothing visible happens as Isaac steps off either end of the rope bridge across the river in the south of Vale, a metatile further from the river than scValeStepOntoBridge's metatiles. |
static void | scValeEnterSanctum (void) | Walking into the door of the Sanctum, the small stone shrine in the north of Vale, at metatiles (15, 27) and (16, 27), opens it with a thump, and Isaac walks inside. |
static void | scValeApproachMtAleph (void) | Climbing the steps up Mt. Aleph in the north-west of Vale, metatiles (5, 16) to (8, 16), takes Isaac up to Sol Sanctum's door, once Kraden has planned the visit. |
static void | scValeExitToValeKradensCottageNorth (void) | Walking out of Vale by the northern of its two ways west, metatiles (0, 38) to (0, 40), takes Isaac on to the part of the village around Kraden's cottage. |
static void | scValeExitToValeKradensCottageSouth (void) | Walking out of Vale by the southern of its two ways west, where the puppies play, metatiles (0, 49) and (0, 50), takes Isaac on to the part of the village around Kraden's cottage. |
static void | scValeExitToValePlaza (void) | Walking out of Vale by the path at its east edge in the south, metatiles (29, 86) and (29, 87), takes Isaac on to the plaza with the Psynergy Stone and the town gate. |
static void | scValeEnterGaretsHouse (void) | Walking into the door of Garet's house, north-east of Isaac's, at metatile (25, 46), opens it, and Isaac walks in to Garet's family. |
static void | scValeEnterCottageRoomsA (void) | Walking into the door of the house just north-west of Isaac's, at metatile (16, 51), opens it, and Isaac walks in to the villagers who talk of Kraden and his visitors. |
static void | scValeEnterIsaacsHouse (void) | Walking into the door of Isaac's house, at metatile (21, 56), opens it, and he walks in. |
static void | scValeEnterJennasGrandparentsHouse (void) | Walking into the door of the house of Jenna's grandparents, in the south of Vale east of the river, at metatile (20, 71), opens it, and Isaac walks in. |
static void | scValeEnterCottageRoomsAWest (void) | Walking into the door of the house south of Jenna's grandparents', at metatile (23, 78), opens it, and Isaac walks in to the young man who dreams of seeing the world. |
static void | scValeUnusedEnterJennasGrandparentsHouseByWestBankDoor (void) | Unused: walking into the door of the house the storm wrecked on the west bank would have opened it and taken Isaac into the house of Jenna's grandparents. |
static void | scValeWatchThePuppies (void) | Walking towards the puppies in the southern way west out of Vale from the ledge north of them, metatiles (1, 47) to (5, 47) and (1, 48), sets them barking. |
static void | scValeTurnBackFromThePuppies (void) | Walking up to the puppies in the southern way west out of Vale from the south, at metatiles (3, 53) and (4, 53), sets them barking. |
static void | scValeClimbLadderOntoRoof (void) | Walking north into the foot of the ladder against the front of Isaac's house, east of his door, at metatile (24, 55), climbs him up the ladder and over the eaves onto the roof. |
static void | scValeClimbDownFromRoof (void) | Walking south off the roof of Isaac's house at the top of the ladder, metatile (24, 53) once he is on the roof, climbs him down the ladder to the ground in front of the house. |
static void | scValeWarnAgainstSneakingUpMtAleph (void) | The first time Isaac takes the path up the Sanctum's west side towards the steps up Mt. Aleph, at its north end (metatile (10, 23)), a bearded man in a long robe jumps out from the trees by the river and drives him back to the Sanctum's door. |
static void | scValeCatchSneakingOnThePath (void) | Walking up the path along the Sanctum's west side, metatiles (11, 23) to (13, 27), or just south of its foot, metatiles (12, 30) and (13, 30), while the man guarding Mt. Aleph is on that path catches Isaac: he runs back to the Sanctum's door, the man follows him down, and asks again whether he is sneaking up Mt. Aleph. |
static void | scValeCatchSneakingBesideTheSanctum (void) | Stepping into the corner just west of the Sanctum's front, metatiles (14, 28) and (14, 29), while the man guarding Mt. Aleph stands or walks in front of the Sanctum catches Isaac: he runs back before the Sanctum's door, and the man steps up to him and asks again whether he is sneaking up Mt. Aleph. |
static void | scValeCatchSneakingAtThePathsFoot (void) | Stepping onto the foot of the path along the Sanctum's west side, metatiles (12, 28) to (13, 29), while the man guarding Mt. Aleph is on the path or in front of the Sanctum catches Isaac: he runs back before the Sanctum's door, and the man comes to him and asks again whether he is sneaking up Mt. Aleph. |
static void | scValeUnusedRoofMended (void) | Unused: another cut of scValeRoofMended, the end of the morning the story begins. |
Sint32 | scInit (void) | Sets Vale up as the party arrives. |
static void | scValeGaretMeetsHisSister (void) | Back from Kalay, talking to Garet's sister by his training stone, or reading her mind, brings Garet out to her. |
static void | scValeGaretAsksToProtectFamily (void) | Back from Kalay, talking to Garet's little brother west of the door of Garet's house, or reading his mind, brings Garet out to him. |
static void | scValeUnusedWaterBurstsByTheRiver (void) | Unused: water bursts up by the river after a tremor. |
static Sint32 | scValeDistanceInPixels (FIXED *first, FIXED *second) | The distance in whole pixels between two positions of 16.16 fixed-point x, y and z. |
static Sint32 | scValeTestFacing (ACTOR *actor, ACTOR *target, Sint32 range, Sint32 force) | Whether the man guarding Mt. Aleph sees the target, and stops on his beat if he does. |
DEFINE_SET_TARGET_POSITION_FROM_MAGNITUDE_ANGLE( | static , scFieldActorSetMoveTargetFX) | The glint of the ice the first beast leaves in the gap of its cave. |
static void | scValePushPillar (void) | Walking into Garet's training stone, below the cliff north of his house, pushes it a metatile: east from its west side, metatiles (22, 36) to (23, 36), or west from its east side, metatiles (24, 36) to (25, 36). |
static void | scValeSearchTheLockedDoor (void) | Searching the door of the house the storm wrecked, on the west bank in the south of Vale, at metatile (6, 74), finds it stuck: "The door won't open. |
Variables
| Name | Description | |
|---|---|---|
extern Sint32 | ValeAlephGuardPatrolRoute [] | The beat the man guarding Mt. Aleph walks once he has warned Isaac, looking about at each stop: east along the front of the Sanctum and up behind it, back before its door, then west and up the path along its west side, and back. |
extern Sint32 | ValeLeaderHammers [] | Isaac on the roof, his sprite stretching and settling with each blow of the hammer. |
extern Sint32 | ValeGaretWalksToTheHouse [] | |
extern Sint32 | ValeUnusedWaterGrows [] | A spout of water grows from a tenth of its size north of the strongman by the river and vanishes (scValeUnusedWaterBurstsByTheRiver). |
extern Sint32 | ValeSparkleScript [] | A sparkle falls and vanishes after 10 ticks. |
extern SCENE_ENTRANCE | ValeEntrances [] | |
extern Uint32 | ValeExits [] | |
extern ACTOR_PLACE | ValeActorPlacements [] | |
extern ACTOR_PLACE | ValeActorPlacementsAfterLeaving [] | |
extern ACTOR_PLACE | ValeActorPlacementsAfterKalay [] | |
extern ACTOR_PLACE | ValeRepairActorPlacements [] | |
extern CUE | ValeCues [] | |
extern CUE | ValeCuesAfterLeaving [] | |
extern Uint16 | ValeSanctumDoorOpens [] | The doors' metatile animations, from the layout's metatiles below the village, each picture shown for two ticks; vale_prologue.c has the same four kinds. |
extern Uint16 | ValeIsaacsDoorOpens [] | |
extern Uint16 | ValeGrandparentsDoorOpens [] | |
extern Uint16 | ValeWestHouseDoorOpens [] | |
extern Sint32 | ValeFirstWarningLeaderPath [] | |
extern Sint32 | ValeFirstWarningGuardPath [] | |
extern Sint32 | ValeLeaderRunsBackFromThePath [] | |
extern Sint32 | ValeGuardComesDownThePath [] | |
extern Sint32 | ValeLeaderRunsBackBeforeTheDoor [] | |
extern Sint32 | ValeGuardStepsBeforeTheDoor [] | |
extern CUE | ValeCuesAfterKalay [] | |
extern Sint32 | ValeJennaWalksToTheHouse [] |
Description
Vale by day (SceneIdVale), Isaac's village at the foot of Mt. Aleph, outside
the houses. A river runs down it from a waterfall in the north. In the north
are the Sanctum, a small stone shrine, and west of it the path to the steps
up Mt. Aleph. Isaac's house stands in the middle, east of the river, with a
ladder against its front; Garet's house is north-east of it, below the cliff
where Garet's training stone stands in his sister's flowers. Two ways lead
west out of the village to Kraden's cottage, and puppies play in the southern
one. In the south are the house of Jenna's grandparents, a house on the west
bank wrecked by the storm with its door knocked off its hinges, the rope
bridge across the river, and the way east to the plaza.
The actor placements and cues come in three sets, chosen by the story flags:
before the party leaves Vale, after it has left (FLAG_VALE_PARTY_LEFT) and
back from Kalay (FLAG_KALAY_REACHED). The opening (VALE_FROM_TITLE) has a set
of its own.
In story order:
The day the story begins, three years after the storm (cottage_rooms_b.c)
that took Jenna's family and Isaac's father, Kyle, the game opens with
scValeMendingTheRoof. Under the caption "Three years later...", Isaac is
mending the roof of his house while Dora, his mother, calls up to him. Garet,
who will travel with him, trains his Psynergy on his training stone. Jenna
comes up from the south, and the two speak of that day before going to fetch
Isaac to go to Kraden's. The party comes back in front of Isaac's house
(VALE_FROM_ROOF_MENDED), where scValeRoofMended plays once: Dora praises the
roof and remembers Kyle, and Jenna and Garet tell her they are going up Mt.
Aleph with Kraden, the scholar who teaches them Alchemy. For the rest of that
visit Dora frets about the hole clumsy Garet left.
Before the party leaves Vale, until Kraden has planned the visit to Sol
Sanctum (FLAG_SANCTUM_VISIT_PLANNED), Jenna turns Isaac back at the steps up
Mt. Aleph. The first time Isaac takes the path there, a bearded man in a long
robe jumps out from the trees by the river to warn him against sneaking up
the sacred peak. He then walks a beat in front of the Sanctum and along the
path, and drives Isaac back whenever he catches him on it. Three puppies play
in the southern way to Kraden's cottage. Walking up to them from either side
sets them barking and Isaac turns back, until the party has met Saturos and
Menardi, two of the strangers staying at the inn; then the puppies are gone.
Villagers talk of the mayor, Garet's grandfather, and of not going beyond
Kraden's cottage. Garet's sister scolds him for crushing her flowers, and
Dora says Isaac can fix the hole later.
After the party has left Vale (FLAG_VALE_PARTY_LEFT), Dora will not open the
door of Isaac's house to him ("My Isaac would keep his promise... Go away.").
The villagers speak of the tremors and of Kraden, who has not come back.
Back from Kalay (FLAG_KALAY_REACHED), Garet meets his sister by the training
stone and asks his little brother to protect the family while he is gone. A
young man asks whether Jenna is back, a woman feels another tremor, and a man
wonders why no travellers have come since the eruption. Isaac's house opens
again, and Dora lies ill inside (cottage_rooms_b.c).
In every set Catch takes the Nut from the tree on the ledge by the river
above the wrecked house (FLAG_VALE_NUT_CAUGHT), Isaac can push or Move
Garet's training stone a metatile east or west, and he can climb the ladder
onto the roof of his house. The game also changes metatiles as Isaac steps on
and off the ladder's top and the rope bridges, which the player does not see
(FLAG_VALE_ON_ROOF and FLAG_VALE_ON_BRIDGE). After a battle
(FLAG_KEEP_PARTY_POSITION) the setup puts both back as they were.
The ways out:
- The steps in the north-west go up Mt. Aleph to Sol Sanctum's door
(
SceneIdSolEntrance). - Two ways out at the west edge lead to the part of Vale around Kraden's
cottage (
SceneIdValeKradensCottage), and one at the east edge in the south to the plaza with the Psynergy Stone (SceneIdValePlaza). - The doors of Garet's house, the house north-west of Isaac's, the house of
Jenna's grandparents and the house south of theirs lead into the rooms of
SceneIdCottageRoomsA(cottage_rooms_a.c), and the door of Isaac's house intoSceneIdCottageRoomsB. - The Sanctum's door leads into
SceneIdSanctum.
Two scripts no table reaches remain. They are scValeUnusedRoofMended, a copy
of the roof's end, and scValeUnusedWaterBurstsByTheRiver.
The man guarding Mt. Aleph stands still while a menu is open
(scValeSynchronizeAlephGuardPause). The Spanish and Italian editions also set
Dora's sprite priority before Kalay.
In the opening Garet trains his Psynergy on his training stone. His sprite flashes white, then cycles through its colour modes as golden rings rise about him. Meanwhile the hand of Move pushes the stone west and sheds sparkles, and the stone cycles its colour modes too.
Macros in detail
VALE_GARET_REUNION_Z
#define VALE_GARET_REUNION_Z
Where Garet lands after his jump once Dora has gone in, at the roof's end
(scValeRoofMended): two pixels further south in the German, Spanish, French
and Italian editions.
Referenced by scValeRoofMended().
Definition at line 132 of file vale.c.
VALE_DORA_Z
#define VALE_DORA_Z WHEN(VALE_DORA_SPOT_MATCHES_ROOF_SCENE, 887, 889)
Where Dora stands by the house in the opening and before the party leaves: two pixels further north in the Spanish and Italian editions.
Referenced by ValeActorPlacements and ValeRepairActorPlacements.
Definition at line 137 of file vale.c.
PILLAR_WEST_X
#define PILLAR_WEST_X 362
Where Garet's training stone stands among the three metatiles it can be pushed between below the cliff, (22, 36) to (24, 36), two pixels east of each metatile's middle.
in the west column
Referenced by scInit().
Definition at line 142 of file vale.c.
PILLAR_MIDDLE_X
#define PILLAR_MIDDLE_X 378
in the middle column
Referenced by scInit(), scValeMendingTheRoof(), ValeActorPlacements, ValeActorPlacementsAfterKalay and ValeActorPlacementsAfterLeaving.
Definition at line 143 of file vale.c.
PILLAR_EAST_X
#define PILLAR_EAST_X 394
in the east column
Referenced by scInit() and ValeRepairActorPlacements.
Definition at line 144 of file vale.c.
PILLAR_Z
#define PILLAR_Z 584
in row 36
Referenced by scInit(), scValeMendingTheRoof(), ValeActorPlacements, ValeActorPlacementsAfterKalay, ValeActorPlacementsAfterLeaving and ValeRepairActorPlacements.
Definition at line 145 of file vale.c.
FLAG_VALE_ROOF_JUST_MENDED
#define FLAG_VALE_ROOF_JUST_MENDED FLAG_SCENE_TEMP(0x02)
The roof of Isaac's house has just been mended. For the rest of the visit Dora frets about the hole Garet left.
Referenced by scValeDoraTalksAboutTheHole(), scValeRoofMended() and scValeUnusedRoofMended().
Definition at line 434 of file vale.c.
FLAG_VALE_ON_ROOF
#define FLAG_VALE_ON_ROOF FLAG_SCENE_TEMP(0x04)
The leader has climbed the ladder onto the roof of Isaac's house, whose metatiles are changed so it can be walked.
Referenced by scInit(), scValeClimbDownFromRoof() and scValeClimbLadderOntoRoof().
Definition at line 437 of file vale.c.
FLAG_VALE_MT_ALEPH_GUARD_PAUSED
#define FLAG_VALE_MT_ALEPH_GUARD_PAUSED FLAG_SCENE_TEMP(0x41)
The man guarding Mt. Aleph is paused while a menu is open.
Referenced by scInit() and scValeSynchronizeAlephGuardPause().
Definition at line 439 of file vale.c.
FLAG_VALE_GARET_MET_SISTER
#define FLAG_VALE_GARET_MET_SISTER FLAG_AREA_TEMP(0x03)
Back from Kalay, Garet has met his sister.
Referenced by scValeGaretMeetsHisSister() and ValeCuesAfterKalay.
Definition at line 441 of file vale.c.
FLAG_VALE_GARET_ASKED_TO_PROTECT_FAMILY
#define FLAG_VALE_GARET_ASKED_TO_PROTECT_FAMILY FLAG_AREA_TEMP(0x04)
Back from Kalay, Garet has asked his brother to protect the family while he is gone.
Referenced by scValeGaretAsksToProtectFamily() and ValeCuesAfterKalay.
Definition at line 444 of file vale.c.
FLAG_VALE_UNUSED_WATER_BURST_SEEN
#define FLAG_VALE_UNUSED_WATER_BURST_SEEN FLAG_AREA_TEMP(0x05)
Unused: the water has burst up by the river and the strongman has remembered
Felix (scValeUnusedWaterBurstsByTheRiver, which nothing reaches).
Referenced by scValeUnusedWaterBurstsByTheRiver().
Definition at line 447 of file vale.c.
FLAG_VALE_ASKED_ABOUT_TRAVELERS
#define FLAG_VALE_ASKED_ABOUT_TRAVELERS FLAG_AREA_TEMP(0x07)
Back from Kalay, the burly man has asked about the lack of travellers since the eruption.
Referenced by scValeAskAboutTheLackOfTravelers() and ValeCuesAfterKalay.
Definition at line 450 of file vale.c.
FLAG_VALE_ROOF_MENDED_SCRIPT_PLAYED
#define FLAG_VALE_ROOF_MENDED_SCRIPT_PLAYED FLAG_AREA_TEMP(0x08)
scValeRoofMended has played, in which Dora praises the roof and sends the
three off to Mt. Aleph.
Referenced by scInit().
Definition at line 453 of file vale.c.
FLAG_VALE_PILLAR_IN_WEST_COLUMN
#define FLAG_VALE_PILLAR_IN_WEST_COLUMN FLAG_AREA_TEMP(0x14)
The stone pillar below the cliff stands in its west column.
Referenced by scInit() and scValeMovePillarBelowCliff().
Definition at line 455 of file vale.c.
FLAG_VALE_PILLAR_IN_MIDDLE_COLUMN
#define FLAG_VALE_PILLAR_IN_MIDDLE_COLUMN FLAG_AREA_TEMP(0x15)
The stone pillar below the cliff stands in its middle column, where it starts.
Referenced by scValeMovePillarBelowCliff().
Definition at line 458 of file vale.c.
FLAG_VALE_PILLAR_IN_EAST_COLUMN
#define FLAG_VALE_PILLAR_IN_EAST_COLUMN FLAG_AREA_TEMP(0x16)
The stone pillar below the cliff stands in its east column.
Referenced by scInit() and scValeMovePillarBelowCliff().
Definition at line 460 of file vale.c.
Enumerations in detail
VALE_ACTOR_ID
enum VALE_ACTOR_ID
The placed actors of Vale by day, numbered in the order of
ValeActorPlacements and ValeActorPlacementsAfterLeaving, which place the same
people in the same rows.
A row whose sprite is a party member's (Garet's, Jenna's) takes that party
member's actor id instead (fdScriptSpawnActorPlacements), so the numbering
skips it.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_OLD_WOMAN_ADMIRING_MT_ALEPH | ACTOR_FIRST_PLACED | An old woman. "Mt. Aleph looks beautiful today. It's so peaceful." After the party has left, "Vale is saved thanks to the Wise One!" |
ACTOR_WOMAN_ON_ALEPHS_PURITY | A woman in a green dress. "Vale stays pristine because of Mt. Aleph's purity." | |
ACTOR_GIRL_JEALOUS_OF_GARET | A little girl with orange pigtails. "I'm jealous of you, Garet, because your grandpa's the mayor." (scValeTalkAboutTheMayorAndTremors) | |
ACTOR_YOUNG_MAN_REMEMBERING_THE_STORM | A young man with brown hair. "This place looks just like it did three years ago... after the storm..." | |
ACTOR_STRONGMAN_BY_THE_RIVER | A strongman by the river. "Isaac, watch out! Don't get too close to the river!" | |
ACTOR_MAN_KEEPING_VALE_HIDDEN | A burly grey-haired man. "Vale must remain hidden. Psynergy's secrets mustn't fall into the wrong hands." | |
ACTOR_WOMAN_ON_THE_WAY_TO_KRADEN | A woman with fair hair who stands by the way out to Kraden's cottage. "Do you need to go past here?", then "You mustn't go beyond Kraden's cottage." (scValeWarnAboutGoingBeyondKradensCottage) | |
ACTOR_FIRST_PUPPY | The three puppies, small white dogs, | |
ACTOR_GARETS_SISTER | ACTOR_FIRST_PUPPY + 3 | removed once the party has met Saturos and Menardi. "Rrruff! Rrrruff!" A young woman with an orange ponytail. "Garet, you make me so mad sometimes!" (scValeArgueWithGaretsSister) Garet calls her "Sis" back from Kalay. |
ACTOR_GARETS_BROTHER | "You're in trouble now, Garet... Your sister's really mad!" After the party has left, "Please take care of my brother, Isaac." | |
ACTOR_PILLAR | Garet's training stone, a stone pillar below the cliff north of his house, which crushed his sister's flowers. Isaac pushes it (scValePushPillar) or moves it with Move (scValeMovePillarBelowCliff). | |
ACTOR_DORA | Isaac's mother. | |
ACTOR_MAN_GUARDING_MT_ALEPH | A man with long brown hair and a beard in a long robe. He jumps out to warn Isaac off the sacred peak, then keeps watching him (scValeWarnAgainstSneakingUpMtAleph). "Mt. Aleph is a sacred peak. It is forbidden to climb it!" | |
ACTOR_FIRST_BOARD | The boards on the roof, SPRITE_ROOF_BOARDS, which Isaac moves into place with Psynergy at the roof's end (scValeRoofMended). | |
ACTOR_SECOND_BOARD | ||
ACTOR_THIRD_BOARD | ||
ACTOR_NUT | The Nut for Catch, until FLAG_VALE_NUT_CAUGHT is set. |
Definition at line 188 of file vale.c.
VALE_AFTER_KALAY_ACTOR_ID
enum VALE_AFTER_KALAY_ACTOR_ID
Back from Kalay, the placed actors of ValeActorPlacementsAfterKalay. Garet's
row takes his own actor id.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_GARETS_SISTER_AFTER_KALAY | ACTOR_FIRST_PLACED | Garet's sister. "Ah! It's been a while... You're back?" (scValeGaretMeetsHisSister) |
ACTOR_GARETS_BROTHER_AFTER_KALAY | "I will do my best to show everyone that I am strong enough to protect our family and Vale." (scValeGaretAsksToProtectFamily) | |
ACTOR_YOUNG_MAN_ASKING_FOR_JENNA | The young man of ACTOR_YOUNG_MAN_REMEMBERING_THE_STORM. "Is Jenna back yet?" (scValeAskWhetherJennaHasReturned) | |
ACTOR_STRONGMAN_REMEMBERING_FELIX | The strongman of ACTOR_STRONGMAN_BY_THE_RIVER. "I still remember when Felix and I used to play here...*Sniff*" | |
ACTOR_FIRST_WATER | Three sprites of water, CrossboneIsleFloodgate's water sprite SPRITE_SPLASH. Only scValeUnusedWaterBurstsByTheRiver shows them. During a tremor each in turn grows from a tenth of its size at (266, 1230), north of ACTOR_STRONGMAN_REMEMBERING_FELIX, and vanishes (ValeUnusedWaterGrows). The row after them places the woman with fair hair of | |
ACTOR_OLD_WOMAN_ON_THE_ERUPTION | ACTOR_FIRST_WATER + 4 | ACTOR_WOMAN_ON_THE_WAY_TO_KRADEN at the origin, and nothing names her. An old woman. "Mt. Aleph's eruption was so powerful, it caused the continent to crack!" |
ACTOR_WOMAN_FEELING_TREMORS | A woman in a green dress. "Aghh! I felt another one!" (scValeFeelAnotherTremor) | |
ACTOR_GIRL_DOUBTING_SAFETY | A little girl with orange pigtails. "They say the danger is gone, even though the earthquakes continue..." | |
ACTOR_MAN_MISSING_TRAVELERS | A burly grey-haired man. "I wonder why we haven't seen any travelers since the eruption..." (scValeAskAboutTheLackOfTravelers) | |
ACTOR_NUT_AFTER_KALAY | ||
ACTOR_PILLAR_AFTER_KALAY |
Definition at line 250 of file vale.c.
VALE_OPENING_ACTOR_ID
enum VALE_OPENING_ACTOR_ID
The game's opening (scValeMendingTheRoof), the placed actors of
ValeRepairActorPlacements. Jenna's and Garet's rows take their own actor ids.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_OPENING_WOMAN | ACTOR_FIRST_PLACED | A woman in a green dress who meets Jenna on her way. |
ACTOR_OPENING_PILLAR | The pillar of ACTOR_PILLAR, which Garet trains his Psynergy on. | |
ACTOR_OPENING_DORA | Calls up to Isaac on the roof. | |
ACTOR_OPENING_FIRST_BOARD | The boards on the roof, as ACTOR_FIRST_BOARD. | |
ACTOR_OPENING_SECOND_BOARD | ||
ACTOR_OPENING_THIRD_BOARD | ||
ACTOR_OPENING_MOVE_HAND | SPRITE_MOVE_HAND, the hand of Move (script_commands_catch.c). It pushes the pillar for Garet, shedding sparkles. |
Definition at line 294 of file vale.c.
VALE_METATILE_BEHAVIOR
enum VALE_METATILE_BEHAVIOR
What Vale's metatiles do when Isaac steps on them, walks into them or searches them, by the cue rows that answer them.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_VALE_SANCTUM_DOOR | 1 | The Sanctum's door: metatiles (15, 27) and (16, 27). |
METATILE_BEHAVIOR_VALE_STEPS_UP_MT_ALEPH | The steps up Mt. Aleph in the north-west: metatiles (5, 16) to (8, 16). | |
METATILE_BEHAVIOR_VALE_NORTH_WAY_TO_KRADEN | The northern way west to Kraden's cottage: metatiles (0, 38) to (0, 40). | |
METATILE_BEHAVIOR_VALE_SOUTH_WAY_TO_KRADEN | The southern way west, where the puppies play: (0, 49) and (0, 50). | |
METATILE_BEHAVIOR_VALE_WAY_TO_THE_PLAZA | The way east to the plaza, in the south: metatiles (29, 86) and (29, 87). | |
METATILE_BEHAVIOR_VALE_GARETS_DOOR | The door of Garet's house: metatile (25, 46). | |
METATILE_BEHAVIOR_VALE_NORTHWEST_HOUSE_DOOR | The door of the house north-west of Isaac's: metatile (16, 51). | |
METATILE_BEHAVIOR_VALE_ISAACS_DOOR | The door of Isaac's house: metatile (21, 56). | |
METATILE_BEHAVIOR_VALE_GRANDPARENTS_DOOR | The door of Jenna's grandparents' house: metatile (20, 71). | |
METATILE_BEHAVIOR_VALE_SOUTH_HOUSE_DOOR | The door of the house south of theirs: metatile (23, 78). | |
METATILE_BEHAVIOR_VALE_UNUSED_WRECKED_HOUSE_DOOR | Unused: no metatile carries it. | |
METATILE_BEHAVIOR_VALE_OFF_BRIDGE | 14 | A metatile beyond each end of the rope bridges, a step from the river. |
METATILE_BEHAVIOR_VALE_ONTO_BRIDGE | The metatiles at each end of the rope bridges. | |
METATILE_BEHAVIOR_VALE_NORTH_OF_PUPPIES | 20 | North of the puppies: metatiles (1, 47) to (5, 47) and (1, 48). |
METATILE_BEHAVIOR_VALE_SOUTH_OF_PUPPIES | South of the puppies: metatiles (3, 53) and (4, 53). | |
METATILE_BEHAVIOR_VALE_WRECKED_HOUSE_DOOR | 24 | The stuck door of the wrecked house on the west bank: metatile (6, 74). |
METATILE_BEHAVIOR_VALE_WEST_OF_TRAINING_STONE | 30 | West of Garet's training stone, pushing it east. |
METATILE_BEHAVIOR_VALE_EAST_OF_TRAINING_STONE | East of Garet's training stone, pushing it west. | |
METATILE_BEHAVIOR_VALE_GUARD_JUMPS_OUT | 50 | The north end of the path up the Sanctum's west side: metatile (10, 23). |
METATILE_BEHAVIOR_VALE_PATH_UP_MT_ALEPH | The path up the Sanctum's west side: metatiles (11, 23) to (13, 27), and (12, 30) and (13, 30) south of its foot. | |
METATILE_BEHAVIOR_VALE_BESIDE_THE_SANCTUM | The corner west of the Sanctum's front: metatiles (14, 28) and (14, 29). | |
METATILE_BEHAVIOR_VALE_FOOT_OF_THE_PATH | The foot of the path: metatiles (12, 28) to (13, 29). | |
METATILE_BEHAVIOR_VALE_LADDER_FOOT | 100 | The foot of the ladder against Isaac's house: metatile (24, 55). |
METATILE_BEHAVIOR_VALE_LADDER_TOP | The top of the ladder, on the roof: metatile (24, 53) once the roof's metatiles are in. |
Definition at line 313 of file vale.c.
VALE_GUARD_BEAT
enum VALE_GUARD_BEAT
Which stretch of his beat the man guarding Mt. Aleph is on, kept in his
SW_TIMER (ValeAlephGuardPatrolRoute). He catches Isaac sneaking only on the
first two.
| Enumerator | Value | Description |
|---|---|---|
GUARD_ON_THE_PATH | 1 | Up and down the path along the Sanctum's west side. |
GUARD_BEFORE_THE_SANCTUM | Along the front of the Sanctum, past its door. | |
GUARD_BEHIND_THE_SANCTUM | Up the Sanctum's east side, behind it. |
Definition at line 406 of file vale.c.
anonymous enum
enum { ANIM_HAMMER }
The leader's animation of hammering on the roof, beyond enum
ACTOR_ANIMATION's.
| Enumerator | Value | Description |
|---|---|---|
ANIM_HAMMER | 11 |
Definition at line 416 of file vale.c.
VALE_ANIMATION
enum VALE_ANIMATION
Animations of Garet's sprite beyond ACTOR_ANIMATION, as its animation table
and ticks under graphics/sprite draw them.
| Enumerator | Value | Description |
|---|---|---|
ANIM_GARET_STARTLED | 13 | Garet throwing up his arms, then crouching, as he jumps in fright (garet.png). |
Definition at line 423 of file vale.c.
Functions in detail
scValeJennaSaysKradenIsWaiting
static void scValeJennaSaysKradenIsWaiting(void)
At the foot of the steps up Mt. Aleph, before Kraden has planned the visit, Jenna steps out of Isaac and tells him "Kraden is waiting for us." He nods, she steps back in, and he walks back down off the steps.
Jenna is put where Isaac stands, as the party is drawn as its leader alone,
and walks out from there (scWalkIntoLeader takes her back).
References fdActorFaceEachOther(), fdActorGet(), fdActorSetAnimationAndWait(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), scWalkIntoLeader() and sySynch().
Referenced by scValeApproachMtAleph().
Definition at lines 147 and 896 of file vale.c.
scValeAskAboutSneakingToAleph
static void scValeAskAboutSneakingToAleph(const Sint32 *leaderActions, const Sint32 *guardActions)
The man guarding Mt. Aleph catches Isaac sneaking: both start, Isaac winces
and runs back by leaderActions, the man follows him by guardActions to
stand before the Sanctum's door, and asks "You're not planning on sneaking up
to Mt. Aleph, are you?" before going back to his beat.
References fdActorGet(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWaitForScriptEndById(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptWait(), scValeHaveGuardWatchTheLeader(), Sint32 and ValeAlephGuardPatrolRoute.
Referenced by scValeCatchSneakingAtThePathsFoot(), scValeCatchSneakingBesideTheSanctum() and scValeCatchSneakingOnThePath().
Definition at lines 148 and 1140 of file vale.c.
scValeClimbUpRoofLadder
static void scValeClimbUpRoofLadder(Sint32 actorId, Sint32 approachAnimationId, Sint32 departureAnimationId, Sint32 resumeMotion)
Walks an actor to the foot of the ladder beside Isaac's house and climbs it
onto the roof, in approachAnimationId on the rungs and
departureAnimationId over the eaves. With resumeMotion set the actor
walks the roof freely afterwards; in the scenes it stays where the script
puts it.
References fdActorFaceDirection(), fdActorGet(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorWalkToAndWait(), fdScriptWait() and Sint32.
Referenced by scValeClimbLadderOntoRoof(), scValeRoofMended() and scValeUnusedRoofMended().
Definition at lines 150 and 2274 of file vale.c.
scValeClimbDownRoofLadder
static void scValeClimbDownRoofLadder(Sint32 actorId, Sint32 approachAnimationId, Sint32 departureAnimationId, Sint32 resumeMotion)
Climbs an actor down the ladder beside Isaac's house from the roof to the
ground, in approachAnimationId over the eaves and departureAnimationId on
the rungs. With resumeMotion set the actor walks freely afterwards.
References fdActorFaceDirection(), fdActorGet(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorWalkToAndWait(), fdScriptWait() and Sint32.
Referenced by scValeClimbDownFromRoof(), scValeRoofMended() and scValeUnusedRoofMended().
Definition at lines 154 and 2311 of file vale.c.
scValePlaceOrHideBoards
static void scValePlaceOrHideBoards(Sint32 first, Uint32 count, Sint32 mode)
Lays count of the roof's boards, from actor first on, by the hole in the
roof, still and without shadows; with any mode but 0 it puts them out of
sight instead.
References fdActorGet(), fdActorSetSpriteFlags() and Sint32.
Referenced by scValeUnusedRoofMended().
Definition at lines 158 and 2345 of file vale.c.
scValeMendingTheRoof
static void scValeMendingTheRoof(void)
The game's opening, three years after the storm: Isaac is mending the roof of his house while Dora calls up to him, "Isaac! Haven't you finished mending the roof yet?" Jenna comes up from the south past them, finds Garet training his Psynergy on his training stone, and the two talk before setting off to fetch Isaac.
It plays as Vale is set up from the title (VALE_FROM_TITLE), and ends by
taking the party back in front of Isaac's house (VALE_TO_ROOF_MENDED), where
scValeRoofMended goes on.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorGetById(), fdActorJump(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetMovementTypeById(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorSystemResumeProjectionAndHideLayers(), fdActorSystemSuspendProjectionAndShowSprites(), fdActorWaitForMoveById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdCameraGetActor(), fdCameraWaitForMove(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmPlayMusic(), mnFieldMessageShowCentered(), scEndScriptPsynergy(), scFieldScriptShowMessageThenWait(), scFieldScriptShowTwoMessagesAndWait(), scStartScriptPsynergy(), scValeCycleOpeningPillarPalette(), scValeFlashActorAndSpawnEffects(), scValeTrailSparkles(), scValeUpdateGaretPaletteAndEffects(), scValeVanishMoveHand(), Sint32 and 6 more.
Referenced by scInit().
Definition at lines 159 and 2382 of file vale.c.
scValeRoofMended
static void scValeRoofMended(void)
The end of the opening, on the roof of Isaac's house: Isaac lifts the last boards into place with his Psynergy, and Dora climbs the ladder to see. "Good job, Isaac. You patched it nicely." She remembers Kyle. Jenna and Garet climb up too and tell her they are going up Mt. Aleph with Kraden, and at last they all climb back down.
It plays once, as Vale is set up from VALE_FROM_ROOF_MENDED
(FLAG_VALE_ROOF_MENDED_SCRIPT_PLAYED), and sets FLAG_VALE_ROOF_JUST_MENDED
for the rest of the visit.
References fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorJump(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetDestination(), fdActorSetMovementTypeById(), fdActorSetScript(), fdActorSetSpeedFX(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWaitForMoveById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdCameraGetActor(), fdCameraWaitForMove(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdMapGridWaitForShakeToSettle(), fdScriptAddPartyMemberPair(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), gmFlagClear(), gmFlagSet(), scEndScriptPsynergy(), scFieldScriptShowTwoMessagesAndWait(), scStartScriptPsynergy(), scValeClimbDownRoofLadder(), scValeClimbUpRoofLadder(), scValeCycleFirstBoardPalette(), scValeCycleSecondBoardPalette(), scValeCycleThirdBoardPalette(), scValeFlashActorAndSpawnEffects(), scValePlayPsynergySparkleSound() and 8 more.
Referenced by scInit().
Definition at lines 160 and 2752 of file vale.c.
scValeUpdateGaretPaletteAndEffects
static void scValeUpdateGaretPaletteAndEffects(void)
Garet using his Psynergy on his training stone in the opening: his colours
shift and golden rings rise about him
(scValeCycleActorPaletteAndSpawnEffects).
References fdActorGet() and scValeCycleActorPaletteAndSpawnEffects().
Referenced by scValeMendingTheRoof().
Definition at lines 161 and 3417 of file vale.c.
scValeUpdateLeaderPaletteAndEffects
static void scValeUpdateLeaderPaletteAndEffects(void)
Isaac using his Psynergy on the roof's boards at the end of the opening: his colours shift and golden rings rise about him.
References fdActorGet() and scValeCycleActorPaletteAndSpawnEffects().
Referenced by scValeRoofMended().
Definition at lines 162 and 3424 of file vale.c.
scValeCycleOpeningPillarPalette
static void scValeCycleOpeningPillarPalette(void)
Garet's training stone shifting colours while his Psynergy moves it in the opening.
References fdActorGet() and scValeCycleActorPalette().
Referenced by scValeMendingTheRoof().
Definition at lines 163 and 3431 of file vale.c.
scValeCycleFirstBoardPalette
static void scValeCycleFirstBoardPalette(void)
The first board shifting colours while Isaac's Psynergy lifts it onto the roof.
References fdActorGet() and scValeCycleActorPalette().
Referenced by scValeRoofMended().
Definition at lines 164 and 3438 of file vale.c.
scValeCycleSecondBoardPalette
static void scValeCycleSecondBoardPalette(void)
The second board shifting colours while Isaac's Psynergy lifts it.
References fdActorGet() and scValeCycleActorPalette().
Referenced by scValeRoofMended().
Definition at lines 165 and 3444 of file vale.c.
scValeCycleThirdBoardPalette
static void scValeCycleThirdBoardPalette(void)
The third board shifting colours while Isaac's Psynergy lifts it.
References fdActorGet() and scValeCycleActorPalette().
Referenced by scValeRoofMended().
Definition at lines 166 and 3450 of file vale.c.
scValeHaveGuardWatchTheLeader
static UNREAD_RESULT scValeHaveGuardWatchTheLeader(ACTOR *actor)
static UNREAD_RESULT scValeHaveGuardWatchTheLeader(ACTOR *guard)
The update function of the man guarding Mt. Aleph. While he walks, he stops
when the leader comes within 18 pixels in front of him (scValeTestFacing).
References fdActorGet() and scValeTestFacing().
Referenced by scInit(), scValeAskAboutSneakingToAleph() and scValeWarnAgainstSneakingUpMtAleph().
Definition at lines 167 and 3527 of file vale.c.
scValeTrailSparkles
static void scValeTrailSparkles(ACTOR *actor)
static void scValeTrailSparkles(ACTOR *src)
The Move hand's update function in the opening. Each tick it sheds a sparkle
(SPRITE_SPARKLE) just below and around it, with SE_ITEM_BREAK.
References fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), scFieldActorCreate(), Sint32, syRandomNext(), sySoundPlay(), syVectorAddPolarOffset() and ValeSparkleScript.
Referenced by scValeMendingTheRoof().
Definition at lines 168 and 3538 of file vale.c.
scValeVanishMoveHand
static void scValeVanishMoveHand(ACTOR *emitter)
The Move hand rises, spins and shrinks for 31 ticks, bursts into eight
sparkles with SE_PSYNERGY_SPARKLE, and is put out of sight.
References fdActorSetSpriteFlags(), fdActorSetTargetPosFromMagnitudeAngle(), fdActorStartScript(), scFieldActorCreate(), Sint32, syRandomNext(), sySoundPlay(), sySynch() and ValeSparkleScript.
Referenced by scValeMendingTheRoof().
Definition at lines 169 and 3566 of file vale.c.
scValeMovePillarBelowCliff
static void scValeMovePillarBelowCliff(void)
Move on Garet's training stone, below the cliff north of his house, pushes it a metatile east or west with the hand of Move, between metatiles (22, 36) and (24, 36).
The Psynergy moves the stone; this script then settles the row under it, as
it does after a push and when Vale is set up. The metatiles either side of
the stone push it, and its own metatile is one Isaac jumps across
(METATILE_BEHAVIOR_JUMP_FORWARD), as the metatile west of the row is. The
row's metatiles are copied from metatiles (17, 0) to (19, 0) of the map and
the stone's own from metatile (17, 1), and its column is kept in
FLAG_VALE_PILLAR_IN_WEST_COLUMN, _IN_MIDDLE_COLUMN or _IN_EAST_COLUMN.
References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdScriptClearFlag(), gmFlagGet(), gmFlagSet() and Sint32.
Referenced by scInit(), scValePushPillar(), ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at lines 173 and 3657 of file vale.c.
scValePlayPsynergySparkleSound
static void scValePlayPsynergySparkleSound(void)
The event that plays SE_PSYNERGY_SPARKLE every 16 ticks while Isaac's
Psynergy lifts a board at the roof's end.
References sySoundPlay() and TickCount.
Referenced by scValeRoofMended().
Definition at lines 174 and 3692 of file vale.c.
scValeSynchronizeAlephGuardPause
static void scValeSynchronizeAlephGuardPause(void)
Keeps the man guarding Mt. Aleph standing still while a menu is open, and lets him walk on when it closes.
It runs every tick from Vale's setup, before the party leaves, and
FLAG_VALE_MT_ALEPH_GUARD_PAUSED remembers that it stopped him.
References fdActorGet(), fdScriptGetFlag(), gmFlagClear(), gmFlagGet(), gmFlagSet() and Sint32.
Referenced by scInit().
Definition at lines 175 and 3713 of file vale.c.
scValeSetPillarPriorityByLeaderHeight
static void scValeSetPillarPriorityByLeaderHeight(void)
Draws Garet's training stone under Isaac while he is up on the cliff above it, and in front of him or behind as usual while he is down beside it.
It runs every tick. Isaac is above the stone when his height is over 200; the stone's foot is at height 192.
References fdActorGet() and gmFlagGet().
Referenced by scInit().
Definition at lines 176 and 3741 of file vale.c.
scValeFlashActorAndSpawnEffects
static void scValeFlashActorAndSpawnEffects(ACTOR *actor)
Someone calling up Psynergy: they flash white two ticks in four, and a golden ring rises about them every 16 ticks.
References fdActorSetColorMode(), scSpawnGoldenRing() and TickCount.
Referenced by scValeMendingTheRoof() and scValeRoofMended().
Definition at lines 177 and 3763 of file vale.c.
scValeCycleActorPaletteAndSpawnEffects
static void scValeCycleActorPaletteAndSpawnEffects(ACTOR *actor)
Someone using Psynergy: they step through the six colour modes, one every second tick, and a golden ring rises about them every 16 ticks.
References fdActorSetColorMode(), scSpawnGoldenRing() and TickCount.
Referenced by scValeUpdateGaretPaletteAndEffects() and scValeUpdateLeaderPaletteAndEffects().
Definition at lines 178 and 3775 of file vale.c.
scValeCycleActorPalette
static void scValeCycleActorPalette(ACTOR *actor)
What Psynergy moves. It goes through colour modes SPRITE_COLOR_NORMAL to
SPRITE_COLOR_BRG in turn, a step every second tick.
References fdActorSetColorMode() and TickCount.
Referenced by scValeCycleFirstBoardPalette(), scValeCycleOpeningPillarPalette(), scValeCycleSecondBoardPalette() and scValeCycleThirdBoardPalette().
Definition at lines 179 and 3785 of file vale.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References ValeEntrances.
Definition at line 462 of file vale.c.
scGetExitRegions
const SCENE_EXIT_REGION *scGetExitRegions(void)
Definition at line 467 of file vale.c.
scGetExits
const Uint32 *scGetExits(void)
References ValeExits.
Definition at line 472 of file vale.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
Places the villagers for the story so far, or for the game's opening, when
Isaac is mending the roof (VALE_FROM_TITLE).
References gmFlagGet(), MainRoutineStateWork, ValeActorPlacements, ValeActorPlacementsAfterKalay, ValeActorPlacementsAfterLeaving and ValeRepairActorPlacements.
Definition at line 479 of file vale.c.
scValeCatchNut
static void scValeCatchNut(void)
Catch on the Nut in the tree on the ledge by the river, above the house the storm wrecked on the west bank, plucks it from the tree, and Isaac holds it up and gets it.
The Nut hangs at metatile (9, 63) and floats in it until FLAG_VALE_NUT_CAUGHT
is set (scFloatNut, scCatchNut).
References scCatchNut().
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 496 of file vale.c.
scValeCatchNutAfterKalay
static void scValeCatchNutAfterKalay(void)
Back from Kalay, Catch on the Nut in the tree on the ledge by the river, above the wrecked house on the west bank, plucks it from the tree for Isaac, if he did not take it before.
The placements back from Kalay number the Nut ACTOR_NUT_AFTER_KALAY.
References scCatchNut().
Referenced by ValeCuesAfterKalay.
Definition at line 506 of file vale.c.
scGetCues
const CUE *scGetCues(void)
Vale's cues for the story so far: before the party leaves, after it has left, or back from Kalay.
References gmFlagGet(), ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 513 of file vale.c.
scValeTalkAboutTheMayorAndTremors
static void scValeTalkAboutTheMayorAndTremors(void)
A little girl with orange pigtails, west of Garet's training stone, tells Garet she is jealous that his grandpa is the mayor and asks whether Isaac is too. After the party has left she speaks of the tremors.
References fdActorFaceEachOther(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagGet().
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 525 of file vale.c.
scValeWarnAboutGoingBeyondKradensCottage
static void scValeWarnAboutGoingBeyondKradensCottage(void)
A woman with fair hair at the northern way west to Kraden's cottage asks whether Isaac needs to go past, and warns him not to go beyond Kraden's cottage. After the party has left she says Kraden still has not come back.
She asks only the first time (FLAG_VALE_ASKED_IF_GOING_TO_KRADEN), and after
that gives the warning alone.
References fdActorFaceEachOther(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), gmFlagGet(), gmFlagSet() and Sint32.
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 553 of file vale.c.
scValeArgueWithGaretsSister
static void scValeArgueWithGaretsSister(void)
Garet's sister, by his training stone, scolds him: "Your training stone crushed my flowers!" Afterwards she only threatens him with what will happen tonight.
References fdActorFaceDirection(), fdActorFaceEachOther(), fdActorJump(), fdActorShowEmote(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart() and gmFlagSet().
Referenced by ValeCues.
Definition at line 589 of file vale.c.
scValeDoraTalksAboutTheHole
static void scValeDoraTalksAboutTheHole(void)
Dora, by the door of Isaac's house, speaks of the hole in the roof before the party leaves. On the morning the roof was mended she frets about the hole clumsy Garet left; later she says it won't rain for some time, so Isaac can fix it later.
References fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagGet().
Referenced by ValeCues.
Definition at line 627 of file vale.c.
scValeAskWhetherJennaHasReturned
static void scValeAskWhetherJennaHasReturned(void)
Back from Kalay, the young man by the river in the south of Vale asks Isaac whether Jenna is back yet, and makes him promise to bring her home.
Mind Read plays the same the first time. After he has asked
(FLAG_VALE_ASKED_IF_JENNA_IS_BACK), talking gives his plea alone and Mind
Read a thought of his.
References fdActorFaceEachOther(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagSet().
Referenced by ValeCuesAfterKalay.
Definition at line 648 of file vale.c.
scValeFeelAnotherTremor
static void scValeFeelAnotherTremor(void)
Back from Kalay, a woman in a green dress cries out as the ground shakes: "Aghh! I felt another one!" The tremors keep her awake at night.
References fdActorFaceActor(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart() and sySynch().
Referenced by ValeCuesAfterKalay.
Definition at line 662 of file vale.c.
scValeAskAboutTheLackOfTravelers
static void scValeAskAboutTheLackOfTravelers(void)
Back from Kalay, a burly grey-haired man wonders why no travellers have come since the eruption, and asks whether Isaac knows. "Yes" tells him the bridge to the south was ruined.
Talking to him always plays this. Mind Read plays it too until he has asked
(FLAG_VALE_ASKED_ABOUT_TRAVELERS), and then reads a thought of his.
References fdActorFaceActor(), fdActorRunRepeatedMotion(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptWait() and gmFlagSet().
Referenced by ValeCuesAfterKalay.
Definition at line 683 of file vale.c.
scValeStepOntoBridge
static void scValeStepOntoBridge(void)
Nothing visible happens as Isaac steps up to either end of the rope bridge across the river in the south of Vale, at metatiles (8, 85) to (8, 88) on the west bank or (18, 84) to (18, 87) on the east. The game lays the bridge's planks into the metatiles over the river, so that he can walk across it.
Until then the metatiles under that bridge are the river's, which he cannot
walk on. The planks are copied from the bridge's own layer, metatiles (40,
84) to (46, 87) of the map, onto metatiles (10, 84) to (16, 87), and
FLAG_VALE_ON_BRIDGE keeps them there after a battle. The ends of the rope
bridge west of Isaac's house, metatiles (5, 56) to (5, 57) and (13, 56) to
(13, 57), run this too, though that bridge is always open.
References fdMapGridCopyMetatileAttributes() and gmFlagSet().
Referenced by scInit(), ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 709 of file vale.c.
scValeStepOffBridge
static void scValeStepOffBridge(void)
Nothing visible happens as Isaac steps off either end of the rope bridge
across the river in the south of Vale, a metatile further from the river than
scValeStepOntoBridge's metatiles. The game puts the river's metatiles back
under the bridge.
The river's metatiles are kept below the bridge's own, at metatiles (40, 89) to (46, 92) of the map. The ends of the bridge west of Isaac's house run this too.
References fdMapGridCopyMetatileAttributes() and gmFlagClear().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 723 of file vale.c.
scValeEnterSanctum
static void scValeEnterSanctum(void)
Walking into the door of the Sanctum, the small stone shrine in the north of Vale, at metatiles (15, 27) and (16, 27), opens it with a thump, and Isaac walks inside.
References fdActorWalkTo(), fdMapGridAnimateMetatiles(), syImportScriptSetExitRequest(), sySoundPlay() and ValeSanctumDoorOpens.
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 732 of file vale.c.
scValeApproachMtAleph
static void scValeApproachMtAleph(void)
Climbing the steps up Mt. Aleph in the north-west of Vale, metatiles (5, 16)
to (8, 16), takes Isaac up to Sol Sanctum's door, once Kraden has planned the
visit. Before that, Jenna steps out to turn him back
(scValeJennaSaysKradenIsWaiting).
Kraden plans the visit in his cottage (FLAG_SANCTUM_VISIT_PLANNED,
vale_kradens_cottage.c).
References gmFlagGet(), scValeJennaSaysKradenIsWaiting(), syImportScriptSetExitRequest() and sySoundPlay().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 747 of file vale.c.
scValeExitToValeKradensCottageNorth
static void scValeExitToValeKradensCottageNorth(void)
Walking out of Vale by the northern of its two ways west, metatiles (0, 38) to (0, 40), takes Isaac on to the part of the village around Kraden's cottage.
References syImportScriptSetExitRequest() and sySoundPlay().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 763 of file vale.c.
scValeExitToValeKradensCottageSouth
static void scValeExitToValeKradensCottageSouth(void)
Walking out of Vale by the southern of its two ways west, where the puppies play, metatiles (0, 49) and (0, 50), takes Isaac on to the part of the village around Kraden's cottage.
References syImportScriptSetExitRequest() and sySoundPlay().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 772 of file vale.c.
scValeExitToValePlaza
static void scValeExitToValePlaza(void)
Walking out of Vale by the path at its east edge in the south, metatiles (29, 86) and (29, 87), takes Isaac on to the plaza with the Psynergy Stone and the town gate.
References syImportScriptSetExitRequest() and sySoundPlay().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 781 of file vale.c.
scValeEnterGaretsHouse
static void scValeEnterGaretsHouse(void)
Walking into the door of Garet's house, north-east of Isaac's, at metatile (25, 46), opens it, and Isaac walks in to Garet's family.
The door opens with the same pictures as Isaac's (ValeIsaacsDoorOpens).
References fdActorWalkTo(), fdMapGridAnimateMetatiles(), syImportScriptSetExitRequest(), sySoundPlay() and ValeIsaacsDoorOpens.
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 791 of file vale.c.
scValeEnterCottageRoomsA
static void scValeEnterCottageRoomsA(void)
Walking into the door of the house just north-west of Isaac's, at metatile (16, 51), opens it, and Isaac walks in to the villagers who talk of Kraden and his visitors.
References fdActorWalkTo(), fdMapGridAnimateMetatiles(), syImportScriptSetExitRequest(), sySoundPlay() and ValeGrandparentsDoorOpens.
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 802 of file vale.c.
scValeEnterIsaacsHouse
static void scValeEnterIsaacsHouse(void)
Walking into the door of Isaac's house, at metatile (21, 56), opens it, and he walks in. After the party has left Vale and until it is back from Kalay, Dora will not open it: she asks who is there, and does not believe it is her Isaac.
References fdActorWalkTo(), fdMapGridPlayMapEdit(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagGet(), syImportScriptSetExitRequest(), sySoundPlay() and ValeIsaacsDoorOpens.
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 814 of file vale.c.
scValeEnterJennasGrandparentsHouse
static void scValeEnterJennasGrandparentsHouse(void)
Walking into the door of the house of Jenna's grandparents, in the south of Vale east of the river, at metatile (20, 71), opens it, and Isaac walks in.
References fdActorWalkTo(), fdMapGridAnimateMetatiles(), syImportScriptSetExitRequest(), sySoundPlay() and ValeGrandparentsDoorOpens.
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 851 of file vale.c.
scValeEnterCottageRoomsAWest
static void scValeEnterCottageRoomsAWest(void)
Walking into the door of the house south of Jenna's grandparents', at metatile (23, 78), opens it, and Isaac walks in to the young man who dreams of seeing the world.
The room is the one cottage_rooms_a.c enters from
COTTAGE_ROOMS_A_VALE_WEST, after its place on that map.
References fdActorWalkTo(), fdMapGridAnimateMetatiles(), syImportScriptSetExitRequest(), sySoundPlay() and ValeWestHouseDoorOpens.
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 865 of file vale.c.
scValeUnusedEnterJennasGrandparentsHouseByWestBankDoor
static void scValeUnusedEnterJennasGrandparentsHouseByWestBankDoor(void)
Unused: walking into the door of the house the storm wrecked on the west bank would have opened it and taken Isaac into the house of Jenna's grandparents.
No metatile of Vale's map, by day or on the stormy night, carries its
metatile behaviour, and that door's own metatile answers
scValeSearchTheLockedDoor instead. vale_prologue.c keeps the same unused door
on the stormy night (scValePrologueUnusedEnterSouthHouseByWreckedHouseDoor),
but there it leads into the house south of Jenna's grandparents'
(COTTAGE_ROOMS_A_VALE_WEST), not into theirs.
References fdActorWalkTo(), fdMapGridAnimateMetatiles(), syImportScriptSetExitRequest(), sySoundPlay() and ValeIsaacsDoorOpens.
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 882 of file vale.c.
scValeWatchThePuppies
static void scValeWatchThePuppies(void)
Walking towards the puppies in the southern way west out of Vale from the ledge north of them, metatiles (1, 47) to (5, 47) and (1, 48), sets them barking. The view slides south to show them at play below, a message reads "There are some puppies playing over there. We should let them be.", and the view comes back before Isaac walks away north.
Once the party has met Saturos and Menardi the puppies are gone, and nothing happens here. The view follows a point of its own, moved 2 pixels a tick for 40 ticks, while Isaac stands still.
References fdActorGet(), fdActorSetAnimation(), fdActorWalkToAndWait(), fdMapGridCenterOnFollowedPoint(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagGet(), mnFieldMessageShow() and Sint32.
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 944 of file vale.c.
scValeTurnBackFromThePuppies
static void scValeTurnBackFromThePuppies(void)
Walking up to the puppies in the southern way west out of Vale from the south, at metatiles (3, 53) and (4, 53), sets them barking. A message reads "There are some puppies playing over there. We should let them be." and Isaac walks back south.
The view stays on him, as the puppies are already in sight from this side. Once the party has met Saturos and Menardi the puppies are gone, and nothing happens here.
References fdActorWalkToAndWait(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagGet(), mnFieldMessageShow() and Sint32.
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 1001 of file vale.c.
scValeClimbLadderOntoRoof
static void scValeClimbLadderOntoRoof(void)
Walking north into the foot of the ladder against the front of Isaac's house, east of his door, at metatile (24, 55), climbs him up the ladder and over the eaves onto the roof.
The roof's metatiles are copied in from metatiles (49, 53) to (56, 56) of the
map onto metatiles (20, 50) to (27, 53), so that he can walk on it, and
FLAG_VALE_ON_ROOF keeps them there after a battle.
References fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), gmFlagSet() and scValeClimbUpRoofLadder().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 1029 of file vale.c.
scValeClimbDownFromRoof
static void scValeClimbDownFromRoof(void)
Walking south off the roof of Isaac's house at the top of the ladder, metatile (24, 53) once he is on the roof, climbs him down the ladder to the ground in front of the house.
The ground's metatiles come back from metatiles (49, 46) to (56, 49) of the map.
References fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), gmFlagClear() and scValeClimbDownRoofLadder().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 1045 of file vale.c.
scValeWarnAgainstSneakingUpMtAleph
static void scValeWarnAgainstSneakingUpMtAleph(void)
The first time Isaac takes the path up the Sanctum's west side towards the steps up Mt. Aleph, at its north end (metatile (10, 23)), a bearded man in a long robe jumps out from the trees by the river and drives him back to the Sanctum's door. "You're not planning on sneaking up to Mt. Aleph, are you?"
From then on the man walks his beat (ValeAlephGuardPatrolRoute) and watches
for Isaac on the path (scValeCatchSneakingOnThePath and the two after it).
FLAG_VALE_WARNED_AGAINST_MT_ALEPH keeps this from playing again.
References fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorSetAnimation(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWaitForScriptEndById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scValeHaveGuardWatchTheLeader(), ValeAlephGuardPatrolRoute, ValeFirstWarningGuardPath and ValeFirstWarningLeaderPath.
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 1065 of file vale.c.
scValeCatchSneakingOnThePath
static void scValeCatchSneakingOnThePath(void)
Walking up the path along the Sanctum's west side, metatiles (11, 23) to (13, 27), or just south of its foot, metatiles (12, 30) and (13, 30), while the man guarding Mt. Aleph is on that path catches Isaac: he runs back to the Sanctum's door, the man follows him down, and asks again whether he is sneaking up Mt. Aleph.
While the man is in front of the Sanctum or behind it, Isaac walks on unseen.
References fdActorGet(), gmFlagGet(), scValeAskAboutSneakingToAleph(), ValeGuardComesDownThePath and ValeLeaderRunsBackFromThePath.
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 1123 of file vale.c.
scValeCatchSneakingBesideTheSanctum
static void scValeCatchSneakingBesideTheSanctum(void)
Stepping into the corner just west of the Sanctum's front, metatiles (14, 28) and (14, 29), while the man guarding Mt. Aleph stands or walks in front of the Sanctum catches Isaac: he runs back before the Sanctum's door, and the man steps up to him and asks again whether he is sneaking up Mt. Aleph.
References fdActorGet(), gmFlagGet(), scValeAskAboutSneakingToAleph(), ValeGuardStepsBeforeTheDoor and ValeLeaderRunsBackBeforeTheDoor.
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 1183 of file vale.c.
scValeCatchSneakingAtThePathsFoot
static void scValeCatchSneakingAtThePathsFoot(void)
Stepping onto the foot of the path along the Sanctum's west side, metatiles (12, 28) to (13, 29), while the man guarding Mt. Aleph is on the path or in front of the Sanctum catches Isaac: he runs back before the Sanctum's door, and the man comes to him and asks again whether he is sneaking up Mt. Aleph.
References fdActorGet(), gmFlagGet(), scValeAskAboutSneakingToAleph(), Sint32, ValeGuardComesDownThePath, ValeGuardStepsBeforeTheDoor and ValeLeaderRunsBackBeforeTheDoor.
Referenced by ValeCues and ValeCuesAfterLeaving.
Definition at line 1200 of file vale.c.
scValeUnusedRoofMended
static void scValeUnusedRoofMended(void)
Unused: another cut of scValeRoofMended, the end of the morning the story
begins.
No table names it. It plays the same lines as the script the game uses, "Good
job, Isaac." and "I was devastated when Kyle died..." among them, with waits
and camera moves of its own and one still colour for the Psynergy in place of
the cycling ones, and sets FLAG_VALE_ROOF_JUST_MENDED as that script does.
References fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorJump(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetDestination(), fdActorSetMovementTypeById(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWaitForMoveById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdCameraGetActor(), fdCameraWaitForMove(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdMapGridWaitForShakeToSettle(), fdScriptAddPartyMemberPair(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), gmFlagClear(), gmFlagSet(), scFieldScriptShowTwoMessagesAndWait(), scValeClimbDownRoofLadder(), scValeClimbUpRoofLadder(), scValePlaceOrHideBoards(), Sint32, ValeGaretWalksToTheHouse, ValeJennaWalksToTheHouse and ValeLeaderHammers.
Definition at line 1227 of file vale.c.
scInit
Sint32 scInit(void)
Sets Vale up as the party arrives. Arriving from the title, the game's opening plays, with Isaac mending the roof; arriving back in front of his house after it, the end of that morning plays once.
Otherwise the setup floats the Nut in its tree until it is caught, stands
Garet's training stone in its column, sends the puppies away once the party
has met Saturos and Menardi, starts the man guarding Mt. Aleph on his beat
once he has warned Isaac, and after a battle puts back the roof's and the
bridge's metatiles. After the party has left and until it is back from Kalay,
Dora stands inside Isaac's house shrunk to nothing, so that she can answer
through the door (scValeEnterIsaacsHouse).
References fdActorGet(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdQueueMusic(), fdScriptGetFlag(), gmFlagClear(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, mnWindowColorApply(), scFloatNut(), scValeHaveGuardWatchTheLeader(), scValeMendingTheRoof(), scValeMovePillarBelowCliff(), scValeRoofMended(), scValeSetPillarPriorityByLeaderHeight(), scValeStepOntoBridge(), scValeSynchronizeAlephGuardPause(), Sint32, sySetTickEvent(), sySynch() and ValeAlephGuardPatrolRoute.
Definition at line 1852 of file vale.c.
scValeGaretMeetsHisSister
static void scValeGaretMeetsHisSister(void)
Back from Kalay, talking to Garet's sister by his training stone, or reading her mind, brings Garet out to her. "It's been a while..." She admits she was worried about him, and is sorry he is leaving again.
FLAG_VALE_GARET_MET_SISTER keeps this from playing twice.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorSetSpriteColorById(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet(), scFieldScriptShowMessageThenWait(), scWalkIntoLeader() and Sint32.
Referenced by ValeCuesAfterKalay.
Definition at line 2024 of file vale.c.
scValeGaretAsksToProtectFamily
static void scValeGaretAsksToProtectFamily(void)
Back from Kalay, talking to Garet's little brother west of the door of Garet's house, or reading his mind, brings Garet out to him. The boy wonders that they are back already, and Garet tells him to protect the family while he is gone.
FLAG_VALE_GARET_ASKED_TO_PROTECT_FAMILY keeps this from playing twice.
References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet() and scWalkIntoLeader().
Referenced by ValeCuesAfterKalay.
Definition at line 2128 of file vale.c.
scValeUnusedWaterBurstsByTheRiver
static void scValeUnusedWaterBurstsByTheRiver(void)
Unused: water bursts up by the river after a tremor. Back from Kalay, a tremor shakes Vale and water bursts up three times north of the strongman by the river who remembers Felix.
No table names it. He would have started, sniffled through "I still remember
when Felix and I used to play here...*Sniff*", turned to the leader to say
that Felix must be protecting Jenna, and set area flag
FLAG_VALE_UNUSED_WATER_BURST_SEEN. His talk and Mind Read rows show the same
two lines.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), gmFlagSet(), Sint32, sySynch() and ValeUnusedWaterGrows.
Definition at line 2232 of file vale.c.
scValeDistanceInPixels
static Sint32 scValeDistanceInPixels(FIXED *first, FIXED *second)
The distance in whole pixels between two positions of 16.16 fixed-point x, y
and z. The same function as scPosDistance, which this scene also holds
through shared/pushed_actor.c, under another name.
References Sint32 and sySquartIWRAM().
Referenced by scValeTestFacing().
Definition at line 3458 of file vale.c.
scValeTestFacing
static Sint32 scValeTestFacing(ACTOR *actor, ACTOR *target, Sint32 range, Sint32 force)
Whether the man guarding Mt. Aleph sees the target, and stops on his beat if he does.
He sees it within range pixels and in the sixteenth of a turn he faces or
the one either side of it, or always when force is set; sceneCount
remembers that he stopped for it. While a menu holds him (paused, but not by
sight) he only stands. Returns 1 when he is stopped.
References fdActorSelectAnimation(), scValeDistanceInPixels(), Sint32 and syAtan().
Referenced by scValeHaveGuardWatchTheLeader().
Definition at line 3474 of file vale.c.
static
DEFINE_SET_TARGET_POSITION_FROM_MAGNITUDE_ANGLE(static, scFieldActorSetMoveTargetFX)
Definition at line 3621 of file vale.c.
scValePushPillar
static void scValePushPillar(void)
Walking into Garet's training stone, below the cliff north of his house, pushes it a metatile: east from its west side, metatiles (22, 36) to (23, 36), or west from its east side, metatiles (24, 36) to (25, 36). It moves only between metatiles (22, 36) and (24, 36).
The push itself is the shared one (scPushedActorAdvancePair), and
scValeMovePillarBelowCliff then settles the metatiles under it.
References fdActorGet(), fdMapGridCopyMetatileAttributes(), gmFlagGet(), scPushedActorAdvancePair() and scValeMovePillarBelowCliff().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 3631 of file vale.c.
scValeSearchTheLockedDoor
static void scValeSearchTheLockedDoor(void)
Searching the door of the house the storm wrecked, on the west bank in the south of Vale, at metatile (6, 74), finds it stuck: "The door won't open. The force of the impact must have knocked it off its hinges."
References fdScriptEnd(), fdScriptStart() and mnFieldMessageShow().
Referenced by ValeCues, ValeCuesAfterKalay and ValeCuesAfterLeaving.
Definition at line 3701 of file vale.c.
Variables in detail
ValeAlephGuardPatrolRoute
extern Sint32 ValeAlephGuardPatrolRoute[]
Sint32 ValeAlephGuardPatrolRoute[]
The beat the man guarding Mt. Aleph walks once he has warned Isaac, looking about at each stop:
east along the front of the Sanctum and up behind it, back before its door, then west and up the
path along its west side, and back. SW_TIMER says which stretch of it he is on (VALE_GUARD_BEAT).
References Sint32.
Referenced by scInit(), scValeAskAboutSneakingToAleph() and scValeWarnAgainstSneakingUpMtAleph().
Definition at lines 102 and 3801 of file vale.c.
ValeLeaderHammers
extern Sint32 ValeLeaderHammers[]
Sint32 ValeLeaderHammers[]
Isaac on the roof, his sprite stretching and settling with each blow of the hammer.
References Sint32.
Referenced by scValeMendingTheRoof(), scValeRoofMended() and scValeUnusedRoofMended().
Definition at lines 103 and 3891 of file vale.c.
ValeGaretWalksToTheHouse
extern Sint32 ValeGaretWalksToTheHouse[]
Sint32 ValeGaretWalksToTheHouse[]
References Sint32.
Referenced by scValeRoofMended() and scValeUnusedRoofMended().
Definition at lines 104 and 3903 of file vale.c.
ValeUnusedWaterGrows
extern Sint32 ValeUnusedWaterGrows[]
Sint32 ValeUnusedWaterGrows[]
A spout of water grows from a tenth of its size north of the strongman by the river and vanishes
(scValeUnusedWaterBurstsByTheRiver).
References Sint32.
Referenced by scValeUnusedWaterBurstsByTheRiver().
Definition at lines 105 and 3927 of file vale.c.
ValeSparkleScript
extern Sint32 ValeSparkleScript[]
Sint32 ValeSparkleScript[]
A sparkle falls and vanishes after 10 ticks. The burst's sparkles start at its second word, past
the first SC_RELEASE.
References Sint32.
Referenced by scValeTrailSparkles() and scValeVanishMoveHand().
Definition at lines 106 and 3945 of file vale.c.
ValeEntrances
extern SCENE_ENTRANCE ValeEntrances[]
SCENE_ENTRANCE ValeEntrances[]
Referenced by scGetEntrances().
Definition at lines 107 and 3954 of file vale.c.
ValeExits
extern Uint32 ValeExits[]
Uint32 ValeExits[]
Referenced by scGetExits().
Definition at lines 108 and 3980 of file vale.c.
ValeActorPlacements
extern ACTOR_PLACE ValeActorPlacements[]
ACTOR_PLACE ValeActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 109 and 4003 of file vale.c.
ValeActorPlacementsAfterLeaving
extern ACTOR_PLACE ValeActorPlacementsAfterLeaving[]
ACTOR_PLACE ValeActorPlacementsAfterLeaving[]
Referenced by scGetActorPlacements().
Definition at lines 110 and 4049 of file vale.c.
ValeActorPlacementsAfterKalay
extern ACTOR_PLACE ValeActorPlacementsAfterKalay[]
ACTOR_PLACE ValeActorPlacementsAfterKalay[]
Referenced by scGetActorPlacements().
Definition at lines 111 and 4095 of file vale.c.
ValeRepairActorPlacements
extern ACTOR_PLACE ValeRepairActorPlacements[]
ACTOR_PLACE ValeRepairActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 112 and 4129 of file vale.c.
ValeCues
extern CUE ValeCues[]
CUE ValeCues[]
References scValeApproachMtAleph(), scValeArgueWithGaretsSister(), scValeCatchNut(), scValeCatchSneakingAtThePathsFoot(), scValeCatchSneakingBesideTheSanctum(), scValeCatchSneakingOnThePath(), scValeClimbDownFromRoof(), scValeClimbLadderOntoRoof(), scValeDoraTalksAboutTheHole(), scValeEnterCottageRoomsA(), scValeEnterCottageRoomsAWest(), scValeEnterGaretsHouse(), scValeEnterIsaacsHouse(), scValeEnterJennasGrandparentsHouse(), scValeEnterSanctum(), scValeExitToValeKradensCottageNorth(), scValeExitToValeKradensCottageSouth(), scValeExitToValePlaza(), scValeMovePillarBelowCliff(), scValePushPillar(), scValeSearchTheLockedDoor(), scValeStepOffBridge(), scValeStepOntoBridge(), scValeTalkAboutTheMayorAndTremors(), scValeTurnBackFromThePuppies(), scValeUnusedEnterJennasGrandparentsHouseByWestBankDoor(), scValeWarnAboutGoingBeyondKradensCottage(), scValeWarnAgainstSneakingUpMtAleph() and scValeWatchThePuppies().
Referenced by scGetCues().
Definition at lines 113 and 4151 of file vale.c.
ValeCuesAfterLeaving
extern CUE ValeCuesAfterLeaving[]
CUE ValeCuesAfterLeaving[]
References scValeApproachMtAleph(), scValeCatchNut(), scValeCatchSneakingAtThePathsFoot(), scValeCatchSneakingBesideTheSanctum(), scValeCatchSneakingOnThePath(), scValeClimbDownFromRoof(), scValeClimbLadderOntoRoof(), scValeEnterCottageRoomsA(), scValeEnterCottageRoomsAWest(), scValeEnterGaretsHouse(), scValeEnterIsaacsHouse(), scValeEnterJennasGrandparentsHouse(), scValeEnterSanctum(), scValeExitToValeKradensCottageNorth(), scValeExitToValeKradensCottageSouth(), scValeExitToValePlaza(), scValeMovePillarBelowCliff(), scValePushPillar(), scValeSearchTheLockedDoor(), scValeStepOffBridge(), scValeStepOntoBridge(), scValeTalkAboutTheMayorAndTremors(), scValeTurnBackFromThePuppies(), scValeUnusedEnterJennasGrandparentsHouseByWestBankDoor(), scValeWarnAboutGoingBeyondKradensCottage(), scValeWarnAgainstSneakingUpMtAleph() and scValeWatchThePuppies().
Referenced by scGetCues().
Definition at lines 114 and 4225 of file vale.c.
ValeSanctumDoorOpens
extern Uint16 ValeSanctumDoorOpens[]
Uint16 ValeSanctumDoorOpens[]
The doors' metatile animations, from the layout's metatiles below the
village, each picture shown for two ticks; vale_prologue.c has the same four
kinds. Each table takes the name of a door it opens. The two of Jenna's
grandparents' kind and the west house's show their one open picture twice,
where the stormy night's show two.
Referenced by scValeEnterSanctum().
Definition at lines 115 and 4417 of file vale.c.
ValeIsaacsDoorOpens
extern Uint16 ValeIsaacsDoorOpens[]
Uint16 ValeIsaacsDoorOpens[]
Referenced by scValeEnterGaretsHouse(), scValeEnterIsaacsHouse() and scValeUnusedEnterJennasGrandparentsHouseByWestBankDoor().
Definition at lines 116 and 4422 of file vale.c.
ValeGrandparentsDoorOpens
extern Uint16 ValeGrandparentsDoorOpens[]
Uint16 ValeGrandparentsDoorOpens[]
Referenced by scValeEnterCottageRoomsA() and scValeEnterJennasGrandparentsHouse().
Definition at lines 117 and 4427 of file vale.c.
ValeWestHouseDoorOpens
extern Uint16 ValeWestHouseDoorOpens[]
Uint16 ValeWestHouseDoorOpens[]
Referenced by scValeEnterCottageRoomsAWest().
Definition at lines 118 and 4432 of file vale.c.
ValeFirstWarningLeaderPath
extern Sint32 ValeFirstWarningLeaderPath[]
Sint32 ValeFirstWarningLeaderPath[]
References Sint32.
Referenced by scValeWarnAgainstSneakingUpMtAleph().
Definition at lines 119 and 4442 of file vale.c.
ValeFirstWarningGuardPath
extern Sint32 ValeFirstWarningGuardPath[]
Sint32 ValeFirstWarningGuardPath[]
References Sint32.
Referenced by scValeWarnAgainstSneakingUpMtAleph().
Definition at lines 120 and 4454 of file vale.c.
ValeLeaderRunsBackFromThePath
extern Sint32 ValeLeaderRunsBackFromThePath[]
Sint32 ValeLeaderRunsBackFromThePath[]
References Sint32.
Referenced by scValeCatchSneakingOnThePath().
Definition at lines 121 and 4466 of file vale.c.
ValeGuardComesDownThePath
extern Sint32 ValeGuardComesDownThePath[]
Sint32 ValeGuardComesDownThePath[]
References Sint32.
Referenced by scValeCatchSneakingAtThePathsFoot() and scValeCatchSneakingOnThePath().
Definition at lines 122 and 4484 of file vale.c.
ValeLeaderRunsBackBeforeTheDoor
extern Sint32 ValeLeaderRunsBackBeforeTheDoor[]
Sint32 ValeLeaderRunsBackBeforeTheDoor[]
References Sint32.
Referenced by scValeCatchSneakingAtThePathsFoot() and scValeCatchSneakingBesideTheSanctum().
Definition at lines 123 and 4500 of file vale.c.
ValeGuardStepsBeforeTheDoor
extern Sint32 ValeGuardStepsBeforeTheDoor[]
Sint32 ValeGuardStepsBeforeTheDoor[]
References Sint32.
Referenced by scValeCatchSneakingAtThePathsFoot() and scValeCatchSneakingBesideTheSanctum().
Definition at lines 124 and 4516 of file vale.c.
ValeCuesAfterKalay
extern CUE ValeCuesAfterKalay[]
CUE ValeCuesAfterKalay[]
References scValeApproachMtAleph(), scValeAskAboutTheLackOfTravelers(), scValeAskWhetherJennaHasReturned(), scValeCatchNutAfterKalay(), scValeClimbDownFromRoof(), scValeClimbLadderOntoRoof(), scValeEnterCottageRoomsA(), scValeEnterCottageRoomsAWest(), scValeEnterGaretsHouse(), scValeEnterIsaacsHouse(), scValeEnterJennasGrandparentsHouse(), scValeEnterSanctum(), scValeExitToValeKradensCottageNorth(), scValeExitToValeKradensCottageSouth(), scValeExitToValePlaza(), scValeFeelAnotherTremor(), scValeGaretAsksToProtectFamily(), scValeGaretMeetsHisSister(), scValeMovePillarBelowCliff(), scValePushPillar(), scValeSearchTheLockedDoor(), scValeStepOffBridge(), scValeStepOntoBridge() and scValeUnusedEnterJennasGrandparentsHouseByWestBankDoor().
Referenced by scGetCues().
Definition at lines 126 and 4319 of file vale.c.
ValeJennaWalksToTheHouse
extern Sint32 ValeJennaWalksToTheHouse[]
Sint32 ValeJennaWalksToTheHouse[]
References Sint32.
Referenced by scValeRoofMended() and scValeUnusedRoofMended().