Skip to Content
The Alchemy Project

src/scene/cottage_rooms_b.c

Cottage rooms B (SceneIdCottageRoomsB) holds the insides of Vale's wooden houses: Isaac's home, Vale's inn, the forge and Kraden's study, and one room of Babi's Palace in Tolbi drawn in the same style. More…

Macros

NameDescription
#defineFLAG_VALE_DORA_OUT_OF_BED FLAG_SCENE_TEMP(0x03)Back from Kalay, Dora has got out of her sickbed on this visit to show Isaac she is well.
#defineINN_ID_VALE 0The inn number of Vale's inn (mnInnCheckIn).
#defineCOTTAGE_ROOMS_B_ISAACS_BEDSIDE_RESTART 16The entrance beside Isaac's bed upstairs where the party starts again after a defeat on the stormy night, from ValePrologue's VALE_PROLOGUE_FROM_COTTAGE_ROOMS_B_WITH_DORA (SceneRestartRules).
#defineCOTTAGE_ROOMS_B_UNUSED_BEDSIDE_ENTRANCE 10An entrance beside Isaac's bed that no exit or rule leads to.

Enumerations

NameDescription
enumFLAME_AND_SMOKE_ANIMATION { FLAME_AND_SMOKE_ANIMATION_BURNING, FLAME_AND_SMOKE_ANIMATION … }SPRITE_FLAME_AND_SMOKE's animations (flame_and_smoke.tsv): the candle flame burning steadily, and the flame flickering twice before it goes out and a wisp of smoke curls up in its place.
enumCOTTAGE_ROOMS_B_METATILE_BEHAVIOR { METATILE_BEHAVIOR_HERB_BOX, METATILE_BEHAVIOR_FIVE_COINS_JAR … }The metatiles Vale's rooms answer when searched: a wooden box, jars, barrels and bookcases, the books by the title their message gives; back from Kalay, a second barrel and jar, and the Psynergy Stone's spot.
enumCOTTAGE_ROOMS_B_SCHOLARS_METATILE_BEHAVIOR { METATILE_BEHAVIOR_SCHOLARS_STAIRS, METATILE_BEHAVIOR_SCHOLAR … }The metatiles of the scholars' room under Babi's Palace: the stairs up to the palace, the jar holding a Hard Nut, and the bookcases.
enumCOTTAGE_ROOMS_B_ACTOR_ID { ACTOR_DORA, ACTOR_KYLE, ACTOR_FLAME_AND_SMOKE, ACTOR_YOUNG_S … }Vale's placed actors, numbered by the rows of CottageRoomsBActorPlacements.
enumCOTTAGE_ROOMS_B_AFTER_KALAY_ACTOR_ID { ACTOR_MAN_ISAAC_HAS_GROWN, ACTOR_INVISIBLE_AFTER_KALAY }The rows of CottageRoomsBActorPlacementsAfterKalay that differ from the first table's.
enumCOTTAGE_ROOMS_B_BABI_SCHOLAR_ACTOR_ID { ACTOR_SCHOLAR_ANCIENT_RUINS, ACTOR_SCHOLAR_EXPERIMENT, ACTOR … }Babi's scholars, numbered by the rows of CottageRoomsBBabiScholarsActorPlacements and named by what they say before the Colosso finals.
enumCOTTAGE_ROOMS_B_AREA_FLAG { FLAG_VALE_INNKEEPER_WELCOMED_ISAAC, FLAG_VALE_MAN_SAW_ISAAC_ … }Vale's area flags this scene keeps while the party is in Vale.
enumCOTTAGE_ROOMS_B_BED_ANIMATION { ISAACS_BED_ASLEEP_ANIMATION, ISAACS_BED_GETTING_UP_ANIMATION … }The map's paused tileset animations that redraw the beds in Isaac's house: his own as he sleeps, gets up and has left it, on the stormy night, and Dora's sickbed with her in it and once she has got up, back from Kalay.

Functions

NameDescription
static voidscCottageRoomsBDoraWakesIsaac (void)In Isaac's bedroom on the stormy night that begins a new game, Dora wakes him because the Mt. Aleph Boulder is going to fall.
static voidscCottageRoomsBHurryToThePlaza (void)Downstairs in Isaac's house on the stormy night, Kyle comes in at the front door and calls to Isaac and Dora to hurry, the Boulder could fall at any second.
static voidscCottageRoomsBClearStoolAndJars (void)Takes a stool and two jars away from the floor west of the table on the ground floor of Isaac's house, metatiles (25, 25) to (26, 26), leaving bare boards that can be walked over.
static voidscCottageRoomsBShowMythrilBag (void)In Vale, the Mythril Bag rises and wobbles before Kraden, with no text.
static voidscCottageRoomsBSpawnRingPair (ACTOR *actor)Gives off a pair of golden rings at an actor, moving opposite ways up and down through it, the second drawn underfoot.
static voidscCottageRoomsBDemonstrateCatch (void)Dora casts Catch on Isaac's tunic beside his bed.
const SCENE_ENTRANCE *scGetEntrances (void)Returns the entrances, among them the scripts played on arrival.
const SCENE_EXIT_REGION *scGetExitRegions (void)The scene has no exit regions: its regions entry returns none.
const Uint32 *scGetExits (void)On the stormy night the exits lead into the storm.
const ACTOR_PLACE *scGetActorPlacements (void)Places Babi's scholars, or Vale's villagers as the story has left them.
static voidscCottageRoomsBScholarAsksAboutKraden (Sint32 speakerId)In Babi's Palace, one of Babi's scholars asks whether the party knows Kraden.
const CUE *scGetCues (void)Chooses the scripts for the room the party is in.
static voidscCottageRoomsBAskIsaacHisBusiness (void)The masked man at the inn asks Isaac his business.
static voidscCottageRoomsBAskWhetherMaskedManWasFelix (void)A young man asks whether the masked man was Felix.
static voidscCottageRoomsBCloseScreenAndExit (Sint32 exitNumber)Takes an exit by a doorway or the stairs, on the stormy night stopping the lightning first.
static voidscCottageRoomsBExitToValePlazaNorthwest (void)Walking out of the forge, through the doorway at the south of the room, comes out at its door on the west edge of Vale's plaza (VALE_PLAZA_FROM_COTTAGE_ROOMS_B_WEST).
static voidscCottageRoomsBExitToValeKradensCottageNorth (void)Walking out of Kraden's study, through the doorway at the south of the room, comes back out at the door of his cottage (VALE_KRADENS_COTTAGE_COTTAGE_ROOMS_B_NORTH).
static voidscCottageRoomsBExitToValePlazaNortheast (void)Walking out of the second forge room, through the doorway at the south of the room, comes out at its doorway in the northeast of Vale's plaza (VALE_PLAZA_COTTAGE_ROOMS_B_NORTH).
static voidscCottageRoomsBExitToValePlazaWest (void)Walking out of Vale's inn, through the doorway at the south of the room with the innkeeper's counter, comes out at the inn's door in the southeast of Vale's plaza (VALE_PLAZA_COTTAGE_ROOMS_B_SOUTH).
static voidscCottageRoomsBExitToInnUpstairs (void)Climbing the stairs beside the counter of Vale's inn takes the party up to its guest room.
static voidscCottageRoomsBExitToVale (void)Walking out of Isaac's house by its front door, at the south of the ground floor, comes out in Vale before the house (VALE_FROM_COTTAGE_ROOMS_B).
static voidscCottageRoomsBExitToIsaacsHouseUpstairs (void)Climbing the stairs of Isaac's house takes the party up to his bedroom.
static voidscCottageRoomsBExitToInnDownstairs (void)Going down the stairs from the guest room of Vale's inn takes the party back to the innkeeper's counter.
static voidscCottageRoomsBExitToIsaacsHouseDownstairs (void)Going down the stairs from Isaac's bedroom takes the party to the ground floor of his house.
static voidscCottageRoomsBExitToValePrologueWest (void)On the stormy night, walking out of the house with two beds by its west door comes back out into the storm (VALE_PROLOGUE_COTTAGE_ROOMS_B_WEST).
static voidscCottageRoomsBExitToValePrologueEast (void)On the stormy night, walking out of the house with two beds by its east door comes back out into the storm (VALE_PROLOGUE_COTTAGE_ROOMS_B_EAST).
Sint32scInit (void)Sets up these rooms for the stormy night or the story's villagers.
static inline voidscCottageRoomsBSetBlendControl (Uint32 value)Sets which layers the candle's glow blends, in Isaac's house on the stormy night.
static inline voidscCottageRoomsBSetBlendWeights (Uint32 value)Sets how strongly the candle's glow shows.
static voidscCottageRoomsBTalkToInnkeeper (void)Talking to Vale's innkeeper offers a room when Isaac faces her eastwards or northwards, from in front of her counter.
static voidscCottageRoomsBRemarkIsaacHasGrown (void)Back from Kalay, the burly grey-haired man at Vale's inn remarks how much Isaac has grown.
static voidscCottageRoomsBReadInnkeepersThoughts (void)Mind Read on Vale's innkeeper, back from Kalay, hears her wonder whether Isaac has come to the inn because Dora would not let him stay at home.
static voidscCottageRoomsBReadThoughtsAboutDorasIllness (void)Mind Read on the burly grey-haired man at Vale's inn, back from Kalay, hears him wonder whether Isaac knows that Dora was struck with an illness.
static voidscCottageRoomsBVisitSickDora (void)Back from Kalay, the first time Isaac talks to Dora in her sickbed at home, she takes him for the innkeeper, then scolds him for coming back before his quest is done.
static voidscCottageRoomsBTalkToDora (void)Talking to Dora again after that visit: while she is still up she tells Isaac not to worry and to do his best to complete his quest, coughing.
static voidscCottageRoomsBFlashWhiteAndSpawnRings (ACTOR *actor)An actor's update function that flashes it white every other two ticks and gives off a pair of golden rings every sixteen ticks.
static voidscCottageRoomsBCycleColorsAndSpawnRings (ACTOR *actor)An actor's update function that cycles it through its own colors and the five swaps of red, green and blue (SPRITE_COLOR_NORMAL to SPRITE_COLOR_BRG), a step every other tick, and gives off a pair of golden rings every sixteen ticks.
static voidscCottageRoomsBCycleDorasColorsWithRings (void)Cycles Dora's colors and gives off pairs of golden rings.
static voidscCottageRoomsBCycleTunicsColors (void)Cycles the tunic's colors, with no rings.

