Skip to Content
The Alchemy Project

src/scene/stucco_rooms_b.c

Stucco rooms B (SceneIdStuccoRoomsB) is a rooms map drawn in stucco holding Tolbi's houses, its weapon and armor shop, its inn and the Tolbi Sanctum, each entered by its own door in the town (tolbi.c) and left by the exit of the same name. More…

Macros

NameDescription
#defineFLAG_STUCCO_ROOMS_B_PASSENGERS_SEEN FLAG_AREA_TEMP(0x00)Set once the stranded passengers' argument has played.
#defineSTUCCO_ROOMS_B_INN_CAMERA_MAX_ZHow far the camera goes in the inn's basement passage and its guest rooms: the southern pair lie east of the passage on the map, the northern pair south of it.
#defineSTUCCO_ROOMS_B_EAST_ROOM_CAMERA_MAX_X
#defineSTUCCO_ROOMS_B_SOUTH_ROOM_CAMERA_MAX_Z

Enumerations

NameDescription
enumSTUCCO_ROOMS_B_ACTOR_ID { ACTOR_STUCCO_ROOMS_B_MAKESHIFT_INNKEEPER, ACTOR_STUCCO_ROOMS … }The placed actors, numbering the rows of the actor placement table from ACTOR_FIRST_PLACED.
enumSTUCCO_ROOMS_B_METATILE_BEHAVIOR { METATILE_BEHAVIOR_STUCCO_ROOMS_B_FIRST_DOOR, METATILE_BEHAVI … }The metatile behaviors the rooms' coord and examine cues answer: the things the party can search, and the four wooden doors of the inn's basement.
enumanonymous enum { STUCCO_ROOMS_B_WEAPON_SHOP, STUCCO_ROOMS_B_ARMOR_SHOP, STUCC … }Tolbi's shops, as mnShopRun numbers their stock.

Functions

NameDescription
static inline voidscStuccoRoomsBAskYesNo (Sint32 question, Sint32 speaker)Asks a yes/no question, then answers with the message after the question for yes or the one after that for no.
const SCENE_ENTRANCE *scGetEntrances (void)The six rooms share one entrance table.
const SCENE_EXIT_REGION *scGetExitRegions (void)The scene has no exit regions: its regions entry returns none.
const Uint32 *scGetExits (void)Both scenes share one exit table.
const ACTOR_PLACE *scGetActorPlacements (void)After Colosso the rooms hold a different crowd.
static voidscStuccoRoomsBAskWhetherBabiWasMissing (Sint32 speaker)On finals day, in the Spanish and Italian editions, the strongman in the storeroom of hay bales and barrels asks Isaac whether Babi's disappearance was a misunderstanding, now that Babi has shown himself at the finals.
const CUE *scGetCues (void)The first water beast's cave changes its cues once the first drain has lowered its water: the beast is gone and its two puddles can be frozen.
static voidscStuccoRoomsBExitThroughWindow (void)Unused: leaves the scene through a 24-tick window transition.
static voidscStuccoRoomsBEnterDoor (void)Isaac walks north into one of the four wooden doors of Tolbi's inn basement, down the stairs from the inn, and it opens as he walks through: the two in the north wall of the passage (metatiles (24, 42) and (33, 42)), into the guest rooms north of it, or the door in the north wall of either guest room behind the passage's south doorways (metatiles (50, 41) and (52, 51)), back out to the passage.
static voidscStuccoRoomsBWatchWomanHideMedal (void)The first time the party enters the guest room behind the north-east door of the inn's basement after Colosso, a woman with fair hair finds something sparkling on the floor, starts at the sight of them, and hides it behind the trash pile.
static voidscStuccoRoomsBWatchPassengersArgue (void)The first time the party enters the lower right guest room of the inn's basement after Colosso, through the passage's south-east doorway (metatile (33, 46)), three stranded passengers argue that the captain won't sail the ship, though they agreed to do whatever it takes.
Sint32scInit (void)After Colosso, sets the stranded passengers and the woman who hid the medal where they now stand, and plays each guest room's short scene the first time the party walks in.
static voidscStuccoRoomsBTalkToItemMerchant (Sint32 speaker)In Tolbi, the item merchant sells or chats, by where the leader stands.
static voidscStuccoRoomsBTalkToWeaponMerchant (Sint32 speaker)In Tolbi, the weapon merchant sells or chats, by where the leader stands.
static voidscStuccoRoomsBTalkToArmorMerchant (Sint32 speaker)In Tolbi, the armor merchant sells or chats, by where the leader stands.
static voidscStuccoRoomsBTalkToChef (Sint32 speaker)In Tolbi, the chef asks whether the party watched Colosso, which he missed.
static voidscStuccoRoomsBTalkToWaitress (Sint32 speaker)In Tolbi after Colosso, the waitress grumbles about the chef's bad mood.
static voidscStuccoRoomsBTalkToHost (Sint32 speaker)During the festival a woman with fair hair asks Isaac whether he wants to stay with them, then admits the house is already full.
static voidscStuccoRoomsBTalkToMedalWoman (Sint32 speaker)Isaac talks to the woman who hid the Lucky Medal in the upper right guest room of the inn's basement.
static voidscStuccoRoomsBReadMedalWomanMind (void)Isaac reads the medal woman's mind: she just hid the thing she found behind the trash pile, and nobody will ever know.
static voidscStuccoRoomsBTalkToAngryPassenger (Sint32 speaker)In Tolbi after Colosso, the angry passenger complains the ships won't sail.
static voidscStuccoRoomsBTalkToFellowPassenger (Sint32 speaker)A man who rode the ship from Kalay with the party greets Isaac, "Hey!
static voidscStuccoRoomsBTalkToHealer (Sint32 speaker)In Tolbi Sanctum, the healer heals or chats, by where the leader stands.

