Skip to Content
The Alchemy Project

src/scene/alhafra.c

Alhafra, the port town of Osenia north of the Yampi Desert, where the tidal wave wrecked every ship but one sailboat, whose mast it broke. More…

Macros

NameDescription
#defineOWN_fdActorTakeLeaderLayerThis unit declares its own form of fdActorTakeLeaderLayer, below.
#defineFLAG_TOLD_INDRA_MOVED 0x8b0The town's own story, which no other scene reads.
#defineFLAG_PIRATE_LEFT 0x8b4the pirate ran to warn his crew
#defineFLAG_HUNGRY_BOY_FED 0x8b5the boy at the inn ate the bread
#defineFLAG_BOY_TOLD_OF_CAVE 0x8b6he told of the cave under the manor
#defineFLAG_GOLD_COINS_FOUND 0x8b7his mother found five gold coins
#defineFLAG_LET_INTO_CAVE 0x8b9his father let the party pass
#defineFLAG_PUDDLE_A_FROZEN FLAG_SCENE_TEMP(0x00)Set while Frost holds each of the three puddles frozen into a pillar.
#defineFLAG_PUDDLE_B_FROZEN FLAG_SCENE_TEMP(0x01)
#defineFLAG_PUDDLE_C_FROZEN FLAG_SCENE_TEMP(0x02)
#defineACTOR_PSY_CRYSTAL_CHEST 64The chest Reveal shows among the six gravestones, holding a Psy Crystal.

Enumerations

NameDescription
enumALHAFRA_PIRATE_SCENE { PIRATE_STEPPED_PAST, PIRATE_READ_BY_MIND_READ }How the pirate's scene starts: the leader stepping past him, or reading his mind, which lets the party question him before he runs.
enumALHAFRA_ACTOR_ID { ACTOR_WEAPON_MERCHANT, ACTOR_ARMOR_MERCHANT, ACTOR_MANOR_GUA … }The Alhafrans of AlhafraActorPlacements, who keep their rows, sprites and places to ACTOR_SAILOR_BUILDING_HOUSES once Briggs is caught and once the ship is stolen; what each says changes with the story.
enumALHAFRA_ONCE_BRIGGS_IS_CAUGHT_ACTOR_ID { ACTOR_YOUNG_MAN_WAITING_AT_THE_INN, ACTOR_WOMAN_WAITING_AT_T … }The families whose houses are being rebuilt, after the townsfolk once Briggs is caught and again once the ship is stolen.
enumALHAFRA_ONCE_THE_MAST_IS_CLEARED_ACTOR_ID { ACTOR_GRATEFUL_YOUNG_MAN, ACTOR_YOUNG_MAN_STANDING_GUARD, AC … }The Alhafrans the town's setup moves once the mast is cleared, until the ship is stolen (AlhafraActorPlacementsOnceTheMastIsCleared).
enumanonymous enum { SHOP_ALHAFRA_WEAPONS, SHOP_ALHAFRA_ARMOR }Alhafra's shops, as mnShopRun numbers them.
enumALHAFRA_METATILE_BEHAVIOR { METATILE_BEHAVIOR_PIRATE_BEHIND, METATILE_BEHAVIOR_PIRATE_IN … }The metatile behaviors of the town's step cues: the pirate drawn behind or in front of the wall as the leader passes, the Madrans arriving (from the first Felix stands in their way and steps aside, from the second he only turns to them), and the pirate running off to warn the crew.
enumanonymous enum { SEAWATER_POOL_PALETTE, DRY_GROUND_PALETTE, SEAWATER_POOL_COL … }The pool of seawater the tidal wave left by the east road: its four colours in their palette, and the palette holding the dry ground's.

Functions

NameDescription
voidscAlhafraPirateSeesMadrasMayor (Sint32 how)The pirate recognizes the mayor of Madra and runs to warn Briggs's crew, after answering the party if they read his mind.
voidscAlhafraTalkToHungryBoy (Sint32 id)The hungry boy: too hungry to move until fed, then he tells the party of the caves under the mayor's manor if they like adventures.
voidscAlhafraTakeLeadersLayer (void)An actor's update: it takes the party leader's display layer, so it is drawn over or under what the leader is.
Sint32fdActorTakeLeaderLayer ()The ROM's caller here is compiled against this form, with no parameter list where the definition takes the actor.
voidscAlhafraReadPiratesMind (void)Mind Read on the pirate: he sees the mayor of Madra, and the party can question him before he runs to warn the crew.
voidscAlhafraDrawPirateBehind (void)Nothing visible happens as Felix walks past the wall where Briggs's pirate keeps watch (metatiles (10, 44) to (11, 45)); the game sets the pirate to be drawn behind the wall from where Felix now stands.
voidscAlhafraDrawPirateInFront (void)
voidscAlhafraSailorToldToWork (void)The sailor building houses grumbles, and the woman beside him tells him to get back to work.
voidscAlhafraRevealTreasureSpot (void)Felix casts Reveal in town: in the grey world Reveal shows, a red treasure chest stands in the middle of the six gravestones by the cliff, the hidden Psy Crystal chest, which can be opened while it lasts.
voidscAlhafraHideTreasureSpot (void)Nothing visible: as Reveal fades, the Psy Crystal chest's spot is hidden again.
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.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
voidscAlhafraOpenDoorAndEnter (MAP_EDIT *step, Sint32 exit, Sint32 unused)A door of the town opens as Felix walks into it, he walks through, and the screen wipes to the room behind it (AlhafraRooms, the jail, the cave or the manor, by the exit given).
voidscAlhafraEnterDoor (Sint32 index)Felix walks north into one of the town's doors: the houses' and the inn's, the jail's, the back way into the cave by the mayor's home, or the manor's.
voidscAlhafraOpenWeaponShop (Sint32 keeperId)Felix talks to the weapon merchant across his counter, and the shop opens.
voidscAlhafraOpenArmorShop (Sint32 keeperId)Felix talks to the armor merchant across his counter, and the shop opens.
voidscAlhafraAskWhetherIndraMoved (Sint32 actor)A townsman asks whether the tidal wave really knocked Indra into Osenia; a yes is remembered, and after it he only marvels that it is true.
voidscAlhafraBackloggedWithCanoes (Sint32 actor)The man finishing a canoe guesses the party wants to buy one; yes or no, he is too backlogged with preorders to make it.
voidscAlhafraMayorInAMeeting (Sint32 actor)The manor's guard asks whether the party wants to see the mayor, who is in a meeting.
voidscAlhafraPirateRunsToWarnTheCrew (void)Stepping past the pirate: he sees the mayor of Madra and runs to warn the crew.
voidscAlhafraFreezePuddle (Sint32 unused, Sint32 actorId)Felix casts Frost on one of the three puddles of seawater the tidal wave left in town, and it freezes into a pillar of ice.
voidscAlhafraGiveBreadToHungryBoy (void)Giving the hungry boy Large Bread: he eats it, jumps up full of energy and talks to the party.
voidscAlhafraFindGoldCoins (void)Stepping by the family on the step: the mother finds five gold coins, and her husband and child cheer.
voidscAlhafraFatherLetsPartyToCave (Sint32 actor)The hungry boy's father, by the way into the cave under the mayor's manor: once the boy is fed he asks whether the party wants to see the cave, and a yes has him step aside for good.
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
Sint32scInit (void)Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.
voidscAlhafraMadransArrive (Sint32 metatileBehavior)The mayor and elder of Madra arrive with their soldiers and townsfolk, ask the way to Alhafra's mayor and follow an Alhafran to the manor.

