Skip to Content
The Alchemy Project

src/scene/madra_rooms.c

Inside Madra's buildings: the inn, the round sanctum, the houses, the elder's house with the Black Crystal on its mantel, the jail where Piers is held, and, as a second scene, the left cavern home in the cliff. More…

Macros

NameDescription
#defineFLAG_MADRA_HEALING_FUNGUS_GIVEN 0x98aSet once the old man of the mushroom house has been given the Healing Fungus and has traded Char for it.
#defineFLAG_MADRA_FUNGUS_FOR_DINNER FLAG_AREA_TEMP(0x10)Set as the Healing Fungus is given, for this visit: the couple look forward to dinner until the party leaves the area.
#defineFLAG_MADRA_LAUGHING_FUNGUS_OFFERED FLAG_SCENE_TEMP(0x10)Set once the old man has been offered the Laughing Fungus on this visit.
#defineFLAG_MADRA_FOCUSING_MAN_GROANED FLAG_SCENE_TEMP(0x11)Set once the man focusing on making ice has groaned on this visit.

Enumerations

NameDescription
enumMADRA_ROOMS_HOUSES_PASSAGE { MADRA_ROOMS_MUSHROOM_HOUSE_TO_UPSTAIRS, MADRA_ROOMS_MUSHROOM … }The passages between the houses' rooms (scene_exits.h names only the exits between scenes).
enumanonymous enum { METATILE_BEHAVIOR_POTATOES, METATILE_BEHAVIOR_NAN, METATILE_ … }The stoves and ovens, by what is cooking on them: potatoes boiling in the house of the couple wary of Gondowan, metatiles (5, 4) and (6, 4); nan in the mushroom house, metatiles (26, 4) and (27, 4), and again in the unused room's copy of it at (12, 50) and (13, 50); the spices in the house of the men talking of the strange ship, metatiles (9, 18) and (10, 18); a chicken curry in the elder's house, metatiles (41, 4) and (42, 4); Masala tea at the inn, metatiles (25, 32) and (26, 32); and tandoori chicken in the cavern home, metatiles (26, 12) to (27, 13).
enumMADRA_ROOMS_ACTOR_ID { ACTOR_OLD_MAN_WARY_OF_GONDOWAN, ACTOR_WOMAN_WARY_OF_GONDOWAN … }Madra's houses, numbering the rows MadraRoomsPlacements and MadraRoomsPlacementsOnReturn share.
enumMADRA_ROOMS_TRAVELERS_ACTOR_ID { ACTOR_TRAVELER_WHO_SLEPT_THROUGH_THE_RAID, ACTOR_TRAVELERS_P … }The rest of MadraRoomsPlacements.
enumMADRA_ROOMS_RETURN_ACTOR_ID { ACTOR_ELDER, ACTOR_MAYOR, ACTOR_UNUSED_FIRST_KRADEN, ACTOR_U … }The rest of MadraRoomsPlacementsOnReturn, when the party brings Piers home.
enumMADRA_ROOMS_JAIL_ACTOR_ID { ACTOR_JAIL_PUDDLE, ACTOR_SHIN, ACTOR_SHINS_FRIEND, ACTOR_JAI … }The jail's actors, by the rows of MadraRoomsJailPlacements; Piers' row goes to his party slot.
enumMADRA_ROOMS_CAVERN_HOME_ACTOR_ID { ACTOR_MAN_ON_ALHAFRA, ACTOR_WOMAN_ON_ALHAFRA, ACTOR_SISTER_I … }The left cavern home (MadraRoomsCavernHomes), by the rows of MadraRoomsSecondRoomsPlacements.
enumanonymous enum { METATILE_BEHAVIOR_MADRA_ROOMS_WELCOME }The metatiles, (44, 5) and (44, 6) a few steps in from the elder's door, whose step cue runs scMadraRoomsWelcomePiersHome.
enumanonymous enum { INN_ID_MADRA }Madra's inn, as mnInnCheckIn numbers the inns.

Functions