Variables

NameDescription
extern SCENE_ENTRANCEStuccoRoomsBEntrances []
extern Uint32StuccoRoomsBExits []
extern ACTOR_PLACEStuccoRoomsBActorPlacements []
extern ACTOR_PLACEStuccoRoomsBActorPlacementsAfterColosso []
extern CUEStuccoRoomsBCuesFestival []
extern CUEStuccoRoomsBCuesFinalsDay []
extern CUEStuccoRoomsBCuesAfterColosso []
extern MAP_EDITStuccoRoomsBDoors []
Sint32StuccoRoomsBSquashStretch []The waitress fuming after Colosso: she squashes and stretches twice, then rests 40 ticks.
Uint16StuccoRoomsBDoorOpening []A wooden door of the inn's basement opening, and where each is drawn: its two metatiles on map layer 2, whose rows begin at the map's row 60, over the door's step metatile, in the order of the exits the doors' metatiles carry.

Description

Stucco rooms B (SceneIdStuccoRoomsB) is a rooms map drawn in stucco holding Tolbi's houses, its weapon and armor shop, its inn and the Tolbi Sanctum, each entered by its own door in the town (tolbi.c) and left by the exit of the same name. A defeat while Iodem waits at Gondowan Passage returns the party to the Sanctum's north end (STUCCO_ROOMS_B_SANCTUM_NORTH).

The shopkeepers and the Sanctum's healer serve the party across their counters. The inn is full, "Inn Full / No Vacancies", and during the festival one household lines up beds and becomes a makeshift inn while visitors have rented another house. Stairs lead down from the inn to its basement, a passage with two wooden doors in its north wall and two doorways in its south wall, each into a guest room.

The rooms' talk follows Colosso in the same three stages as the town, each with its own cue table, and after Colosso a crowd of its own:

  • During the festival Babi is missing and the town is full of visitors, among them a tour group from Kalay that reserved only two rooms.
  • On finals day (FLAG_BABI_SAVED) Babi has shown himself at the finals. The Spanish and Italian editions add a question about it.
  • After Colosso (FLAG_COLOSSO_OVER) no ship sails the Karagol and the visitors are stranded.

After Colosso each of two guest rooms plays a short scene the first time the party walks in. In the one behind the passage's north-east door a woman finds something on the floor, starts at the sight of the party and hides it behind the trash pile. It is a Lucky Medal, which the party can then take from that barrel; she greets them afterwards, startled, and Mind Read hears her hope its owner will not ask for it back. In the one behind the south-east doorway, stranded passengers argue that the captain will not sail although they agreed to do whatever it takes.

