Skip to Content
The Alchemy Project

src/scene/vale_plaza.c

Vale (SceneIdValePlaza): the part of the village with the Psynergy Stone and the town gate, Vale's way out to the world. More…

Macros

NameDescription
#defineFLAG_VALE_WELCOMED_HOME FLAG_AREA_TEMP(0x02)Vale's area flags, kept while the party stays in Vale's scenes.
#defineFLAG_VALE_PSYNERGY_STONE_GONE_TOLD FLAG_AREA_TEMP(0x06)Back from Kalay, the old man searching for the Psynergy Stone has told Isaac it is gone.
#definePP_RESTORED_BY_STONE 999The PP a Psynergy Stone gives each party member, as the field's own stones give it (field_engine_cues.c).
#defineTREMOR_STEP_TICKS 10The strongman's tremor shifts the view a pixel, each way in turn, every this many ticks.

Enumerations

NameDescription
enumanonymous enum { ANIM_GARET_CHILD_SPRAWLED }Young Garet sprawled on his back, beaten, held on its one picture (garet_child.png).
enumTRAVELER_ANIMATION { TRAVELER_ANIMATION_CROUCH, TRAVELER_ANIMATION_LEAP }The travelers' leap away after the battle, the same in Saturos's and Menardi's sprites (saturos.png, menardi.png).
enumVALE_PLAZA_METATILE_BEHAVIOR { METATILE_BEHAVIOR_VALE_PLAZA_TOWN_GATE, METATILE_BEHAVIOR_VA … }The metatiles the plaza's cues answer, besides its doors, whose behavior is their exit's number.
enumVALE_PLAZA_ACTOR_ID { ACTOR_FIRST_IVY, ACTOR_SECOND_IVY, ACTOR_THIRD_IVY }Each actor placement table numbers its own rows from ACTOR_FIRST_PLACED, Garet keeping his own party slot.
enumVALE_PLAZA_DAY_ACTOR_ID { ACTOR_CURIOUS_OLD_MAN, ACTOR_OLD_WOMAN, ACTOR_YOUNG_MAN_QUIE … }By day (ValePlazaActorPlacements, before and after the party leaves).
enumVALE_PLAZA_STORM_ACTOR_ID { ACTOR_STORM_CURIOUS_OLD_MAN, ACTOR_STORM_OLD_WOMAN, ACTOR_ST … }On the stormy night (ValePlazaStormActorPlacements).
enumVALE_PLAZA_FAREWELL_ACTOR_ID { ACTOR_FAREWELL_FIRST_CHILD, ACTOR_FAREWELL_SECOND_CHILD, ACT … }At the farewell (ValePlazaDepartureActorPlacements).
enumVALE_PLAZA_AFTER_KALAY_ACTOR_ID { ACTOR_AFTER_KALAY_WELCOMING_YOUNG_MAN, ACTOR_AFTER_KALAY_WOM … }Back from Kalay (ValePlazaActorPlacementsAfterKalay).

Functions

NameDescription
Sint32scInit (void)Arriving in this part of Vale sets the scene up for the time of the story.
static voidscValePlazaMeetSurvivingTravelers (void)In Vale on the stormy night, after the river, Isaac overhears two travelers who survived Sol Sanctum's fury, the game's first sight of Saturos and Menardi.
static voidscValePlazaFightTravelers (void)In Vale on the stormy night, the travelers catch Isaac eavesdropping and fight.
static voidscValePlazaTravelersLeaveAfterBattle (void)In Vale after the battle, the travelers leave Isaac and Garet lying in the storm, and the storm, and the prologue, end.
static voidscValePlazaDepartForQuest (void)In Vale, at the town gate, the villagers give their supplies and farewells as Isaac and Garet set out on the Wise One's quest.
static voidscValePlazaSayThenWait (Sint32 speaker, Sint32 ticks)
static voidscValePlazaFlashPsynergyPalette (ACTOR *actor)A villager calling up Psynergy.
static voidscValePlazaFaceDirectionAndWait (Sint32 actorId, Sint32 facing, Sint32 ticks)
static voidscValePlazaSpawnEffectPair (ACTOR *parent)Spawns a pair of Psynergy sparks, one rising and one falling (shared/field_effect_vertical.c).
static voidscValePlazaUpdateRockLiftingBoyPsynergy (void)The rock-lifting boy's colours and sparks while his Psynergy lifts the rock.
static voidscValePlazaUpdateShowingStrongmanPsynergy (void)The strongman's colours and sparks while his Psynergy shakes the ground.
static voidscValePlazaUpdateSmallRockPalette (void)The small rock shifting colours while the boy's Psynergy lifts it.
static voidscValePlazaSetProgressFlagsAndExit (void)Arriving by VALE_PLAZA_DEBUG_STORY_FLAGS sets a preset of story flags, which differs by edition, and leaves by VALE_PLAZA_TO_BILIBIN.
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)Returns the stormy night's exits while FLAG_VALE_STORM is set, else the day's.
const ACTOR_PLACE *scGetActorPlacements (void)Selects the actor placements: the stormy night's, the farewell's (VALE_PLAZA_FROM_SANCTUM), after Kalay, else the day's.
static voidscValePlazaUsePsynergyStone (void)Searching the Psynergy Stone in the middle of Vale's plaza restores the party's PP.
const CUE *scGetCues (void)Selects the scripts: after Kalay, after the party has left, the farewell's (VALE_PLAZA_FROM_SANCTUM), the stormy night's, else the day's.
static voidscValePlazaAskAboutMeditation (void)A burly grey-haired man on the shore in front of the Psynergy Stone asks whether Isaac meditates on Mt. Aleph each day.
static voidscValePlazaRecallThreeYearsAgo (void)A woman in a green dress, by the door of the inn, recalls the difficult time three years ago and asks Isaac about it, on the day the story begins.
static voidscValePlazaAskAboutTheTravelers (void)A small boy playing below the shop asks whether the travelers went to meet the mayor.
static voidscValePlazaDemonstratePsynergy (void)A strongman south-east of the Psynergy Stone's pond, near the town gate, shows Isaac his Psynergy and shakes the ground.
static voidscValePlazaAskAboutJourney (void)An old man with a cane asks Isaac a question that changes with the story.
static voidscValePlazaTalkAboutFallenStone (void)An old man shows Isaac the Psynergy Stone that fell on his hut.
static voidscValePlazaBoyLiftsSmallRock (void)In Vale on the stormy night, a small boy with some Psynergy left lifts a small rock (ACTOR_STORM_SMALL_ROCK) into the air.
static voidscValePlazaTellWhereJennaWent (void)On the stormy night, a little girl in the crowd tells Isaac which way Jenna went.
static voidscValePlazaWelcomeIsaacHome (void)In Vale back from Kalay, a young man welcomes Isaac home.
static voidscValePlazaPsynergyStoneIsGone (void)Back from Kalay, the hut's owner, searching the ground, says the Psynergy Stone that fell on his hut is gone.
static inline voidscValePlazaOpenDoorAndWalkThrough (Sint32 metatileX, Sint32 metatileZ, Sint32 x, Sint32 z)A door of the plaza swings open with its sound, and Isaac walks through it to (x, z), in pixels.
static voidscValePlazaOpenNorthHouseDoor (void)Isaac opens the door of the house at the top of the plaza (metatile (15, 18)) and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_NORTH).
static voidscValePlazaOpenNortheastDoor (void)Back from Kalay, Isaac opens the doorway in the north-east of the plaza (metatiles (21..22, 19)) with a thump and walks into a room of sacks and crates with weapons on its wall (SceneIdCottageRoomsB, COTTAGE_ROOMS_B_VALE_PLAZA_NORTHEAST).
static voidscValePlazaOpenMiddleWestDoor (void)Isaac opens the door of the western house of the middle row (metatile (14, 26)) and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_WEST).
static voidscValePlazaOpenMiddleEastDoor (void)Isaac opens the door of the eastern house of the middle row (metatile (23, 27)) and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_EAST).
static voidscValePlazaOpenShopDoor (void)Isaac opens the door of the shop, under its sign of a potion and a sword (metatile (12, 35)), and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_SOUTH).
static voidscValePlazaOpenForgeDoor (void)Isaac opens the door of the forge at the plaza's west edge (metatile (6, 39)) and walks in (SceneIdCottageRoomsB, COTTAGE_ROOMS_B_VALE_PLAZA_NORTHWEST).
static voidscValePlazaOpenInnDoor (void)Isaac opens the door of the inn (metatile (22, 42)) and walks in (SceneIdCottageRoomsB, COTTAGE_ROOMS_B_VALE_PLAZA_WEST).
static voidscValePlazaLeaveThroughWestPassage (void)On the stormy night, Isaac leaves the plaza by the path off its west edge (metatiles (0, 20..21)), back to the river and the rest of the village.
static voidscValePlazaLeaveThroughTownGate (void)Walking out through the town gate at the plaza's south edge (metatiles (12..14, 54)) leads to the World Map, once the party has set out on its journey.
static voidscValePlazaBlowAwayFirstIvy (void)Whirlwind on the ivy on the cliff behind the shop blows it away, uncovering the mouth of the small cave with the Power Bread.
static voidscValePlazaBlowAwaySecondIvy (void)Whirlwind on the ivy at the foot of the cliff behind the shop, east of the cave's ivy, blows it away.
static voidscValePlazaBlowAwayThirdIvy (void)Whirlwind on the ivy on the cliff behind the inn blows it away.
static voidscValePlazaSentToAidElders (void)On the stormy night, as Isaac and Garet walk toward the villagers gathered by the Psynergy Stone's pond (metatiles (10, 47..53)), Garet's grandfather, the mayor, sends help to the elders and the boys back to the river.
static voidscValePlazaCyclePsynergyPaletteAndSpawnEffects (ACTOR *actor)A villager using Psynergy: his colours cycle a step every second tick, with a pair of sparks every 16 ticks.
static voidscValePlazaCyclePsynergyPalette (ACTOR *actor)Cycles the lifted rock through colour modes SPRITE_COLOR_NORMAL to SPRITE_COLOR_BRG, a step every second tick.