NameDescription
voidscMadraRoomsSayFarewellAgain (void)The welcome's end when Piers has already agreed to sail for Lemuria: the household asks "Ah, so you'll be leaving again, will you?"
voidscMadraRoomsAskToStayLonger (void)The welcome's end when Piers has not yet agreed to sail: the household asks the party to stay a little longer now that the jewel is recovered, and Piers explains why he cannot.
voidscMadraRoomsCountAnswer ()Counts one more weird answer Felix gives (fdScriptCountAnswer, through the overlay's stub).
const SCENE_ENTRANCE *scGetEntrances (void)Where the party can enter: the cave under the spring has its own entrances.
const SCENE_REGION *scGetExitRegions (void)The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room.
const Uint32 *scGetExits (void)The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN.
voidscMadraRoomsShinAngersPiers (void)The party enters the jail as Shin and his friend accuse Piers of being one of the Champa, and sees Piers, angered, lift Shin on a shaft of ice.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
voidscMadraRoomsAskWillWeBeSafe (void)Talking to the auburn-haired woman in the house by the town's south-west corner: "Indra is in direct contact with southern Gondowan...
voidscMadraRoomsTalkToInnkeeper (void)Talking to Madra's innkeeper from across the counter on the inn's ground floor lets the party stay the night.
voidscMadraRoomsTalkToHealer (Sint32 actor)Talking to the healer in the round sanctum from across his counter opens the sanctum's services; from any other side he talks of the town's trials, then of the Kibombo, and later of the warming sea.
voidscMadraRoomsGuardElderGem (void)Felix goes to touch the Black Crystal on the mantel in the elder's house: the auburn-haired woman by the table hops up, turns to him and cries "Don't touch that gem!
voidscMadraRoomsTalkToMushroomLover (void)Talking to the old man who loves the rare mushrooms of the Gondowan Cliffs, in the house south of the market: he wonders how to climb the cliffs to get one, and once he has the Healing Fungus, he looks forward to dinner, then says he ate too much.
voidscMadraRoomsTalkToMushroomCook (void)Talking to the mushroom lover's wife, in the same house: she tells of her husband's love of the rare mushrooms of the Gondowan Cliffs, begs the party to find the right one once he has turned down the Laughing Fungus, and after the Healing Fungus talks of cooking it.
voidscMadraRoomsMindReadMushroomLover (void)Casting Mind Read on the mushroom lover: he thinks of the mushrooms he longs for, and once he has the Healing Fungus, of dinner.
voidscMadraRoomsMindReadMushroomCook (void)Casting Mind Read on the mushroom lover's wife: she thinks of her husband growing old, and once he has the Healing Fungus, of cooking it.
voidscMadraRoomsTalkToManFocusingOnIce (void)Talking to the man in the jail who has been trying for days to make ice as Piers did, once Felix brings Piers home: the first time on a visit he strains and groans "Uhhhnnn...
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
voidscMadraRoomsPlaceBlackCrystal (void)The Black Crystal sits on the mantel in the elder's house until the Kibombo steal it in their raid (FLAG_BRIGGS_CAUGHT), after which it is gone.
static inline voidscMadraRoomsPlaceFacing (Sint32 actorId, Sint32 x, Sint32 z, Uint16 facing)Places an actor at (x, z), given in 16.16 fixed point, turned to facing.
voidscMadraRoomsSetUpJail (void)Sets up the jail: the first time Felix walks in, Shin angers Piers (scMadraRoomsShinAngersPiers); afterwards Shin and his friend are gone until the Kibombo's raid, when they are back in the jail.
Sint32scInit (void)Sets up Madra's buildings as the party walks in: Morgan and Dekka at the inn only for a party that won Colosso in The Broken Seal, the jail, the sister lying ill in bed in the left cavern home until Briggs is caught, and the Black Crystal.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.
Sint32scMadraRoomsRotateSprite (ACTOR *actor)Turns an actor's sprite a thirty-second of a turn, a tick of Shin falling over (MadraRoomsShinFalls).
Sint32scMadraRoomsResetSpriteRotation (ACTOR *actor)Unused: stands an actor's sprite upright again; no script calls it.
voidscMadraRoomsTalkToPiers (void)Talking to Piers in his metatile in Madra's jail: "Ah...
voidscMadraRoomsMindReadPiers (void)Casting Mind Read on Piers in his metatile: he regrets using his Psynergy in anger, then senses someone using Psynergy and looks about for them, and wonders when he will be freed.
voidscMadraRoomsPiersUsesPsynergy (void)Unused: Piers' Frost at the jail's puddle alone, as scMadraRoomsShinAngersPiers plays it; nothing calls it.
voidscMadraRoomsGiveHealingFungus (void)Felix gives the old mushroom lover the Healing Fungus from the Gondowan Cliffs: "Oh, my...
voidscMadraRoomsGiveLaughingFungus (void)Felix gives the old mushroom lover the Laughing Fungus: he tells his wife "No, dear...
static inline voidscMadraRoomsWalkIntoLeader (Sint32 actorId)A party member walks into Felix and vanishes, as the party gathers up to leave the elder's house.
voidscMadraRoomsWelcomePiersHome (void)Walking into the elder's house when Felix brings Piers home (metatiles (44, 5) and (44, 6), a few steps in from the door), the mayor cries "Felix!

Variables

NameDescription
extern Sint32MadraRoomsShinLifted []Piers' shaft of ice lifts Shin and holds him bobbing in the air.
extern Sint32MadraRoomsShinFalls []Shin falls over, a quarter turn in eight ticks.
extern Sint32MadraRoomsOldManWalksToBackRoom []The same script as MadraRoomsWifeWalksToBackRoom, under another name: the mushroom lover follows her by the same way to the back room to fetch Char.
extern Sint32MadraRoomsWifeComesBack []The mushroom cook's script back to her place.
extern Sint32MadraRoomsOldManComesBack []The mushroom lover's script back from the back room with Char.
extern Sint32MadraRoomsCharFollows []Char comes out of the back room with the old man, along the same way.
extern Sint32MadraRoomsShinAndFriendRunAway []Shin and then his friend run out of the jail, crying for help.
extern Sint32MadraRoomsWifeWalksToBackRoom []The old couple's walks into their back room and out again as they fetch Char for the Healing Fungus.
extern Sint32MadraRoomsLeaderStepsAside []Felix's script as the old man passes: one step aside.
extern ACTOR_PLACEMadraRoomsPlacements []Madra's houses, inn and sanctum until the party returns with Piers (MADRA_ROOMS_ACTOR_ID, then MADRA_ROOMS_TRAVELERS_ACTOR_ID).
extern ACTOR_PLACEMadraRoomsPlacementsOnReturn []Madra's houses once the party returns with Piers (MADRA_ROOMS_ACTOR_ID, then MADRA_ROOMS_RETURN_ACTOR_ID).
extern ACTOR_PLACEMadraRoomsJailPlacements []The jail (MADRA_ROOMS_JAIL_ACTOR_ID).
extern ACTOR_PLACEMadraRoomsSecondRoomsPlacements []The left cavern home (MADRA_ROOMS_CAVERN_HOME_ACTOR_ID).
extern CUEMadraRoomsCuesBeforeRaid []The houses' talk and Mind Read before the Kibombo raid.
extern CUEMadraRoomsJailCues []The jail's talk and Mind Read, by the story flags.
extern CUEMadraRoomsSecondRoomsCues []The left cavern home's talk and Mind Read, by the story flags.
extern CUEMadraRoomsCuesAfterRaid []The houses' talk and Mind Read once the Kibombo have raided Madra.
extern CUEMadraRoomsCuesOnReturn []The houses' talk and Mind Read once the party returns with Piers, the welcome, and the mushroom trade.
Uint32SceneExits []The room has no exits of its own.

Description

Inside Madra's buildings: the inn, the round sanctum, the houses, the elder's house with the Black Crystal on its mantel, the jail where Piers is held, and, as a second scene, the left cavern home in the cliff. Walking into the jail the first time, Felix sees Shin accuse Piers of being one of the Champa and Piers, angered, lift him on a shaft of ice. Later the old couple who love mushrooms trade Char, the Mars Djinni, for the Healing Fungus from the Gondowan Cliffs, and when Felix brings Piers home the elder's household welcomes him.

Macros in detail

FLAG_MADRA_HEALING_FUNGUS_GIVEN

#define FLAG_MADRA_HEALING_FUNGUS_GIVEN 0x98a

Set once the old man of the mushroom house has been given the Healing Fungus and has traded Char for it.

Referenced by MadraRoomsCuesOnReturn, scMadraRoomsGiveHealingFungus(), scMadraRoomsMindReadMushroomCook(), scMadraRoomsMindReadMushroomLover(), scMadraRoomsTalkToMushroomCook() and scMadraRoomsTalkToMushroomLover().

Definition at line 24 of file madra_rooms.c.

FLAG_MADRA_FUNGUS_FOR_DINNER

#define FLAG_MADRA_FUNGUS_FOR_DINNER FLAG_AREA_TEMP(0x10)

Set as the Healing Fungus is given, for this visit: the couple look forward to dinner until the party leaves the area.

Referenced by scMadraRoomsGiveHealingFungus(), scMadraRoomsMindReadMushroomCook(), scMadraRoomsMindReadMushroomLover(), scMadraRoomsTalkToMushroomCook() and scMadraRoomsTalkToMushroomLover().

Definition at line 27 of file madra_rooms.c.

FLAG_MADRA_LAUGHING_FUNGUS_OFFERED

#define FLAG_MADRA_LAUGHING_FUNGUS_OFFERED FLAG_SCENE_TEMP(0x10)

Set once the old man has been offered the Laughing Fungus on this visit.

Referenced by scMadraRoomsGiveLaughingFungus(), scMadraRoomsMindReadMushroomCook(), scMadraRoomsMindReadMushroomLover(), scMadraRoomsTalkToMushroomCook() and scMadraRoomsTalkToMushroomLover().

Definition at line 29 of file madra_rooms.c.

FLAG_MADRA_FOCUSING_MAN_GROANED

#define FLAG_MADRA_FOCUSING_MAN_GROANED FLAG_SCENE_TEMP(0x11)

Set once the man focusing on making ice has groaned on this visit.

Referenced by MadraRoomsJailCues and scMadraRoomsTalkToManFocusingOnIce().

Definition at line 31 of file madra_rooms.c.

Enumerations in detail

MADRA_ROOMS_HOUSES_PASSAGE

enum MADRA_ROOMS_HOUSES_PASSAGE

The passages between the houses' rooms (scene_exits.h names only the exits between scenes). An exit and the entrance on its side share a number. The mushroom house, the elder's house and the inn each have stairs along the back wall of their ground floor up to a floor above; the inn's upper floor has a door on to its bedrooms, which have a door of their own out to Madra.

EnumeratorValueDescription
MADRA_ROOMS_MUSHROOM_HOUSE_TO_UPSTAIRS3
MADRA_ROOMS_MUSHROOM_HOUSE_UPSTAIRS_TO_DOWNSTAIRS
MADRA_ROOMS_ELDERS_HOUSE_TO_UPSTAIRS6
MADRA_ROOMS_ELDERS_HOUSE_UPSTAIRS_TO_DOWNSTAIRS
MADRA_ROOMS_INN_TO_UPSTAIRS11
MADRA_ROOMS_INN_UPSTAIRS_TO_DOWNSTAIRS
MADRA_ROOMS_INN_UPSTAIRS_TO_BEDROOMS
MADRA_ROOMS_INN_BEDROOMS_TO_UPSTAIRS
MADRA_ROOMS_UNUSED_HOUSE_DOOR16Unused: no metatile of the map leads to these exits and SceneExits has no row for them. Their entrances stand in an empty room drawn below the sanctum on the map, laid out as the mushroom house's ground floor (entrance 17 at the top of its stairs), which nothing leads into.
MADRA_ROOMS_UNUSED_HOUSE_STAIRS
MADRA_ROOMS_MUSHROOM_HOUSE_FROM_UPSTAIRS3
MADRA_ROOMS_MUSHROOM_HOUSE_UPSTAIRS_FROM_DOWNSTAIRS
MADRA_ROOMS_ELDERS_HOUSE_FROM_UPSTAIRS6
MADRA_ROOMS_ELDERS_HOUSE_UPSTAIRS_FROM_DOWNSTAIRS
MADRA_ROOMS_INN_FROM_UPSTAIRS11
MADRA_ROOMS_INN_UPSTAIRS_FROM_DOWNSTAIRS
MADRA_ROOMS_INN_UPSTAIRS_FROM_BEDROOMS
MADRA_ROOMS_INN_BEDROOMS_FROM_UPSTAIRS

Definition at line 38 of file madra_rooms.c.

anonymous enum

enum { METATILE_BEHAVIOR_POTATOES, METATILE_BEHAVIOR_NAN, METATILE_BEHAVIOR_SPICES, METATILE_BEHAVIOR_CHICKEN_CURRY, … }

The stoves and ovens, by what is cooking on them: potatoes boiling in the house of the couple wary of Gondowan, metatiles (5, 4) and (6, 4); nan in the mushroom house, metatiles (26, 4) and (27, 4), and again in the unused room's copy of it at (12, 50) and (13, 50); the spices in the house of the men talking of the strange ship, metatiles (9, 18) and (10, 18); a chicken curry in the elder's house, metatiles (41, 4) and (42, 4); Masala tea at the inn, metatiles (25, 32) and (26, 32); and tandoori chicken in the cavern home, metatiles (26, 12) to (27, 13).

EnumeratorValueDescription
METATILE_BEHAVIOR_POTATOES200
METATILE_BEHAVIOR_NAN
METATILE_BEHAVIOR_SPICES
METATILE_BEHAVIOR_CHICKEN_CURRY
METATILE_BEHAVIOR_MASALA_TEA
METATILE_BEHAVIOR_TANDOORI_CHICKEN

Definition at line 72 of file madra_rooms.c.

MADRA_ROOMS_ACTOR_ID

enum MADRA_ROOMS_ACTOR_ID

Madra's houses, numbering the rows MadraRoomsPlacements and MadraRoomsPlacementsOnReturn share.

EnumeratorValueDescription
ACTOR_OLD_MAN_WARY_OF_GONDOWANACTOR_FIRST_PLACEDA couple who fear
ACTOR_WOMAN_WARY_OF_GONDOWANwhat lies south in Gondowan, and then the Kibombo.
ACTOR_MUSHROOM_LOVERThe old man who loves the rare mushrooms of the Gondowan Cliffs, in the house south of the market.
ACTOR_MUSHROOM_COOKHis wife, who cooks them.
ACTOR_MAN_ON_THE_STRANGE_SHIPTwo men curious
ACTOR_MAN_ON_THE_GROUNDED_SHIPabout the strange ship grounded in the cove to the east.
ACTOR_JEWEL_KEEPERThe elder's household: the woman who guards the jewel on his mantel ("Milady and I have been told to guard that jewel"), his daughter, the old woman of the house and his two grandchildren.
ACTOR_ELDERS_DAUGHTER
ACTOR_OLD_WOMAN_OF_THE_ELDERS_HOUSE
ACTOR_ELDERS_GRANDSON
ACTOR_ELDERS_GRANDDAUGHTER
ACTOR_HEALERThe sanctum's healer and the two women who pray there.
ACTOR_WOMAN_OF_THE_SANCTUM
ACTOR_OLD_WOMAN_OF_THE_SANCTUM
ACTOR_INNKEEPER
ACTOR_INN_HELPERWho helps at the inn, sure it is safe from the Champa.
ACTOR_GIRL_STAYING_AT_THE_INNA girl staying at the inn, who hid under her bed in the raid.
ACTOR_CHARChar, the Mars Djinni the mushroom couple keep.
ACTOR_BLACK_CRYSTALA blank actor on the elder's mantel that shows the Black Crystal (scMadraRoomsPlaceBlackCrystal).

Definition at line 84 of file madra_rooms.c.

MADRA_ROOMS_TRAVELERS_ACTOR_ID

enum MADRA_ROOMS_TRAVELERS_ACTOR_ID

The rest of MadraRoomsPlacements.

EnumeratorValueDescription
ACTOR_TRAVELER_WHO_SLEPT_THROUGH_THE_RAIDACTOR_BLACK_CRYSTAL + 1Two
ACTOR_TRAVELERS_PARTNERtravelers at the inn, the first slept through the pirate raid; his partner wears the same sprite in other colours.
ACTOR_MORGANThe two warriors on their way to Colosso in Tolbi, there
ACTOR_DEKKAonce FLAG_TRANSFERRED_WON_COLOSSO is set: "I'm Morgan, and this here's Dekka."

Definition at line 129 of file madra_rooms.c.

MADRA_ROOMS_RETURN_ACTOR_ID

enum MADRA_ROOMS_RETURN_ACTOR_ID

The rest of MadraRoomsPlacementsOnReturn, when the party brings Piers home. The rows for Piers, Jenna and Sheba go to their party slots.

EnumeratorValueDescription
ACTOR_ELDERACTOR_BLACK_CRYSTAL + 1The elder, who held Piers' jewel,
ACTOR_MAYORand Madra's mayor.
ACTOR_UNUSED_FIRST_KRADENUnused: two more rows with Kraden's sprite, out of sight.
ACTOR_UNUSED_SECOND_KRADEN
ACTOR_KRADEN
ACTOR_TRAVELER_WHO_SLEPT_THROUGH_THE_RAID_ON_RETURN
ACTOR_TRAVELERS_PARTNER_ON_RETURN

Definition at line 162 of file madra_rooms.c.

MADRA_ROOMS_JAIL_ACTOR_ID

enum MADRA_ROOMS_JAIL_ACTOR_ID

The jail's actors, by the rows of MadraRoomsJailPlacements; Piers' row goes to his party slot.

EnumeratorValueDescription
ACTOR_JAIL_PUDDLEACTOR_FIRST_PLACEDThe puddle Piers freezes into a shaft of ice.
ACTOR_SHINShin, who threatens Piers, and
ACTOR_SHINS_FRIENDhis friend, who accuses him of being one of the Champa.
ACTOR_JAIL_KRADENKraden, who jumps out from behind
ACTOR_SECOND_JAIL_PUDDLEFelix.
ACTOR_WITNESS_ON_ISAACS_PARTYOnce FLAG_GABOMBA_MESSAGE_CARRIED
ACTOR_MAN_FOCUSING_ON_ICEis set: who saw Isaac's party hear of Felix, and a man who has been focusing for days to make ice as Piers did.

Definition at line 177 of file madra_rooms.c.

MADRA_ROOMS_CAVERN_HOME_ACTOR_ID

enum MADRA_ROOMS_CAVERN_HOME_ACTOR_ID

The left cavern home (MadraRoomsCavernHomes), by the rows of MadraRoomsSecondRoomsPlacements.

EnumeratorValueDescription
ACTOR_MAN_ON_ALHAFRAACTOR_FIRST_PLACEDA couple who talk of Alhafra,
ACTOR_WOMAN_ON_ALHAFRAand later of a plan to make money.
ACTOR_SISTER_IN_BEDA woman lying ill in bed until Briggs is caught.
ACTOR_HER_SISTERHer sister, glad she is better.

Definition at line 198 of file madra_rooms.c.

anonymous enum

enum { METATILE_BEHAVIOR_MADRA_ROOMS_WELCOME }

The metatiles, (44, 5) and (44, 6) a few steps in from the elder's door, whose step cue runs scMadraRoomsWelcomePiersHome.

EnumeratorValueDescription
METATILE_BEHAVIOR_MADRA_ROOMS_WELCOME30

Definition at line 212 of file madra_rooms.c.

anonymous enum

enum { INN_ID_MADRA }

Madra's inn, as mnInnCheckIn numbers the inns.

EnumeratorValueDescription
INN_ID_MADRA1

Definition at line 218 of file madra_rooms.c.

Functions in detail

scMadraRoomsSayFarewellAgain

void scMadraRoomsSayFarewellAgain(void)

The welcome's end when Piers has already agreed to sail for Lemuria: the household asks "Ah, so you'll be leaving again, will you?"

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorFaceEachOther(), fdActorSetAnimationAndWait(), fdActorShowEmote(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait() and Sint32.

Referenced by scMadraRoomsWelcomePiersHome().

Definition at lines 225 and 1399 of file madra_rooms.c.

scMadraRoomsAskToStayLonger

void scMadraRoomsAskToStayLonger(void)

The welcome's end when Piers has not yet agreed to sail: the household asks the party to stay a little longer now that the jewel is recovered, and Piers explains why he cannot.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorSetAnimationAndWait(), fdActorShowEmote(), fdScriptSetFlag(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait() and Sint32.

Referenced by scMadraRoomsWelcomePiersHome().

Definition at lines 226 and 1445 of file madra_rooms.c.

scMadraRoomsCountAnswer

void scMadraRoomsCountAnswer()

Counts one more weird answer Felix gives (fdScriptCountAnswer, through the overlay's stub).

Referenced by scMadraRoomsWelcomePiersHome().

Definition at line 237 of file madra_rooms.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 239 of file madra_rooms.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

Definition at line 244 of file madra_rooms.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 249 of file madra_rooms.c.

scMadraRoomsShinAngersPiers

void scMadraRoomsShinAngersPiers(void)

The party enters the jail as Shin and his friend accuse Piers of being one of the Champa, and sees Piers, angered, lift Shin on a shaft of ice.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorFaceEachOther(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetDestination(), fdActorSetDestinationOffset(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorSetSpriteRotationById(), fdActorShowEmote(), fdActorWaitForAnimationChange(), fdActorWalkByAndWait(), fdActorWalkToAndWait(), fdBattleEffectStopMainActor(), fdCameraWaitForArrival(), fdPsynergyEnd(), fdPsynergyLoadResources(), fdPsynergyRunHandler(), fdPsynergySetupActorPair(), fdPsynergyStartCast(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MadraRoomsShinAndFriendRunAway, MadraRoomsShinFalls, MadraRoomsShinLifted, scFieldActorJump(), scFieldActorLaunchFromLeader(), scFieldActorShowEmote(), scFieldActorStop(), scFieldActorWaitForMoveById(), scFieldActorWaitForScriptEndById(), scFieldActorWatchAndSetScript(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait(), scScriptCameraFollowActor() and Sint32.

Referenced by scMadraRoomsSetUpJail().

Definition at lines 264 and 783 of file madra_rooms.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References fdScriptGetFlag(), MadraRoomsJailPlacements, MadraRoomsPlacements, MadraRoomsPlacementsOnReturn, MadraRoomsSecondRoomsPlacements and MainRoutineStateWork.

Definition at line 266 of file madra_rooms.c.

scMadraRoomsAskWillWeBeSafe

void scMadraRoomsAskWillWeBeSafe(void)

Talking to the auburn-haired woman in the house by the town's south-west corner: "Indra is in direct contact with southern Gondowan... Will we be safe?" Told yes, she says Felix is only trying to make her feel better; told no, she tells him to stop getting folks worked up.

References fdScriptEnd(), fdScriptOpenMessage(), fdScriptShowMessage(), fdScriptStart(), scFieldPartyGetLeaderActor(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptWait() and Sint32.

Referenced by MadraRoomsCuesBeforeRaid.

Definition at line 281 of file madra_rooms.c.

scMadraRoomsTalkToInnkeeper

void scMadraRoomsTalkToInnkeeper(void)

Talking to Madra's innkeeper from across the counter on the inn's ground floor lets the party stay the night. From any other side he talks of the week's troubles, then of the Kibombo's wicked magic, and when Felix brings Piers home of the dead fish on the shore, which the later editions ask as a question.

References fdActorGet(), fdScriptGetFlag(), fdScriptShowMessage(), MainRoutineStateWork, mnInnCheckIn(), scFieldScriptSetMessageId() and Sint32.

Referenced by MadraRoomsCuesAfterRaid, MadraRoomsCuesBeforeRaid and MadraRoomsCuesOnReturn.

Definition at line 311 of file madra_rooms.c.

scMadraRoomsTalkToHealer

void scMadraRoomsTalkToHealer(Sint32 actor)

Talking to the healer in the round sanctum from across his counter opens the sanctum's services; from any other side he talks of the town's trials, then of the Kibombo, and later of the warming sea.

References fdActorGet(), fdScriptGetFlag(), fdScriptShowMessage(), MainRoutineStateWork, mnSanctumRun(), scFieldScriptSetMessageId() and Sint32.

Referenced by MadraRoomsCuesAfterRaid, MadraRoomsCuesBeforeRaid and MadraRoomsCuesOnReturn.

Definition at line 372 of file madra_rooms.c.

scMadraRoomsGuardElderGem

void scMadraRoomsGuardElderGem(void)

Felix goes to touch the Black Crystal on the mantel in the elder's house: the auburn-haired woman by the table hops up, turns to him and cries "Don't touch that gem! The elder gave us strict orders to protect it!"

References fdActorFaceActor(), fdActorFaceDirection(), fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), scFieldActorJump(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.

Referenced by MadraRoomsCuesAfterRaid, MadraRoomsCuesBeforeRaid and MadraRoomsCuesOnReturn.

Definition at line 400 of file madra_rooms.c.

scMadraRoomsTalkToMushroomLover

void scMadraRoomsTalkToMushroomLover(void)

Talking to the old man who loves the rare mushrooms of the Gondowan Cliffs, in the house south of the market: he wonders how to climb the cliffs to get one, and once he has the Healing Fungus, he looks forward to dinner, then says he ate too much.

References fdScriptGetFlag(), fdScriptShowMessage(), scFieldScriptSetMessageId() and Sint32.

Referenced by MadraRoomsCuesOnReturn.

Definition at line 418 of file madra_rooms.c.

scMadraRoomsTalkToMushroomCook

void scMadraRoomsTalkToMushroomCook(void)

Talking to the mushroom lover's wife, in the same house: she tells of her husband's love of the rare mushrooms of the Gondowan Cliffs, begs the party to find the right one once he has turned down the Laughing Fungus, and after the Healing Fungus talks of cooking it.

References fdScriptGetFlag(), fdScriptShowMessage(), scFieldScriptSetMessageId() and Sint32.

Referenced by MadraRoomsCuesOnReturn.

Definition at line 457 of file madra_rooms.c.

scMadraRoomsMindReadMushroomLover

void scMadraRoomsMindReadMushroomLover(void)

Casting Mind Read on the mushroom lover: he thinks of the mushrooms he longs for, and once he has the Healing Fungus, of dinner.

References fdScriptGetFlag(), fdScriptShowMessage(), scFieldScriptSetMessageId() and Sint32.

Referenced by MadraRoomsCuesOnReturn.

Definition at line 495 of file madra_rooms.c.

scMadraRoomsMindReadMushroomCook

void scMadraRoomsMindReadMushroomCook(void)

Casting Mind Read on the mushroom lover's wife: she thinks of her husband growing old, and once he has the Healing Fungus, of cooking it.

References fdScriptGetFlag(), fdScriptShowMessage(), scFieldScriptSetMessageId() and Sint32.

Referenced by MadraRoomsCuesOnReturn.

Definition at line 536 of file madra_rooms.c.

scMadraRoomsTalkToManFocusingOnIce

void scMadraRoomsTalkToManFocusingOnIce(void)

Talking to the man in the jail who has been trying for days to make ice as Piers did, once Felix brings Piers home: the first time on a visit he strains and groans "Uhhhnnn... UHHHNNN!", and afterwards he wonders how anyone makes ice just by thinking.

References fdActorFaceActor(), fdActorRunRepeatedMotion(), fdActorWalkByAndWait(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptShowMessage(), scFieldActorShowEmote(), scFieldScriptSetMessageId(), scFieldScriptWait() and Sint32.

Referenced by MadraRoomsJailCues.

Definition at line 579 of file madra_rooms.c.

scGetCues

const CUE *scGetCues(void)

References fdScriptGetFlag(), MadraRoomsCuesAfterRaid, MadraRoomsCuesBeforeRaid, MadraRoomsCuesOnReturn, MadraRoomsJailCues, MadraRoomsSecondRoomsCues and MainRoutineStateWork.

Definition at line 610 of file madra_rooms.c.

scMadraRoomsPlaceBlackCrystal

void scMadraRoomsPlaceBlackCrystal(void)

The Black Crystal sits on the mantel in the elder's house until the Kibombo steal it in their raid (FLAG_BRIGGS_CAUGHT), after which it is gone.

References fdActorGet(), fdActorSetItemIcon(), fdActorSetSpriteFlags() and fdScriptGetFlag().

Referenced by scInit().

Definition at line 625 of file madra_rooms.c.

scMadraRoomsPlaceFacing

static inline void scMadraRoomsPlaceFacing(Sint32 actorId, Sint32 x, Sint32 z, Uint16 facing)

Places an actor at (x, z), given in 16.16 fixed point, turned to facing.

References fdActorSetPosAndFacing() and Sint32.

Referenced by scMadraRoomsSetUpJail().

Definition at line 639 of file madra_rooms.c.

scMadraRoomsSetUpJail

void scMadraRoomsSetUpJail(void)

Sets up the jail: the first time Felix walks in, Shin angers Piers (scMadraRoomsShinAngersPiers); afterwards Shin and his friend are gone until the Kibombo's raid, when they are back in the jail.

References fdScriptGetFlag(), scMadraRoomsPlaceFacing() and scMadraRoomsShinAngersPiers().

Referenced by scInit().

Definition at line 648 of file madra_rooms.c.

scInit

Sint32 scInit(void)

Sets up Madra's buildings as the party walks in: Morgan and Dekka at the inn only for a party that won Colosso in The Broken Seal, the jail, the sister lying ill in bed in the left cavern home until Briggs is caught, and the Black Crystal.

References fdActorGet(), fdActorSetSpriteFlags(), fdActorSetSpriteRotationById(), fdEffectStartBlankOverlay(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesLayered(), fdScriptGetFlag(), MainRoutineStateWork, scFieldActorSetSpriteColor(), scMadraRoomsPlaceBlackCrystal(), scMadraRoomsSetUpJail() and Sint32.

Definition at line 686 of file madra_rooms.c.

scPrepareMap

Sint32 scPrepareMap(void)

References Sint32.

Definition at line 753 of file madra_rooms.c.

scMadraRoomsRotateSprite

Sint32 scMadraRoomsRotateSprite(ACTOR *actor)

Turns an actor's sprite a thirty-second of a turn, a tick of Shin falling over (MadraRoomsShinFalls).

References Sint32.

Referenced by MadraRoomsShinFalls.

Definition at line 760 of file madra_rooms.c.

scMadraRoomsResetSpriteRotation

Sint32 scMadraRoomsResetSpriteRotation(ACTOR *actor)

Unused: stands an actor's sprite upright again; no script calls it.

References Sint32.

Definition at line 771 of file madra_rooms.c.

scMadraRoomsTalkToPiers

void scMadraRoomsTalkToPiers(void)

Talking to Piers in his metatile in Madra's jail: "Ah... When will that kindly elder return and end my imprisonment? I have no time to wait, but I don't want to have to hurt anyone..."

References fdActorFaceDirection(), fdScriptEnd(), fdScriptStart(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait() and Sint32.

Referenced by MadraRoomsJailCues.

Definition at line 1025 of file madra_rooms.c.

scMadraRoomsMindReadPiers

void scMadraRoomsMindReadPiers(void)

Casting Mind Read on Piers in his metatile: he regrets using his Psynergy in anger, then senses someone using Psynergy and looks about for them, and wonders when he will be freed.

References fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdScriptEnd(), fdScriptStart(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait() and Sint32.

Referenced by MadraRoomsJailCues.

Definition at line 1039 of file madra_rooms.c.

scMadraRoomsPiersUsesPsynergy

void scMadraRoomsPiersUsesPsynergy(void)

Unused: Piers' Frost at the jail's puddle alone, as scMadraRoomsShinAngersPiers plays it; nothing calls it.

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

Definition at line 1074 of file madra_rooms.c.

scMadraRoomsGiveHealingFungus

void scMadraRoomsGiveHealingFungus(void)

Felix gives the old mushroom lover the Healing Fungus from the Gondowan Cliffs: "Oh, my... Is... Is that..." He and his wife go to their back room and come back with Char, the Mars Djinni, who joins the party.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorFaceEachOther(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorShowEmote(), fdActorWalkTo(), fdActorWalkToAndWait(), fdDjinnJoinParty(), fdScriptEnd(), fdScriptSetFlag(), fdScriptStart(), gmPartyInventoryRemove(), MadraRoomsCharFollows, MadraRoomsLeaderStepsAside, MadraRoomsOldManComesBack, MadraRoomsOldManWalksToBackRoom, MadraRoomsWifeComesBack, MadraRoomsWifeWalksToBackRoom, scFieldActorStop(), scFieldActorWaitForMoveById(), scFieldActorWaitForScriptEndById(), scFieldActorWatchAndSetScript(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait() and Sint32.

Referenced by MadraRoomsCuesOnReturn.

Definition at line 1087 of file madra_rooms.c.

scMadraRoomsGiveLaughingFungus

void scMadraRoomsGiveLaughingFungus(void)

Felix gives the old mushroom lover the Laughing Fungus: he tells his wife "No, dear... They look similar, but these aren't quite right." and turns it down.

References fdActorFaceActor(), fdActorFaceDirectionAndWait(), fdActorFaceEachOther(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorShowEmote(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptSetFlag(), fdScriptStart(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait() and Sint32.

Referenced by MadraRoomsCuesOnReturn.

Definition at line 1191 of file madra_rooms.c.

scMadraRoomsWalkIntoLeader

static inline void scMadraRoomsWalkIntoLeader(Sint32 actorId)

A party member walks into Felix and vanishes, as the party gathers up to leave the elder's house.

References fdActorGet(), fdActorSetAnimation(), fdActorSetDestination(), scFieldActorWaitForMoveById() and Sint32.

Referenced by scMadraRoomsWelcomePiersHome().

Definition at line 1241 of file madra_rooms.c.

scMadraRoomsWelcomePiersHome

void scMadraRoomsWelcomePiersHome(void)

Walking into the elder's house when Felix brings Piers home (metatiles (44, 5) and (44, 6), a few steps in from the door), the mayor cries "Felix! You're back!" and his household welcomes Piers home, asking after his jewel and apologising for his imprisonment.

References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorFaceEachOther(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorShowEmote(), fdActorWalkBy(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptGetFlag(), fdScriptOpenMessage(), fdScriptSetFlag(), fdScriptStart(), scFieldActorJump(), scFieldActorLaunchFromLeader(), scFieldActorStartRepeatedMotion(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait(), scMadraRoomsAskToStayLonger(), scMadraRoomsCountAnswer(), scMadraRoomsSayFarewellAgain(), scMadraRoomsWalkIntoLeader() and Sint32.

Referenced by MadraRoomsCuesOnReturn.

Definition at line 1259 of file madra_rooms.c.

Variables in detail

MadraRoomsShinLifted

extern Sint32 MadraRoomsShinLifted[]

Sint32 MadraRoomsShinLifted[]

Piers' shaft of ice lifts Shin and holds him bobbing in the air.

References Sint32.

Referenced by scMadraRoomsShinAngersPiers().

Definition at lines 223 and 2483 of file madra_rooms.c.

MadraRoomsShinFalls

extern Sint32 MadraRoomsShinFalls[]

Sint32 MadraRoomsShinFalls[]

Shin falls over, a quarter turn in eight ticks.

References scMadraRoomsRotateSprite() and Sint32.

Referenced by scMadraRoomsShinAngersPiers().

Definition at lines 224 and 2462 of file madra_rooms.c.

MadraRoomsOldManWalksToBackRoom

extern Sint32 MadraRoomsOldManWalksToBackRoom[]

Sint32 MadraRoomsOldManWalksToBackRoom[]

The same script as MadraRoomsWifeWalksToBackRoom, under another name: the mushroom lover follows her by the same way to the back room to fetch Char.

References Sint32.

Referenced by scMadraRoomsGiveHealingFungus().

Definition at lines 227 and 1582 of file madra_rooms.c.

MadraRoomsWifeComesBack

extern Sint32 MadraRoomsWifeComesBack[]

Sint32 MadraRoomsWifeComesBack[]

The mushroom cook's script back to her place.

References Sint32.

Referenced by scMadraRoomsGiveHealingFungus().

Definition at lines 228 and 1593 of file madra_rooms.c.

MadraRoomsOldManComesBack

extern Sint32 MadraRoomsOldManComesBack[]

Sint32 MadraRoomsOldManComesBack[]

The mushroom lover's script back from the back room with Char.

References Sint32.

Referenced by scMadraRoomsGiveHealingFungus().

Definition at lines 229 and 1612 of file madra_rooms.c.

MadraRoomsCharFollows

extern Sint32 MadraRoomsCharFollows[]

Sint32 MadraRoomsCharFollows[]

Char comes out of the back room with the old man, along the same way.

References Sint32.

Referenced by scMadraRoomsGiveHealingFungus().

Definition at lines 230 and 1631 of file madra_rooms.c.

MadraRoomsShinAndFriendRunAway

extern Sint32 MadraRoomsShinAndFriendRunAway[]

Sint32 MadraRoomsShinAndFriendRunAway[]

Shin and then his friend run out of the jail, crying for help.

References Sint32.

Referenced by scMadraRoomsShinAngersPiers().

Definition at lines 231 and 2449 of file madra_rooms.c.

MadraRoomsWifeWalksToBackRoom

extern Sint32 MadraRoomsWifeWalksToBackRoom[]

Sint32 MadraRoomsWifeWalksToBackRoom[]

The old couple's walks into their back room and out again as they fetch Char for the Healing Fungus. First the wife's walk in, out of sight.

References Sint32.

Referenced by scMadraRoomsGiveHealingFungus().

Definition at lines 232 and 1558 of file madra_rooms.c.

MadraRoomsLeaderStepsAside

extern Sint32 MadraRoomsLeaderStepsAside[]

Sint32 MadraRoomsLeaderStepsAside[]

Felix's script as the old man passes: one step aside.

References Sint32.

Referenced by scMadraRoomsGiveHealingFungus().

Definition at lines 233 and 1569 of file madra_rooms.c.

MadraRoomsPlacements

extern ACTOR_PLACE MadraRoomsPlacements[]

ACTOR_PLACE MadraRoomsPlacements[]

Madra's houses, inn and sanctum until the party returns with Piers (MADRA_ROOMS_ACTOR_ID, then MADRA_ROOMS_TRAVELERS_ACTOR_ID).

Referenced by scGetActorPlacements().

Definition at lines 254 and 1707 of file madra_rooms.c.

MadraRoomsPlacementsOnReturn

extern ACTOR_PLACE MadraRoomsPlacementsOnReturn[]

ACTOR_PLACE MadraRoomsPlacementsOnReturn[]

Madra's houses once the party returns with Piers (MADRA_ROOMS_ACTOR_ID, then MADRA_ROOMS_RETURN_ACTOR_ID).

Referenced by scGetActorPlacements().

Definition at lines 255 and 1759 of file madra_rooms.c.

MadraRoomsJailPlacements

extern ACTOR_PLACE MadraRoomsJailPlacements[]

ACTOR_PLACE MadraRoomsJailPlacements[]

The jail (MADRA_ROOMS_JAIL_ACTOR_ID).

Referenced by scGetActorPlacements().

Definition at lines 256 and 1822 of file madra_rooms.c.

MadraRoomsSecondRoomsPlacements

extern ACTOR_PLACE MadraRoomsSecondRoomsPlacements[]

ACTOR_PLACE MadraRoomsSecondRoomsPlacements[]

The left cavern home (MADRA_ROOMS_CAVERN_HOME_ACTOR_ID).

Referenced by scGetActorPlacements().

Definition at lines 257 and 1845 of file madra_rooms.c.

MadraRoomsCuesBeforeRaid

extern CUE MadraRoomsCuesBeforeRaid[]

CUE MadraRoomsCuesBeforeRaid[]

The houses' talk and Mind Read before the Kibombo raid.

References scMadraRoomsAskWillWeBeSafe(), scMadraRoomsGuardElderGem(), scMadraRoomsTalkToHealer() and scMadraRoomsTalkToInnkeeper().

Referenced by scGetCues().

Definition at lines 258 and 1858 of file madra_rooms.c.

MadraRoomsJailCues

extern CUE MadraRoomsJailCues[]

CUE MadraRoomsJailCues[]

The jail's talk and Mind Read, by the story flags.

References scMadraRoomsMindReadPiers(), scMadraRoomsTalkToManFocusingOnIce() and scMadraRoomsTalkToPiers().

Referenced by scGetCues().

Definition at lines 259 and 2016 of file madra_rooms.c.

MadraRoomsSecondRoomsCues

extern CUE MadraRoomsSecondRoomsCues[]

CUE MadraRoomsSecondRoomsCues[]

The left cavern home's talk and Mind Read, by the story flags.

Referenced by scGetCues().

Definition at lines 260 and 2069 of file madra_rooms.c.

MadraRoomsCuesAfterRaid

extern CUE MadraRoomsCuesAfterRaid[]

CUE MadraRoomsCuesAfterRaid[]

The houses' talk and Mind Read once the Kibombo have raided Madra.

References scMadraRoomsGuardElderGem(), scMadraRoomsTalkToHealer() and scMadraRoomsTalkToInnkeeper().

Referenced by scGetCues().

Definition at lines 261 and 2129 of file madra_rooms.c.

MadraRoomsCuesOnReturn

extern CUE MadraRoomsCuesOnReturn[]

CUE MadraRoomsCuesOnReturn[]

The houses' talk and Mind Read once the party returns with Piers, the welcome, and the mushroom trade.

References scMadraRoomsGiveHealingFungus(), scMadraRoomsGiveLaughingFungus(), scMadraRoomsGuardElderGem(), scMadraRoomsMindReadMushroomCook(), scMadraRoomsMindReadMushroomLover(), scMadraRoomsTalkToHealer(), scMadraRoomsTalkToInnkeeper(), scMadraRoomsTalkToMushroomCook(), scMadraRoomsTalkToMushroomLover() and scMadraRoomsWelcomePiersHome().

Referenced by scGetCues().

Definition at lines 262 and 2280 of file madra_rooms.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 1651 of file madra_rooms.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_MADRA_HEALING_FUNGUS_GIVENFLAG_MADRA_FUNGUS_FOR_DINNERFLAG_MADRA_LAUGHING_FUNGUS_OFFEREDFLAG_MADRA_FOCUSING_MAN_GROANEDEnumerations in detailMADRA_ROOMS_HOUSES_PASSAGEanonymous enumMADRA_ROOMS_ACTOR_IDMADRA_ROOMS_TRAVELERS_ACTOR_IDMADRA_ROOMS_RETURN_ACTOR_IDMADRA_ROOMS_JAIL_ACTOR_IDMADRA_ROOMS_CAVERN_HOME_ACTOR_IDanonymous enumanonymous enumFunctions in detailscMadraRoomsSayFarewellAgainscMadraRoomsAskToStayLongerscMadraRoomsCountAnswerscGetEntrancesscGetExitRegionsscGetExitsscMadraRoomsShinAngersPiersscGetActorPlacementsscMadraRoomsAskWillWeBeSafescMadraRoomsTalkToInnkeeperscMadraRoomsTalkToHealerscMadraRoomsGuardElderGemscMadraRoomsTalkToMushroomLoverscMadraRoomsTalkToMushroomCookscMadraRoomsMindReadMushroomLoverscMadraRoomsMindReadMushroomCookscMadraRoomsTalkToManFocusingOnIcescGetCuesscMadraRoomsPlaceBlackCrystalscMadraRoomsPlaceFacingscMadraRoomsSetUpJailscInitscPrepareMapscMadraRoomsRotateSpritescMadraRoomsResetSpriteRotationscMadraRoomsTalkToPiersscMadraRoomsMindReadPiersscMadraRoomsPiersUsesPsynergyscMadraRoomsGiveHealingFungusscMadraRoomsGiveLaughingFungusscMadraRoomsWalkIntoLeaderscMadraRoomsWelcomePiersHomeVariables in detailMadraRoomsShinLiftedMadraRoomsShinFallsMadraRoomsOldManWalksToBackRoomMadraRoomsWifeComesBackMadraRoomsOldManComesBackMadraRoomsCharFollowsMadraRoomsShinAndFriendRunAwayMadraRoomsWifeWalksToBackRoomMadraRoomsLeaderStepsAsideMadraRoomsPlacementsMadraRoomsPlacementsOnReturnMadraRoomsJailPlacementsMadraRoomsSecondRoomsPlacementsMadraRoomsCuesBeforeRaidMadraRoomsJailCuesMadraRoomsSecondRoomsCuesMadraRoomsCuesAfterRaidMadraRoomsCuesOnReturnSceneExits