A man who rode the ship from Kalay with the party greets it as "the would-be warrior". He and ACTOR_STUCCO_ROOMS_B_COLOSSO_FAN leave once the party has watched the passengers confront the tour guide on the Tolbi docks (FLAG_TOLBI_DOCKS_TOUR_GROUP_BLAMED).

Barrels hold a Vial and a Lucky Medal, and searching the ovens shows what is cooking.

Macros in detail

FLAG_STUCCO_ROOMS_B_PASSENGERS_SEEN

#define FLAG_STUCCO_ROOMS_B_PASSENGERS_SEEN FLAG_AREA_TEMP(0x00)

Set once the stranded passengers' argument has played. It is an area flag, cleared when the party enters another area, so the argument plays again on a later visit to Tolbi.

Referenced by scInit().

Definition at line 188 of file stucco_rooms_b.c.

STUCCO_ROOMS_B_INN_CAMERA_MAX_Z

#define STUCCO_ROOMS_B_INN_CAMERA_MAX_Z

How far the camera goes in the inn's basement passage and its guest rooms: the southern pair lie east of the passage on the map, the northern pair south of it. In every edition but the Japanese it goes 8 pixels further; in the Japanese edition those last 8 pixels stay off screen, cutting off the passage's south doorways, the southern rooms' east walls and the northern rooms' doors.

Referenced by StuccoRoomsBEntrances.

Definition at line 196 of file stucco_rooms_b.c.

STUCCO_ROOMS_B_EAST_ROOM_CAMERA_MAX_X

#define STUCCO_ROOMS_B_EAST_ROOM_CAMERA_MAX_X

Referenced by StuccoRoomsBEntrances.

Definition at line 198 of file stucco_rooms_b.c.

STUCCO_ROOMS_B_SOUTH_ROOM_CAMERA_MAX_Z

#define STUCCO_ROOMS_B_SOUTH_ROOM_CAMERA_MAX_Z

Referenced by StuccoRoomsBEntrances.

Definition at line 200 of file stucco_rooms_b.c.

Enumerations in detail

STUCCO_ROOMS_B_ACTOR_ID

enum STUCCO_ROOMS_B_ACTOR_ID

The placed actors, numbering the rows of the actor placement table from ACTOR_FIRST_PLACED. Both tables hold the same people in the same order up to the healer, except that after Colosso (StuccoRoomsBActorPlacementsAfterColosso) two others stand in the rows of ACTOR_STUCCO_ROOMS_B_SLEEPLESS_GUEST and ACTOR_STUCCO_ROOMS_B_CROWD_SICK_GUEST, and six more rows follow the healer.