Variables

NameDescription
extern Sint32ValePlazaChargedUpStrongmanActions []
extern Sint32ValePlazaSecondTravelerLeapActions []
extern Sint32ValePlazaFirstTravelerLeapActions []
extern Sint32ValePlazaLeaderLeapActions []
extern Sint32ValePlazaStormGaretLeapActions []
extern Sint32ValePlazaFirstTravelerLeapAwayActions []
extern Sint32ValePlazaSecondTravelerLeapAwayActions []
extern Sint32ValePlazaFaceTargetActions []
extern Sint32ValePlazaFarewellDogActions []
extern Sint32ValePlazaFarewellChaseActions []
extern Sint32ValePlazaFarewellFirstChildActions []
extern Sint32ValePlazaFarewellSecondChildActions []
extern Sint32ValePlazaPartyDepartureActions []
extern Sint32ValePlazaHutOwnerSearchActions []
extern Sint32ValePlazaAideRunActions []
extern Sint32ValePlazaLeaderStepActions []
extern Sint32ValePlazaStormGaretStepActions []
extern SCENE_ENTRANCEValePlazaEntrances []
extern Uint32ValePlazaExits []
extern Uint32ValePlazaStormExits []
extern ACTOR_PLACEValePlazaActorPlacements []
extern ACTOR_PLACEValePlazaStormActorPlacements []
extern ACTOR_PLACEValePlazaDepartureActorPlacements []
extern ACTOR_PLACEValePlazaActorPlacementsAfterKalay []
extern CUEValePlazaCues []
extern CUEValePlazaStormCues []
extern CUEValePlazaDepartureCues []
extern CUEValePlazaCuesAfterLeaving []
extern CUEValePlazaCuesAfterKalay []
extern Uint16ValePlazaDoorOpens []A door of the plaza opening, in three pictures a tick each.
Uint8ValePlazaUnusedPaletteSteps []Unused: nothing refers to it.

Description

Vale (SceneIdValePlaza): the part of the village with the Psynergy Stone and the town gate, Vale's way out to the world.

The scene sees the prologue end and the journey begin. scGetActorPlacements and scGetCues pick its people and scripts by the time of the story. In story order:

  • The stormy night of the prologue (FLAG_VALE_STORM), when the villagers have gathered in the plaza here. Isaac and Garet come from the river (Vale, SceneIdValePrologue, by VALE_PROLOGUE_TO_VALE_PLAZA), where Felix has fallen in. Walking east toward the villagers gathered by the Psynergy Stone's pond (metatiles (10, 47..53)) plays scValePlazaSentToAidElders. Garet's grandfather, the mayor, sends two strongmen to aid the elders holding the Boulder. Then he sends Isaac and Garet back to show Jenna and a strongman whose Psynergy the Psynergy Stone has restored the way to the river (FLAG_VALE_STORM_SENT_TO_AID_ELDERS). Others have spent their Psynergy, and one lifts a small rock to show he has a little left (scValePlazaBoyLiftsSmallRock).
  • Later the same night, the Boulder has swept Kyle, Jenna's parents and Felix away and Garet has gone after Isaac (FLAG_VALE_STORM_GARET_LEFT). Arriving here then plays scValePlazaMeetSurvivingTravelers. Isaac overhears two strangers saying only the two of them survived Sol Sanctum's fury. Garet catches up, and the strangers fight the boys to make them forget (scValePlazaFightTravelers). Win or lose, the battle returns to VALE_PLAZA_AFTER_TRAVELERS_BATTLE, where the strangers leave the boys lying in the storm. The storm ends (FLAG_VALE_STORM is cleared), and VALE_PLAZA_TO_TITLE leads to the title shown after the prologue, which opens on Vale three years later (scene/title.c). The game names the two only three years later, as Saturos and Menardi (vale_kradens_cottage.c). Their sprites here are the same.
  • Three years later, the day the story begins. The villagers talk of meditating on Mt. Aleph, of the travelers who stopped by, and of the storm, in which Isaac lost his father and Jenna her whole family. One shows off his Psynergy, shaking the ground (scValePlazaDemonstratePsynergy).
  • The farewell (VALE_PLAZA_FROM_SANCTUM), once Isaac and Garet have accepted the Wise One's quest in the Vale Sanctum (sanctum.c). scValePlazaDepartForQuest restores the party's HP and PP and plays the village seeing them off at the town gate. Garet's sister gives a Herb. His brother gives the Catch Beads that Aunty Dora sent, for Dora herself does not come. VALE_PLAZA_WORLD_MAP leads out to the World Map.
  • After the party has left (FLAG_VALE_PARTY_LEFT), the villagers point the way to Vault and talk of the eruption, whose sparkles they take for crushed Psynergy Stones. A large Psynergy Stone has fallen on the hut, whose roof scInit redraws. Only now does the town gate lead out (scValePlazaLeaveThroughTownGate).
  • Back from Kalay (FLAG_KALAY_REACHED), the villagers welcome Isaac home. The hut's owner finds the stone gone, leaving a hole in his roof (scValePlazaPsynergyStoneIsGone), and a door in the north-east opens.

Searching the Psynergy Stone, a purple crystal on a rock in the pond in the middle of the plaza (metatile (13, 44)), restores the party's PP at every time but the farewell.

Three clumps of ivy grow against the cliffs: one behind the shop, hiding the mouth of a small cave, one at the foot of the same cliff a little east of it, and one on the cliff behind the inn. Whirlwind blows each away for good.

The ways out of the scene:

  • Six doors lead into three houses and the shop (SceneIdCottageRoomsA), and into the forge and the inn (SceneIdCottageRoomsB). A seventh, a doorway in the north-east, opens only once the party is back from Kalay.
  • The path off the west edge, at metatiles (0, 20..21), leads to the rest of the village (SceneIdVale) or, on the stormy night, back to the storm's scene (SceneIdValePrologue).
  • The town gate at the south edge, metatiles (12..14, 54), leads out to the World Map once the party has set out.
  • Behind the ivy that hides it, the cave's mouth at metatile (11, 28) leads into a small cave with a chest at its far end, which holds a Power Bread.

The cave is drawn on Goma Cave's map (SceneIdGomaCaveStream, GOMA_CAVE_STREAM_CHEST_CAVE_VALE_PLAZA), walled off from the rest of it, and no other way leads in or out. The party comes back out one metatile south of the mouth (VALE_PLAZA_CHEST_CAVE, at (186, 474)).

Three debug entrances are in no entrance table and no exit leads to them:

The hut's owner (ACTOR_HUT_OWNER) is never seen by day after the prologue. scInit hides the storm's Jenna by number without testing FLAG_VALE_STORM, and by day that number is his (a BUG, fixed by BUGFIX).

A villager showing Psynergy flashes white (scValePlazaFlashPsynergyPalette). By day that is the strongman in scValePlazaDemonstratePsynergy, and on the stormy night it is scValePlazaBoyLiftsSmallRock. He then cycles through his colour modes while pairs of sparks rise and fall about him every 16 ticks (scValePlazaCyclePsynergyPaletteAndSpawnEffects).

Macros in detail

FLAG_VALE_WELCOMED_HOME