Variables

NameDescription
extern Sint32CottageRoomsBLeaveHouseScript []Dora, then Isaac, walk across the bedroom towards the stairs.
extern Sint32CottageRoomsBDoraLeavesScript []Dora goes on to the stairs and off the stage.
extern Sint32CottageRoomsBIsaacLeavesScript []Isaac follows Dora to the stairs and off the stage.
extern Sint32CottageRoomsBDoraRunsAheadScript []Downstairs, Dora runs from the foot of the stairs into the room.
extern Sint32CottageRoomsBIsaacRunsAheadScript []Isaac runs after Dora, stopping a step behind her.
extern Sint32CottageRoomsBDoraRunsBackScript []As Kyle runs back out, Dora runs across the room towards the front door.
extern Sint32CottageRoomsBIsaacRunsBackScript []Isaac runs after Dora, stopping beside her.
extern Sint32CottageRoomsBRunToPlazaScript []Dora and Isaac run out of the front door and down the path towards the plaza.
extern Sint32CottageRoomsBFlameShakesScript []The candle flame flickers, squeezed and let out every four ticks.
extern Sint32CottageRoomsBFlameRisesScript []The candle flame flares up, then turns to smoke that rises 18 pixels as it shrinks away.
extern Sint32CottageRoomsBDoraFacesIsaacScript []Keeps Dora turned toward Isaac.
extern Sint32CottageRoomsBMythrilBagRisesScript []The Mythril Bag rises 8 pixels over 16 ticks.
extern Sint32CottageRoomsBMythrilBagWobblesScript []The Mythril Bag squashes and springs back twice.
extern SCENE_ENTRANCECottageRoomsBEntrances []
extern Uint32CottageRoomsBExits []
extern Uint32CottageRoomsBStormExits []
extern ACTOR_PLACECottageRoomsBActorPlacements []
extern ACTOR_PLACECottageRoomsBActorPlacementsAfterLeaving []
extern ACTOR_PLACECottageRoomsBActorPlacementsAfterKalay []
extern ACTOR_PLACECottageRoomsBBabiScholarsActorPlacements []
extern CUECottageRoomsBStormCues []
extern CUECottageRoomsBCues []
extern CUECottageRoomsBCuesAfterLeaving []
extern CUECottageRoomsBCuesAfterKalay []
extern CUECottageRoomsBBabiScholarsCues []
extern CUECottageRoomsBBabiScholarsLaterCues []

Description

Cottage rooms B (SceneIdCottageRoomsB) holds the insides of Vale's wooden houses: Isaac's home, Vale's inn, the forge and Kraden's study, and one room of Babi's Palace in Tolbi drawn in the same style.

The game packs rooms of several places that share a tile style onto one map. Each room is a camera box of its own, and the entrance the party comes in by chooses it. In each of Vale's rooms the way out is a doorway at the south of the room. The people and scripts are chosen by the entrance and by how far the story has gone.

Here are the rooms in story order, by the exits that lead in:

What happens in them follows the story:

The exits COTTAGE_ROOMS_B_VALE_PLAZA_NORTHWEST to COTTAGE_ROOMS_B_TO_VALE_PROLOGUE_EAST are taken by the metatile behaviors of the same numbers. They lead to the rest of Vale (ValePlaza, ValeKradensCottage, Vale and ValePrologue) or between this scene's own parts.

Macros in detail

FLAG_VALE_DORA_OUT_OF_BED

#define FLAG_VALE_DORA_OUT_OF_BED FLAG_SCENE_TEMP(0x03)

Back from Kalay, Dora has got out of her sickbed on this visit to show Isaac she is well.

Referenced by CottageRoomsBCuesAfterKalay, scCottageRoomsBTalkToDora(), scCottageRoomsBVisitSickDora() and scInit().

Definition at line 134 of file cottage_rooms_b.c.

INN_ID_VALE

#define INN_ID_VALE 0

The inn number of Vale's inn (mnInnCheckIn).