Variables

NameDescription
extern Uint32AlhafraLookAroundScript []
extern Uint16AlhafraNoDoor []A doorway with no door: nothing to open.
extern Uint16AlhafraDoorOpening []A door opening: one step of metatiles copied over it.
extern Uint16AlhafraSecondDoorOpening []The other shape of door's opening, from the metatiles beside the first's.
extern ACTOR_PLACEAlhafraActorPlacements []
extern ACTOR_PLACEAlhafraActorPlacementsOnceBriggsIsCaught []
extern ACTOR_PLACEAlhafraActorPlacementsOnceTheShipIsStolen []
extern ACTOR_PLACEAlhafraActorPlacementsOnceTheMastIsCleared []
extern MAP_EDITAlhafraDoors [](scAlhafraEnterDoor): the door's opening and its metatile; a row with none opens nothing.
extern Sint16AlhafraPuddles []The three puddles Frost freezes into pillars, each with the flag set while it stands (fdFlagBlockPlaceAll).
extern CUEAlhafraCues []
extern CUEAlhafraCuesOnceBriggsIsCaught []
extern CUEAlhafraCuesOnceTheShipIsStolen []
extern CUEAlhafraCuesOnceTheMastIsCleared []
extern Sint32AlhafraElderStepsBackScript []
extern Uint32AlhafraWomanWalksOffScript []
extern Uint32AlhafraAlhafranLeadsBesideFelixScript []
extern Uint32AlhafraElderFollowsBesideFelixScript []
extern Uint32AlhafraWaitingMadranFollowsBesideFelixScript []
extern Uint32AlhafraMayorFollowsBesideFelixScript []
extern Uint32AlhafraSecondSoldierFollowsBesideFelixScript []
extern Uint32AlhafraFirstSoldierFollowsBesideFelixScript []
extern Uint32AlhafraWearyMadranFollowsBesideFelixScript []
extern Uint32AlhafraSilentMadranFollowsBesideFelixScript []
extern Sint32AlhafraAlhafranLeadsBehindFelixScript []
extern Uint32AlhafraElderFollowsBehindFelixScript []
extern Uint32AlhafraWaitingMadranFollowsBehindFelixScript []
extern Uint32AlhafraMayorFollowsBehindFelixScript []
extern Uint32AlhafraWearyMadranFollowsBehindFelixScript []
extern Uint32AlhafraFirstSoldierFollowsBehindFelixScript []
extern Sint32AlhafraSilentMadranFollowsBehindFelixScript []
extern Uint32AlhafraSecondSoldierFollowsBehindFelixScript []
Uint32SceneExits []The room has no exits of its own.

Description

Alhafra, the port town of Osenia north of the Yampi Desert, where the tidal wave wrecked every ship but one sailboat, whose mast it broke.

As Felix comes into town, the mayor and elder of Madra and their soldiers arrive behind him, hunting Briggs, and ask the way to Alhafra's mayor (scAlhafraMadransArrive); one of Briggs's pirates, watching the road by a wall, sees the mayor of Madra and runs off to warn his crew (scAlhafraPirateSeesMadrasMayor). Once Briggs is caught, the hungry boy too weak to move eats the party's Large Bread (scAlhafraGiveBreadToHungryBoy) and his father, at the back way into the cave by the mayor's home, lets the party pass (scAlhafraFatherLetsPartyToCave). Frost freezes the puddles of seawater, Reveal finds the Psy Crystal chest among the gravestones, and the townsfolk change once the mast is cleared and again once Briggs has stolen the ship (FLAG_ALHAFRA_SHIP_GONE).

Macros in detail

OWN_fdActorTakeLeaderLayer

#define OWN_fdActorTakeLeaderLayer

This unit declares its own form of fdActorTakeLeaderLayer, below.

Definition at line 17 of file alhafra.c.

FLAG_TOLD_INDRA_MOVED

#define FLAG_TOLD_INDRA_MOVED 0x8b0

The town's own story, which no other scene reads.

told the man asking that Indra moved

Referenced by scAlhafraAskWhetherIndraMoved().

Definition at line 71 of file alhafra.c.

FLAG_PIRATE_LEFT

#define FLAG_PIRATE_LEFT 0x8b4

the pirate ran to warn his crew

Referenced by AlhafraCues, scAlhafraPirateSeesMadrasMayor() and scInit().

Definition at line 72 of file alhafra.c.

FLAG_HUNGRY_BOY_FED

#define FLAG_HUNGRY_BOY_FED 0x8b5

the boy at the inn ate the bread

Referenced by AlhafraCuesOnceBriggsIsCaught, scAlhafraGiveBreadToHungryBoy(), scAlhafraTalkToHungryBoy() and scInit().

Definition at line 73 of file alhafra.c.

FLAG_BOY_TOLD_OF_CAVE

#define FLAG_BOY_TOLD_OF_CAVE 0x8b6

he told of the cave under the manor

Referenced by AlhafraCuesOnceBriggsIsCaught and scAlhafraTalkToHungryBoy().