#define FLAG_VALE_WELCOMED_HOME FLAG_AREA_TEMP(0x02)

Vale's area flags, kept while the party stays in Vale's scenes. Back from Kalay, a young man has welcomed Isaac home.

Referenced by scValePlazaWelcomeIsaacHome().

Definition at line 142 of file vale_plaza.c.

FLAG_VALE_PSYNERGY_STONE_GONE_TOLD

#define FLAG_VALE_PSYNERGY_STONE_GONE_TOLD FLAG_AREA_TEMP(0x06)

Back from Kalay, the old man searching for the Psynergy Stone has told Isaac it is gone.

Referenced by scValePlazaPsynergyStoneIsGone() and ValePlazaCuesAfterKalay.

Definition at line 145 of file vale_plaza.c.

PP_RESTORED_BY_STONE

#define PP_RESTORED_BY_STONE 999

The PP a Psynergy Stone gives each party member, as the field's own stones give it (field_engine_cues.c).

Referenced by scValePlazaUsePsynergyStone().

Definition at line 498 of file vale_plaza.c.

TREMOR_STEP_TICKS

#define TREMOR_STEP_TICKS 10

The strongman's tremor shifts the view a pixel, each way in turn, every this many ticks.

Referenced by scValePlazaDemonstratePsynergy().

Definition at line 584 of file vale_plaza.c.

Enumerations in detail

anonymous enum

enum { ANIM_GARET_CHILD_SPRAWLED }

Young Garet sprawled on his back, beaten, held on its one picture (garet_child.png).

EnumeratorValueDescription
ANIM_GARET_CHILD_SPRAWLED7

Definition at line 149 of file vale_plaza.c.

TRAVELER_ANIMATION

enum TRAVELER_ANIMATION

The travelers' leap away after the battle, the same in Saturos's and Menardi's sprites (saturos.png, menardi.png).

EnumeratorValueDescription
TRAVELER_ANIMATION_CROUCH5crouched low before the spring
TRAVELER_ANIMATION_LEAP6in the air, cape flying

Definition at line 156 of file vale_plaza.c.

VALE_PLAZA_METATILE_BEHAVIOR

enum VALE_PLAZA_METATILE_BEHAVIOR

The metatiles the plaza's cues answer, besides its doors, whose behavior is their exit's number.

EnumeratorValueDescription
METATILE_BEHAVIOR_VALE_PLAZA_TOWN_GATE8The town gate at the plaza's south edge, metatiles (12..14, 54).
METATILE_BEHAVIOR_VALE_PLAZA_WEST_PATHThe path off the plaza's west
METATILE_BEHAVIOR_VALE_PLAZA_GATHERED_VILLAGERS20edge, metatiles (0, 20..21). On the stormy night, the line west of the Psynergy Stone's pond where the villagers gather, metatiles (10, 47..53).
METATILE_BEHAVIOR_VALE_PLAZA_PSYNERGY_STONE100The Psynergy Stone, metatile (13, 44).

Definition at line 164 of file vale_plaza.c.

VALE_PLAZA_ACTOR_ID

enum VALE_PLAZA_ACTOR_ID

Each actor placement table numbers its own rows from ACTOR_FIRST_PLACED, Garet keeping his own party slot. The same people stand in several tables under other numbers. The three ivy actors come first in every table.

EnumeratorValueDescription
ACTOR_FIRST_IVYACTOR_FIRST_PLACEDIvy, drawn half as tall again. It is the sprite of the ivy that holds the stump in goma_cave_entrance.c ("It looks like it's trapped in the ivy."). This clump grows on the cliff behind the shop and hides the small cave's mouth.
ACTOR_SECOND_IVYAt the foot of the cliff behind the shop, a little east of the first.
ACTOR_THIRD_IVYOn the cliff behind the inn, by its chimney.

Definition at line 184 of file vale_plaza.c.

VALE_PLAZA_DAY_ACTOR_ID

enum VALE_PLAZA_DAY_ACTOR_ID

By day (ValePlazaActorPlacements, before and after the party leaves). The notes quote the day the story begins.

EnumeratorValueDescription
ACTOR_CURIOUS_OLD_MANACTOR_FIRST_PLACED + 3An old man with a cane: "The Valeans are a chosen people." On the stormy night, after the party has left and back from Kalay, he has a question for Isaac instead (scValePlazaAskAboutJourney). After the party has left it is "You saw the Wise One?"
ACTOR_OLD_WOMANIn the old woman's sprite, who on the stormy night asks "You expect an old woman like me to use Psynergy?" By day: "Long ago, my grandfather was a powerful Adept... I'm so proud of him."
ACTOR_YOUNG_MAN_QUIET_DAYA young man with brown hair: "Well, if it isn't Isaac. It's just another quiet day in Vale."
ACTOR_WOMAN_ON_KRADENS_VISITORSA woman with fair hair: "Kraden had visitors when I dropped by his place this morning."
ACTOR_FIRST_CHILDTwo children, a small boy with fair hair and a little girl with orange pigtails. By day the boy asks "Did the travelers that stopped by today go to meet the mayor?" Back from Kalay he thinks "I wonder if we can play with Isaac and his palettes again, like we used to."
ACTOR_SECOND_CHILDThe little girl: "With Psynergy, the more you practice, the more you learn."
ACTOR_STRONGMAN_SHOWING_PSYNERGYA strongman who shakes the ground with his Psynergy (scValePlazaDemonstratePsynergy). "Hey, Isaac, have I shown you my new ability?"
ACTOR_STRONGMAN_WALK_TO_RECOVERA second strongman: "If your Psynergy runs low, just walk around. You'll recover it slowly."
ACTOR_FALLEN_STONE_SPOTACTOR_FIRST_PLACED + 13An invisible actor (as
ACTOR_MAN_ASKING_ABOUT_MEDITATIONACTOR_FIRST_PLACED + 15in gondowan_cave.c), out of sight until the party has left. Then it stands on the large Psynergy Stone that fell on the hut, for the hut's owner to turn to. A burly grey-haired man: "Isaac! Have you remembered to meditate on Mt. Aleph daily?"
ACTOR_WOMAN_RECALLING_STORMA woman in a green dress: "You had a very difficult time three years ago, didn't you?"
ACTOR_HUT_OWNERACTOR_FIRST_PLACED + 18The hut's owner, an old man with a cane, who back from Kalay finds "a big hole in my roof". "Since food is stored in this hut, it isn't scary at all..." Once the prologue is over, scInit hides him by day as if he were the storm's ACTOR_STORM_JENNA (a BUG), so only a debug jump past the prologue shows him. The renders show him by the hut with no story flags set and gone once the party has left.

Definition at line 201 of file vale_plaza.c.

VALE_PLAZA_STORM_ACTOR_ID

enum VALE_PLAZA_STORM_ACTOR_ID

On the stormy night (ValePlazaStormActorPlacements).

EnumeratorValueDescription
ACTOR_STORM_CURIOUS_OLD_MANACTOR_FIRST_PLACED + 3The same old man as ACTOR_CURIOUS_OLD_MAN: "Huh? Are you...asking me if I can use Psynergy, Isaac?"
ACTOR_STORM_OLD_WOMANThe old woman: "You expect an old woman like me to use Psynergy?"
ACTOR_STORM_ROCK_DEFLECTING_YOUNG_MANA young man with brown hair: "I'm exhausted. I used up all my Psynergy deflecting falling rocks..."
ACTOR_STORM_WOMAN_HEARING_OF_FELIXA woman with fair hair: "Oh! Little Felix has fallen into the river? That must be why Jenna looked so upset."
ACTOR_STORM_ROCK_LIFTING_BOYA small boy with fair hair who lifts ACTOR_STORM_SMALL_ROCK (scValePlazaBoyLiftsSmallRock). "I have some Psynergy left."
ACTOR_STORM_GIRL_WHO_SAW_JENNAA little girl with orange pigtails: "Jenna went off that way!"
ACTOR_STORM_FIRST_AIDEThe two strongmen Garet's grandfather sends to aid the elders. "We can't let the Mt. Aleph Boulder destroy our village."
ACTOR_STORM_SECOND_AIDE"Let's go help the elders."
ACTOR_STORM_GARETS_GRANDFATHERGaret's grandfather, the mayor, an old man with white hair and a cane. Garet calls him "Grandpa!", and his sprite is cottage_rooms_a.c's. "Go aid the elders!"
ACTOR_STORM_SMALL_ROCKThe storm's rock sprite at three tenths of its size.
ACTOR_STORM_SMALL_ROCK_SHADOWThe small rock's shadow. It is a blank actor on ACTOR_STORM_SMALL_ROCK's spot at three fifths of its size, whose sprite draws only its shadow, while the setup turns off the rock's own. It blocks nothing the rock does not already block, and nothing moves it, so the shadow stays on the ground as the boy lifts the rock.
ACTOR_STORM_CHARGED_UP_STRONGMANRested at the Psynergy Stone, the strongman vale_prologue.c calls ACTOR_EXHAUSTED_STRONGMAN. "Great! I'm all charged up!"
ACTOR_FIRST_TRAVELERThe two travelers who survived Sol
ACTOR_SECOND_TRAVELERSanctum, Saturos and Menardi by their sprites (as in vale_kradens_cottage.c). "Only the two of us survived..."
ACTOR_STORM_GARETGaret as a child, who follows Isaac through the night. "Isaac! Wait!"
ACTOR_STORM_JENNA"Garet, Isaac... You came to help me?"