Referenced by scCottageRoomsBTalkToInnkeeper().

Definition at line 313 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_ISAACS_BEDSIDE_RESTART

#define COTTAGE_ROOMS_B_ISAACS_BEDSIDE_RESTART 16

The entrance beside Isaac's bed upstairs where the party starts again after a defeat on the stormy night, from ValePrologue's VALE_PROLOGUE_FROM_COTTAGE_ROOMS_B_WITH_DORA (SceneRestartRules).

Referenced by CottageRoomsBEntrances.

Definition at line 318 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_UNUSED_BEDSIDE_ENTRANCE

#define COTTAGE_ROOMS_B_UNUSED_BEDSIDE_ENTRANCE 10

An entrance beside Isaac's bed that no exit or rule leads to.

Referenced by CottageRoomsBEntrances.

Definition at line 320 of file cottage_rooms_b.c.

Enumerations in detail

FLAME_AND_SMOKE_ANIMATION

enum FLAME_AND_SMOKE_ANIMATION

SPRITE_FLAME_AND_SMOKE's animations (flame_and_smoke.tsv): the candle flame burning steadily, and the flame flickering twice before it goes out and a wisp of smoke curls up in its place.

EnumeratorValueDescription
FLAME_AND_SMOKE_ANIMATION_BURNING1
FLAME_AND_SMOKE_ANIMATION_GOES_OUT2

Definition at line 139 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_METATILE_BEHAVIOR

enum COTTAGE_ROOMS_B_METATILE_BEHAVIOR

The metatiles Vale's rooms answer when searched: a wooden box, jars, barrels and bookcases, the books by the title their message gives; back from Kalay, a second barrel and jar, and the Psynergy Stone's spot.

EnumeratorValueDescription
METATILE_BEHAVIOR_HERB_BOX100
METATILE_BEHAVIOR_FIVE_COINS_JAR101
METATILE_BEHAVIOR_ONE_COIN_BARREL102
METATILE_BEHAVIOR_COINS_BARREL107123 coins
METATILE_BEHAVIOR_VIAL_JAR108
METATILE_BEHAVIOR_PSYNERGY_STONE109
METATILE_BEHAVIOR_STUDY_OF_ALCHEMY_NOTEBOOK206
METATILE_BEHAVIOR_ANCIENT_LEMURIANS_BOOK207
METATILE_BEHAVIOR_FOUNTAIN_OF_TOLBI_BOOK208
METATILE_BEHAVIOR_ENCYCLOPEDIA_OF_ALCHEMY209
METATILE_BEHAVIOR_LEGEND_OF_ALEPH_BOOK210
METATILE_BEHAVIOR_BEING_AN_ADEPT_BOOK211
METATILE_BEHAVIOR_TRAVELERS_ETIQUETTE_BOOK212

Definition at line 148 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_SCHOLARS_METATILE_BEHAVIOR

enum COTTAGE_ROOMS_B_SCHOLARS_METATILE_BEHAVIOR

The metatiles of the scholars' room under Babi's Palace: the stairs up to the palace, the jar holding a Hard Nut, and the bookcases.

EnumeratorValueDescription
METATILE_BEHAVIOR_SCHOLARS_STAIRS20
METATILE_BEHAVIOR_SCHOLARS_HARD_NUT_JAR103
METATILE_BEHAVIOR_SCHOLARS_ENCYCLOPEDIA207
METATILE_BEHAVIOR_SCHOLARS_EXPERIMENTS_NOTEBOOK208
METATILE_BEHAVIOR_SCHOLARS_STUDY_NOTEBOOK209

Definition at line 167 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_ACTOR_ID

enum COTTAGE_ROOMS_B_ACTOR_ID

Vale's placed actors, numbered by the rows of CottageRoomsBActorPlacements.

The tables after the party leaves and after Kalay keep the rows up to the inn's, and differ after them (COTTAGE_ROOMS_B_AFTER_KALAY_ACTOR_ID).

EnumeratorValueDescription
ACTOR_DORAACTOR_FIRST_PLACEDIsaac's mother, a woman with fair hair tied up. "Isaac, wake up!"
ACTOR_KYLEIsaac's father, a man with fair hair (SPRITE_KYLE, Kyle in vale_prologue.c). "Isaac, Dora, hurry! The Boulder could fall at any second!"
ACTOR_FLAME_AND_SMOKEThe candle flame on the table downstairs in Isaac's house (SPRITE_FLAME_AND_SMOKE, whose ticks are a flame and wisps of smoke), placed only for scCottageRoomsBHurryToThePlaza. There it flickers, then flares up and goes out, its smoke rising 18 pixels as it shrinks away.
ACTOR_YOUNG_SMITHA young man with brown hair who lost his father in the storm and means to be a smith. "My father also died in that storm three years ago." Once the party has left, "By then, I'll surely be a fine smith."
ACTOR_YOUNG_SMITHS_MOTHERACTOR_YOUNG_SMITH's mother, a woman in a long blue dress. "My son is still young, so I don't make him work too long."
ACTOR_INNKEEPERA woman with red-brown hair in a pink dress and a white apron.
ACTOR_YOUNG_MAN_SAW_MASKA young man with brown hair who walks about the inn. "One of the men from that group staying here wore a mask over his face."
ACTOR_INN_WORKERA woman with fair hair at the inn. "Two of those three guests staying with us have gone out." Mind Read later hears "I found his wallet when I was cleaning the room..."
ACTOR_MASKED_MANMasked Felix (SPRITE_FELIX_MASKED, as at Sol Sanctum's eruption), in a room of the inn before the party leaves Vale. "Hey... Boy... Do you have business with me?"
ACTOR_TUNICSPRITE_TUNIC, set beside Isaac's bed on the stormy night. Catch reaches it and Isaac puts it on (FLAG_ISAAC_WEARS_TUNIC). Dora says "Don't go out without your tunic!"
ACTOR_KRADENKraden's sprite (SPRITE_KRADEN, as in Sol Sanctum's scripts), seen only from COTTAGE_ROOMS_B_FROM_VALE_KRADENS_COTTAGE_MYTHRIL_BAG.

Definition at line 180 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_AFTER_KALAY_ACTOR_ID

enum COTTAGE_ROOMS_B_AFTER_KALAY_ACTOR_ID

The rows of CottageRoomsBActorPlacementsAfterKalay that differ from the first table's.

EnumeratorValueDescription
ACTOR_MAN_ISAAC_HAS_GROWNACTOR_FIRST_PLACED + 8A burly grey-haired man at the inn. "Well if it isn't Isaac! You've grown so much, I almost didn't recognize you!" Mind Read hears of Dora's illness.
ACTOR_INVISIBLE_AFTER_KALAYOpen question (no evidence in reach): what the next was meant to do; nothing the player can do shows a use. SPRITE_BLANK, a solid actor that draws nothing, beside ACTOR_MAN_ISAAC_HAS_GROWN. No script answers it. The setup takes away the shadow its blank sprite would draw, and it closes no way the innkeeper and the man do not.

Definition at line 233 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_BABI_SCHOLAR_ACTOR_ID

enum COTTAGE_ROOMS_B_BABI_SCHOLAR_ACTOR_ID