EnumeratorValueDescription
ACTOR_STUCCO_ROOMS_B_MAKESHIFT_INNKEEPERACTOR_FIRST_PLACEDA young man with brown hair (SPRITE_YOUNG_MAN_WITH_BROWN_HAIR) who runs a makeshift inn during the festival.
ACTOR_STUCCO_ROOMS_B_HOSTA woman with fair hair (SPRITE_WOMAN_WITH_FAIR_HAIR) who offers a stay.
ACTOR_STUCCO_ROOMS_B_SLEEPLESS_GUESTA strongman (SPRITE_STRONGMAN), during the festival.
ACTOR_STUCCO_ROOMS_B_CROWD_SICK_GUESTA stout man (SPRITE_STOUT_MAN), during the festival.
ACTOR_STUCCO_ROOMS_B_HOUSE_TENANTAn old woman (SPRITE_OLD_WOMAN); on finals day, "I'm stuck housesitting!"
ACTOR_STUCCO_ROOMS_B_FINALS_WATCHERA burly grey-haired man (SPRITE_BURLY_MAN_WITH_GREY_HAIR).
ACTOR_STUCCO_ROOMS_B_CRYING_BOYA small boy with fair hair (SPRITE_BOY_WITH_FAIR_HAIR).
ACTOR_STUCCO_ROOMS_B_SOLDIER_WATCHERA strongman (SPRITE_STRONGMAN). "I wonder if they really can't find Babi..."
ACTOR_STUCCO_ROOMS_B_BABI_SKEPTICA strongman (SPRITE_STRONGMAN). "Babi wasn't at Colosso according to all the spectators..."
ACTOR_STUCCO_ROOMS_B_MERCHANTA stout man (SPRITE_STOUT_MAN).
ACTOR_STUCCO_ROOMS_B_TRAVELING_MERCHANTA stout man (SPRITE_STOUT_MAN), after Colosso.
ACTOR_STUCCO_ROOMS_B_WEAPON_MERCHANTA bald man in red
ACTOR_STUCCO_ROOMS_B_ARMOR_MERCHANT(SPRITE_BALD_MAN_IN_RED) behind the weapon shop's counter (scStuccoRoomsBTalkToWeaponMerchant). A young man in green (SPRITE_YOUNG_MAN_IN_GREEN) behind the armor shop's counter (scStuccoRoomsBTalkToArmorMerchant).
ACTOR_STUCCO_ROOMS_B_ITEM_MERCHANTA young woman with a ponytail (SPRITE_WOMAN_WITH_PONYTAIL) behind the item shop's counter (scStuccoRoomsBTalkToItemMerchant).
ACTOR_STUCCO_ROOMS_B_INN_MASTERThe inn's master, a man with dark hair (SPRITE_MAN_WITH_DARK_HAIR). His own thought: "I'm the one who really wants to skip work to watch the finals!"
ACTOR_STUCCO_ROOMS_B_INN_LADYThe inn's lady, a woman in a pink apron (SPRITE_WOMAN_IN_PINK_APRON). "This year I'm not letting anyone skip work for Colosso!"
ACTOR_STUCCO_ROOMS_B_INN_WORKERA young man with brown hair (SPRITE_YOUNG_MAN_WITH_BROWN_HAIR).
ACTOR_STUCCO_ROOMS_B_MEDAL_WOMANA woman with fair hair (SPRITE_WOMAN_WITH_FAIR_HAIR) who, after Colosso, hides the Lucky Medal she found behind the trash pile (FLAG_STUCCO_ROOMS_B_MEDAL_HIDDEN).
ACTOR_STUCCO_ROOMS_B_CHEFThe inn's cook (SPRITE_CHEF).
ACTOR_STUCCO_ROOMS_B_WAITRESSA young woman in green (SPRITE_YOUNG_WOMAN_IN_GREEN) waiting at the tables.
ACTOR_STUCCO_ROOMS_B_LATE_ENTRANTA young man with blue hair (SPRITE_YOUNG_MAN_WITH_BLUE_HAIR).
ACTOR_STUCCO_ROOMS_B_SECOND_LATE_ENTRANTA young man with red hair (SPRITE_YOUNG_MAN_WITH_RED_HAIR).
ACTOR_STUCCO_ROOMS_B_HEALERTolbi Sanctum's healer, a man in a tall hat (SPRITE_MAN_IN_TALL_HAT), who opens the sanctum across his counter (scStuccoRoomsBTalkToHealer).
ACTOR_STUCCO_ROOMS_B_ANGRY_PASSENGERAfter Colosso, passengers stranded at an inn because no ship sails: the angry one, a man carrying a pack (SPRITE_MAN_CARRYING_A_PACK), his wife, an old woman (SPRITE_OLD_WOMAN), and a third, a woman in a green dress (SPRITE_WOMAN_IN_GREEN_DRESS).
ACTOR_STUCCO_ROOMS_B_PASSENGER_WIFE
ACTOR_STUCCO_ROOMS_B_THIRD_PASSENGER
ACTOR_STUCCO_ROOMS_B_BORED_BOYA small boy with fair hair (SPRITE_BOY_WITH_FAIR_HAIR), after Colosso.
ACTOR_STUCCO_ROOMS_B_FELLOW_PASSENGERAfter Colosso, a young man with brown hair (SPRITE_YOUNG_MAN_WITH_BROWN_HAIR) who rode the ship from Kalay with the party.
ACTOR_STUCCO_ROOMS_B_COLOSSO_FANA woman with fair hair
ACTOR_STUCCO_ROOMS_B_STRANDED_TRAVELERACTOR_STUCCO_ROOMS_B_SLEEPLESS_GUEST(SPRITE_WOMAN_WITH_FAIR_HAIR), after Colosso. A burly grey-haired man (SPRITE_BURLY_MAN_WITH_GREY_HAIR), after Colosso, in ACTOR_STUCCO_ROOMS_B_SLEEPLESS_GUEST's row.
ACTOR_STUCCO_ROOMS_B_CAVE_RUMOR_GUESTACTOR_STUCCO_ROOMS_B_CROWD_SICK_GUESTA woman in a green dress (SPRITE_WOMAN_IN_GREEN_DRESS), after Colosso, in ACTOR_STUCCO_ROOMS_B_CROWD_SICK_GUEST's row. "The tourists are all in a fix, because the ships aren't sailing."