Definition at line 269 of file vale_plaza.c.

VALE_PLAZA_FAREWELL_ACTOR_ID

enum VALE_PLAZA_FAREWELL_ACTOR_ID

At the farewell (ValePlazaDepartureActorPlacements).

EnumeratorValueDescription
ACTOR_FAREWELL_FIRST_CHILDACTOR_FIRST_PLACED + 3The small boy of ACTOR_FIRST_CHILD, at the top of the path. "What, didn't you hear? Isaac and Garet are leaving Vale on a journey."
ACTOR_FAREWELL_SECOND_CHILDThe little girl of ACTOR_SECOND_CHILD: "Why's everyone hanging around the town gate?"
ACTOR_FAREWELL_GREAT_HEALERThe Great Healer, by his sprite (as in vale_eruption.c and sanctum.c). "We are counting on you, Isaac. Oh, and you, too, Garet."
ACTOR_FAREWELL_MAN_AWAITING_DORAThe man with long brown hair and a beard in a long robe of vale.c's ACTOR_MAN_GUARDING_MT_ALEPH: "Hmm... Dora is very late..."
ACTOR_FAREWELL_GARETS_GRANDFATHERGaret's grandfather, the old man with white hair and a cane. "They can't keep standing around here like this, or they'll never leave."
ACTOR_FAREWELL_GARETS_SISTERGaret's sister, the young woman with an orange ponytail, who gives the Herb. "I know not to drink stagnant water, Sis!", Garet answers her.
ACTOR_FAREWELL_GARETS_BROTHERGaret's brother, the small boy with orange hair of vale.c's ACTOR_GARETS_BROTHER, who brings the Catch Beads: "Aunty Dora asked me to give this to you, Isaac." Of Garet: "He's a pig! He'll eat anything that's not tied down!"
ACTOR_FAREWELL_GARETS_MOTHERA woman with orange hair under a green headscarf: "As Garet's mother, I know how Dora must be feeling."
ACTOR_FAREWELL_GARETS_FATHERGaret's father, a man with brown hair in a teal shirt, by his sprite (cottage_rooms_a.c's).
ACTOR_FAREWELL_OLD_MANThe rest of the crowd at the gate, ten who only nod and jump, by their sprites: an old man with a cane, an old woman, a young man with brown hair, a woman with fair hair, three strongmen, a burly grey-haired man, a woman in a green dress and a stout man.
ACTOR_FAREWELL_OLD_WOMAN
ACTOR_FAREWELL_YOUNG_MAN
ACTOR_FAREWELL_FAIR_HAIRED_WOMAN
ACTOR_FAREWELL_FIRST_STRONGMAN
ACTOR_FAREWELL_SECOND_STRONGMAN
ACTOR_FAREWELL_THIRD_STRONGMAN
ACTOR_FAREWELL_BURLY_MAN
ACTOR_FAREWELL_WOMAN_IN_GREEN
ACTOR_FAREWELL_STOUT_MAN
ACTOR_FAREWELL_DOGThe sprite of the dog of vault.c ("Woof! Woof!"), which runs past the children and later after ACTOR_FAREWELL_CAT.
ACTOR_FAREWELL_CATA small cat set down where the dog stops, which runs off with the dog after it. No other scene places its sprite.

Definition at line 330 of file vale_plaza.c.

VALE_PLAZA_AFTER_KALAY_ACTOR_ID

enum VALE_PLAZA_AFTER_KALAY_ACTOR_ID

Back from Kalay (ValePlazaActorPlacementsAfterKalay).

EnumeratorValueDescription
ACTOR_AFTER_KALAY_WELCOMING_YOUNG_MANACTOR_FIRST_PLACED + 3A young man with brown hair: "Hey, if it isn't Isaac! You came back home, huh?"
ACTOR_AFTER_KALAY_WOMAN_BACK_SOONERA woman with fair hair: "Oh, Isaac! You came back sooner than I thought!"
ACTOR_AFTER_KALAY_MAN_ON_NEW_FRIENDSA burly grey-haired man: "It looks like you made some friends in your travels, Isaac."
ACTOR_AFTER_KALAY_WOMAN_ON_HOT_RIVERA woman in a green dress: "The river in town grew so hot after Mt. Aleph erupted."
ACTOR_AFTER_KALAY_CURIOUS_OLD_MANThe same old man as ACTOR_CURIOUS_OLD_MAN: "Did you see anything interesting on your trip, Isaac?"
ACTOR_AFTER_KALAY_OLD_WOMAN"Oh, my! Isaac! How have you been!"
ACTOR_AFTER_KALAY_FIRST_CHILDThe small boy of ACTOR_FIRST_CHILD: "Welcome back, Isaac! It's good to have you home!"
ACTOR_AFTER_KALAY_SECOND_CHILDThe little girl of ACTOR_SECOND_CHILD: "I see you made many friends on your journey."
ACTOR_AFTER_KALAY_STRONGMAN_ON_ERUPTIONA strongman: "The eruption created a terrible mess on the other side of Mt. Aleph."
ACTOR_AFTER_KALAY_STRONGMAN_ON_CRACKA second strongman: "The eruption caused a crack to open on Mt. Aleph's northwest side."
ACTOR_AFTER_KALAY_HUT_OWNERThe hut's owner, the old man with a cane of ACTOR_HUT_OWNER, searching the ground: "Hey! Where'd that Psynergy Stone go?"

Definition at line 399 of file vale_plaza.c.

Functions in detail

scInit

Sint32 scInit(void)

Arriving in this part of Vale sets the scene up for the time of the story.