Babi's scholars, numbered by the rows of CottageRoomsBBabiScholarsActorPlacements and named by what they say before the Colosso finals.

EnumeratorValueDescription
ACTOR_SCHOLAR_ANCIENT_RUINSACTOR_FIRST_PLACEDAn old scholar with a white beard in a blue cap, who tells of the ruins where Babi Lighthouse stands. "Originally, there were ancient ruins at the site of Babi Lighthouse."
ACTOR_SCHOLAR_EXPERIMENTA scholar with glasses in a blue cap, whose experiments fail. "No matter how many times I run the experiment, I never get the results I want!" After the finals he asks whether the party knows Kraden.
ACTOR_SCHOLAR_SEALED_ALCHEMYAn old scholar with a white beard in a blue cap, who tells of Alchemy sealed away. "It is said that long ago, the power of Alchemy was sealed away."
ACTOR_SCHOLAR_VENUS_RUINSA scholar with glasses in a blue cap, who tells of the Venus Ruins. "Originally, the ancient Venus Ruins lay buried under Babi Lighthouse."
ACTOR_OLD_MAN_ON_BABIS_RESEARCHAn old man with a cane who walks about the room. "Babi makes his scholars perform all sorts of research. I wonder where Babi's favorite scholar, Kraden, is now?"

Definition at line 256 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_AREA_FLAG

enum COTTAGE_ROOMS_B_AREA_FLAG

Vale's area flags this scene keeps while the party is in Vale.

EnumeratorValueDescription
FLAG_VALE_INNKEEPER_WELCOMED_ISAACFLAG_AREA_TEMP(0x00)Back from Kalay, the innkeeper welcomed Isaac home.
FLAG_VALE_MAN_SAW_ISAAC_GROWNFLAG_AREA_TEMP(0x01)Back from Kalay, ACTOR_MAN_ISAAC_HAS_GROWN remarked how much Isaac has grown.

Definition at line 302 of file cottage_rooms_b.c.

COTTAGE_ROOMS_B_BED_ANIMATION

enum COTTAGE_ROOMS_B_BED_ANIMATION

The map's paused tileset animations that redraw the beds in Isaac's house: his own as he sleeps, gets up and has left it, on the stormy night, and Dora's sickbed with her in it and once she has got up, back from Kalay.

EnumeratorValueDescription
ISAACS_BED_ASLEEP_ANIMATION7
ISAACS_BED_GETTING_UP_ANIMATION8
ISAACS_BED_EMPTY_ANIMATION9
DORAS_SICKBED_IN_BED_ANIMATION11
DORAS_SICKBED_EMPTY_ANIMATION12

Definition at line 325 of file cottage_rooms_b.c.

Functions in detail

scCottageRoomsBDoraWakesIsaac

static void scCottageRoomsBDoraWakesIsaac(void)

In Isaac's bedroom on the stormy night that begins a new game, Dora wakes him because the Mt. Aleph Boulder is going to fall. She reaches his tunic with Catch, has him put it on, and leads him downstairs.