Definition at line 64 of file stucco_rooms_b.c.

STUCCO_ROOMS_B_METATILE_BEHAVIOR

enum STUCCO_ROOMS_B_METATILE_BEHAVIOR

The metatile behaviors the rooms' coord and examine cues answer: the things the party can search, and the four wooden doors of the inn's basement. A door's metatile carries the number of the exit it leaves by, from STUCCO_ROOMS_B_INN_PASSAGE_GUEST_ROOM_NORTHWEST to STUCCO_ROOMS_B_GUEST_ROOM_SOUTHWEST_INN_PASSAGE, so the cue rows name the exits, and StuccoRoomsBDoors lists the doors in that order.

EnumeratorValueDescription
METATILE_BEHAVIOR_STUCCO_ROOMS_B_FIRST_DOORSTUCCO_ROOMS_B_INN_PASSAGE_GUEST_ROOM_NORTHWEST
METATILE_BEHAVIOR_STUCCO_ROOMS_B_INN_SIGN40
METATILE_BEHAVIOR_STUCCO_ROOMS_B_VIAL_BARREL100
METATILE_BEHAVIOR_STUCCO_ROOMS_B_MEDAL_BARREL101
METATILE_BEHAVIOR_STUCCO_ROOMS_B_HIDDEN_MEDAL_BARREL102where the woman hid her find
METATILE_BEHAVIOR_STUCCO_ROOMS_B_PIZZA_OVEN200
METATILE_BEHAVIOR_STUCCO_ROOMS_B_PASTA_OVEN201
METATILE_BEHAVIOR_STUCCO_ROOMS_B_SEAFOOD_PASTA_OVEN202

Definition at line 171 of file stucco_rooms_b.c.

anonymous enum

enum { STUCCO_ROOMS_B_WEAPON_SHOP, STUCCO_ROOMS_B_ARMOR_SHOP, STUCCO_ROOMS_B_ITEM_SHOP }

Tolbi's shops, as mnShopRun numbers their stock.

EnumeratorValueDescription
STUCCO_ROOMS_B_WEAPON_SHOP26
STUCCO_ROOMS_B_ARMOR_SHOP27
STUCCO_ROOMS_B_ITEM_SHOP28

Definition at line 204 of file stucco_rooms_b.c.

Functions in detail

scStuccoRoomsBAskYesNo

static inline void scStuccoRoomsBAskYesNo(Sint32 question, Sint32 speaker)

Asks a yes/no question, then answers with the message after the question for yes or the one after that for no.

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

Referenced by scStuccoRoomsBAskWhetherBabiWasMissing(), scStuccoRoomsBTalkToChef(), scStuccoRoomsBTalkToFellowPassenger(), scStuccoRoomsBTalkToHost(), scStuccoRoomsBTalkToItemMerchant(), scStuccoRoomsBTalkToMedalWoman() and scStuccoRoomsBTalkToWeaponMerchant().

Definition at line 213 of file stucco_rooms_b.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References StuccoRoomsBEntrances.

Definition at line 229 of file stucco_rooms_b.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 234 of file stucco_rooms_b.c.

scGetExits

const Uint32 *scGetExits(void)

References StuccoRoomsBExits.

Definition at line 239 of file stucco_rooms_b.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

After Colosso the rooms hold a different crowd.

References gmFlagGet(), StuccoRoomsBActorPlacements and StuccoRoomsBActorPlacementsAfterColosso.

Definition at line 245 of file stucco_rooms_b.c.