Definition at line 74 of file alhafra.c.

FLAG_GOLD_COINS_FOUND

#define FLAG_GOLD_COINS_FOUND 0x8b7

his mother found five gold coins

Referenced by AlhafraCuesOnceBriggsIsCaught, scAlhafraFindGoldCoins() and scInit().

Definition at line 75 of file alhafra.c.

FLAG_LET_INTO_CAVE

#define FLAG_LET_INTO_CAVE 0x8b9

his father let the party pass

Referenced by AlhafraCuesOnceBriggsIsCaught, scAlhafraFatherLetsPartyToCave() and scInit().

Definition at line 76 of file alhafra.c.

FLAG_PUDDLE_A_FROZEN

#define FLAG_PUDDLE_A_FROZEN FLAG_SCENE_TEMP(0x00)

Set while Frost holds each of the three puddles frozen into a pillar.

Referenced by AlhafraCues, AlhafraPuddles, AquaRockSummitCues and scInit().

Definition at line 79 of file alhafra.c.

FLAG_PUDDLE_B_FROZEN

#define FLAG_PUDDLE_B_FROZEN FLAG_SCENE_TEMP(0x01)

Referenced by AlhafraCues, AlhafraPuddles, AquaRockSummitCues and scInit().

Definition at line 80 of file alhafra.c.

FLAG_PUDDLE_C_FROZEN

#define FLAG_PUDDLE_C_FROZEN FLAG_SCENE_TEMP(0x02)

Referenced by AlhafraCues, AlhafraPuddles, AquaRockSummitCues and scInit().

Definition at line 81 of file alhafra.c.

ACTOR_PSY_CRYSTAL_CHEST

#define ACTOR_PSY_CRYSTAL_CHEST 64

The chest Reveal shows among the six gravestones, holding a Psy Crystal.

Referenced by scAlhafraHideTreasureSpot() and scAlhafraRevealTreasureSpot().

Definition at line 84 of file alhafra.c.

Enumerations in detail

ALHAFRA_PIRATE_SCENE

enum ALHAFRA_PIRATE_SCENE

How the pirate's scene starts: the leader stepping past him, or reading his mind, which lets the party question him before he runs.

EnumeratorValueDescription
PIRATE_STEPPED_PAST
PIRATE_READ_BY_MIND_READ

Definition at line 32 of file alhafra.c.

ALHAFRA_ACTOR_ID

enum ALHAFRA_ACTOR_ID

The Alhafrans of AlhafraActorPlacements, who keep their rows, sprites and places to ACTOR_SAILOR_BUILDING_HOUSES once Briggs is caught and once the ship is stolen; what each says changes with the story.

EnumeratorValueDescription
ACTOR_WEAPON_MERCHANTACTOR_FIRST_PLACED
ACTOR_ARMOR_MERCHANT
ACTOR_MANOR_GUARDThe soldiers at the mayor's
ACTOR_SECOND_MANOR_GUARDmanor: "The mayor is in a meeting..."
ACTOR_HUNGRY_BOYS_FATHERThe man at the back way into the cave under the manor, the hungry boy's father: "No one is allowed beyond this point."
ACTOR_WELCOMING_YOUNG_MAN"Welcome to Alhafra. This is the largest town in western Osenia..."
ACTOR_WOMAN_ON_THE_LOST_SHIPS"A massive tidal wave hit us and destroyed every ship in Alhafra."
ACTOR_MAN_ASKING_ABOUT_INDRA"I hear the tidal wave knocked Indra into Osenia. Is that true?"
ACTOR_BOY_WITH_A_CRUSHED_BOAT"Right after my boat got crushed, a group of men came by..."
ACTOR_ALHAFRAN_GIVING_DIRECTIONS"Uh... The mayor? Just keep going down this road."
ACTOR_OLD_WOMAN_ON_THE_TRAVELERS"Those people that just came through looked totally exhausted."
ACTOR_WOMAN_PUTTING_THE_SAILOR_TO_WORK"We've had a lot of strangers coming through here lately"; once Briggs is caught, "Hey! You there! Sailor boy! Get back to work!"
ACTOR_GIRL_KEPT_FROM_THE_PORT"Our port was ruined by the tidal wave, so kids aren't allowed there..."
ACTOR_PARTNER_WAITING_FOR_THE_CANOE"I wonder if my partner has finished up that canoe yet..."
ACTOR_MAN_FINISHING_A_CANOE"Let me guess... You're here because you want to buy a canoe, right?"
ACTOR_SAILOR_ON_THE_SAILBOAT"That boat at the wharf uses a sail..."
ACTOR_SAILOR_BUILDING_HOUSES"Why would the mayor go and sell our boat to a bunch of foreigners?"; once Briggs is caught, "What does a sailor like me know about building houses, anyway?"
ACTOR_PIRATEOne of Briggs's pirates, watching the road before Briggs is caught.
ACTOR_PUDDLE_AThe three puddles of seawater Frost freezes.
ACTOR_PUDDLE_B
ACTOR_PUDDLE_C
ACTOR_MADRAS_ELDERMadra's elder, the mayor's father (his sprite, as in the Yampi Desert, where he calls the mayor his son): "We're here to bring in Briggs the Champa."
ACTOR_MADRAS_MAYORMadra's mayor (his sprite, as Madra's ACTOR_MAYOR): "Madra's a pretty big place, but this town is huge!"
ACTOR_FIRST_MADRAN_SOLDIERMadra's soldiers (the drawbridge
ACTOR_SECOND_MADRAN_SOLDIERguard's sprite).
ACTOR_MADRAN_WAITING_FOR_THE_ELDER"We-We're here?" ... "He's coming now..."
ACTOR_WEARY_MADRANA weary Madran who arrives before the elder: "Haaa hoo hooo... Are we...here?"
ACTOR_SILENT_MADRANA bald, bearded Madran who walks in beside the one waiting for the elder and never speaks.

Definition at line 89 of file alhafra.c.

ALHAFRA_ONCE_BRIGGS_IS_CAUGHT_ACTOR_ID

enum ALHAFRA_ONCE_BRIGGS_IS_CAUGHT_ACTOR_ID

The families whose houses are being rebuilt, after the townsfolk once Briggs is caught and again once the ship is stolen.