References CottageRoomsBDoraLeavesScript, CottageRoomsBIsaacLeavesScript, CottageRoomsBLeaveHouseScript, fdActorAddSpriteAnimation(), fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorStartRepeatedMotion(), fdActorSystemResumeProjectionAndHideLayers(), fdActorSystemSuspendProjectionAndShowSprites(), fdActorWaitForScriptEndById(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdMapGridCenterOnFollowedPoint(), fdMessageSetVoiceFromActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptFinishScreenTransition(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), fdTilesetAnimationPause(), fdTilesetAnimationResume(), fdWeatherLastLightning(), fdWeatherResumeLightning(), fdWeatherStartLightning(), gmFlagSet(), mnFieldMessageShowCentered(), scCottageRoomsBDemonstrateCatch(), scFieldScriptShowMessageThenWait(), Sint32, state, syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scInit().

Definition at lines 123 and 691 of file cottage_rooms_b.c.

scCottageRoomsBHurryToThePlaza

static void scCottageRoomsBHurryToThePlaza(void)

Downstairs in Isaac's house on the stormy night, Kyle comes in at the front door and calls to Isaac and Dora to hurry, the Boulder could fall at any second. He runs back out, the candle on the table flares up and goes out, and Isaac and Dora run out after him to take refuge in the plaza.

References CottageRoomsBDoraRunsAheadScript, CottageRoomsBDoraRunsBackScript, CottageRoomsBFlameRisesScript, CottageRoomsBFlameShakesScript, CottageRoomsBIsaacRunsAheadScript, CottageRoomsBIsaacRunsBackScript, CottageRoomsBRunToPlazaScript, fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorTurnToFaceEachOther(), fdActorWaitForScriptEndById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdBlendScriptSuspend(), fdCameraFollowActor(), fdCameraWaitForArrival(), fdMapGridCopyMetatilesTo(), fdScriptFinishScreenTransition(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), fdWeatherLastLightning(), fdWeatherStartLightning(), scCottageRoomsBSetBlendControl(), scCottageRoomsBSetBlendWeights(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().

Referenced by scInit().

Definition at lines 124 and 864 of file cottage_rooms_b.c.

scCottageRoomsBClearStoolAndJars

static void scCottageRoomsBClearStoolAndJars(void)

Takes a stool and two jars away from the floor west of the table on the ground floor of Isaac's house, metatiles (25, 25) to (26, 26), leaving bare boards that can be walked over. The map has them there for the stormy night, which is the only time they are seen. The boards are drawn from metatiles (22, 85) to (23, 86), the upper layer's (22, 25), and the ground from (25, 15).

References fdMapGridCopyMetatileAttributes() and fdMapGridCopyMetatilesTo().

Referenced by scInit().

Definition at lines 125 and 1265 of file cottage_rooms_b.c.

scCottageRoomsBShowMythrilBag

static void scCottageRoomsBShowMythrilBag(void)

In Vale, the Mythril Bag rises and wobbles before Kraden, with no text.

References CottageRoomsBMythrilBagRisesScript, CottageRoomsBMythrilBagWobblesScript, fdActorFaceDirection(), fdActorJump(), fdActorRelease(), fdActorStartScript(), fdActorWaitForScriptEnd(), fdActorWalkToAndWait(), fdCameraFollowActor(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), glyph, mnIconDrawItem(), scFieldActorCreate(), syHeapSlotAllocate(), syHeapSlotRelease(), syImportScriptSetExitRequest(), sySynch() and syVRAMCacheLoad().

Referenced by scInit().

Definition at lines 126 and 1272 of file cottage_rooms_b.c.

scCottageRoomsBSpawnRingPair

static void scCottageRoomsBSpawnRingPair(ACTOR *actor)

static void scCottageRoomsBSpawnRingPair(ACTOR *parent)

Gives off a pair of golden rings at an actor, moving opposite ways up and down through it, the second drawn underfoot.

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

Referenced by scCottageRoomsBCycleColorsAndSpawnRings() and scCottageRoomsBFlashWhiteAndSpawnRings().

Definition at lines 127 and 1359 of file cottage_rooms_b.c.

scCottageRoomsBDemonstrateCatch

static void scCottageRoomsBDemonstrateCatch(void)

Dora casts Catch on Isaac's tunic beside his bed.

References fdPsynergyEnd(), fdPsynergyLoadResources(), fdPsynergyRunHandler(), fdPsynergySetupActorPair(), fdPsynergyStartCast() and fdPsynergyStopCasterUpdate().

Referenced by scCottageRoomsBDoraWakesIsaac().

Definition at lines 128 and 1432 of file cottage_rooms_b.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

Returns the entrances, among them the scripts played on arrival.

References CottageRoomsBEntrances.

Definition at line 335 of file cottage_rooms_b.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 340 of file cottage_rooms_b.c.

scGetExits

const Uint32 *scGetExits(void)

On the stormy night the exits lead into the storm.

References CottageRoomsBExits, CottageRoomsBStormExits and gmFlagGet().

Definition at line 346 of file cottage_rooms_b.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

Places Babi's scholars, or Vale's villagers as the story has left them.

References CottageRoomsBActorPlacements, CottageRoomsBActorPlacementsAfterKalay, CottageRoomsBActorPlacementsAfterLeaving, CottageRoomsBBabiScholarsActorPlacements, fdAssignViewFlags(), gmFlagGet() and MainRoutineStateWork.

Definition at line 356 of file cottage_rooms_b.c.

scCottageRoomsBScholarAsksAboutKraden

static void scCottageRoomsBScholarAsksAboutKraden(Sint32 speakerId)

In Babi's Palace, one of Babi's scholars asks whether the party knows Kraden.

References fdScriptAskYesNoWithActorAnimation(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptWait() and Sint32.

Referenced by CottageRoomsBBabiScholarsLaterCues.

Definition at line 373 of file cottage_rooms_b.c.

scGetCues

const CUE *scGetCues(void)

Chooses the scripts for the room the party is in.

References CottageRoomsBBabiScholarsCues, CottageRoomsBBabiScholarsLaterCues, CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving, CottageRoomsBStormCues, gmFlagGet() and MainRoutineStateWork.

Definition at line 395 of file cottage_rooms_b.c.

scCottageRoomsBAskIsaacHisBusiness

static void scCottageRoomsBAskIsaacHisBusiness(void)

The masked man at the inn asks Isaac his business.

References fdActorSetAnimationAndWait(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorTurnToFaceEachOther(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart() and fdScriptWait().

Referenced by CottageRoomsBCues.

Definition at line 422 of file cottage_rooms_b.c.

scCottageRoomsBAskWhetherMaskedManWasFelix

static void scCottageRoomsBAskWhetherMaskedManWasFelix(void)

A young man asks whether the masked man was Felix.

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

Referenced by CottageRoomsBCuesAfterLeaving.

Definition at line 451 of file cottage_rooms_b.c.

scCottageRoomsBCloseScreenAndExit

static void scCottageRoomsBCloseScreenAndExit(Sint32 exitNumber)

Takes an exit by a doorway or the stairs, on the stormy night stopping the lightning first.

References fdScriptFinishScreenTransition(), fdScriptWaitTransitionTicks(), fdWeatherStopLightning(), gmFlagGet(), Sint32 and syImportScriptSetExitRequest().

Referenced by scCottageRoomsBExitToInnDownstairs(), scCottageRoomsBExitToInnUpstairs(), scCottageRoomsBExitToIsaacsHouseDownstairs(), scCottageRoomsBExitToIsaacsHouseUpstairs(), scCottageRoomsBExitToVale(), scCottageRoomsBExitToValeKradensCottageNorth(), scCottageRoomsBExitToValePlazaNortheast(), scCottageRoomsBExitToValePlazaNorthwest(), scCottageRoomsBExitToValePlazaWest(), scCottageRoomsBExitToValePrologueEast() and scCottageRoomsBExitToValePrologueWest().

Definition at line 479 of file cottage_rooms_b.c.

scCottageRoomsBExitToValePlazaNorthwest

static void scCottageRoomsBExitToValePlazaNorthwest(void)

Walking out of the forge, through the doorway at the south of the room, comes out at its door on the west edge of Vale's plaza (VALE_PLAZA_FROM_COTTAGE_ROOMS_B_WEST).

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 499 of file cottage_rooms_b.c.

scCottageRoomsBExitToValeKradensCottageNorth

static void scCottageRoomsBExitToValeKradensCottageNorth(void)

Walking out of Kraden's study, through the doorway at the south of the room, comes back out at the door of his cottage (VALE_KRADENS_COTTAGE_COTTAGE_ROOMS_B_NORTH).

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 508 of file cottage_rooms_b.c.

scCottageRoomsBExitToValePlazaNortheast

static void scCottageRoomsBExitToValePlazaNortheast(void)

Walking out of the second forge room, through the doorway at the south of the room, comes out at its doorway in the northeast of Vale's plaza (VALE_PLAZA_COTTAGE_ROOMS_B_NORTH).

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 518 of file cottage_rooms_b.c.

scCottageRoomsBExitToValePlazaWest

static void scCottageRoomsBExitToValePlazaWest(void)

Walking out of Vale's inn, through the doorway at the south of the room with the innkeeper's counter, comes out at the inn's door in the southeast of Vale's plaza (VALE_PLAZA_COTTAGE_ROOMS_B_SOUTH).

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 527 of file cottage_rooms_b.c.

scCottageRoomsBExitToInnUpstairs

static void scCottageRoomsBExitToInnUpstairs(void)

Climbing the stairs beside the counter of Vale's inn takes the party up to its guest room.

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 535 of file cottage_rooms_b.c.

scCottageRoomsBExitToVale

static void scCottageRoomsBExitToVale(void)

Walking out of Isaac's house by its front door, at the south of the ground floor, comes out in Vale before the house (VALE_FROM_COTTAGE_ROOMS_B). On the stormy night at the start of the game it comes out into the storm (VALE_PROLOGUE_FROM_COTTAGE_ROOMS_B_ISAACS_HOUSE).

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 545 of file cottage_rooms_b.c.

scCottageRoomsBExitToIsaacsHouseUpstairs

static void scCottageRoomsBExitToIsaacsHouseUpstairs(void)

Climbing the stairs of Isaac's house takes the party up to his bedroom.

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 552 of file cottage_rooms_b.c.

scCottageRoomsBExitToInnDownstairs

static void scCottageRoomsBExitToInnDownstairs(void)

Going down the stairs from the guest room of Vale's inn takes the party back to the innkeeper's counter.

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 560 of file cottage_rooms_b.c.

scCottageRoomsBExitToIsaacsHouseDownstairs

static void scCottageRoomsBExitToIsaacsHouseDownstairs(void)

Going down the stairs from Isaac's bedroom takes the party to the ground floor of his house.

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 568 of file cottage_rooms_b.c.

scCottageRoomsBExitToValePrologueWest

static void scCottageRoomsBExitToValePrologueWest(void)

On the stormy night, walking out of the house with two beds by its west door comes back out into the storm (VALE_PROLOGUE_COTTAGE_ROOMS_B_WEST).

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 577 of file cottage_rooms_b.c.

scCottageRoomsBExitToValePrologueEast

static void scCottageRoomsBExitToValePrologueEast(void)

On the stormy night, walking out of the house with two beds by its east door comes back out into the storm (VALE_PROLOGUE_COTTAGE_ROOMS_B_EAST).

References scCottageRoomsBCloseScreenAndExit() and sySoundPlay().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay, CottageRoomsBCuesAfterLeaving and CottageRoomsBStormCues.

Definition at line 585 of file cottage_rooms_b.c.

scInit

Sint32 scInit(void)

Sets up these rooms for the stormy night or the story's villagers.

References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdMapGridCenterOnFollowedPoint(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), fdTilesetAnimationResume(), fdWeatherLastLightning(), fdWeatherResumeLightning(), fdWeatherStartLightning(), gmFlagClear(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scCottageRoomsBClearStoolAndJars(), scCottageRoomsBDoraWakesIsaac(), scCottageRoomsBHurryToThePlaza(), scCottageRoomsBShowMythrilBag(), Sint32 and sySynch().

Definition at line 592 of file cottage_rooms_b.c.

scCottageRoomsBSetBlendControl

static inline void scCottageRoomsBSetBlendControl(Uint32 value)

Sets which layers the candle's glow blends, in Isaac's house on the stormy night.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at line 849 of file cottage_rooms_b.c.

scCottageRoomsBSetBlendWeights

static inline void scCottageRoomsBSetBlendWeights(Uint32 value)

Sets how strongly the candle's glow shows.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at line 855 of file cottage_rooms_b.c.

scCottageRoomsBTalkToInnkeeper

static void scCottageRoomsBTalkToInnkeeper(void)

Talking to Vale's innkeeper offers a room when Isaac faces her eastwards or northwards, from in front of her counter. Facing her southwards or westwards, from her own side of it, she talks instead: of the three strange travelers staying at the inn, later of the eruption they caused, and back from Kalay she welcomes Isaac home and asks why he would stay at an inn.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), gmFlagGet(), gmFlagSet() and mnInnCheckIn().

Referenced by CottageRoomsBCues, CottageRoomsBCuesAfterKalay and CottageRoomsBCuesAfterLeaving.

Definition at line 1005 of file cottage_rooms_b.c.

scCottageRoomsBRemarkIsaacHasGrown

static void scCottageRoomsBRemarkIsaacHasGrown(void)

Back from Kalay, the burly grey-haired man at Vale's inn remarks how much Isaac has grown. Talking to him plays it until the innkeeper has welcomed Isaac home, and Mind Read on him plays it instead of his thoughts until he has said it once.

References fdActorFaceActor(), fdActorFaceDirection(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and gmFlagSet().

Referenced by CottageRoomsBCuesAfterKalay.

Definition at line 1054 of file cottage_rooms_b.c.

scCottageRoomsBReadInnkeepersThoughts

static void scCottageRoomsBReadInnkeepersThoughts(void)

Mind Read on Vale's innkeeper, back from Kalay, hears her wonder whether Isaac has come to the inn because Dora would not let him stay at home.

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

Referenced by CottageRoomsBCuesAfterKalay.

Definition at line 1068 of file cottage_rooms_b.c.

scCottageRoomsBReadThoughtsAboutDorasIllness

static void scCottageRoomsBReadThoughtsAboutDorasIllness(void)

Mind Read on the burly grey-haired man at Vale's inn, back from Kalay, hears him wonder whether Isaac knows that Dora was struck with an illness.

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

Referenced by CottageRoomsBCuesAfterKalay.

Definition at line 1080 of file cottage_rooms_b.c.

scCottageRoomsBVisitSickDora

static void scCottageRoomsBVisitSickDora(void)

Back from Kalay, the first time Isaac talks to Dora in her sickbed at home, she takes him for the innkeeper, then scolds him for coming back before his quest is done. She insists she has only caught a cold, gets out of bed and hops about to show she is well, and sends him on his way.

Mind Read on her starts the same visit. When Mind Read on the innkeeper or the grey-haired man has told Isaac of her illness (FLAG_READ_THOUGHTS_ABOUT_DORA), she winces at each of his answers.

References fdActorFaceDirection(), fdActorGet(), fdActorJump(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetDestination(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkToAndWait(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptGetFlag(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), fdTilesetAnimationPause(), fdTilesetAnimationResume(), gmFlagGet(), gmFlagSet(), Sint32 and sySynch().

Referenced by CottageRoomsBCuesAfterKalay.

Definition at line 1098 of file cottage_rooms_b.c.

scCottageRoomsBTalkToDora

static void scCottageRoomsBTalkToDora(void)

Talking to Dora again after that visit: while she is still up she tells Isaac not to worry and to do his best to complete his quest, coughing. On any later visit home she is back in bed, murmuring "Kyle... Don't go...", and the narration says she is dreaming.

References CottageRoomsBDoraFacesIsaacScript, fdActorRunRepeatedMotion(), fdActorWatchAndStartScript(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagGet(), mnFieldMessageShow() and Sint32.

Referenced by CottageRoomsBCuesAfterKalay.

Definition at line 1230 of file cottage_rooms_b.c.

scCottageRoomsBFlashWhiteAndSpawnRings

static void scCottageRoomsBFlashWhiteAndSpawnRings(ACTOR *actor)

An actor's update function that flashes it white every other two ticks and gives off a pair of golden rings every sixteen ticks.

References fdActorSetColorMode(), scCottageRoomsBSpawnRingPair() and TickCount.

Definition at line 1321 of file cottage_rooms_b.c.

scCottageRoomsBCycleColorsAndSpawnRings

static void scCottageRoomsBCycleColorsAndSpawnRings(ACTOR *actor)

An actor's update function that cycles it through its own colors and the five swaps of red, green and blue (SPRITE_COLOR_NORMAL to SPRITE_COLOR_BRG), a step every other tick, and gives off a pair of golden rings every sixteen ticks.

References fdActorSetColorMode(), scCottageRoomsBSpawnRingPair() and TickCount.

Referenced by scCottageRoomsBCycleDorasColorsWithRings().

Definition at line 1341 of file cottage_rooms_b.c.

scCottageRoomsBCycleDorasColorsWithRings

static void scCottageRoomsBCycleDorasColorsWithRings(void)

Cycles Dora's colors and gives off pairs of golden rings.

References fdActorGet() and scCottageRoomsBCycleColorsAndSpawnRings().

Definition at line 1420 of file cottage_rooms_b.c.

scCottageRoomsBCycleTunicsColors

static void scCottageRoomsBCycleTunicsColors(void)

Cycles the tunic's colors, with no rings.

References fdActorGet() and scCycleColorModesOnOddTicks().

Definition at line 1426 of file cottage_rooms_b.c.

Variables in detail

CottageRoomsBLeaveHouseScript

extern Sint32 CottageRoomsBLeaveHouseScript[]

Sint32 CottageRoomsBLeaveHouseScript[]

Dora, then Isaac, walk across the bedroom towards the stairs.

References Sint32.

Referenced by scCottageRoomsBDoraWakesIsaac().

Definition at lines 96 and 1443 of file cottage_rooms_b.c.

CottageRoomsBDoraLeavesScript

extern Sint32 CottageRoomsBDoraLeavesScript[]

Sint32 CottageRoomsBDoraLeavesScript[]

Dora goes on to the stairs and off the stage.

References Sint32.

Referenced by scCottageRoomsBDoraWakesIsaac().

Definition at lines 97 and 1456 of file cottage_rooms_b.c.

CottageRoomsBIsaacLeavesScript

extern Sint32 CottageRoomsBIsaacLeavesScript[]

Sint32 CottageRoomsBIsaacLeavesScript[]

Isaac follows Dora to the stairs and off the stage.

References Sint32.

Referenced by scCottageRoomsBDoraWakesIsaac().

Definition at lines 98 and 1465 of file cottage_rooms_b.c.

CottageRoomsBDoraRunsAheadScript

extern Sint32 CottageRoomsBDoraRunsAheadScript[]

Sint32 CottageRoomsBDoraRunsAheadScript[]

Downstairs, Dora runs from the foot of the stairs into the room.

References Sint32.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at lines 99 and 1476 of file cottage_rooms_b.c.

CottageRoomsBIsaacRunsAheadScript

extern Sint32 CottageRoomsBIsaacRunsAheadScript[]

Sint32 CottageRoomsBIsaacRunsAheadScript[]

Isaac runs after Dora, stopping a step behind her.

References Sint32.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at lines 100 and 1487 of file cottage_rooms_b.c.

CottageRoomsBDoraRunsBackScript

extern Sint32 CottageRoomsBDoraRunsBackScript[]

Sint32 CottageRoomsBDoraRunsBackScript[]

As Kyle runs back out, Dora runs across the room towards the front door.

References Sint32.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at lines 101 and 1500 of file cottage_rooms_b.c.

CottageRoomsBIsaacRunsBackScript

extern Sint32 CottageRoomsBIsaacRunsBackScript[]

Sint32 CottageRoomsBIsaacRunsBackScript[]

Isaac runs after Dora, stopping beside her.

References Sint32.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at lines 102 and 1513 of file cottage_rooms_b.c.

CottageRoomsBRunToPlazaScript

extern Sint32 CottageRoomsBRunToPlazaScript[]

Sint32 CottageRoomsBRunToPlazaScript[]

Dora and Isaac run out of the front door and down the path towards the plaza.

References Sint32.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at lines 103 and 1526 of file cottage_rooms_b.c.

CottageRoomsBFlameShakesScript

extern Sint32 CottageRoomsBFlameShakesScript[]

Sint32 CottageRoomsBFlameShakesScript[]

The candle flame flickers, squeezed and let out every four ticks.

References Sint32.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at lines 104 and 1538 of file cottage_rooms_b.c.

CottageRoomsBFlameRisesScript

extern Sint32 CottageRoomsBFlameRisesScript[]

Sint32 CottageRoomsBFlameRisesScript[]

The candle flame flares up, then turns to smoke that rises 18 pixels as it shrinks away.

References Sint32.

Referenced by scCottageRoomsBHurryToThePlaza().

Definition at lines 105 and 1550 of file cottage_rooms_b.c.

CottageRoomsBDoraFacesIsaacScript

extern Sint32 CottageRoomsBDoraFacesIsaacScript[]

Sint32 CottageRoomsBDoraFacesIsaacScript[]

Keeps Dora turned toward Isaac. Nothing reaches the two moves after the endless loop, which lead from Isaac's bed to where he stands beside it in scCottageRoomsBDoraWakesIsaac.

References scTurnTowardTarget() and Sint32.

Referenced by scCottageRoomsBTalkToDora().

Definition at lines 106 and 1586 of file cottage_rooms_b.c.

CottageRoomsBMythrilBagRisesScript

extern Sint32 CottageRoomsBMythrilBagRisesScript[]

Sint32 CottageRoomsBMythrilBagRisesScript[]

The Mythril Bag rises 8 pixels over 16 ticks.

References Sint32.

Referenced by scCottageRoomsBShowMythrilBag().

Definition at lines 107 and 1597 of file cottage_rooms_b.c.

CottageRoomsBMythrilBagWobblesScript

extern Sint32 CottageRoomsBMythrilBagWobblesScript[]

Sint32 CottageRoomsBMythrilBagWobblesScript[]

The Mythril Bag squashes and springs back twice.

References Sint32.

Referenced by scCottageRoomsBShowMythrilBag().

Definition at lines 108 and 1604 of file cottage_rooms_b.c.

CottageRoomsBEntrances

extern SCENE_ENTRANCE CottageRoomsBEntrances[]

SCENE_ENTRANCE CottageRoomsBEntrances[]

Referenced by scGetEntrances().

Definition at lines 109 and 1632 of file cottage_rooms_b.c.

CottageRoomsBExits

extern Uint32 CottageRoomsBExits[]

Uint32 CottageRoomsBExits[]

Referenced by scGetExits().

Definition at lines 110 and 1764 of file cottage_rooms_b.c.

CottageRoomsBStormExits

extern Uint32 CottageRoomsBStormExits[]

Uint32 CottageRoomsBStormExits[]

Referenced by scGetExits().

Definition at lines 111 and 1811 of file cottage_rooms_b.c.

CottageRoomsBActorPlacements

extern ACTOR_PLACE CottageRoomsBActorPlacements[]

ACTOR_PLACE CottageRoomsBActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 112 and 1856 of file cottage_rooms_b.c.

CottageRoomsBActorPlacementsAfterLeaving

extern ACTOR_PLACE CottageRoomsBActorPlacementsAfterLeaving[]

ACTOR_PLACE CottageRoomsBActorPlacementsAfterLeaving[]

Referenced by scGetActorPlacements().

Definition at lines 113 and 1882 of file cottage_rooms_b.c.

CottageRoomsBActorPlacementsAfterKalay

extern ACTOR_PLACE CottageRoomsBActorPlacementsAfterKalay[]

ACTOR_PLACE CottageRoomsBActorPlacementsAfterKalay[]

Referenced by scGetActorPlacements().

Definition at lines 114 and 1902 of file cottage_rooms_b.c.

CottageRoomsBBabiScholarsActorPlacements

extern ACTOR_PLACE CottageRoomsBBabiScholarsActorPlacements[]

ACTOR_PLACE CottageRoomsBBabiScholarsActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 115 and 1926 of file cottage_rooms_b.c.

CottageRoomsBStormCues

extern CUE CottageRoomsBStormCues[]

CUE CottageRoomsBStormCues[]

References scCottageRoomsBExitToInnDownstairs(), scCottageRoomsBExitToInnUpstairs(), scCottageRoomsBExitToIsaacsHouseDownstairs(), scCottageRoomsBExitToIsaacsHouseUpstairs(), scCottageRoomsBExitToVale(), scCottageRoomsBExitToValeKradensCottageNorth(), scCottageRoomsBExitToValePlazaNortheast(), scCottageRoomsBExitToValePlazaNorthwest(), scCottageRoomsBExitToValePlazaWest(), scCottageRoomsBExitToValePrologueEast() and scCottageRoomsBExitToValePrologueWest().

Referenced by scGetCues().

Definition at lines 116 and 1940 of file cottage_rooms_b.c.

CottageRoomsBCues

extern CUE CottageRoomsBCues[]

CUE CottageRoomsBCues[]

References scCottageRoomsBAskIsaacHisBusiness(), scCottageRoomsBExitToInnDownstairs(), scCottageRoomsBExitToInnUpstairs(), scCottageRoomsBExitToIsaacsHouseDownstairs(), scCottageRoomsBExitToIsaacsHouseUpstairs(), scCottageRoomsBExitToVale(), scCottageRoomsBExitToValeKradensCottageNorth(), scCottageRoomsBExitToValePlazaNortheast(), scCottageRoomsBExitToValePlazaNorthwest(), scCottageRoomsBExitToValePlazaWest(), scCottageRoomsBExitToValePrologueEast(), scCottageRoomsBExitToValePrologueWest() and scCottageRoomsBTalkToInnkeeper().

Referenced by scGetCues().

Definition at lines 117 and 1988 of file cottage_rooms_b.c.

CottageRoomsBCuesAfterLeaving

extern CUE CottageRoomsBCuesAfterLeaving[]

CUE CottageRoomsBCuesAfterLeaving[]

References scCottageRoomsBAskWhetherMaskedManWasFelix(), scCottageRoomsBExitToInnDownstairs(), scCottageRoomsBExitToInnUpstairs(), scCottageRoomsBExitToIsaacsHouseDownstairs(), scCottageRoomsBExitToIsaacsHouseUpstairs(), scCottageRoomsBExitToVale(), scCottageRoomsBExitToValeKradensCottageNorth(), scCottageRoomsBExitToValePlazaNortheast(), scCottageRoomsBExitToValePlazaNorthwest(), scCottageRoomsBExitToValePlazaWest(), scCottageRoomsBExitToValePrologueEast(), scCottageRoomsBExitToValePrologueWest() and scCottageRoomsBTalkToInnkeeper().

Referenced by scGetCues().

Definition at lines 118 and 2043 of file cottage_rooms_b.c.

CottageRoomsBCuesAfterKalay

extern CUE CottageRoomsBCuesAfterKalay[]

CUE CottageRoomsBCuesAfterKalay[]

References scCottageRoomsBExitToInnDownstairs(), scCottageRoomsBExitToInnUpstairs(), scCottageRoomsBExitToIsaacsHouseDownstairs(), scCottageRoomsBExitToIsaacsHouseUpstairs(), scCottageRoomsBExitToVale(), scCottageRoomsBExitToValeKradensCottageNorth(), scCottageRoomsBExitToValePlazaNortheast(), scCottageRoomsBExitToValePlazaNorthwest(), scCottageRoomsBExitToValePlazaWest(), scCottageRoomsBExitToValePrologueEast(), scCottageRoomsBExitToValePrologueWest(), scCottageRoomsBReadInnkeepersThoughts(), scCottageRoomsBReadThoughtsAboutDorasIllness(), scCottageRoomsBRemarkIsaacHasGrown(), scCottageRoomsBTalkToDora(), scCottageRoomsBTalkToInnkeeper() and scCottageRoomsBVisitSickDora().

Referenced by scGetCues().

Definition at lines 119 and 2107 of file cottage_rooms_b.c.

CottageRoomsBBabiScholarsCues

extern CUE CottageRoomsBBabiScholarsCues[]

CUE CottageRoomsBBabiScholarsCues[]

Referenced by scGetCues().

Definition at lines 120 and 2197 of file cottage_rooms_b.c.

CottageRoomsBBabiScholarsLaterCues

extern CUE CottageRoomsBBabiScholarsLaterCues[]

CUE CottageRoomsBBabiScholarsLaterCues[]

References scCottageRoomsBScholarAsksAboutKraden().

Referenced by scGetCues().

Definition at lines 121 and 2229 of file cottage_rooms_b.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_VALE_DORA_OUT_OF_BEDINN_ID_VALECOTTAGE_ROOMS_B_ISAACS_BEDSIDE_RESTARTCOTTAGE_ROOMS_B_UNUSED_BEDSIDE_ENTRANCEEnumerations in detailFLAME_AND_SMOKE_ANIMATIONCOTTAGE_ROOMS_B_METATILE_BEHAVIORCOTTAGE_ROOMS_B_SCHOLARS_METATILE_BEHAVIORCOTTAGE_ROOMS_B_ACTOR_IDCOTTAGE_ROOMS_B_AFTER_KALAY_ACTOR_IDCOTTAGE_ROOMS_B_BABI_SCHOLAR_ACTOR_IDCOTTAGE_ROOMS_B_AREA_FLAGCOTTAGE_ROOMS_B_BED_ANIMATIONFunctions in detailscCottageRoomsBDoraWakesIsaacscCottageRoomsBHurryToThePlazascCottageRoomsBClearStoolAndJarsscCottageRoomsBShowMythrilBagscCottageRoomsBSpawnRingPairscCottageRoomsBDemonstrateCatchscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscCottageRoomsBScholarAsksAboutKradenscGetCuesscCottageRoomsBAskIsaacHisBusinessscCottageRoomsBAskWhetherMaskedManWasFelixscCottageRoomsBCloseScreenAndExitscCottageRoomsBExitToValePlazaNorthwestscCottageRoomsBExitToValeKradensCottageNorthscCottageRoomsBExitToValePlazaNortheastscCottageRoomsBExitToValePlazaWestscCottageRoomsBExitToInnUpstairsscCottageRoomsBExitToValescCottageRoomsBExitToIsaacsHouseUpstairsscCottageRoomsBExitToInnDownstairsscCottageRoomsBExitToIsaacsHouseDownstairsscCottageRoomsBExitToValePrologueWestscCottageRoomsBExitToValePrologueEastscInitscCottageRoomsBSetBlendControlscCottageRoomsBSetBlendWeightsscCottageRoomsBTalkToInnkeeperscCottageRoomsBRemarkIsaacHasGrownscCottageRoomsBReadInnkeepersThoughtsscCottageRoomsBReadThoughtsAboutDorasIllnessscCottageRoomsBVisitSickDorascCottageRoomsBTalkToDorascCottageRoomsBFlashWhiteAndSpawnRingsscCottageRoomsBCycleColorsAndSpawnRingsscCottageRoomsBCycleDorasColorsWithRingsscCottageRoomsBCycleTunicsColorsVariables in detailCottageRoomsBLeaveHouseScriptCottageRoomsBDoraLeavesScriptCottageRoomsBIsaacLeavesScriptCottageRoomsBDoraRunsAheadScriptCottageRoomsBIsaacRunsAheadScriptCottageRoomsBDoraRunsBackScriptCottageRoomsBIsaacRunsBackScriptCottageRoomsBRunToPlazaScriptCottageRoomsBFlameShakesScriptCottageRoomsBFlameRisesScriptCottageRoomsBDoraFacesIsaacScriptCottageRoomsBMythrilBagRisesScriptCottageRoomsBMythrilBagWobblesScriptCottageRoomsBEntrancesCottageRoomsBExitsCottageRoomsBStormExitsCottageRoomsBActorPlacementsCottageRoomsBActorPlacementsAfterLeavingCottageRoomsBActorPlacementsAfterKalayCottageRoomsBBabiScholarsActorPlacementsCottageRoomsBStormCuesCottageRoomsBCuesCottageRoomsBCuesAfterLeavingCottageRoomsBCuesAfterKalayCottageRoomsBBabiScholarsCuesCottageRoomsBBabiScholarsLaterCues