scStuccoRoomsBAskWhetherBabiWasMissing

static void scStuccoRoomsBAskWhetherBabiWasMissing(Sint32 speaker)

On finals day, in the Spanish and Italian editions, the strongman in the storeroom of hay bales and barrels asks Isaac whether Babi's disappearance was a misunderstanding, now that Babi has shown himself at the finals. Yes: it must have been, since he is at the Colosseum now. No: so they found him in time for the finals? Ridiculous!

The other editions skip the question and keep only the yes answer, "Well, I guess so, since he's in the colosseum now."

References scStuccoRoomsBAskYesNo() and Sint32.

Referenced by StuccoRoomsBCuesFinalsDay.

Definition at line 263 of file stucco_rooms_b.c.

scGetCues

const CUE *scGetCues(void)

References gmFlagGet(), StuccoRoomsBCuesAfterColosso, StuccoRoomsBCuesFestival and StuccoRoomsBCuesFinalsDay.

Definition at line 269 of file stucco_rooms_b.c.

scStuccoRoomsBExitThroughWindow

static void scStuccoRoomsBExitThroughWindow(void)

Unused: leaves the scene through a 24-tick window transition. No cue runs it.

References state and syImportScriptSetExitRequest().

Definition at line 283 of file stucco_rooms_b.c.

scStuccoRoomsBEnterDoor

static void scStuccoRoomsBEnterDoor(void)

Isaac walks north into one of the four wooden doors of Tolbi's inn basement, down the stairs from the inn, and it opens as he walks through: the two in the north wall of the passage (metatiles (24, 42) and (33, 42)), into the guest rooms north of it, or the door in the north wall of either guest room behind the passage's south doorways (metatiles (50, 41) and (52, 51)), back out to the passage.

References fdActorGet(), fdActorSetAnimation(), fdMapGridAnimateMetatiles(), Sint32, state, StuccoRoomsBDoors, syImportScriptSetExitRequest() and sySoundPlay().

Referenced by StuccoRoomsBCuesAfterColosso, StuccoRoomsBCuesFestival and StuccoRoomsBCuesFinalsDay.

Definition at line 299 of file stucco_rooms_b.c.

scStuccoRoomsBWatchWomanHideMedal

static void scStuccoRoomsBWatchWomanHideMedal(void)

The first time the party enters the guest room behind the north-east door of the inn's basement after Colosso, a woman with fair hair finds something sparkling on the floor, starts at the sight of them, and hides it behind the trash pile. It is a Lucky Medal, in the barrel there (metatile (35, 52)).