EnumeratorValueDescription
ACTOR_YOUNG_MAN_WAITING_AT_THE_INNACTOR_SAILOR_BUILDING_HOUSES + 1"Once they fix the old folks' home, it'll be our turn..."
ACTOR_WOMAN_WAITING_AT_THE_INN"I was afraid my house would never get repaired..."
ACTOR_HUNGRY_BOYThe boy too hungry to move.
ACTOR_LUCKY_MOTHERS_HUSBANDThe family on the step where the mother finds five gold coins: "What a stroke of luck!"
ACTOR_LUCKY_MOTHER
ACTOR_LUCKY_MOTHERS_CHILD
ACTOR_BOY_HUNTING_FOR_COINS"I wonder if there's any more money hidden around here..."

Definition at line 165 of file alhafra.c.

ALHAFRA_ONCE_THE_MAST_IS_CLEARED_ACTOR_ID

enum ALHAFRA_ONCE_THE_MAST_IS_CLEARED_ACTOR_ID

The Alhafrans the town's setup moves once the mast is cleared, until the ship is stolen (AlhafraActorPlacementsOnceTheMastIsCleared).

EnumeratorValueDescription
ACTOR_GRATEFUL_YOUNG_MANACTOR_FIRST_PLACED"The whole town is grateful to you..."
ACTOR_YOUNG_MAN_STANDING_GUARD"I'm just standing guard, in case Briggs decides to..."
ACTOR_WOMAN_ADMIRING_THE_MAST"Our sailboat looks fabulous with its mast repaired!"
ACTOR_WOMAN_WONDERING_WHERE_BRIGGS_WENT"I wonder where Briggs and his crew went..."
ACTOR_WOMAN_GLAD_OF_THE_SAILBOAT"I heard you made it so we could fix our sailboat!"
ACTOR_MAN_WARY_OF_BRIGGS"Ever since we heard Briggs broke out of jail..."
ACTOR_MAN_NOT_EXCITED_BY_THE_SHIP"I don't know why everyone's so excited about fixing the ship..."
ACTOR_MAN_GLAD_TO_SEE_FELIX"Oh! It's you! Where have you been?"
ACTOR_WOMAN_ON_ALHAFRAS_FUTURE"With that ship, Alhafra's going to become a big, important town..."
ACTOR_WOMAN_ON_THE_STONE"Once that stone was taken care of, it was really quite..."
ACTOR_WOMAN_SURE_BRIGGS_IS_GONE"If Briggs is smart, he's probably long gone..."
ACTOR_OLD_MAN_WAITING_FOR_THIS_DAY"I've been waiting for this day for years!"
ACTOR_OLD_MAN_ON_SAILS"The secret to harnessing the wind's power is building a small..."
ACTOR_OLD_MAN_ON_COINCIDENCES"I'm sure it's just a coincidence, but whenever you show up..."
ACTOR_OLD_WOMAN_ON_THE_SINGING_MAYOR"The mayor was actually singing and skipping..."
ACTOR_OLD_WOMAN_FEELING_WATCHED"Weird... Have you ever had the feeling that someone just..."
ACTOR_OLD_WOMAN_ON_FISHING_BOATS"Huge boats carry more, but we need smaller ships to catch the fish..."

Definition at line 184 of file alhafra.c.

anonymous enum

enum { SHOP_ALHAFRA_WEAPONS, SHOP_ALHAFRA_ARMOR }

Alhafra's shops, as mnShopRun numbers them.

EnumeratorValueDescription
SHOP_ALHAFRA_WEAPONS7
SHOP_ALHAFRA_ARMOR8

Definition at line 287 of file alhafra.c.

ALHAFRA_METATILE_BEHAVIOR

enum ALHAFRA_METATILE_BEHAVIOR

The metatile behaviors of the town's step cues: the pirate drawn behind or in front of the wall as the leader passes, the Madrans arriving (from the first Felix stands in their way and steps aside, from the second he only turns to them), and the pirate running off to warn the crew.

EnumeratorValueDescription
METATILE_BEHAVIOR_PIRATE_BEHIND18
METATILE_BEHAVIOR_PIRATE_IN_FRONT
METATILE_BEHAVIOR_MADRANS_ARRIVE_BEHIND_FELIX
METATILE_BEHAVIOR_MADRANS_ARRIVE_BESIDE_FELIX
METATILE_BEHAVIOR_PIRATE_RUNS_OFF

Definition at line 297 of file alhafra.c.

anonymous enum

enum { SEAWATER_POOL_PALETTE, DRY_GROUND_PALETTE, SEAWATER_POOL_COLOR }

The pool of seawater the tidal wave left by the east road: its four colours in their palette, and the palette holding the dry ground's.

EnumeratorValueDescription
SEAWATER_POOL_PALETTE7
DRY_GROUND_PALETTE8
SEAWATER_POOL_COLOR11

Definition at line 793 of file alhafra.c.

Functions in detail

scAlhafraPirateSeesMadrasMayor

void scAlhafraPirateSeesMadrasMayor(Sint32 how)

The pirate recognizes the mayor of Madra and runs to warn Briggs's crew, after answering the party if they read his mind.

References fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorGetById(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWalkByAndWait(), fdActorWalkByAndWaitById(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdEffectSetAttached(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetFlag(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait() and Sint32.

Referenced by scAlhafraPirateRunsToWarnTheCrew() and scAlhafraReadPiratesMind().

Definition at lines 38 and 1346 of file alhafra.c.

scAlhafraTalkToHungryBoy

void scAlhafraTalkToHungryBoy(Sint32 id)

The hungry boy: too hungry to move until fed, then he tells the party of the caves under the mayor's manor if they like adventures.

References fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptShowMessageThenWait(), fdScriptWait(), Sint32, syGameFlagGet() and syGameFlagSet().

Referenced by AlhafraCuesOnceBriggsIsCaught and scAlhafraGiveBreadToHungryBoy().

Definition at lines 39 and 496 of file alhafra.c.

scAlhafraTakeLeadersLayer

void scAlhafraTakeLeadersLayer(void)

An actor's update: it takes the party leader's display layer, so it is drawn over or under what the leader is.

References fdActorTakeLeaderLayer().

Referenced by scInit().

Definition at lines 40 and 831 of file alhafra.c.

scAlhafraReadPiratesMind

void scAlhafraReadPiratesMind(void)

Mind Read on the pirate: he sees the mayor of Madra, and the party can question him before he runs to warn the crew.

References scAlhafraPirateSeesMadrasMayor().

Referenced by AlhafraCues.

Definition at lines 44 and 400 of file alhafra.c.

scAlhafraDrawPirateBehind

void scAlhafraDrawPirateBehind(void)

Nothing visible happens as Felix walks past the wall where Briggs's pirate keeps watch (metatiles (10, 44) to (11, 45)); the game sets the pirate to be drawn behind the wall from where Felix now stands.

References scFieldActorSetSpritePriority().

Referenced by AlhafraCues.

Definition at lines 45 and 415 of file alhafra.c.

scAlhafraDrawPirateInFront

void scAlhafraDrawPirateInFront(void)

Nothing visible happens as Felix walks back past the pirate's wall, south of
it (metatiles (12,
46) and (12, 47)); the game sets the pirate to be drawn in front of the wall
    again.

References scFieldActorSetSpritePriority().

Referenced by AlhafraCues.

Definition at lines 46 and 424 of file alhafra.c.

scAlhafraSailorToldToWork

void scAlhafraSailorToldToWork(void)

The sailor building houses grumbles, and the woman beside him tells him to get back to work.

References fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorShowEmoteById(), fdEffectSetAttached(), fdScriptSetMessageId(), fdScriptWait(), scFieldActorStartRepeatedMotion(), scFieldScriptShowMessageThenWait() and Sint32.

Referenced by AlhafraCuesOnceBriggsIsCaught.

Definition at lines 47 and 441 of file alhafra.c.

scAlhafraRevealTreasureSpot

void scAlhafraRevealTreasureSpot(void)

Felix casts Reveal in town: in the grey world Reveal shows, a red treasure chest stands in the middle of the six gravestones by the cliff, the hidden Psy Crystal chest, which can be opened while it lasts.

References fdTreasureSpotSetPos().

Referenced by AlhafraCues, AlhafraCuesOnceBriggsIsCaught, AlhafraCuesOnceTheMastIsCleared and AlhafraCuesOnceTheShipIsStolen.

Definition at lines 48 and 670 of file alhafra.c.

scAlhafraHideTreasureSpot

void scAlhafraHideTreasureSpot(void)

Nothing visible: as Reveal fades, the Psy Crystal chest's spot is hidden again.

References fdTreasureSpotSetPos().

Referenced by AlhafraCues, AlhafraCuesOnceBriggsIsCaught, AlhafraCuesOnceTheMastIsCleared and AlhafraCuesOnceTheShipIsStolen.

Definition at lines 49 and 677 of file alhafra.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 55 of file alhafra.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

Definition at line 60 of file alhafra.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 65 of file alhafra.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References AlhafraActorPlacements, AlhafraActorPlacementsOnceBriggsIsCaught, AlhafraActorPlacementsOnceTheMastIsCleared, AlhafraActorPlacementsOnceTheShipIsStolen and syGameFlagGet().

Definition at line 238 of file alhafra.c.

scAlhafraOpenDoorAndEnter

void scAlhafraOpenDoorAndEnter(MAP_EDIT *step, Sint32 exit, Sint32 unused)

A door of the town opens as Felix walks into it, he walks through, and the screen wipes to the room behind it (AlhafraRooms, the jail, the cave or the manor, by the exit given).

References fdActorCenterAndWalk(), fdActorGetById(), fdActorSetAnimationById(), fdMapGridPlayMapEdit(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, Sint32, syImportScriptSetExitRequest() and sySoundPlay().

Referenced by scAlhafraEnterDoor().

Definition at line 254 of file alhafra.c.

scAlhafraEnterDoor

void scAlhafraEnterDoor(Sint32 index)

Felix walks north into one of the town's doors: the houses' and the inn's, the jail's, the back way into the cave by the mayor's home, or the manor's. The door opens, he walks in, and the screen wipes to the room inside (scAlhafraOpenDoorAndEnter).

Each door's metatile behaviour is the number of the exit it leads by, and of its row of AlhafraDoors.

References AlhafraDoors, scAlhafraOpenDoorAndEnter() and Sint32.

Referenced by AlhafraCues, AlhafraCuesOnceBriggsIsCaught, AlhafraCuesOnceTheMastIsCleared and AlhafraCuesOnceTheShipIsStolen.

Definition at line 279 of file alhafra.c.

scAlhafraOpenWeaponShop

void scAlhafraOpenWeaponShop(Sint32 keeperId)

Felix talks to the weapon merchant across his counter, and the shop opens.

References mnShopRun() and Sint32.

Referenced by AlhafraCues, AlhafraCuesOnceBriggsIsCaught and AlhafraCuesOnceTheShipIsStolen.

Definition at line 307 of file alhafra.c.

scAlhafraOpenArmorShop

void scAlhafraOpenArmorShop(Sint32 keeperId)

Felix talks to the armor merchant across his counter, and the shop opens.

References mnShopRun() and Sint32.

Referenced by AlhafraCues, AlhafraCuesOnceBriggsIsCaught and AlhafraCuesOnceTheShipIsStolen.

Definition at line 313 of file alhafra.c.

scAlhafraAskWhetherIndraMoved

void scAlhafraAskWhetherIndraMoved(Sint32 actor)

A townsman asks whether the tidal wave really knocked Indra into Osenia; a yes is remembered, and after it he only marvels that it is true.

References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), Sint32 and syGameFlagSet().

Referenced by AlhafraCues.

Definition at line 320 of file alhafra.c.

scAlhafraBackloggedWithCanoes

void scAlhafraBackloggedWithCanoes(Sint32 actor)

The man finishing a canoe guesses the party wants to buy one; yes or no, he is too backlogged with preorders to make it.

References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptWait() and Sint32.

Referenced by AlhafraCues.

Definition at line 351 of file alhafra.c.

scAlhafraMayorInAMeeting

void scAlhafraMayorInAMeeting(Sint32 actor)

The manor's guard asks whether the party wants to see the mayor, who is in a meeting.

References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptWait() and Sint32.

Referenced by AlhafraCues.

Definition at line 375 of file alhafra.c.

scAlhafraPirateRunsToWarnTheCrew

void scAlhafraPirateRunsToWarnTheCrew(void)

Stepping past the pirate: he sees the mayor of Madra and runs to warn the crew.

References scAlhafraPirateSeesMadrasMayor().

Referenced by AlhafraCues.

Definition at line 407 of file alhafra.c.

scAlhafraFreezePuddle

void scAlhafraFreezePuddle(Sint32 unused, Sint32 actorId)

Felix casts Frost on one of the three puddles of seawater the tidal wave left in town, and it freezes into a pillar of ice.

References AlhafraPuddles, fdActorGetById(), fdFlagBlockApplyFlags() and Sint32.

Referenced by AlhafraCues.

Definition at line 433 of file alhafra.c.

scAlhafraGiveBreadToHungryBoy

void scAlhafraGiveBreadToHungryBoy(void)

Giving the hungry boy Large Bread: he eats it, jumps up full of energy and talks to the party.

References fdActorFaceActorById(), fdActorFaceDirection(), fdActorJump(), fdActorSetAnimationById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmPartyInventoryRemove(), MainRoutineStateWork, scAlhafraTalkToHungryBoy(), Sint32 and syGameFlagSet().

Referenced by AlhafraCuesOnceBriggsIsCaught.

Definition at line 469 of file alhafra.c.

scAlhafraFindGoldCoins

void scAlhafraFindGoldCoins(void)

Stepping by the family on the step: the mother finds five gold coins, and her husband and child cheer.

References fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorShowEmoteById(), fdCameraWaitForArrival(), fdItemDisplayShowItem(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scFieldActorJump(), scFieldScriptShowMessageThenWait(), scScriptCameraFollowActor(), Sint32, syGameFlagSet() and sySoundPlay().

Referenced by AlhafraCuesOnceBriggsIsCaught.

Definition at line 545 of file alhafra.c.

scAlhafraFatherLetsPartyToCave

void scAlhafraFatherLetsPartyToCave(Sint32 actor)

The hungry boy's father, by the way into the cave under the mayor's manor: once the boy is fed he asks whether the party wants to see the cave, and a yes has him step aside for good.

References fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorSetAnimationAndWait(), fdActorWalkToAndWait(), fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptWait(), MainRoutineStateWork, Sint32 and syGameFlagSet().

Referenced by AlhafraCuesOnceBriggsIsCaught.

Definition at line 615 of file alhafra.c.

scGetCues

const CUE *scGetCues(void)

References AlhafraCues, AlhafraCuesOnceBriggsIsCaught, AlhafraCuesOnceTheMastIsCleared, AlhafraCuesOnceTheShipIsStolen and syGameFlagGet().

Definition at line 687 of file alhafra.c.

scInit

Sint32 scInit(void)

References AlhafraPuddles, fdActorFaceDirectionById(), fdActorGet(), fdActorGetById(), fdActorSetAnimationById(), fdActorSetMovementType(), fdActorSetSpritePriority(), fdFlagBlockPlaceAllMarkingEdges(), scAlhafraTakeLeadersLayer(), Sint32 and syGameFlagGet().

Definition at line 700 of file alhafra.c.

scPrepareMap

Sint32 scPrepareMap(void)

Once Briggs is caught the pool has dried up: its colours take the dry ground's.

References fdMapGridCopyMetatileAttributes(), Sint32 and syGameFlagGet().

Definition at line 802 of file alhafra.c.

scAlhafraMadransArrive

void scAlhafraMadransArrive(Sint32 metatileBehavior)

The mayor and elder of Madra arrive with their soldiers and townsfolk, ask the way to Alhafra's mayor and follow an Alhafran to the manor.

References AlhafraAlhafranLeadsBehindFelixScript, AlhafraAlhafranLeadsBesideFelixScript, AlhafraElderFollowsBehindFelixScript, AlhafraElderFollowsBesideFelixScript, AlhafraElderStepsBackScript, AlhafraFirstSoldierFollowsBehindFelixScript, AlhafraFirstSoldierFollowsBesideFelixScript, AlhafraMayorFollowsBehindFelixScript, AlhafraMayorFollowsBesideFelixScript, AlhafraSecondSoldierFollowsBehindFelixScript, AlhafraSecondSoldierFollowsBesideFelixScript, AlhafraSilentMadranFollowsBehindFelixScript, AlhafraSilentMadranFollowsBesideFelixScript, AlhafraWaitingMadranFollowsBehindFelixScript, AlhafraWaitingMadranFollowsBesideFelixScript, AlhafraWearyMadranFollowsBehindFelixScript, AlhafraWearyMadranFollowsBesideFelixScript, AlhafraWomanWalksOffScript, fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetMovementTypeById(), fdActorSetSpritePriority(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorStop(), fdActorWaitForMoveById(), fdActorWaitForScriptEndById(), fdActorWalkBy(), fdActorWalkByAndWait(), fdActorWalkByAndWaitById(), fdActorWalkToAndWait(), fdActorWatchAndSetScript(), fdCameraFollowActor(), fdCameraWaitForArrival(), fdEffectSetAttached(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scFieldActorJump(), scFieldActorSetSpritePriority(), scFieldActorStartRepeatedMotion(), scFieldActorWatchAndSetScript() and 4 more.

Referenced by AlhafraCues.

Definition at line 857 of file alhafra.c.

Variables in detail

AlhafraLookAroundScript

extern Uint32 AlhafraLookAroundScript[]

Uint32 AlhafraLookAroundScript[]

Referenced by AlhafraActorPlacementsOnceTheMastIsCleared.

Definition at lines 50 and 1444 of file alhafra.c.

AlhafraNoDoor

extern Uint16 AlhafraNoDoor[]

Uint16 AlhafraNoDoor[]

A doorway with no door: nothing to open.

Referenced by AlhafraDoors.

Definition at lines 51 and 1677 of file alhafra.c.

AlhafraDoorOpening

extern Uint16 AlhafraDoorOpening[]

Uint16 AlhafraDoorOpening[]

A door opening: one step of metatiles copied over it.

Referenced by AlhafraDoors.

Definition at lines 52 and 1682 of file alhafra.c.

AlhafraSecondDoorOpening

extern Uint16 AlhafraSecondDoorOpening[]

Uint16 AlhafraSecondDoorOpening[]

The other shape of door's opening, from the metatiles beside the first's.

Referenced by AlhafraDoors.

Definition at lines 53 and 1688 of file alhafra.c.

AlhafraActorPlacements

extern ACTOR_PLACE AlhafraActorPlacements[]

ACTOR_PLACE AlhafraActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 232 and 1473 of file alhafra.c.

AlhafraActorPlacementsOnceBriggsIsCaught

extern ACTOR_PLACE AlhafraActorPlacementsOnceBriggsIsCaught[]

ACTOR_PLACE AlhafraActorPlacementsOnceBriggsIsCaught[]

Referenced by scGetActorPlacements().

Definition at lines 233 and 1533 of file alhafra.c.

AlhafraActorPlacementsOnceTheShipIsStolen

extern ACTOR_PLACE AlhafraActorPlacementsOnceTheShipIsStolen[]

ACTOR_PLACE AlhafraActorPlacementsOnceTheShipIsStolen[]

Referenced by scGetActorPlacements().

Definition at lines 234 and 1585 of file alhafra.c.

AlhafraActorPlacementsOnceTheMastIsCleared

extern ACTOR_PLACE AlhafraActorPlacementsOnceTheMastIsCleared[]

ACTOR_PLACE AlhafraActorPlacementsOnceTheMastIsCleared[]

References AlhafraLookAroundScript and Sint32.

Referenced by scGetActorPlacements().

Definition at lines 235 and 1637 of file alhafra.c.

AlhafraDoors

extern MAP_EDIT AlhafraDoors[]

MAP_EDIT AlhafraDoors[]

(scAlhafraEnterDoor): the door's opening and its metatile; a row with none opens nothing.

References AlhafraDoorOpening, AlhafraNoDoor and AlhafraSecondDoorOpening.

Referenced by scAlhafraEnterDoor().

Definition at lines 236 and 1696 of file alhafra.c.

AlhafraPuddles

extern Sint16 AlhafraPuddles[]

Sint16 AlhafraPuddles[]

The three puddles Frost freezes into pillars, each with the flag set while it stands (fdFlagBlockPlaceAll).

Referenced by scAlhafraFreezePuddle() and scInit().

Definition at lines 429 and 1439 of file alhafra.c.

AlhafraCues

extern CUE AlhafraCues[]

CUE AlhafraCues[]

References scAlhafraAskWhetherIndraMoved(), scAlhafraBackloggedWithCanoes(), scAlhafraDrawPirateBehind(), scAlhafraDrawPirateInFront(), scAlhafraEnterDoor(), scAlhafraFreezePuddle(), scAlhafraHideTreasureSpot(), scAlhafraMadransArrive(), scAlhafraMayorInAMeeting(), scAlhafraOpenArmorShop(), scAlhafraOpenWeaponShop(), scAlhafraPirateRunsToWarnTheCrew(), scAlhafraReadPiratesMind() and scAlhafraRevealTreasureSpot().

Referenced by scGetCues().

Definition at lines 682 and 1714 of file alhafra.c.

AlhafraCuesOnceBriggsIsCaught

extern CUE AlhafraCuesOnceBriggsIsCaught[]

CUE AlhafraCuesOnceBriggsIsCaught[]

References scAlhafraEnterDoor(), scAlhafraFatherLetsPartyToCave(), scAlhafraFindGoldCoins(), scAlhafraGiveBreadToHungryBoy(), scAlhafraHideTreasureSpot(), scAlhafraOpenArmorShop(), scAlhafraOpenWeaponShop(), scAlhafraRevealTreasureSpot(), scAlhafraSailorToldToWork() and scAlhafraTalkToHungryBoy().

Referenced by scGetCues().

Definition at lines 683 and 1819 of file alhafra.c.

AlhafraCuesOnceTheShipIsStolen

extern CUE AlhafraCuesOnceTheShipIsStolen[]

CUE AlhafraCuesOnceTheShipIsStolen[]

References scAlhafraEnterDoor(), scAlhafraHideTreasureSpot(), scAlhafraOpenArmorShop(), scAlhafraOpenWeaponShop() and scAlhafraRevealTreasureSpot().

Referenced by scGetCues().

Definition at lines 684 and 1947 of file alhafra.c.

AlhafraCuesOnceTheMastIsCleared

extern CUE AlhafraCuesOnceTheMastIsCleared[]

CUE AlhafraCuesOnceTheMastIsCleared[]

References scAlhafraEnterDoor(), scAlhafraHideTreasureSpot() and scAlhafraRevealTreasureSpot().

Referenced by scGetCues().

Definition at lines 685 and 2055 of file alhafra.c.

AlhafraElderStepsBackScript

extern Sint32 AlhafraElderStepsBackScript[]

Sint32 AlhafraElderStepsBackScript[]

References Sint32.

Referenced by scAlhafraMadransArrive().

Definition at lines 836 and 2138 of file alhafra.c.

AlhafraWomanWalksOffScript

extern Uint32 AlhafraWomanWalksOffScript[]

Uint32 AlhafraWomanWalksOffScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 837 and 2151 of file alhafra.c.

AlhafraAlhafranLeadsBesideFelixScript

extern Uint32 AlhafraAlhafranLeadsBesideFelixScript[]

Uint32 AlhafraAlhafranLeadsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 838 and 2161 of file alhafra.c.

AlhafraElderFollowsBesideFelixScript

extern Uint32 AlhafraElderFollowsBesideFelixScript[]

Uint32 AlhafraElderFollowsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 839 and 2197 of file alhafra.c.

AlhafraWaitingMadranFollowsBesideFelixScript

extern Uint32 AlhafraWaitingMadranFollowsBesideFelixScript[]

Uint32 AlhafraWaitingMadranFollowsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 840 and 2216 of file alhafra.c.

AlhafraMayorFollowsBesideFelixScript

extern Uint32 AlhafraMayorFollowsBesideFelixScript[]

Uint32 AlhafraMayorFollowsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 841 and 2180 of file alhafra.c.

AlhafraSecondSoldierFollowsBesideFelixScript

extern Uint32 AlhafraSecondSoldierFollowsBesideFelixScript[]

Uint32 AlhafraSecondSoldierFollowsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 842 and 2263 of file alhafra.c.

AlhafraFirstSoldierFollowsBesideFelixScript

extern Uint32 AlhafraFirstSoldierFollowsBesideFelixScript[]

Uint32 AlhafraFirstSoldierFollowsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 843 and 2233 of file alhafra.c.

AlhafraWearyMadranFollowsBesideFelixScript

extern Uint32 AlhafraWearyMadranFollowsBesideFelixScript[]

Uint32 AlhafraWearyMadranFollowsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 844 and 2246 of file alhafra.c.

AlhafraSilentMadranFollowsBesideFelixScript

extern Uint32 AlhafraSilentMadranFollowsBesideFelixScript[]

Uint32 AlhafraSilentMadranFollowsBesideFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 845 and 2284 of file alhafra.c.

AlhafraAlhafranLeadsBehindFelixScript

extern Sint32 AlhafraAlhafranLeadsBehindFelixScript[]

Sint32 AlhafraAlhafranLeadsBehindFelixScript[]

References Sint32.

Referenced by scAlhafraMadransArrive().

Definition at lines 846 and 2303 of file alhafra.c.

AlhafraElderFollowsBehindFelixScript

extern Uint32 AlhafraElderFollowsBehindFelixScript[]

Uint32 AlhafraElderFollowsBehindFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 847 and 2333 of file alhafra.c.

AlhafraWaitingMadranFollowsBehindFelixScript

extern Uint32 AlhafraWaitingMadranFollowsBehindFelixScript[]

Uint32 AlhafraWaitingMadranFollowsBehindFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 848 and 2346 of file alhafra.c.

AlhafraMayorFollowsBehindFelixScript

extern Uint32 AlhafraMayorFollowsBehindFelixScript[]

Uint32 AlhafraMayorFollowsBehindFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 849 and 2320 of file alhafra.c.

AlhafraWearyMadranFollowsBehindFelixScript

extern Uint32 AlhafraWearyMadranFollowsBehindFelixScript[]

Uint32 AlhafraWearyMadranFollowsBehindFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 850 and 2359 of file alhafra.c.

AlhafraFirstSoldierFollowsBehindFelixScript

extern Uint32 AlhafraFirstSoldierFollowsBehindFelixScript[]

Uint32 AlhafraFirstSoldierFollowsBehindFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 851 and 2389 of file alhafra.c.

AlhafraSilentMadranFollowsBehindFelixScript

extern Sint32 AlhafraSilentMadranFollowsBehindFelixScript[]

Sint32 AlhafraSilentMadranFollowsBehindFelixScript[]

References Sint32.

Referenced by scAlhafraMadransArrive().

Definition at lines 852 and 2404 of file alhafra.c.

AlhafraSecondSoldierFollowsBehindFelixScript

extern Uint32 AlhafraSecondSoldierFollowsBehindFelixScript[]

Uint32 AlhafraSecondSoldierFollowsBehindFelixScript[]

Referenced by scAlhafraMadransArrive().

Definition at lines 853 and 2374 of file alhafra.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 1458 of file alhafra.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailOWN_fdActorTakeLeaderLayerFLAG_TOLD_INDRA_MOVEDFLAG_PIRATE_LEFTFLAG_HUNGRY_BOY_FEDFLAG_BOY_TOLD_OF_CAVEFLAG_GOLD_COINS_FOUNDFLAG_LET_INTO_CAVEFLAG_PUDDLE_A_FROZENFLAG_PUDDLE_B_FROZENFLAG_PUDDLE_C_FROZENACTOR_PSY_CRYSTAL_CHESTEnumerations in detailALHAFRA_PIRATE_SCENEALHAFRA_ACTOR_IDALHAFRA_ONCE_BRIGGS_IS_CAUGHT_ACTOR_IDALHAFRA_ONCE_THE_MAST_IS_CLEARED_ACTOR_IDanonymous enumALHAFRA_METATILE_BEHAVIORanonymous enumFunctions in detailscAlhafraPirateSeesMadrasMayorscAlhafraTalkToHungryBoyscAlhafraTakeLeadersLayerscAlhafraReadPiratesMindscAlhafraDrawPirateBehindscAlhafraDrawPirateInFrontscAlhafraSailorToldToWorkscAlhafraRevealTreasureSpotscAlhafraHideTreasureSpotscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscAlhafraOpenDoorAndEnterscAlhafraEnterDoorscAlhafraOpenWeaponShopscAlhafraOpenArmorShopscAlhafraAskWhetherIndraMovedscAlhafraBackloggedWithCanoesscAlhafraMayorInAMeetingscAlhafraPirateRunsToWarnTheCrewscAlhafraFreezePuddlescAlhafraGiveBreadToHungryBoyscAlhafraFindGoldCoinsscAlhafraFatherLetsPartyToCavescGetCuesscInitscPrepareMapscAlhafraMadransArriveVariables in detailAlhafraLookAroundScriptAlhafraNoDoorAlhafraDoorOpeningAlhafraSecondDoorOpeningAlhafraActorPlacementsAlhafraActorPlacementsOnceBriggsIsCaughtAlhafraActorPlacementsOnceTheShipIsStolenAlhafraActorPlacementsOnceTheMastIsClearedAlhafraDoorsAlhafraPuddlesAlhafraCuesAlhafraCuesOnceBriggsIsCaughtAlhafraCuesOnceTheShipIsStolenAlhafraCuesOnceTheMastIsClearedAlhafraElderStepsBackScriptAlhafraWomanWalksOffScriptAlhafraAlhafranLeadsBesideFelixScriptAlhafraElderFollowsBesideFelixScriptAlhafraWaitingMadranFollowsBesideFelixScriptAlhafraMayorFollowsBesideFelixScriptAlhafraSecondSoldierFollowsBesideFelixScriptAlhafraFirstSoldierFollowsBesideFelixScriptAlhafraWearyMadranFollowsBesideFelixScriptAlhafraSilentMadranFollowsBesideFelixScriptAlhafraAlhafranLeadsBehindFelixScriptAlhafraElderFollowsBehindFelixScriptAlhafraWaitingMadranFollowsBehindFelixScriptAlhafraMayorFollowsBehindFelixScriptAlhafraWearyMadranFollowsBehindFelixScriptAlhafraFirstSoldierFollowsBehindFelixScriptAlhafraSilentMadranFollowsBehindFelixScriptAlhafraSecondSoldierFollowsBehindFelixScriptSceneExits