src/scene/alhafra_rooms.c
Inside Alhafra's houses, inn, shop and Sanctum, whose people are taking in neighbors who lost their homes to the tidal wave. More…
#include "field/field_engine.h"#include "field/field_engine_script.h"#include "game/game.h"#include "macros.h"#include "scene/scene.h"#include "field/script_inline.h"#include "field/call.h"#include "edition.h"#include "field/actor_script.h"#include "shop/shop.h"#include "text/msg_ids.h"#include "shared/scene_entrances_default.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_GUESTS_ASKED_FOR_TEA 0x8b1 | Talks each person gives once, the first time spoken to. |
#define | FLAG_HOST_TOLD_OF_REPAIRS 0x8b8 | |
#define | FLAG_ENTERED_IN_THE_EAST FLAG_SCENE_TEMP(0x00) | Set, once the mast is cleared, when Felix comes into the rooms east of x 512 on the map; only then are the sailors of the Crossbone Isle tale placed. |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { METATILE_BEHAVIOR_MEET_ALEX, METATILE_BEHAVIOR_SAILORS_TALE, … } | The metatile behaviours the step and examine cues answer, by their behaviour in the map. |
enum | ALHAFRA_ROOMS_WAY { WAY_OUT_OF_THE_BACK_ROOM, WAY_INTO_THE_BACK_ROOM, WAY_OUT_OF … } | The ways between the east building's rooms: from its hall into the small back room with a bed and out again, from the room upstairs into the family's room behind it and out, and up the hall's stairs to the room upstairs and down. |
enum | ALHAFRA_ROOMS_ACTOR_ID { ACTOR_ITEM_SHOPKEEPER, ACTOR_PRIEST, ACTOR_WOMAN_ANGRY_AT_TH … } | Alhafra's houses' people, numbering the rows of all three placement tables: the same row is the same person in each, put out of sight (-56, -56) while away. |
enum | ALHAFRA_ROOMS_SAILORS_ACTOR_ID { ACTOR_SAILOR_TELLING_OF_CROSSBONE_ISLE, ACTOR_SAILOR_EAGER_T … } | The last rows of AlhafraRoomsActorPlacementsOnceTheMastIsCleared: two sailors in Alex's room, one telling the other of Crossbone Isle. |
enum | anonymous enum { SHOP_ALHAFRA_ITEMS } | Alhafra's shops, as mnShopRun numbers them. |
enum | anonymous enum { INN_ID_ALHAFRA } | Alhafra's inn, as mnInnCheckIn numbers the inns. |
Functions
| Name | Description | |
|---|---|---|
BSS_DATA | ALIGNED (16) | The old couple's heads and shoulders, drawn again over the crates they stand in front of (scAlhafraRoomsDrawFirstGuestSprite, scAlhafraRoomsDrawSecondGuestSprite). |
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 houses' people: before Briggs is caught, after, and once the mast is cleared. |
void | scAlhafraRoomsMeetAlex (void) | The first time Felix walks into the inn's upstairs room (metatiles (28, 19) to (28, 21)), he walks up to Alex, who says the town's only boat has been sold and that he too is resting here while he looks for one. |
void | scAlhafraRoomsTalkToItemMerchant (Sint32 actor) | Felix talks to the item merchant: across his counter, the shop opens; from anywhere else he asks Felix not to mention the tidal wave. |
void | scAlhafraRoomsTalkToInnkeeper (Sint32 actor) | Felix talks to the innkeeper: across his counter, the inn; from anywhere else he tells of the townsfolk who lost their homes. |
void | scAlhafraRoomsTalkToPriest (Sint32 actor) | Felix talks to the priest: across his counter, the Sanctum; from anywhere else he tells of a terrible village in the middle of Osenia. |
void | scAlhafraRoomsTalkToHostess (Sint32 actor) | Felix talks to the lady of the house, who scowls, worn out by her houseguests. |
void | scAlhafraRoomsGuestsAskForTea (void) | The first time Felix talks to the old houseguest, or reads his mind, he steps up to the old couple, who ask the lady of the house for tea; she tells them to fix it themselves. |
void | scAlhafraRoomsTalkToDemandingGuest (Sint32 actor) | Felix talks to the old houseguest, who grumbles that the lady of the house is no lady at all. |
void | scAlhafraRoomsReadAlexsMind (Sint32 unused, Sint32 actor) | Felix casts Mind Read on Alex, who turns to him and asks him to stop. |
void | scAlhafraRoomsHostTellsOfRepairs (Sint32 actor) | The first time Felix talks to the master of the house, he tells that the town has started repairing the houses, and smiles that his guests will soon be gone. |
void | scAlhafraRoomsAlexHearsOfBriggs (Sint32 actor) | Felix talks to Alex after Briggs is caught, and Alex asks whether it was he who caught him. |
const CUE * | scGetCues (void) | The houses' cues. |
Sint32 | scAlhafraRoomsDrawFirstGuestSprite (ACTOR *guest) | The old houseguest's update: draws his head and upper body again, 12 pixels above him, over the stack of crates he stands in front of; without it the crates cover him from the waist up and only his legs show. |
Sint32 | scAlhafraRoomsDrawSecondGuestSprite (ACTOR *guest) | His wife's: the same, 8 pixels above her, so she too shows whole in front of the crates. |
Sint32 | scInit (void) | Sets up the houses: the old couple's second sprites, and once the mast is cleared the two sailors in Alex's room. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
void | scAlhafraRoomsOverhearCrossboneIsleTale (void) | In a game carried over from Golden Sun in which Isaac beat Deadbeard, Felix walks into Alex's old room upstairs in the inn after the mast is cleared (metatiles (31, 19) to (31, 22)) and overhears two sailors: Isaac picked Crossbone Isle clean and beat its ghost pirate, so he is their leader now. |
Variables
| Name | Description | |
|---|---|---|
EFFECT_SPR | AlhafraRoomsSecondGuestSprite | The old couple's heads and shoulders, drawn again over the crates they stand in front of (scAlhafraRoomsDrawFirstGuestSprite, scAlhafraRoomsDrawSecondGuestSprite). |
EFFECT_SPR | AlhafraRoomsFirstGuestSprite | |
extern ACTOR_PLACE | ActorPlacements [] | The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's. |
extern ACTOR_PLACE | AlhafraRoomsActorPlacementsOnceBriggsIsCaught [] | |
extern ACTOR_PLACE | AlhafraRoomsActorPlacementsOnceTheMastIsCleared [] | |
extern CUE | AlhafraRoomsCues [] | |
extern CUE | AlhafraRoomsCuesOnceBriggsIsCaught [] | |
extern CUE | AlhafraRoomsCuesOnceTheMastIsCleared [] | |
extern Uint32 | AlhafraRoomsTravelersWalkOffScript [] | |
Uint32 | SceneExits [] | The room has no exits of its own. |
Description
Inside Alhafra's houses, inn, shop and Sanctum, whose people are taking in neighbors who lost their homes to the tidal wave.
The first time Felix walks into the inn's upstairs room he finds Alex there,
also waiting for a boat; in the crowded house an old couple of houseguests
send the lady of the house for tea. After Briggs is caught Alex asks about
it, and once the boat's mast is cleared and Alex has gone, a game carried
over from Golden Sun in which Isaac beat Deadbeard has two sailors in his
room telling how Isaac picked Crossbone Isle clean. The people's tables
change at those two points (FLAG_BRIGGS_CAUGHT and
FLAG_ALHAFRA_MAST_CLEARED).
Macros in detail
FLAG_GUESTS_ASKED_FOR_TEA
#define FLAG_GUESTS_ASKED_FOR_TEA 0x8b1
Talks each person gives once, the first time spoken to.
Referenced by AlhafraRoomsCues and scAlhafraRoomsGuestsAskForTea().
Definition at line 32 of file alhafra_rooms.c.
FLAG_HOST_TOLD_OF_REPAIRS
#define FLAG_HOST_TOLD_OF_REPAIRS 0x8b8
Referenced by AlhafraRoomsCuesOnceBriggsIsCaught and scAlhafraRoomsHostTellsOfRepairs().
Definition at line 33 of file alhafra_rooms.c.
FLAG_ENTERED_IN_THE_EAST
#define FLAG_ENTERED_IN_THE_EAST FLAG_SCENE_TEMP(0x00)
Set, once the mast is cleared, when Felix comes into the rooms east of x 512 on the map; only then are the sailors of the Crossbone Isle tale placed.
Referenced by scAlhafraRoomsOverhearCrossboneIsleTale() and scInit().
Definition at line 37 of file alhafra_rooms.c.
Enumerations in detail
anonymous enum
enum { METATILE_BEHAVIOR_MEET_ALEX, METATILE_BEHAVIOR_SAILORS_TALE, METATILE_BEHAVIOR_VEGGIES_AND_LAMB, METATILE_BEHAVIOR_SEAFOOD_PIE, … }
The metatile behaviours the step and examine cues answer, by their behaviour in the map.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_MEET_ALEX | 30 | Across the inn's upstairs room, metatiles (28, 19) to (28, 21): Felix meets Alex. |
METATILE_BEHAVIOR_SAILORS_TALE | 31 | Across Alex's old room, metatiles (31, 19) to (31, 22): the sailors' tale. |
METATILE_BEHAVIOR_VEGGIES_AND_LAMB | 214 | The stoves and the oven, by what is cooking on them: seasonal veggies with lamb, metatile (5, 4); a seafood pie, metatiles (4, 18) and (5, 18); a seafood soup, metatile (23, 4); and Alhafra's famous broiled lobster, metatiles (46, 4) and (47, 4). |
METATILE_BEHAVIOR_SEAFOOD_PIE | 215 | |
METATILE_BEHAVIOR_SEAFOOD_SOUP | 216 | |
METATILE_BEHAVIOR_BROILED_LOBSTER | 217 | |
METATILE_BEHAVIOR_SEAFOOD_STEW | 200 | Unused: no metatile of the map has it. Its row tells of a seafood stew. |
Definition at line 41 of file alhafra_rooms.c.
ALHAFRA_ROOMS_WAY
enum ALHAFRA_ROOMS_WAY
The ways between the east building's rooms: from its hall into the small back room with a bed and out again, from the room upstairs into the family's room behind it and out, and up the hall's stairs to the room upstairs and down. A way's exit and the entrance it leads to share its number.
| Enumerator | Value | Description |
|---|---|---|
WAY_OUT_OF_THE_BACK_ROOM | 20 | |
WAY_INTO_THE_BACK_ROOM | ||
WAY_OUT_OF_THE_FAMILYS_ROOM | ||
WAY_INTO_THE_FAMILYS_ROOM | ||
WAY_DOWN_THE_STAIRS | ||
WAY_UP_THE_STAIRS |
Definition at line 65 of file alhafra_rooms.c.
ALHAFRA_ROOMS_ACTOR_ID
enum ALHAFRA_ROOMS_ACTOR_ID
Alhafra's houses' people, numbering the rows of all three placement tables: the same row is the same person in each, put out of sight (-56, -56) while away. The tables part only in their last rows.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_ITEM_SHOPKEEPER | ACTOR_FIRST_PLACED | |
ACTOR_PRIEST | The Sanctum's priest, who tells of Garoh's curse. | |
ACTOR_WOMAN_ANGRY_AT_THE_SALE | "I don't care if it WAS broken! The mayor shouldn't have up and sold..." | |
ACTOR_WOMAN_ON_THE_SHABBY_BUYERS | "Those guys who bought the boat looked kinda shabby..." | |
ACTOR_HOST | The couple taking in neighbors whose house the tidal wave destroyed, and their two guests, the old man who keeps asking for tea and his wife. | |
ACTOR_HOSTESS | ||
ACTOR_DEMANDING_GUEST | ||
ACTOR_DEMANDING_GUESTS_WIFE | ||
ACTOR_INNKEEPER | ||
ACTOR_INN_WORKER | "You see how full our inn is? You'd think we'd be making money..." | |
ACTOR_MAN_ASKING_FOR_MONEY | The townsfolk lodged at the inn. "The town ought to give money to all the people who suffered..." | |
ACTOR_WOMAN_ON_THE_CRAMMED_ROOMS | "I can't believe the innkeeper is renting out more rooms..." | |
ACTOR_INN_COOK | "The innkeeper told me to use only the cheapest ingredients..." | |
ACTOR_MAN_ON_THE_MEALS | "The innkeeper serves his paying guests better meals than we Alhafrans" | |
ACTOR_WOMAN_ON_THE_MEALS | "We're all guests in the same inn, so why is my meal so awful?" | |
ACTOR_HUNGRY_CHILD | "Ohhh... I'm hungry... My tummy hurts..." | |
ACTOR_CHILD_MISSING_MEAT | "I don't think I've had a bite of meat or fish..." | |
ACTOR_MAN_ANGRY_AT_THE_MAYOR | The family crowded into one room. "I'll never forgive the mayor for failing to come to our aid..." | |
ACTOR_WOMAN_WORRIED_ABOUT_HER_GUESTS | "Our guests are very upset with the mayor." | |
ACTOR_BOY_ON_THE_MAYORS_TREASURE | "My pop's been lookin' around, an' he says the mayor keeps all his treasure..." | |
ACTOR_CHILD_COOPED_UP | "Why do we all have to be cooped up in such a small room?" | |
ACTOR_MAN_BEARING_THE_DISCOMFORT | "We all have to bear the discomfort of this place..." | |
ACTOR_WOMAN_EYEING_THE_WARRIOR | Who eyes the warrior next door: "...so suave and handsome." | |
ACTOR_ALEX | Alex, in the room next door, until the mast is cleared. |
Definition at line 93 of file alhafra_rooms.c.
ALHAFRA_ROOMS_SAILORS_ACTOR_ID
enum ALHAFRA_ROOMS_SAILORS_ACTOR_ID
The last rows of AlhafraRoomsActorPlacementsOnceTheMastIsCleared: two sailors
in Alex's room, one telling the other of Crossbone Isle.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SAILOR_TELLING_OF_CROSSBONE_ISLE | ACTOR_ALEX | |
ACTOR_SAILOR_EAGER_TO_JOIN | "If he's looking for a pirate crew, he can count me in!" |
Definition at line 147 of file alhafra_rooms.c.
anonymous enum
enum { SHOP_ALHAFRA_ITEMS }
Alhafra's shops, as mnShopRun numbers them.
| Enumerator | Value | Description |
|---|---|---|
SHOP_ALHAFRA_ITEMS | 9 |
Definition at line 219 of file alhafra_rooms.c.
anonymous enum
enum { INN_ID_ALHAFRA }
Alhafra's inn, as mnInnCheckIn numbers the inns.
| Enumerator | Value | Description |
|---|---|---|
INN_ID_ALHAFRA | 2 |
Definition at line 225 of file alhafra_rooms.c.
Functions in detail
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 75 of file alhafra_rooms.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 80 of file alhafra_rooms.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 85 of file alhafra_rooms.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
The houses' people: before Briggs is caught, after, and once the mast is cleared.
References ActorPlacements, AlhafraRoomsActorPlacementsOnceBriggsIsCaught, AlhafraRoomsActorPlacementsOnceTheMastIsCleared and fdScriptGetFlag().
Definition at line 164 of file alhafra_rooms.c.
scAlhafraRoomsMeetAlex
void scAlhafraRoomsMeetAlex(void)
The first time Felix walks into the inn's upstairs room (metatiles (28, 19) to (28, 21)), he walks up to Alex, who says the town's only boat has been sold and that he too is resting here while he looks for one.
References fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorWalkToAndWait(), fdCameraMoveToActorById(), fdCameraWaitForArrival(), fdScriptEnd(), fdScriptSetFlag(), fdScriptStart(), MainRoutineStateWork, scFieldActorStartRepeatedMotion(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait(), scScriptCameraFollowActor() and Sint32.
Referenced by AlhafraRoomsCues.
Definition at line 176 of file alhafra_rooms.c.
scAlhafraRoomsTalkToItemMerchant
void scAlhafraRoomsTalkToItemMerchant(Sint32 actor)
Felix talks to the item merchant: across his counter, the shop opens; from anywhere else he asks Felix not to mention the tidal wave.
References fdActorGetById(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), MainRoutineStateWork, mnShopRun() and Sint32.
Referenced by AlhafraRoomsCues, AlhafraRoomsCuesOnceBriggsIsCaught and AlhafraRoomsCuesOnceTheMastIsCleared.
Definition at line 232 of file alhafra_rooms.c.
scAlhafraRoomsTalkToInnkeeper
void scAlhafraRoomsTalkToInnkeeper(Sint32 actor)
Felix talks to the innkeeper: across his counter, the inn; from anywhere else he tells of the townsfolk who lost their homes.
References fdActorGetById(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), MainRoutineStateWork, mnInnCheckIn() and Sint32.
Referenced by AlhafraRoomsCues, AlhafraRoomsCuesOnceBriggsIsCaught and AlhafraRoomsCuesOnceTheMastIsCleared.
Definition at line 251 of file alhafra_rooms.c.
scAlhafraRoomsTalkToPriest
void scAlhafraRoomsTalkToPriest(Sint32 actor)
Felix talks to the priest: across his counter, the Sanctum; from anywhere else he tells of a terrible village in the middle of Osenia.
References fdActorGetById(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), MainRoutineStateWork, mnSanctumRun() and Sint32.
Referenced by AlhafraRoomsCues, AlhafraRoomsCuesOnceBriggsIsCaught and AlhafraRoomsCuesOnceTheMastIsCleared.
Definition at line 270 of file alhafra_rooms.c.
scAlhafraRoomsTalkToHostess
void scAlhafraRoomsTalkToHostess(Sint32 actor)
Felix talks to the lady of the house, who scowls, worn out by her houseguests.
References fdActorShowEmote(), fdScriptShowMessage(), scFieldScriptSetMessageId() and Sint32.
Referenced by AlhafraRoomsCues.
Definition at line 288 of file alhafra_rooms.c.
scAlhafraRoomsGuestsAskForTea
void scAlhafraRoomsGuestsAskForTea(void)
The first time Felix talks to the old houseguest, or reads his mind, he steps up to the old couple, who ask the lady of the house for tea; she tells them to fix it themselves.
References fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorShowEmote(), fdActorWalkByAndWait(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptSetFlag(), fdScriptStart(), MainRoutineStateWork, scFieldActorStartRepeatedMotion(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait() and Sint32.
Referenced by AlhafraRoomsCues.
Definition at line 299 of file alhafra_rooms.c.
scAlhafraRoomsTalkToDemandingGuest
void scAlhafraRoomsTalkToDemandingGuest(Sint32 actor)
Felix talks to the old houseguest, who grumbles that the lady of the house is no lady at all.
References fdActorFaceDirection(), fdActorFaceEachOther(), fdScriptShowMessage(), MainRoutineStateWork, scFieldScriptSetMessageId() and Sint32.
Referenced by AlhafraRoomsCues.
Definition at line 355 of file alhafra_rooms.c.
scAlhafraRoomsReadAlexsMind
void scAlhafraRoomsReadAlexsMind(Sint32 unused, Sint32 actor)
Felix casts Mind Read on Alex, who turns to him and asks him to stop.
References fdActorFaceDirection(), fdActorFaceEachOther(), fdScriptShowMessage(), MainRoutineStateWork, scFieldScriptSetMessageId() and Sint32.
Referenced by AlhafraRoomsCues.
Definition at line 365 of file alhafra_rooms.c.
scAlhafraRoomsHostTellsOfRepairs
void scAlhafraRoomsHostTellsOfRepairs(Sint32 actor)
The first time Felix talks to the master of the house, he tells that the town has started repairing the houses, and smiles that his guests will soon be gone.
References fdActorShowEmote(), fdScriptSetFlag(), fdScriptShowMessage(), scFieldScriptSetMessageId(), scFieldScriptWait() and Sint32.
Referenced by AlhafraRoomsCuesOnceBriggsIsCaught.
Definition at line 377 of file alhafra_rooms.c.
scAlhafraRoomsAlexHearsOfBriggs
void scAlhafraRoomsAlexHearsOfBriggs(Sint32 actor)
Felix talks to Alex after Briggs is caught, and Alex asks whether it was he who caught him.
References fdScriptOpenMessage(), fdScriptShowMessage(), scFieldPartyGetLeaderActor(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptSetMessageId(), scFieldScriptWait() and Sint32.
Referenced by AlhafraRoomsCuesOnceBriggsIsCaught.
Definition at line 392 of file alhafra_rooms.c.
scGetCues
const CUE *scGetCues(void)
The houses' cues.
References AlhafraRoomsCues, AlhafraRoomsCuesOnceBriggsIsCaught, AlhafraRoomsCuesOnceTheMastIsCleared and fdScriptGetFlag().
Definition at line 416 of file alhafra_rooms.c.
scAlhafraRoomsDrawFirstGuestSprite
Sint32 scAlhafraRoomsDrawFirstGuestSprite(ACTOR *guest)
The old houseguest's update: draws his head and upper body again, 12 pixels above him, over the stack of crates he stands in front of; without it the crates cover him from the waist up and only his legs show.
References AlhafraRoomsFirstGuestSprite, fdEffectSpriteDrawAtWorldXYZ() and Sint32.
Referenced by scInit().
Definition at line 428 of file alhafra_rooms.c.
scAlhafraRoomsDrawSecondGuestSprite
Sint32 scAlhafraRoomsDrawSecondGuestSprite(ACTOR *guest)
His wife's: the same, 8 pixels above her, so she too shows whole in front of the crates.
References AlhafraRoomsSecondGuestSprite, fdEffectSpriteDrawAtWorldXYZ() and Sint32.
Referenced by scInit().
Definition at line 439 of file alhafra_rooms.c.
scInit
Sint32 scInit(void)
Sets up the houses: the old couple's second sprites, and once the mast is cleared the two sailors in Alex's room.
References AlhafraRoomsFirstGuestSprite, AlhafraRoomsSecondGuestSprite, Call4(), fdActorGet(), fdEffectSpriteInitWithFadeOverlay(), fdFadeOverlayFillTiles(), fdScriptClearFlag(), fdScriptGetFlag(), fdScriptSetFlag(), MainRoutineStateWork, scAlhafraRoomsDrawFirstGuestSprite(), scAlhafraRoomsDrawSecondGuestSprite(), scFieldActorSetSpritePriority() and Sint32.
Definition at line 450 of file alhafra_rooms.c.
scPrepareMap
Sint32 scPrepareMap(void)
References Sint32.
Definition at line 522 of file alhafra_rooms.c.
scAlhafraRoomsOverhearCrossboneIsleTale
void scAlhafraRoomsOverhearCrossboneIsleTale(void)
In a game carried over from Golden Sun in which Isaac beat Deadbeard, Felix walks into Alex's old room upstairs in the inn after the mast is cleared (metatiles (31, 19) to (31, 22)) and overhears two sailors: Isaac picked Crossbone Isle clean and beat its ghost pirate, so he is their leader now. They walk out past Felix, and it happens once.
It runs while FLAG_ISAAC_CLEARED_CROSSBONE_ISLE is set and sets
FLAG_ALHAFRA_HEARD_OF_CROSSBONE_ISLE; outside the Japanese edition, only when
Felix came in from the east of the map (FLAG_ENTERED_IN_THE_EAST).
References AlhafraRoomsTravelersWalkOffScript, fdActorFaceDirectionAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorShowEmote(), fdActorWalkByAndWait(), fdActorWalkTo(), fdActorWalkToAndWait(), fdCameraWaitForArrival(), fdScriptEnd(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), scFieldActorJump(), scFieldActorSetSpritePriority(), scFieldActorStop(), scFieldActorWaitForMoveById(), scFieldActorWaitForScriptEndById(), scFieldActorWatchAndSetScript(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait(), scScriptCameraFollowActor() and Sint32.
Referenced by AlhafraRoomsCuesOnceTheMastIsCleared.
Definition at line 536 of file alhafra_rooms.c.
Variables in detail
AlhafraRoomsSecondGuestSprite
EFFECT_SPR AlhafraRoomsSecondGuestSprite
The old couple's heads and shoulders, drawn again over the crates they stand
in front of (scAlhafraRoomsDrawFirstGuestSprite,
scAlhafraRoomsDrawSecondGuestSprite).
Referenced by scAlhafraRoomsDrawSecondGuestSprite() and scInit().
Definition at line 28 of file alhafra_rooms.c.
AlhafraRoomsFirstGuestSprite
EFFECT_SPR AlhafraRoomsFirstGuestSprite
Referenced by scAlhafraRoomsDrawFirstGuestSprite() and scInit().
Definition at line 29 of file alhafra_rooms.c.
ActorPlacements
extern ACTOR_PLACE ActorPlacements[]
ACTOR_PLACE ActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 154 and 723 of file alhafra_rooms.c.
AlhafraRoomsActorPlacementsOnceBriggsIsCaught
extern ACTOR_PLACE AlhafraRoomsActorPlacementsOnceBriggsIsCaught[]
ACTOR_PLACE AlhafraRoomsActorPlacementsOnceBriggsIsCaught[]
Referenced by scGetActorPlacements().
Definition at lines 155 and 775 of file alhafra_rooms.c.
AlhafraRoomsActorPlacementsOnceTheMastIsCleared
extern ACTOR_PLACE AlhafraRoomsActorPlacementsOnceTheMastIsCleared[]
ACTOR_PLACE AlhafraRoomsActorPlacementsOnceTheMastIsCleared[]
Referenced by scGetActorPlacements().
Definition at lines 156 and 827 of file alhafra_rooms.c.
AlhafraRoomsCues
extern CUE AlhafraRoomsCues[]
CUE AlhafraRoomsCues[]
References scAlhafraRoomsGuestsAskForTea(), scAlhafraRoomsMeetAlex(), scAlhafraRoomsReadAlexsMind(), scAlhafraRoomsTalkToDemandingGuest(), scAlhafraRoomsTalkToHostess(), scAlhafraRoomsTalkToInnkeeper(), scAlhafraRoomsTalkToItemMerchant() and scAlhafraRoomsTalkToPriest().
Referenced by scGetCues().
Definition at lines 157 and 882 of file alhafra_rooms.c.
AlhafraRoomsCuesOnceBriggsIsCaught
extern CUE AlhafraRoomsCuesOnceBriggsIsCaught[]
CUE AlhafraRoomsCuesOnceBriggsIsCaught[]
References scAlhafraRoomsAlexHearsOfBriggs(), scAlhafraRoomsHostTellsOfRepairs(), scAlhafraRoomsTalkToInnkeeper(), scAlhafraRoomsTalkToItemMerchant() and scAlhafraRoomsTalkToPriest().
Referenced by scGetCues().
Definition at lines 158 and 1084 of file alhafra_rooms.c.
AlhafraRoomsCuesOnceTheMastIsCleared
extern CUE AlhafraRoomsCuesOnceTheMastIsCleared[]
CUE AlhafraRoomsCuesOnceTheMastIsCleared[]
References scAlhafraRoomsOverhearCrossboneIsleTale(), scAlhafraRoomsTalkToInnkeeper(), scAlhafraRoomsTalkToItemMerchant() and scAlhafraRoomsTalkToPriest().
Referenced by scGetCues().
Definition at lines 159 and 1244 of file alhafra_rooms.c.
AlhafraRoomsTravelersWalkOffScript
extern Uint32 AlhafraRoomsTravelersWalkOffScript[]
Uint32 AlhafraRoomsTravelersWalkOffScript[]
Referenced by scAlhafraRoomsOverhearCrossboneIsleTale().
Definition at lines 160 and 670 of file alhafra_rooms.c.
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 683 of file alhafra_rooms.c.