References fdActorFaceDirection(), fdActorRelease(), fdActorRunRepeatedMotion(), fdActorSelectAnimation(), fdActorSetAnimationAndWait(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorWalkByAndWait(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait() and scFieldActorCreate().

Referenced by scInit().

Definition at line 332 of file stucco_rooms_b.c.

scStuccoRoomsBWatchPassengersArgue

static void scStuccoRoomsBWatchPassengersArgue(void)

The first time the party enters the lower right guest room of the inn's basement after Colosso, through the passage's south-east doorway (metatile (33, 46)), three stranded passengers argue that the captain won't sail the ship, though they agreed to do whatever it takes.

References fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorShowEmote(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and fdScriptWait().

Referenced by scInit().

Definition at line 416 of file stucco_rooms_b.c.

scInit

Sint32 scInit(void)

After Colosso, sets the stranded passengers and the woman who hid the medal where they now stand, and plays each guest room's short scene the first time the party walks in.

References fdActorFaceDirection(), fdActorGet(), fdMapGridCopyMetatileAttributes(), fdScriptGetFlag(), fdScriptStartScreenTransition(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scStuccoRoomsBWatchPassengersArgue(), scStuccoRoomsBWatchWomanHideMedal() and Sint32.

Definition at line 454 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToItemMerchant

static void scStuccoRoomsBTalkToItemMerchant(Sint32 speaker)

In Tolbi, the item merchant sells or chats, by where the leader stands.

References fdActorGet(), fdScriptSetMessageId(), fdScriptShowMessage(), gmFlagGet(), mnShopRun(), scStuccoRoomsBAskYesNo() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso, StuccoRoomsBCuesFestival and StuccoRoomsBCuesFinalsDay.

Definition at line 511 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToWeaponMerchant

static void scStuccoRoomsBTalkToWeaponMerchant(Sint32 speaker)

In Tolbi, the weapon merchant sells or chats, by where the leader stands.

References fdActorGet(), fdActorShowEmote(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptWait(), gmFlagGet(), mnShopRun(), scStuccoRoomsBAskYesNo() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso, StuccoRoomsBCuesFestival and StuccoRoomsBCuesFinalsDay.

Definition at line 540 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToArmorMerchant

static void scStuccoRoomsBTalkToArmorMerchant(Sint32 speaker)

In Tolbi, the armor merchant sells or chats, by where the leader stands.

References fdActorGet(), fdScriptSetMessageId(), fdScriptShowMessage(), gmFlagGet(), mnShopRun() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso, StuccoRoomsBCuesFestival and StuccoRoomsBCuesFinalsDay.

Definition at line 573 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToChef

static void scStuccoRoomsBTalkToChef(Sint32 speaker)

In Tolbi, the chef asks whether the party watched Colosso, which he missed.

References fdScriptEnd(), fdScriptStart(), scStuccoRoomsBAskYesNo() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso.

Definition at line 604 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToWaitress

static void scStuccoRoomsBTalkToWaitress(Sint32 speaker)

In Tolbi after Colosso, the waitress grumbles about the chef's bad mood.

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

Referenced by StuccoRoomsBCuesAfterColosso.

Definition at line 615 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToHost

static void scStuccoRoomsBTalkToHost(Sint32 speaker)

During the festival a woman with fair hair asks Isaac whether he wants to stay with them, then admits the house is already full.

References fdScriptEnd(), fdScriptStart(), scStuccoRoomsBAskYesNo() and Sint32.

Referenced by StuccoRoomsBCuesFestival.

Definition at line 626 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToMedalWoman

static void scStuccoRoomsBTalkToMedalWoman(Sint32 speaker)

Isaac talks to the woman who hid the Lucky Medal in the upper right guest room of the inn's basement. Until he takes it she giggles, "Hee hee! Do I look like I'm that excited?"; afterwards she greets him, startled, "Oh... Hello!", and says it's nothing.

References fdActorRunRepeatedMotion(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scStuccoRoomsBAskYesNo() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso.

Definition at line 639 of file stucco_rooms_b.c.

scStuccoRoomsBReadMedalWomanMind

static void scStuccoRoomsBReadMedalWomanMind(void)

Isaac reads the medal woman's mind: she just hid the thing she found behind the trash pile, and nobody will ever know. Once he has taken it, she hopes its owner won't ask her to return it.

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

Referenced by StuccoRoomsBCuesAfterColosso.

Definition at line 670 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToAngryPassenger

static void scStuccoRoomsBTalkToAngryPassenger(Sint32 speaker)

In Tolbi after Colosso, the angry passenger complains the ships won't sail.

References fdActorShowEmote(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso.

Definition at line 686 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToFellowPassenger

static void scStuccoRoomsBTalkToFellowPassenger(Sint32 speaker)

A man who rode the ship from Kalay with the party greets Isaac, "Hey! You're the would-be warrior! Do you remember me?", and is stuck in Tolbi with no way back.

References fdScriptEnd(), fdScriptStart(), scStuccoRoomsBAskYesNo() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso.

Definition at line 701 of file stucco_rooms_b.c.

scStuccoRoomsBTalkToHealer

static void scStuccoRoomsBTalkToHealer(Sint32 speaker)

In Tolbi Sanctum, the healer heals or chats, by where the leader stands.

References fdActorGet(), fdScriptSetMessageId(), fdScriptShowMessage(), gmFlagGet(), mnSanctumRun() and Sint32.

Referenced by StuccoRoomsBCuesAfterColosso, StuccoRoomsBCuesFestival and StuccoRoomsBCuesFinalsDay.

Definition at line 712 of file stucco_rooms_b.c.

Variables in detail

StuccoRoomsBEntrances

extern SCENE_ENTRANCE StuccoRoomsBEntrances[]

SCENE_ENTRANCE StuccoRoomsBEntrances[]

Referenced by scGetEntrances().

Definition at lines 49 and 774 of file stucco_rooms_b.c.

StuccoRoomsBExits

extern Uint32 StuccoRoomsBExits[]

Uint32 StuccoRoomsBExits[]

Referenced by scGetExits().

Definition at lines 50 and 921 of file stucco_rooms_b.c.

StuccoRoomsBActorPlacements

extern ACTOR_PLACE StuccoRoomsBActorPlacements[]

ACTOR_PLACE StuccoRoomsBActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 51 and 976 of file stucco_rooms_b.c.

StuccoRoomsBActorPlacementsAfterColosso

extern ACTOR_PLACE StuccoRoomsBActorPlacementsAfterColosso[]

ACTOR_PLACE StuccoRoomsBActorPlacementsAfterColosso[]

References Sint32 and StuccoRoomsBSquashStretch.

Referenced by scGetActorPlacements().

Definition at lines 52 and 1026 of file stucco_rooms_b.c.

StuccoRoomsBCuesFestival

extern CUE StuccoRoomsBCuesFestival[]

CUE StuccoRoomsBCuesFestival[]

References scStuccoRoomsBEnterDoor(), scStuccoRoomsBTalkToArmorMerchant(), scStuccoRoomsBTalkToHealer(), scStuccoRoomsBTalkToHost(), scStuccoRoomsBTalkToItemMerchant() and scStuccoRoomsBTalkToWeaponMerchant().

Referenced by scGetCues().

Definition at lines 53 and 1089 of file stucco_rooms_b.c.

StuccoRoomsBCuesFinalsDay

extern CUE StuccoRoomsBCuesFinalsDay[]

CUE StuccoRoomsBCuesFinalsDay[]

References scStuccoRoomsBAskWhetherBabiWasMissing(), scStuccoRoomsBEnterDoor(), scStuccoRoomsBTalkToArmorMerchant(), scStuccoRoomsBTalkToHealer(), scStuccoRoomsBTalkToItemMerchant() and scStuccoRoomsBTalkToWeaponMerchant().

Referenced by scGetCues().

Definition at lines 54 and 1232 of file stucco_rooms_b.c.

StuccoRoomsBCuesAfterColosso

extern CUE StuccoRoomsBCuesAfterColosso[]

CUE StuccoRoomsBCuesAfterColosso[]

References scStuccoRoomsBEnterDoor(), scStuccoRoomsBReadMedalWomanMind(), scStuccoRoomsBTalkToAngryPassenger(), scStuccoRoomsBTalkToArmorMerchant(), scStuccoRoomsBTalkToChef(), scStuccoRoomsBTalkToFellowPassenger(), scStuccoRoomsBTalkToHealer(), scStuccoRoomsBTalkToItemMerchant(), scStuccoRoomsBTalkToMedalWoman(), scStuccoRoomsBTalkToWaitress() and scStuccoRoomsBTalkToWeaponMerchant().

Referenced by scGetCues().

Definition at lines 55 and 1383 of file stucco_rooms_b.c.

StuccoRoomsBDoors

extern MAP_EDIT StuccoRoomsBDoors[]

MAP_EDIT StuccoRoomsBDoors[]

References StuccoRoomsBDoorOpening.

Referenced by scStuccoRoomsBEnterDoor().

Definition at lines 56 and 1557 of file stucco_rooms_b.c.

StuccoRoomsBSquashStretch

Sint32 StuccoRoomsBSquashStretch[]

The waitress fuming after Colosso: she squashes and stretches twice, then rests 40 ticks.

References Sint32.

Referenced by StuccoRoomsBActorPlacementsAfterColosso.

Definition at line 744 of file stucco_rooms_b.c.

StuccoRoomsBDoorOpening

Uint16 StuccoRoomsBDoorOpening[]

A wooden door of the inn's basement opening, and where each is drawn: its two metatiles on map layer 2, whose rows begin at the map's row 60, over the door's step metatile, in the order of the exits the doors' metatiles carry.

Referenced by StuccoRoomsBDoors.

Definition at line 1552 of file stucco_rooms_b.c.