References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), fdWeatherResumeLightning(), fdWeatherStartLightning(), fdWeatherStartRain(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scFieldActorWatchAndStartScript(), scValePlazaDepartForQuest(), scValePlazaMeetSurvivingTravelers(), scValePlazaSetProgressFlagsAndExit(), scValePlazaTravelersLeaveAfterBattle(), Sint32, syImportScriptSetExitRequest(), sySynch() and ValePlazaFaceTargetActions.

Definition at lines 108 and 995 of file vale_plaza.c.

scValePlazaMeetSurvivingTravelers

static void scValePlazaMeetSurvivingTravelers(void)

In Vale on the stormy night, after the river, Isaac overhears two travelers who survived Sol Sanctum's fury, the game's first sight of Saturos and Menardi. "Only the two of us survived..."

References fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorWaitForMoveById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraGetActor(), fdCameraWaitForMove(), fdMapGridCenterOnFollowedPoint(), fdScriptAddPartyMember(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdWeatherResumeLightning(), scValePlazaFaceDirectionAndWait(), scValePlazaFightTravelers(), scValePlazaSayThenWait(), sySoundPlay() and sySynch().

Referenced by scInit().

Definition at lines 440 and 1335 of file vale_plaza.c.

scValePlazaFightTravelers

static void scValePlazaFightTravelers(void)

In Vale on the stormy night, the travelers catch Isaac eavesdropping and fight. Win or lose, the party returns by VALE_PLAZA_AFTER_TRAVELERS_BATTLE. "You must forget everything you heard."

References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorStop(), fdActorWaitForMoveById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraWaitForMove(), fdRequestBattleFromEncounterTable(), fdScriptAskYesNoWithActorAnimation(), fdScriptOpenMessage(), fdScriptSetAfterBattleDestination(), fdScriptSetDefeatDestination(), fdScriptShowMessage(), fdScriptWait(), gmFlagSet(), SceneIdValePlaza, scFieldActorWatchAndStartScript(), scValePlazaFaceDirectionAndWait(), scValePlazaSayThenWait(), Sint32, sySynch(), ValePlazaFaceTargetActions, ValePlazaFirstTravelerLeapActions, ValePlazaLeaderLeapActions, ValePlazaSecondTravelerLeapActions and ValePlazaStormGaretLeapActions.

Referenced by scValePlazaMeetSurvivingTravelers().

Definition at lines 441 and 1415 of file vale_plaza.c.

scValePlazaTravelersLeaveAfterBattle

static void scValePlazaTravelersLeaveAfterBattle(void)

In Vale after the battle, the travelers leave Isaac and Garet lying in the storm, and the storm, and the prologue, end.

References fdActorFaceDirection(), fdActorGet(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdMapGridCenterOnFollowedPoint(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), fdWeatherLastLightning(), fdWeatherResumeLightning(), fdWeatherStopLightning(), gmFlagClear(), state, syImportScriptSetExitRequest(), sySoundPlay(), sySynch(), ValePlazaFirstTravelerLeapAwayActions and ValePlazaSecondTravelerLeapAwayActions.

Referenced by scInit().

Definition at lines 442 and 1529 of file vale_plaza.c.

scValePlazaDepartForQuest

static void scValePlazaDepartForQuest(void)

In Vale, at the town gate, the villagers give their supplies and farewells as Isaac and Garet set out on the Wise One's quest.

References fdActorFaceDirection(), fdActorGet(), fdActorGetById(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorStop(), fdActorWaitForScriptEndById(), fdActorWalkToAndWait(), fdActorWatchAndSetScript(), fdCameraGetActor(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmPartyGiveItem(), gmPartyRestoreHpPp(), mnFieldMessageShow(), scFieldActorWatchAndStartScript(), scValePlazaFaceDirectionAndWait(), scValePlazaSayThenWait(), Sint32, state, syImportScriptSetExitRequest(), sySynch(), ValePlazaFaceTargetActions, ValePlazaFarewellChaseActions, ValePlazaFarewellDogActions, ValePlazaFarewellFirstChildActions, ValePlazaFarewellSecondChildActions and ValePlazaPartyDepartureActions.

Referenced by scInit().

Definition at lines 443 and 1607 of file vale_plaza.c.

scValePlazaSayThenWait

static void scValePlazaSayThenWait(Sint32 speaker, Sint32 ticks)

References fdScriptShowMessage(), fdScriptWait() and Sint32.

Referenced by scValePlazaBoyLiftsSmallRock(), scValePlazaDepartForQuest(), scValePlazaFightTravelers(), scValePlazaMeetSurvivingTravelers(), scValePlazaSentToAidElders() and scValePlazaTalkAboutFallenStone().

Definition at lines 444 and 2032 of file vale_plaza.c.

scValePlazaFlashPsynergyPalette

static void scValePlazaFlashPsynergyPalette(ACTOR *actor)

A villager calling up Psynergy. He is drawn SPRITE_COLOR_WHITE for two ticks in four, with a pair of sparks every 16 ticks.

References fdActorSetColorMode(), scValePlazaSpawnEffectPair() and TickCount.

Referenced by scValePlazaBoyLiftsSmallRock() and scValePlazaDemonstratePsynergy().

Definition at lines 445 and 2047 of file vale_plaza.c.

scValePlazaFaceDirectionAndWait

static void scValePlazaFaceDirectionAndWait(Sint32 actorId, Sint32 facing, Sint32 ticks)

References fdActorFaceDirection(), fdScriptWait() and Sint32.

Referenced by scValePlazaBoyLiftsSmallRock(), scValePlazaDepartForQuest(), scValePlazaFightTravelers(), scValePlazaMeetSurvivingTravelers() and scValePlazaSentToAidElders().

Definition at lines 446 and 2038 of file vale_plaza.c.

scValePlazaSpawnEffectPair

static void scValePlazaSpawnEffectPair(ACTOR *parent)

Spawns a pair of Psynergy sparks, one rising and one falling (shared/field_effect_vertical.c).

References fdSpriteStartAnimation(), scFieldActorCreate(), scFieldEffectRiseRingBackHalf(), scFieldEffectRiseRingFrontHalf(), Sint32, sySoundPlay(), syVRAMCacheFreeEntry() and VramCacheEntries.

Referenced by scValePlazaCyclePsynergyPaletteAndSpawnEffects() and scValePlazaFlashPsynergyPalette().

Definition at lines 448 and 2093 of file vale_plaza.c.

scValePlazaUpdateRockLiftingBoyPsynergy

static void scValePlazaUpdateRockLiftingBoyPsynergy(void)

The rock-lifting boy's colours and sparks while his Psynergy lifts the rock.

References fdActorGet() and scValePlazaCyclePsynergyPaletteAndSpawnEffects().

Referenced by scValePlazaBoyLiftsSmallRock().

Definition at lines 449 and 2153 of file vale_plaza.c.

scValePlazaUpdateShowingStrongmanPsynergy

static void scValePlazaUpdateShowingStrongmanPsynergy(void)

The strongman's colours and sparks while his Psynergy shakes the ground.

References fdActorGet() and scValePlazaCyclePsynergyPaletteAndSpawnEffects().

Referenced by scValePlazaDemonstratePsynergy().

Definition at lines 450 and 2160 of file vale_plaza.c.

scValePlazaUpdateSmallRockPalette

static void scValePlazaUpdateSmallRockPalette(void)

The small rock shifting colours while the boy's Psynergy lifts it.

References fdActorGet() and scValePlazaCyclePsynergyPalette().

Referenced by scValePlazaBoyLiftsSmallRock().

Definition at lines 451 and 2167 of file vale_plaza.c.

scValePlazaSetProgressFlagsAndExit

static void scValePlazaSetProgressFlagsAndExit(void)

Arriving by VALE_PLAZA_DEBUG_STORY_FLAGS sets a preset of story flags, which differs by edition, and leaves by VALE_PLAZA_TO_BILIBIN.

References gmFlagSet() and syImportScriptSetExitRequest().

Referenced by scInit().

Definition at lines 452 and 2174 of file vale_plaza.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References ValePlazaEntrances.

Definition at line 456 of file vale_plaza.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 461 of file vale_plaza.c.

scGetExits

const Uint32 *scGetExits(void)

Returns the stormy night's exits while FLAG_VALE_STORM is set, else the day's.

References gmFlagGet(), ValePlazaExits and ValePlazaStormExits.

Definition at line 468 of file vale_plaza.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

Selects the actor placements: the stormy night's, the farewell's (VALE_PLAZA_FROM_SANCTUM), after Kalay, else the day's.

References gmFlagGet(), MainRoutineStateWork, ValePlazaActorPlacements, ValePlazaActorPlacementsAfterKalay, ValePlazaDepartureActorPlacements and ValePlazaStormActorPlacements.

Definition at line 479 of file vale_plaza.c.

scValePlazaUsePsynergyStone

static void scValePlazaUsePsynergyStone(void)

Searching the Psynergy Stone in the middle of Vale's plaza restores the party's PP.

References fdPartyAddPp(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagClear(), mnFieldMessageShow(), mnMessageCloseFinishedWindows() and sySoundPlay().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 502 of file vale_plaza.c.

scGetCues

const CUE *scGetCues(void)

Selects the scripts: after Kalay, after the party has left, the farewell's (VALE_PLAZA_FROM_SANCTUM), the stormy night's, else the day's.

References gmFlagGet(), MainRoutineStateWork, ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving, ValePlazaDepartureCues and ValePlazaStormCues.

Definition at line 517 of file vale_plaza.c.

scValePlazaAskAboutMeditation

static void scValePlazaAskAboutMeditation(void)

A burly grey-haired man on the shore in front of the Psynergy Stone asks whether Isaac meditates on Mt. Aleph each day. He stands there on the day the story begins.

References fdActorFaceEachOther(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId() and fdScriptStart().

Referenced by ValePlazaCues.

Definition at line 541 of file vale_plaza.c.

scValePlazaRecallThreeYearsAgo

static void scValePlazaRecallThreeYearsAgo(void)

A woman in a green dress, by the door of the inn, recalls the difficult time three years ago and asks Isaac about it, on the day the story begins.

References fdActorFaceEachOther(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId() and fdScriptStart().

Referenced by ValePlazaCues.

Definition at line 556 of file vale_plaza.c.

scValePlazaAskAboutTheTravelers

static void scValePlazaAskAboutTheTravelers(void)

A small boy playing below the shop asks whether the travelers went to meet the mayor.

References fdActorFaceEachOther(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId() and fdScriptStart().

Referenced by ValePlazaCues.

Definition at line 570 of file vale_plaza.c.

scValePlazaDemonstratePsynergy

static void scValePlazaDemonstratePsynergy(void)

A strongman south-east of the Psynergy Stone's pond, near the town gate, shows Isaac his Psynergy and shakes the ground.

References fdActorFaceEachOther(), fdActorGet(), fdActorSetSpriteColorById(), fdActorStartRepeatedMotion(), fdScriptAskYesNo(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet(), scEndScriptPsynergy(), scStartScriptPsynergy(), scValePlazaFlashPsynergyPalette(), scValePlazaUpdateShowingStrongmanPsynergy(), Sint32, syCloseEvent(), syMathRemainderUnsigned(), sySetTickEvent(), sySoundPlay() and sySynch().

Referenced by ValePlazaCues and ValePlazaCuesAfterLeaving.

Definition at line 588 of file vale_plaza.c.

scValePlazaAskAboutJourney

static void scValePlazaAskAboutJourney(void)

An old man with a cane asks Isaac a question that changes with the story.

References fdScriptAskYesNo(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), gmFlagGet() and state.

Referenced by ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 676 of file vale_plaza.c.

scValePlazaTalkAboutFallenStone

static void scValePlazaTalkAboutFallenStone(void)

An old man shows Isaac the Psynergy Stone that fell on his hut.

Reached by talking to ACTOR_HUT_OWNER after the party has left Vale. In a play-through scInit has hidden him by then (a BUG). So only the debug menus, setting FLAG_VALE_PARTY_LEFT without the prologue's flags, reach it.

References fdActorFaceActor(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetMovementTypeById(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptWait() and scValePlazaSayThenWait().

Referenced by ValePlazaCuesAfterLeaving.

Definition at line 721 of file vale_plaza.c.

scValePlazaBoyLiftsSmallRock

static void scValePlazaBoyLiftsSmallRock(void)

In Vale on the stormy night, a small boy with some Psynergy left lifts a small rock (ACTOR_STORM_SMALL_ROCK) into the air.

References fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorSetAttachedEffect(), fdActorSetSpriteColorById(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), scEndScriptPsynergy(), scStartScriptPsynergy(), scValePlazaFaceDirectionAndWait(), scValePlazaFlashPsynergyPalette(), scValePlazaSayThenWait(), scValePlazaUpdateRockLiftingBoyPsynergy(), scValePlazaUpdateSmallRockPalette(), Sint32, syCloseEvent(), sySetOrUpdateTickEvent(), sySetTickEvent(), sySoundPlay() and sySynch().

Referenced by ValePlazaStormCues.

Definition at line 742 of file vale_plaza.c.

scValePlazaTellWhereJennaWent

static void scValePlazaTellWhereJennaWent(void)

On the stormy night, a little girl in the crowd tells Isaac which way Jenna went.

References fdActorFaceEachOther(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagGet().

Referenced by ValePlazaStormCues.

Definition at line 797 of file vale_plaza.c.

scValePlazaWelcomeIsaacHome

static void scValePlazaWelcomeIsaacHome(void)

In Vale back from Kalay, a young man welcomes Isaac home. Later he only says this is Vale.

References fdScriptEnd(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagSet().

Referenced by ValePlazaCuesAfterKalay.

Definition at line 819 of file vale_plaza.c.

scValePlazaPsynergyStoneIsGone

static void scValePlazaPsynergyStoneIsGone(void)

Back from Kalay, the hut's owner, searching the ground, says the Psynergy Stone that fell on his hut is gone.

References fdActorFaceActor(), fdActorGet(), fdActorSetAnimation(), fdActorSetScript(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorStop(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagSet(), sySynch() and ValePlazaHutOwnerSearchActions.

Referenced by ValePlazaCuesAfterKalay.

Definition at line 837 of file vale_plaza.c.

scValePlazaOpenDoorAndWalkThrough

static inline void scValePlazaOpenDoorAndWalkThrough(Sint32 metatileX, Sint32 metatileZ, Sint32 x, Sint32 z)

A door of the plaza swings open with its sound, and Isaac walks through it to (x, z), in pixels.

References fdActorWalkTo(), fdMapGridAnimateMetatiles(), Sint32, sySoundPlay() and ValePlazaDoorOpens.

Referenced by scValePlazaOpenForgeDoor(), scValePlazaOpenInnDoor(), scValePlazaOpenMiddleEastDoor(), scValePlazaOpenMiddleWestDoor(), scValePlazaOpenNorthHouseDoor() and scValePlazaOpenShopDoor().

Definition at line 870 of file vale_plaza.c.

scValePlazaOpenNorthHouseDoor

static void scValePlazaOpenNorthHouseDoor(void)

Isaac opens the door of the house at the top of the plaza (metatile (15, 18)) and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_NORTH).

References scValePlazaOpenDoorAndWalkThrough() and scValeRequestBackdropExit().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 887 of file vale_plaza.c.

scValePlazaOpenNortheastDoor

static void scValePlazaOpenNortheastDoor(void)

Back from Kalay, Isaac opens the doorway in the north-east of the plaza (metatiles (21..22, 19)) with a thump and walks into a room of sacks and crates with weapons on its wall (SceneIdCottageRoomsB, COTTAGE_ROOMS_B_VALE_PLAZA_NORTHEAST).

References fdActorSetSpritePriority(), fdActorWalkToAndWait(), fdMapGridCopyMetatilesTo(), scValeRequestBackdropExit(), sySoundPlay() and sySynch().

Referenced by ValePlazaCuesAfterKalay.

Definition at line 897 of file vale_plaza.c.

scValePlazaOpenMiddleWestDoor

static void scValePlazaOpenMiddleWestDoor(void)

Isaac opens the door of the western house of the middle row (metatile (14, 26)) and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_WEST).

References scValePlazaOpenDoorAndWalkThrough() and scValeRequestBackdropExit().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 913 of file vale_plaza.c.

scValePlazaOpenMiddleEastDoor

static void scValePlazaOpenMiddleEastDoor(void)

Isaac opens the door of the eastern house of the middle row (metatile (23, 27)) and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_EAST).

References scValePlazaOpenDoorAndWalkThrough() and scValeRequestBackdropExit().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 922 of file vale_plaza.c.

scValePlazaOpenShopDoor

static void scValePlazaOpenShopDoor(void)

Isaac opens the door of the shop, under its sign of a potion and a sword (metatile (12, 35)), and walks in (SceneIdCottageRoomsA, COTTAGE_ROOMS_A_VALE_PLAZA_SOUTH).

References scValePlazaOpenDoorAndWalkThrough() and scValeRequestBackdropExit().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 931 of file vale_plaza.c.

scValePlazaOpenForgeDoor

static void scValePlazaOpenForgeDoor(void)

Isaac opens the door of the forge at the plaza's west edge (metatile (6, 39)) and walks in (SceneIdCottageRoomsB, COTTAGE_ROOMS_B_VALE_PLAZA_NORTHWEST).

References scValePlazaOpenDoorAndWalkThrough() and scValeRequestBackdropExit().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 940 of file vale_plaza.c.

scValePlazaOpenInnDoor

static void scValePlazaOpenInnDoor(void)

Isaac opens the door of the inn (metatile (22, 42)) and walks in (SceneIdCottageRoomsB, COTTAGE_ROOMS_B_VALE_PLAZA_WEST).

References scValePlazaOpenDoorAndWalkThrough() and scValeRequestBackdropExit().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay, ValePlazaCuesAfterLeaving and ValePlazaStormCues.

Definition at line 948 of file vale_plaza.c.

scValePlazaLeaveThroughWestPassage

static void scValePlazaLeaveThroughWestPassage(void)

On the stormy night, Isaac leaves the plaza by the path off its west edge (metatiles (0, 20..21)), back to the river and the rest of the village.

References scValeRequestBackdropExit() and sySoundPlay().

Referenced by ValePlazaStormCues.

Definition at line 956 of file vale_plaza.c.

scValePlazaLeaveThroughTownGate

static void scValePlazaLeaveThroughTownGate(void)

Walking out through the town gate at the plaza's south edge (metatiles (12..14, 54)) leads to the World Map, once the party has set out on its journey. Until then the gate does not lead out.

References gmFlagGet(), scValeRequestBackdropExit() and sySoundPlay().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay and ValePlazaCuesAfterLeaving.

Definition at line 965 of file vale_plaza.c.

scValePlazaBlowAwayFirstIvy

static void scValePlazaBlowAwayFirstIvy(void)

Whirlwind on the ivy on the cliff behind the shop blows it away, uncovering the mouth of the small cave with the Power Bread.

References gmFlagSet().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay and ValePlazaCuesAfterLeaving.

Definition at line 976 of file vale_plaza.c.

scValePlazaBlowAwaySecondIvy

static void scValePlazaBlowAwaySecondIvy(void)

Whirlwind on the ivy at the foot of the cliff behind the shop, east of the cave's ivy, blows it away.

References gmFlagSet().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay and ValePlazaCuesAfterLeaving.

Definition at line 983 of file vale_plaza.c.

scValePlazaBlowAwayThirdIvy

static void scValePlazaBlowAwayThirdIvy(void)

Whirlwind on the ivy on the cliff behind the inn blows it away.

References gmFlagSet().

Referenced by ValePlazaCues, ValePlazaCuesAfterKalay and ValePlazaCuesAfterLeaving.

Definition at line 989 of file vale_plaza.c.

scValePlazaSentToAidElders

static void scValePlazaSentToAidElders(void)

On the stormy night, as Isaac and Garet walk toward the villagers gathered by the Psynergy Stone's pond (metatiles (10, 47..53)), Garet's grandfather, the mayor, sends help to the elders and the boys back to the river.

References fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorSetSpritePriority(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWaitForScriptEndById(), fdActorWalkToAndWait(), fdCameraWaitForMove(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scFieldActorWatchAndStartScript(), scFieldScriptShowMessageThenWait(), scPlaceAtLeader(), scValePlazaFaceDirectionAndWait(), scValePlazaSayThenWait(), scWalkIntoLeader(), Sint32, ValePlazaAideRunActions, ValePlazaChargedUpStrongmanActions, ValePlazaFaceTargetActions, ValePlazaLeaderStepActions and ValePlazaStormGaretStepActions.

Referenced by ValePlazaStormCues.

Definition at line 1144 of file vale_plaza.c.

scValePlazaCyclePsynergyPaletteAndSpawnEffects

static void scValePlazaCyclePsynergyPaletteAndSpawnEffects(ACTOR *actor)

A villager using Psynergy: his colours cycle a step every second tick, with a pair of sparks every 16 ticks.

References fdActorSetColorMode(), scValePlazaSpawnEffectPair(), Sint32, syMathRemainderUnsigned() and TickCount.

Referenced by scValePlazaUpdateRockLiftingBoyPsynergy() and scValePlazaUpdateShowingStrongmanPsynergy().

Definition at line 2065 of file vale_plaza.c.

scValePlazaCyclePsynergyPalette

static void scValePlazaCyclePsynergyPalette(ACTOR *actor)

Cycles the lifted rock through colour modes SPRITE_COLOR_NORMAL to SPRITE_COLOR_BRG, a step every second tick.

References fdActorSetColorMode(), Sint32, syMathRemainderUnsigned() and TickCount.

Referenced by scValePlazaUpdateSmallRockPalette().

Definition at line 2080 of file vale_plaza.c.

Variables in detail

ValePlazaChargedUpStrongmanActions

extern Sint32 ValePlazaChargedUpStrongmanActions[]

Sint32 ValePlazaChargedUpStrongmanActions[]

References Sint32.

Referenced by scValePlazaSentToAidElders().

Definition at lines 109 and 2243 of file vale_plaza.c.

ValePlazaSecondTravelerLeapActions

extern Sint32 ValePlazaSecondTravelerLeapActions[]

Sint32 ValePlazaSecondTravelerLeapActions[]

References Sint32.

Referenced by scValePlazaFightTravelers().

Definition at lines 110 and 2259 of file vale_plaza.c.

ValePlazaFirstTravelerLeapActions

extern Sint32 ValePlazaFirstTravelerLeapActions[]

Sint32 ValePlazaFirstTravelerLeapActions[]

References Sint32.

Referenced by scValePlazaFightTravelers().

Definition at lines 111 and 2271 of file vale_plaza.c.

ValePlazaLeaderLeapActions

extern Sint32 ValePlazaLeaderLeapActions[]

Sint32 ValePlazaLeaderLeapActions[]

References Sint32.

Referenced by scValePlazaFightTravelers().

Definition at lines 112 and 2283 of file vale_plaza.c.

ValePlazaStormGaretLeapActions

extern Sint32 ValePlazaStormGaretLeapActions[]

Sint32 ValePlazaStormGaretLeapActions[]

References Sint32.

Referenced by scValePlazaFightTravelers().

Definition at lines 113 and 2295 of file vale_plaza.c.

ValePlazaFirstTravelerLeapAwayActions

extern Sint32 ValePlazaFirstTravelerLeapAwayActions[]

Sint32 ValePlazaFirstTravelerLeapAwayActions[]

References Sint32.

Referenced by scValePlazaTravelersLeaveAfterBattle().

Definition at lines 114 and 2307 of file vale_plaza.c.

ValePlazaSecondTravelerLeapAwayActions

extern Sint32 ValePlazaSecondTravelerLeapAwayActions[]

Sint32 ValePlazaSecondTravelerLeapAwayActions[]

References Sint32.

Referenced by scValePlazaTravelersLeaveAfterBattle().

Definition at lines 115 and 2335 of file vale_plaza.c.

ValePlazaFaceTargetActions

extern Sint32 ValePlazaFaceTargetActions[]

Sint32 ValePlazaFaceTargetActions[]

References scTurnTowardTarget() and Sint32.

Referenced by scInit(), scValePlazaDepartForQuest(), scValePlazaFightTravelers() and scValePlazaSentToAidElders().

Definition at lines 116 and 2361 of file vale_plaza.c.

ValePlazaFarewellDogActions

extern Sint32 ValePlazaFarewellDogActions[]

Sint32 ValePlazaFarewellDogActions[]

References Sint32.

Referenced by scValePlazaDepartForQuest().

Definition at lines 117 and 2366 of file vale_plaza.c.

ValePlazaFarewellChaseActions

extern Sint32 ValePlazaFarewellChaseActions[]

Sint32 ValePlazaFarewellChaseActions[]

References Sint32.

Referenced by scValePlazaDepartForQuest().

Definition at lines 118 and 2382 of file vale_plaza.c.

ValePlazaFarewellFirstChildActions

extern Sint32 ValePlazaFarewellFirstChildActions[]

Sint32 ValePlazaFarewellFirstChildActions[]

References Sint32.

Referenced by scValePlazaDepartForQuest().

Definition at lines 119 and 2396 of file vale_plaza.c.

ValePlazaFarewellSecondChildActions

extern Sint32 ValePlazaFarewellSecondChildActions[]

Sint32 ValePlazaFarewellSecondChildActions[]

References Sint32.

Referenced by scValePlazaDepartForQuest().

Definition at lines 120 and 2412 of file vale_plaza.c.

ValePlazaPartyDepartureActions

extern Sint32 ValePlazaPartyDepartureActions[]

Sint32 ValePlazaPartyDepartureActions[]

References Sint32.

Referenced by scValePlazaDepartForQuest().

Definition at lines 121 and 2428 of file vale_plaza.c.

ValePlazaHutOwnerSearchActions

extern Sint32 ValePlazaHutOwnerSearchActions[]

Sint32 ValePlazaHutOwnerSearchActions[]

References Sint32.

Referenced by scValePlazaPsynergyStoneIsGone().

Definition at lines 122 and 2438 of file vale_plaza.c.

ValePlazaAideRunActions

extern Sint32 ValePlazaAideRunActions[]

Sint32 ValePlazaAideRunActions[]

References Sint32.

Referenced by scValePlazaSentToAidElders().

Definition at lines 123 and 2462 of file vale_plaza.c.

ValePlazaLeaderStepActions

extern Sint32 ValePlazaLeaderStepActions[]

Sint32 ValePlazaLeaderStepActions[]

References Sint32.

Referenced by scValePlazaSentToAidElders().

Definition at lines 124 and 2475 of file vale_plaza.c.

ValePlazaStormGaretStepActions

extern Sint32 ValePlazaStormGaretStepActions[]

Sint32 ValePlazaStormGaretStepActions[]

References Sint32.

Referenced by scValePlazaSentToAidElders().

Definition at lines 125 and 2483 of file vale_plaza.c.

ValePlazaEntrances

extern SCENE_ENTRANCE ValePlazaEntrances[]

SCENE_ENTRANCE ValePlazaEntrances[]

Referenced by scGetEntrances().

Definition at lines 126 and 2491 of file vale_plaza.c.

ValePlazaExits

extern Uint32 ValePlazaExits[]

Uint32 ValePlazaExits[]

Referenced by scGetExits().

Definition at lines 127 and 2520 of file vale_plaza.c.

ValePlazaStormExits

extern Uint32 ValePlazaStormExits[]

Uint32 ValePlazaStormExits[]

Referenced by scGetExits().

Definition at lines 128 and 2560 of file vale_plaza.c.

ValePlazaActorPlacements

extern ACTOR_PLACE ValePlazaActorPlacements[]

ACTOR_PLACE ValePlazaActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 129 and 2588 of file vale_plaza.c.

ValePlazaStormActorPlacements

extern ACTOR_PLACE ValePlazaStormActorPlacements[]

ACTOR_PLACE ValePlazaStormActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 130 and 2634 of file vale_plaza.c.

ValePlazaDepartureActorPlacements

extern ACTOR_PLACE ValePlazaDepartureActorPlacements[]

ACTOR_PLACE ValePlazaDepartureActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 131 and 2681 of file vale_plaza.c.

ValePlazaActorPlacementsAfterKalay

extern ACTOR_PLACE ValePlazaActorPlacementsAfterKalay[]

ACTOR_PLACE ValePlazaActorPlacementsAfterKalay[]

Referenced by scGetActorPlacements().

Definition at lines 132 and 2735 of file vale_plaza.c.

ValePlazaCues

extern CUE ValePlazaCues[]

CUE ValePlazaCues[]

References scValePlazaAskAboutMeditation(), scValePlazaAskAboutTheTravelers(), scValePlazaBlowAwayFirstIvy(), scValePlazaBlowAwaySecondIvy(), scValePlazaBlowAwayThirdIvy(), scValePlazaDemonstratePsynergy(), scValePlazaLeaveThroughTownGate(), scValePlazaOpenForgeDoor(), scValePlazaOpenInnDoor(), scValePlazaOpenMiddleEastDoor(), scValePlazaOpenMiddleWestDoor(), scValePlazaOpenNorthHouseDoor(), scValePlazaOpenShopDoor(), scValePlazaRecallThreeYearsAgo() and scValePlazaUsePsynergyStone().

Referenced by scGetCues().

Definition at lines 133 and 2767 of file vale_plaza.c.

ValePlazaStormCues

extern CUE ValePlazaStormCues[]

CUE ValePlazaStormCues[]

References scValePlazaAskAboutJourney(), scValePlazaBoyLiftsSmallRock(), scValePlazaLeaveThroughWestPassage(), scValePlazaOpenForgeDoor(), scValePlazaOpenInnDoor(), scValePlazaOpenMiddleEastDoor(), scValePlazaOpenMiddleWestDoor(), scValePlazaOpenNorthHouseDoor(), scValePlazaOpenShopDoor(), scValePlazaSentToAidElders(), scValePlazaTellWhereJennaWent() and scValePlazaUsePsynergyStone().

Referenced by scGetCues().

Definition at lines 134 and 2827 of file vale_plaza.c.

ValePlazaDepartureCues

extern CUE ValePlazaDepartureCues[]

CUE ValePlazaDepartureCues[]

Referenced by scGetCues().

Definition at lines 135 and 2875 of file vale_plaza.c.

ValePlazaCuesAfterLeaving

extern CUE ValePlazaCuesAfterLeaving[]

CUE ValePlazaCuesAfterLeaving[]

References scValePlazaAskAboutJourney(), scValePlazaBlowAwayFirstIvy(), scValePlazaBlowAwaySecondIvy(), scValePlazaBlowAwayThirdIvy(), scValePlazaDemonstratePsynergy(), scValePlazaLeaveThroughTownGate(), scValePlazaOpenForgeDoor(), scValePlazaOpenInnDoor(), scValePlazaOpenMiddleEastDoor(), scValePlazaOpenMiddleWestDoor(), scValePlazaOpenNorthHouseDoor(), scValePlazaOpenShopDoor(), scValePlazaTalkAboutFallenStone() and scValePlazaUsePsynergyStone().

Referenced by scGetCues().

Definition at lines 136 and 2879 of file vale_plaza.c.

ValePlazaCuesAfterKalay

extern CUE ValePlazaCuesAfterKalay[]

CUE ValePlazaCuesAfterKalay[]

References scValePlazaAskAboutJourney(), scValePlazaBlowAwayFirstIvy(), scValePlazaBlowAwaySecondIvy(), scValePlazaBlowAwayThirdIvy(), scValePlazaLeaveThroughTownGate(), scValePlazaOpenForgeDoor(), scValePlazaOpenInnDoor(), scValePlazaOpenMiddleEastDoor(), scValePlazaOpenMiddleWestDoor(), scValePlazaOpenNortheastDoor(), scValePlazaOpenNorthHouseDoor(), scValePlazaOpenShopDoor(), scValePlazaPsynergyStoneIsGone(), scValePlazaUsePsynergyStone() and scValePlazaWelcomeIsaacHome().

Referenced by scGetCues().

Definition at lines 137 and 2968 of file vale_plaza.c.

ValePlazaDoorOpens

extern Uint16 ValePlazaDoorOpens[]

Uint16 ValePlazaDoorOpens[]

A door of the plaza opening, in three pictures a tick each.

Referenced by scValePlazaOpenDoorAndWalkThrough().

Definition at lines 138 and 3074 of file vale_plaza.c.

ValePlazaUnusedPaletteSteps

Uint8 ValePlazaUnusedPaletteSteps[]

Unused: nothing refers to it. A run of palette numbers, 0 to 6 three times each and then 0 to 5 twice each, as a palette cycle of the Psynergy displays would step through them.

Definition at line 2238 of file vale_plaza.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_VALE_WELCOMED_HOMEFLAG_VALE_PSYNERGY_STONE_GONE_TOLDPP_RESTORED_BY_STONETREMOR_STEP_TICKSEnumerations in detailanonymous enumTRAVELER_ANIMATIONVALE_PLAZA_METATILE_BEHAVIORVALE_PLAZA_ACTOR_IDVALE_PLAZA_DAY_ACTOR_IDVALE_PLAZA_STORM_ACTOR_IDVALE_PLAZA_FAREWELL_ACTOR_IDVALE_PLAZA_AFTER_KALAY_ACTOR_IDFunctions in detailscInitscValePlazaMeetSurvivingTravelersscValePlazaFightTravelersscValePlazaTravelersLeaveAfterBattlescValePlazaDepartForQuestscValePlazaSayThenWaitscValePlazaFlashPsynergyPalettescValePlazaFaceDirectionAndWaitscValePlazaSpawnEffectPairscValePlazaUpdateRockLiftingBoyPsynergyscValePlazaUpdateShowingStrongmanPsynergyscValePlazaUpdateSmallRockPalettescValePlazaSetProgressFlagsAndExitscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscValePlazaUsePsynergyStonescGetCuesscValePlazaAskAboutMeditationscValePlazaRecallThreeYearsAgoscValePlazaAskAboutTheTravelersscValePlazaDemonstratePsynergyscValePlazaAskAboutJourneyscValePlazaTalkAboutFallenStonescValePlazaBoyLiftsSmallRockscValePlazaTellWhereJennaWentscValePlazaWelcomeIsaacHomescValePlazaPsynergyStoneIsGonescValePlazaOpenDoorAndWalkThroughscValePlazaOpenNorthHouseDoorscValePlazaOpenNortheastDoorscValePlazaOpenMiddleWestDoorscValePlazaOpenMiddleEastDoorscValePlazaOpenShopDoorscValePlazaOpenForgeDoorscValePlazaOpenInnDoorscValePlazaLeaveThroughWestPassagescValePlazaLeaveThroughTownGatescValePlazaBlowAwayFirstIvyscValePlazaBlowAwaySecondIvyscValePlazaBlowAwayThirdIvyscValePlazaSentToAidEldersscValePlazaCyclePsynergyPaletteAndSpawnEffectsscValePlazaCyclePsynergyPaletteVariables in detailValePlazaChargedUpStrongmanActionsValePlazaSecondTravelerLeapActionsValePlazaFirstTravelerLeapActionsValePlazaLeaderLeapActionsValePlazaStormGaretLeapActionsValePlazaFirstTravelerLeapAwayActionsValePlazaSecondTravelerLeapAwayActionsValePlazaFaceTargetActionsValePlazaFarewellDogActionsValePlazaFarewellChaseActionsValePlazaFarewellFirstChildActionsValePlazaFarewellSecondChildActionsValePlazaPartyDepartureActionsValePlazaHutOwnerSearchActionsValePlazaAideRunActionsValePlazaLeaderStepActionsValePlazaStormGaretStepActionsValePlazaEntrancesValePlazaExitsValePlazaStormExitsValePlazaActorPlacementsValePlazaStormActorPlacementsValePlazaDepartureActorPlacementsValePlazaActorPlacementsAfterKalayValePlazaCuesValePlazaStormCuesValePlazaDepartureCuesValePlazaCuesAfterLeavingValePlazaCuesAfterKalayValePlazaDoorOpensValePlazaUnusedPaletteSteps