src/scene/izumo_rooms.c
Inside Izumo's houses on stilts, one room each: two houses in the east, the inn, the shop, Kushinada's house, the Sanctum, and the hall of Susa's house in the north, which has a cast and a story of its own. More…
#include "item_ids.h"#include "field/script_inline.h"#include "field/field_engine.h"#include "game/game.h"#include "field/field_engine_script.h"#include "scene/scene.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_UZUME_SPOKE_OF_SUSA 0x922 | Story flags: Lady Uzume has told the party where Susa went; her prayer for him has been read with Mind Read; Kushinada has begged "Susa" not to come for her; and Lady Uzume has caught the party reading her mind ("Trying again, Felix?"). |
#define | FLAG_UZUMES_PRAYER_READ 0x923 | |
#define | FLAG_KUSHINADA_ASKED_SUSA_NOT_TO_COME 0x925 | |
#define | FLAG_UZUME_MIND_READ 0x92b | |
#define | FLAG_HEROES_JUST_RECOGNIZED FLAG_AREA_TEMP(0x50) | Set as Susa's house welcomes the heroes (and again as Lady Uzume takes the Dancing Idol), and cleared on entering any other room: while it is set, the two women in red and the old men by the drums stay off stage. |
#define | DEFINE_IZUMO_ROOMS_IS_CLEAR (name, n1, n2) | Whether the other of the two women dancing in Susa's house is clear of the spot by the doorway this one steps to; each one's dance waits on it. |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { METATILE_EAST_SIDE_OF_THE_HALL, METATILE_WEST_SIDE_OF_THE_HA … } | The metatiles across the hall of Susa's house, on its east and west sides, where the heroes' welcome starts. |
enum | anonymous enum { HEROES_FROM_THE_EAST, HEROES_FROM_THE_WEST } | The side of the hall of Susa's house Felix came up for the heroes' welcome. |
enum | anonymous enum { ACTOR_KUSHINADA, ACTOR_PRIEST, ACTOR_PRIEST_ONCE_SLAIN } | Before the Serpent is slain: Kushinada, whose turn it is to be offered to it, and the Sanctum's priest ("Why would our guardian spirit demand a sacrifice?"), who stands behind the same counter once it is slain. |
enum | anonymous enum { ACTOR_SUSAS_HOUSE_UZUME, ACTOR_SUSAS_HOUSE_FIRST_DANCER, ACT … } | Susa's house before the Serpent is slain: Lady Uzume, Susa's sister ("If the serpent defeats Susa, I'll...be alone."), with two women dancing ("There's no point dancing if Okuni's not here...") and two old men by the drums. |
enum | anonymous enum { ACTOR_UZUME, ACTOR_FIRST_DANCER, ACTOR_SECOND_DANCER, ACTOR_ … } | Once the Serpent is slain, Susa's house holds Lady Uzume ("This is my home, and I am having a private conversation."), the same four, Kushinada, Susa, the villager who saw the heroes come down the mountain ("Yes... |
enum | anonymous enum { ANIM_KNEEL, ANIM_DANCE, ANIM_BEAT_DRUM } | The fifth animation of these villagers' sprites, as Kushinada's room and Susa's house show them before the Serpent is slain: Kushinada kneeling on her seat, the women in red dancing with their arms out, and the old men beating the drums. |
enum | anonymous enum { INN_ID_IZUMO } | Izumo's inn, as mnInnCheckIn numbers the inns. |
enum | FINISHING_BLOW_MESSAGE { SUSA_ALL_I_DID_WAS_STAB_IT, SUSA_HARDLY_A_FINISHING_BLOW } | Susa's answers to Sheba's "Don't forget, Susa dealt the finishing blow, didn't he?", from MsgYouReNotImplying on. |
enum | SUSAS_REWARD_MESSAGE { PARTY_WANTS_NO_REWARD, PARTY_CALLS_FELIX_GREEDY } | The party's answers to Kraden's "Even Felix agrees, don't you, Felix?", from MsgIDisagree on. |
Functions
| Name | Description | |
|---|---|---|
void | scIzumoRoomsRecognizeTheHeroes (Sint32 side) | The heroes' welcome in Susa's house. |
void | scIzumoRoomsShowMove (void) | Lady Uzume casts Move in the welcome ("Tell me, is it something like...this?") with nothing to move. |
DEFINE_IZUMO_ROOMS_IS_CLEAR( | IzumoRoomsIsFirstDancerClear , 10, toFIXED(148)) | Whether the second dancer is clear of the spot the first steps to; the first dancer's script waits on it. |
DEFINE_IZUMO_ROOMS_IS_CLEAR( | IzumoRoomsIsSecondDancerClear , 9, toFIXED(132)) | Whether the first dancer is clear of the spot the second steps to; the second dancer's script waits on it. |
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. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
void | scIzumoRoomsTalkToPriest (Sint32 actor) | Talking to the priest in the Sanctum across his counter opens the Sanctum's healing. |
void | scIzumoRoomsTalkToInnkeeper (Sint32 actor) | Talking to the innkeeper across his counter offers a night at Izumo's inn. |
void | scIzumoRoomsTalkToMerchant (Sint32 actor) | Talking to the shopkeeper across her counter opens Izumo's shop. |
void | scIzumoRoomsAskAfterSusa (void) | Talking to Lady Uzume in Susa's house before the Serpent is slain: the first time she says Susa has gone to fight the Serpent to save Kushinada, all for naught since a hero will surely appear, and each time she fears she will be alone if it defeats him. |
void | scIzumoRoomsReadPrayerForSusa (void) | Mind Read on Lady Uzume before the Serpent is slain shows her prayer that the guardian's anger is not aroused and that Susa will be protected. |
void | scIzumoRoomsTalkToUzume (void) | Talking to Lady Uzume in Susa's house once the Serpent is slain: she invites the party to enjoy the festival, and if one of the party carries the Dancing Idol the field menu opens so that it can be given to her. |
void | scIzumoRoomsAskAboutMtMikage (void) | The west one of the two women in red in Susa's house, once the Serpent is slain, asks whether the party went into the mountain too: either way she tells of the legend of a dancing doll of mysterious power hidden up there, which Lady Uzume would love to have. |
void | scIzumoRoomsReadUzumesMind (void) | Mind Read on Lady Uzume once the Serpent is slain: she notices it ("And what were you planning to do, once you'd read my mind, hm?"), and scolds Felix if her prayer was read before; tried again, she calls him a pest who can see her mind but not her heart. |
Sint32 | scIzumoRoomsKushinadaAsksSusaNotToCome (void) | Talking to Kushinada on her seat of stones in her house in the north-west, before the Serpent is slain: she takes Felix for Susa without looking up. |
void | scIzumoRoomsHeroesComeFromTheEast (void) | The first time the party comes into Susa's house after the Serpent is slain, Felix walking up the east side of the hall (metatile (12, 35)) comes upon Lady Uzume and Kushinada hearing that warriors came out of the mountain, and the welcome of the heroes begins. |
void | scIzumoRoomsHeroesComeFromTheWest (void) | The first time the party comes into Susa's house after the Serpent is slain, Felix walking up the west side of the hall (metatile (5, 35)) comes upon Lady Uzume and Kushinada hearing that warriors came out of the mountain, and the welcome of the heroes begins. |
Sint32 | scIzumoRoomsFindNoMoveTarget (void) | Lady Uzume's Move in the welcome has nothing to move. |
void | scIzumoRoomsGiveUzumeTheDoll (void) | Using the Dancing Idol on Lady Uzume in Susa's house: Felix steps up to her, she asks whether it was found at the peak of the mountain, and in thanks gives the party her pet, Coal, the Mars Djinni. |
Sint32 | scInit (void) | Sets up the room the party enters: the window in, Susa's house for the heroes' welcome or after it, Kushinada sobbing on her seat before the Serpent is slain, and the dancers and old men in Susa's house before it. |
Sint32 | scPrepareMap (void) | Nothing to prepare before the map is built. |
Variables
| Name | Description | |
|---|---|---|
extern ACTOR_PLACE | IzumoRoomsActorPlacements [] | |
extern ACTOR_PLACE | IzumoRoomsSusasHouseActorPlacements [] | |
extern ACTOR_PLACE | IzumoRoomsActorPlacementsOnceTheSerpentIsSlain [] | |
extern CUE | IzumoRoomsCues [] | |
extern CUE | IzumoRoomsSusasHouseCues [] | |
extern CUE | IzumoRoomsCuesOnceTheSerpentIsSlain [] | |
extern Sint32 | IzumoRoomsFirstDancerScript [] | The two women dancing in Susa's house before the Serpent is slain step to the doorway and back with a hop, each waiting until the other is clear of the spot. |
extern Sint32 | IzumoRoomsSecondDancerScript [] | |
extern Sint32 | IzumoRoomsHeavingScript [] | A girl in the Sanctum heaves with sobs ("*Sniff* How could we sacrifice our beloved Kushinada?"): her sprite is squashed and stretched three times, then rests. |
extern Sint32 | IzumoRoomsKushinadaHeavingScript [] | Sanctum does, with longer rests. |
Uint32 | SceneExits [] | The room has no exits of its own. |
Description
Inside Izumo's houses on stilts, one room each: two houses in the east, the inn, the shop, Kushinada's house, the Sanctum, and the hall of Susa's house in the north, which has a cast and a story of its own.
Before the Serpent is slain the village mourns: Kushinada sits on her seat of
stones and, taking Felix for Susa, begs him not to come for her, and in
Susa's house Lady Uzume says he has gone to fight the Serpent. Once it is
slain the party's first visit to Susa's house becomes the heroes' welcome
(scIzumoRoomsRecognizeTheHeroes): Lady Uzume and Kushinada learn who slew it,
Susa comes home, and Kraden explains Psynergy. Afterwards Lady Uzume takes
the Dancing Idol and gives the party Coal, the Mars Djinni
(scIzumoRoomsGiveUzumeTheDoll).
Macros in detail
FLAG_UZUME_SPOKE_OF_SUSA
#define FLAG_UZUME_SPOKE_OF_SUSA 0x922
Story flags: Lady Uzume has told the party where Susa went; her prayer for him has been read with Mind Read; Kushinada has begged "Susa" not to come for her; and Lady Uzume has caught the party reading her mind ("Trying again, Felix?").
Referenced by scIzumoRoomsAskAfterSusa().
Definition at line 28 of file izumo_rooms.c.
FLAG_UZUMES_PRAYER_READ
#define FLAG_UZUMES_PRAYER_READ 0x923
Referenced by scIzumoRoomsReadPrayerForSusa() and scIzumoRoomsReadUzumesMind().
Definition at line 29 of file izumo_rooms.c.
FLAG_KUSHINADA_ASKED_SUSA_NOT_TO_COME
#define FLAG_KUSHINADA_ASKED_SUSA_NOT_TO_COME 0x925
Referenced by scIzumoRoomsKushinadaAsksSusaNotToCome().
Definition at line 30 of file izumo_rooms.c.
FLAG_UZUME_MIND_READ
#define FLAG_UZUME_MIND_READ 0x92b
Referenced by scIzumoRoomsReadUzumesMind().
Definition at line 31 of file izumo_rooms.c.
FLAG_HEROES_JUST_RECOGNIZED
#define FLAG_HEROES_JUST_RECOGNIZED FLAG_AREA_TEMP(0x50)
Set as Susa's house welcomes the heroes (and again as Lady Uzume takes the Dancing Idol), and cleared on entering any other room: while it is set, the two women in red and the old men by the drums stay off stage.
Referenced by scInit() and scIzumoRoomsRecognizeTheHeroes().
Definition at line 35 of file izumo_rooms.c.
DEFINE_IZUMO_ROOMS_IS_CLEAR
#define DEFINE_IZUMO_ROOMS_IS_CLEAR(name, n1, n2)
Whether the other of the two women dancing in Susa's house is clear of the spot by the doorway this one steps to; each one's dance waits on it.
Definition at line 68 of file izumo_rooms.c.
Enumerations in detail
anonymous enum
enum { METATILE_EAST_SIDE_OF_THE_HALL, METATILE_WEST_SIDE_OF_THE_HALL }
The metatiles across the hall of Susa's house, on its east and west sides, where the heroes' welcome starts.
| Enumerator | Value | Description |
|---|---|---|
METATILE_EAST_SIDE_OF_THE_HALL | 22 | |
METATILE_WEST_SIDE_OF_THE_HALL |
Definition at line 39 of file izumo_rooms.c.
anonymous enum
enum { HEROES_FROM_THE_EAST, HEROES_FROM_THE_WEST }
The side of the hall of Susa's house Felix came up for the heroes' welcome.
| Enumerator | Value | Description |
|---|---|---|
HEROES_FROM_THE_EAST | ||
HEROES_FROM_THE_WEST |
Definition at line 53 of file izumo_rooms.c.
anonymous enum
enum { ACTOR_KUSHINADA, ACTOR_PRIEST, ACTOR_PRIEST_ONCE_SLAIN }
Before the Serpent is slain: Kushinada, whose turn it is to be offered to it, and the Sanctum's priest ("Why would our guardian spirit demand a sacrifice?"), who stands behind the same counter once it is slain.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_KUSHINADA | 17 | |
ACTOR_PRIEST | 22 | |
ACTOR_PRIEST_ONCE_SLAIN | 12 |
Definition at line 128 of file izumo_rooms.c.
anonymous enum
enum { ACTOR_SUSAS_HOUSE_UZUME, ACTOR_SUSAS_HOUSE_FIRST_DANCER, ACTOR_SUSAS_HOUSE_SECOND_DANCER, ACTOR_SUSAS_HOUSE_WEST_VILLAGER, … }
Susa's house before the Serpent is slain: Lady Uzume, Susa's sister ("If the serpent defeats Susa, I'll...be alone."), with two women dancing ("There's no point dancing if Okuni's not here...") and two old men by the drums.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SUSAS_HOUSE_UZUME | 8 | |
ACTOR_SUSAS_HOUSE_FIRST_DANCER | ||
ACTOR_SUSAS_HOUSE_SECOND_DANCER | ||
ACTOR_SUSAS_HOUSE_WEST_VILLAGER | ||
ACTOR_SUSAS_HOUSE_EAST_VILLAGER |
Definition at line 138 of file izumo_rooms.c.
anonymous enum
enum { ACTOR_UZUME, ACTOR_FIRST_DANCER, ACTOR_SECOND_DANCER, ACTOR_WEST_VILLAGER, … }
Once the Serpent is slain, Susa's house holds Lady Uzume ("This is my home, and I am having a private conversation."), the same four, Kushinada, Susa, the villager who saw the heroes come down the mountain ("Yes... After the serpent's roar, these warriors appeared."), the party for the welcome, and Coal.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_UZUME | 15 | |
ACTOR_FIRST_DANCER | ||
ACTOR_SECOND_DANCER | ||
ACTOR_WEST_VILLAGER | ||
ACTOR_EAST_VILLAGER | ||
ACTOR_SAVED_KUSHINADA | ||
ACTOR_SUSA | ||
ACTOR_WITNESS | ||
ACTOR_KRADEN | ||
ACTOR_COAL | the Mars Djinni Uzume gives the party |
Definition at line 152 of file izumo_rooms.c.
anonymous enum
enum { ANIM_KNEEL, ANIM_DANCE, ANIM_BEAT_DRUM }
The fifth animation of these villagers' sprites, as Kushinada's room and Susa's house show them before the Serpent is slain: Kushinada kneeling on her seat, the women in red dancing with their arms out, and the old men beating the drums.
| Enumerator | Value | Description |
|---|---|---|
ANIM_KNEEL | 5 | |
ANIM_DANCE | 5 | |
ANIM_BEAT_DRUM | 5 |
Definition at line 202 of file izumo_rooms.c.
anonymous enum
enum { INN_ID_IZUMO }
Izumo's inn, as mnInnCheckIn numbers the inns.
| Enumerator | Value | Description |
|---|---|---|
INN_ID_IZUMO | 9 |
Definition at line 210 of file izumo_rooms.c.
FINISHING_BLOW_MESSAGE
enum FINISHING_BLOW_MESSAGE
Susa's answers to Sheba's "Don't forget, Susa dealt the finishing blow,
didn't he?", from MsgYouReNotImplying on.
| Enumerator | Value | Description |
|---|---|---|
SUSA_ALL_I_DID_WAS_STAB_IT | 10 | "Finishing blow? All I did was stab it with the Cloud Brand." |
SUSA_HARDLY_A_FINISHING_BLOW | 11 | "That's right. Piercing it with the Cloud Brand was hardly a finishing blow." |
Definition at line 488 of file izumo_rooms.c.
SUSAS_REWARD_MESSAGE
enum SUSAS_REWARD_MESSAGE
The party's answers to Kraden's "Even Felix agrees, don't you, Felix?", from
MsgIDisagree on.
| Enumerator | Value | Description |
|---|---|---|
PARTY_WANTS_NO_REWARD | 4 | Yes: "I do, too.", "We weren't fighting in hopes of getting a reward, were we?", "We'll be satisfied just learning your Psynergy." |
PARTY_CALLS_FELIX_GREEDY | 7 | No: "Are you asking for a reward? That's just plain greedy!", "We couldn't possibly take any sort of reward.", "Learning new Psynergy will be reward enough." |
Definition at line 499 of file izumo_rooms.c.
Functions in detail
scIzumoRoomsRecognizeTheHeroes
void scIzumoRoomsRecognizeTheHeroes(Sint32 side)
The heroes' welcome in Susa's house. A villager tells Lady Uzume and Kushinada that warriors came out of the mountain after the Serpent's roar; Lady Uzume orders the strangers out of her home until the villager knows them for the heroes, and she bids them welcome. The party introduce themselves, and Lady Uzume shows them her Move. Susa walks in from the entrance, Kraden explains Psynergy and Alchemy, and Felix answers three questions: whether the party slew the Serpent only for its quest, whether Susa dealt the finishing blow, and whether Susa deserves the reward. The party say they must leave for Lemuria and vow to return.
The party, Lady Uzume, the villager and Susa walk on the side of the hall Felix came up.
References fdActorFaceActor(), fdActorFaceActorById(), fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorFaceEachOther(), fdActorGetById(), fdActorSetAnimation(), fdActorSetAnimationById(), fdActorSetAttachedEffect(), fdActorSetDestinationById(), fdActorSetDestinationOffset(), fdActorSetSpritePriority(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorStartRepeatedMotion(), fdActorTurnToFaceEachOther(), fdActorWaitForMoveById(), fdActorWalkTo(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scFieldActorJump(), scFieldActorLaunchFromLeader(), scFieldActorStartRepeatedMotion(), scFieldActorWaitForMoveById(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptWait(), scIzumoRoomsShowMove(), scScriptCameraFollowActor(), Sint32 and syGameFlagSet().
Referenced by scIzumoRoomsHeroesComeFromTheEast() and scIzumoRoomsHeroesComeFromTheWest().
Definition at lines 59 and 523 of file izumo_rooms.c.
scIzumoRoomsShowMove
void scIzumoRoomsShowMove(void)
Lady Uzume casts Move in the welcome ("Tell me, is it something like...this?") with nothing to move.
References fdBattleEffectStopMainActor(), fdPsynergyEnd(), fdPsynergyLoadResources(), fdPsynergyRunHandler(), fdPsynergySetupActorPair(), fdPsynergyStartCast(), fdScriptWait() and scIzumoRoomsFindNoMoveTarget().
Referenced by scIzumoRoomsRecognizeTheHeroes().
Definition at lines 61 and 1370 of file izumo_rooms.c.
IzumoRoomsIsFirstDancerClear
DEFINE_IZUMO_ROOMS_IS_CLEAR(IzumoRoomsIsFirstDancerClear, 10, toFIXED(148))
Whether the second dancer is clear of the spot the first steps to; the first dancer's script waits on it.
Referenced by IzumoRoomsFirstDancerScript.
Definition at line 86 of file izumo_rooms.c.
IzumoRoomsIsSecondDancerClear
DEFINE_IZUMO_ROOMS_IS_CLEAR(IzumoRoomsIsSecondDancerClear, 9, toFIXED(132))
Whether the first dancer is clear of the spot the second steps to; the second dancer's script waits on it.
Referenced by IzumoRoomsSecondDancerScript.
Definition at line 90 of file izumo_rooms.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 92 of file izumo_rooms.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 97 of file izumo_rooms.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 102 of file izumo_rooms.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References IzumoRoomsActorPlacements, IzumoRoomsActorPlacementsOnceTheSerpentIsSlain, IzumoRoomsSusasHouseActorPlacements, MainRoutineStateWork and syGameFlagGet().
Definition at line 107 of file izumo_rooms.c.
scGetCues
const CUE *scGetCues(void)
References IzumoRoomsCues, IzumoRoomsCuesOnceTheSerpentIsSlain, IzumoRoomsSusasHouseCues, MainRoutineStateWork and syGameFlagGet().
Definition at line 116 of file izumo_rooms.c.
scIzumoRoomsTalkToPriest
void scIzumoRoomsTalkToPriest(Sint32 actor)
Talking to the priest in the Sanctum across his counter opens the Sanctum's healing. From any other side he asks why the guardian spirit would demand a sacrifice, or once the Serpent is slain says the island is flourishing.
References fdActorGetById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), MainRoutineStateWork, mnSanctumRun(), Sint32 and syGameFlagGet().
Referenced by IzumoRoomsCues and IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 169 of file izumo_rooms.c.
scIzumoRoomsTalkToInnkeeper
void scIzumoRoomsTalkToInnkeeper(Sint32 actor)
Talking to the innkeeper across his counter offers a night at Izumo's inn. From any other side he says he never believed the legend of the Serpent, or once it is slain that Briggs from Champa hasn't been by selling fish.
References fdActorGetById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), MainRoutineStateWork, mnInnCheckIn(), Sint32 and syGameFlagGet().
Referenced by IzumoRoomsCues and IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 218 of file izumo_rooms.c.
scIzumoRoomsTalkToMerchant
void scIzumoRoomsTalkToMerchant(Sint32 actor)
Talking to the shopkeeper across her counter opens Izumo's shop. From any other side she speaks of the special powers of Izumo's leaders, or once the Serpent is slain of the wonders the party must see on its travels.
References fdActorGetById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), MainRoutineStateWork, mnShopRun(), Sint32 and syGameFlagGet().
Referenced by IzumoRoomsCues and IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 244 of file izumo_rooms.c.
scIzumoRoomsAskAfterSusa
void scIzumoRoomsAskAfterSusa(void)
Talking to Lady Uzume in Susa's house before the Serpent is slain: the first time she says Susa has gone to fight the Serpent to save Kushinada, all for naught since a hero will surely appear, and each time she fears she will be alone if it defeats him.
References fdActorSetAnimationById(), fdActorShowEmoteById(), fdActorStartRepeatedMotion(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), Sint32 and syGameFlagSet().
Referenced by IzumoRoomsSusasHouseCues.
Definition at line 270 of file izumo_rooms.c.
scIzumoRoomsReadPrayerForSusa
void scIzumoRoomsReadPrayerForSusa(void)
Mind Read on Lady Uzume before the Serpent is slain shows her prayer that the guardian's anger is not aroused and that Susa will be protected.
References fdScriptSetMessageId(), fdScriptShowMessageAndWait(), Sint32 and syGameFlagSet().
Referenced by IzumoRoomsSusasHouseCues.
Definition at line 310 of file izumo_rooms.c.
scIzumoRoomsTalkToUzume
void scIzumoRoomsTalkToUzume(void)
Talking to Lady Uzume in Susa's house once the Serpent is slain: she invites the party to enjoy the festival, and if one of the party carries the Dancing Idol the field menu opens so that it can be given to her. Once she has it, she says she can explore Mt. Mikage on her own with it.
References fdActorFaceActorById(), fdActorFaceDirection(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), gmPartyInventoryFindMember(), MainRoutineStateWork, Sint32 and syGameFlagGet().
Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 322 of file izumo_rooms.c.
scIzumoRoomsAskAboutMtMikage
void scIzumoRoomsAskAboutMtMikage(void)
The west one of the two women in red in Susa's house, once the Serpent is slain, asks whether the party went into the mountain too: either way she tells of the legend of a dancing doll of mysterious power hidden up there, which Lady Uzume would love to have.
References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait() and Sint32.
Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 352 of file izumo_rooms.c.
scIzumoRoomsReadUzumesMind
void scIzumoRoomsReadUzumesMind(void)
Mind Read on Lady Uzume once the Serpent is slain: she notices it ("And what were you planning to do, once you'd read my mind, hm?"), and scolds Felix if her prayer was read before; tried again, she calls him a pest who can see her mind but not her heart.
References fdActorFaceActorById(), fdActorFaceDirection(), fdActorSetAnimationById(), fdActorShowEmoteById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, Sint32, syGameFlagGet() and syGameFlagSet().
Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 380 of file izumo_rooms.c.
scIzumoRoomsKushinadaAsksSusaNotToCome
Sint32 scIzumoRoomsKushinadaAsksSusaNotToCome(void)
Talking to Kushinada on her seat of stones in her house in the north-west, before the Serpent is slain: she takes Felix for Susa without looking up. The first time she begs him not to come for her, lest she lose the courage to be offered for Izumo; after that only "Susa, please... Don't try to save me." Each time Felix steps back from her.
References fdActorGetById(), fdActorStartRepeatedMotion(), fdActorWaitForMoveById(), fdActorWalkByById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork and Sint32.
Referenced by IzumoRoomsCues.
Definition at line 423 of file izumo_rooms.c.
scIzumoRoomsHeroesComeFromTheEast
void scIzumoRoomsHeroesComeFromTheEast(void)
The first time the party comes into Susa's house after the Serpent is slain, Felix walking up the east side of the hall (metatile (12, 35)) comes upon Lady Uzume and Kushinada hearing that warriors came out of the mountain, and the welcome of the heroes begins.
References scIzumoRoomsRecognizeTheHeroes().
Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 472 of file izumo_rooms.c.
scIzumoRoomsHeroesComeFromTheWest
void scIzumoRoomsHeroesComeFromTheWest(void)
The first time the party comes into Susa's house after the Serpent is slain, Felix walking up the west side of the hall (metatile (5, 35)) comes upon Lady Uzume and Kushinada hearing that warriors came out of the mountain, and the welcome of the heroes begins.
References scIzumoRoomsRecognizeTheHeroes().
Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 481 of file izumo_rooms.c.
scIzumoRoomsFindNoMoveTarget
Sint32 scIzumoRoomsFindNoMoveTarget(void)
Lady Uzume's Move in the welcome has nothing to move.
References Sint32.
Referenced by scIzumoRoomsShowMove().
Definition at line 1363 of file izumo_rooms.c.
scIzumoRoomsGiveUzumeTheDoll
void scIzumoRoomsGiveUzumeTheDoll(void)
Using the Dancing Idol on Lady Uzume in Susa's house: Felix steps up to her, she asks whether it was found at the peak of the mountain, and in thanks gives the party her pet, Coal, the Mars Djinni.
References fdActorFaceActorById(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorSetAnimationById(), fdActorSetDestination(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorStartRepeatedMotion(), fdActorTurnToFaceEachOther(), fdActorWaitForMoveById(), fdActorWalkToAndWait(), fdBattleEffectEndArcEffect(), fdBattleEffectSetObjectUpdateMode(), fdBattleEffectStartArcEffect(), fdBattleEffectWaitForArcGroups(), fdDjinnJoinParty(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), gmPartyInventoryRemove(), MainRoutineStateWork, Sint32, syGameFlagSet() and sySoundPlay().
Referenced by IzumoRoomsCuesOnceTheSerpentIsSlain.
Definition at line 1387 of file izumo_rooms.c.
scInit
Sint32 scInit(void)
Sets up the room the party enters: the window in, Susa's house for the heroes' welcome or after it, Kushinada sobbing on her seat before the Serpent is slain, and the dancers and old men in Susa's house before it. Returns 0.
References fdActorGetById(), fdActorSetAnimation(), fdActorSetAttachedEffect(), fdScriptClearFlag(), fdScriptPlaySound(), MainRoutineStateWork, Sint32 and syGameFlagGet().
Definition at line 1483 of file izumo_rooms.c.
scPrepareMap
Sint32 scPrepareMap(void)
Nothing to prepare before the map is built. Returns 0.
References Sint32.
Definition at line 1536 of file izumo_rooms.c.
Variables in detail
IzumoRoomsActorPlacements
extern ACTOR_PLACE IzumoRoomsActorPlacements[]
ACTOR_PLACE IzumoRoomsActorPlacements[]
References IzumoRoomsHeavingScript, IzumoRoomsKushinadaHeavingScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 45 and 1798 of file izumo_rooms.c.
IzumoRoomsSusasHouseActorPlacements
extern ACTOR_PLACE IzumoRoomsSusasHouseActorPlacements[]
ACTOR_PLACE IzumoRoomsSusasHouseActorPlacements[]
References IzumoRoomsFirstDancerScript, IzumoRoomsSecondDancerScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 46 and 1838 of file izumo_rooms.c.
IzumoRoomsActorPlacementsOnceTheSerpentIsSlain
extern ACTOR_PLACE IzumoRoomsActorPlacementsOnceTheSerpentIsSlain[]
ACTOR_PLACE IzumoRoomsActorPlacementsOnceTheSerpentIsSlain[]
References IzumoRoomsHeavingScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 47 and 1856 of file izumo_rooms.c.
IzumoRoomsCues
extern CUE IzumoRoomsCues[]
CUE IzumoRoomsCues[]
References scIzumoRoomsKushinadaAsksSusaNotToCome(), scIzumoRoomsTalkToInnkeeper(), scIzumoRoomsTalkToMerchant() and scIzumoRoomsTalkToPriest().
Referenced by scGetCues().
Definition at lines 48 and 1901 of file izumo_rooms.c.
IzumoRoomsSusasHouseCues
extern CUE IzumoRoomsSusasHouseCues[]
CUE IzumoRoomsSusasHouseCues[]
References scIzumoRoomsAskAfterSusa() and scIzumoRoomsReadPrayerForSusa().
Referenced by scGetCues().
Definition at lines 49 and 1993 of file izumo_rooms.c.
IzumoRoomsCuesOnceTheSerpentIsSlain
extern CUE IzumoRoomsCuesOnceTheSerpentIsSlain[]
CUE IzumoRoomsCuesOnceTheSerpentIsSlain[]
References scIzumoRoomsAskAboutMtMikage(), scIzumoRoomsGiveUzumeTheDoll(), scIzumoRoomsHeroesComeFromTheEast(), scIzumoRoomsHeroesComeFromTheWest(), scIzumoRoomsReadUzumesMind(), scIzumoRoomsTalkToInnkeeper(), scIzumoRoomsTalkToMerchant(), scIzumoRoomsTalkToPriest() and scIzumoRoomsTalkToUzume().
Referenced by scGetCues().
Definition at lines 50 and 2048 of file izumo_rooms.c.
IzumoRoomsFirstDancerScript
extern Sint32 IzumoRoomsFirstDancerScript[]
Sint32 IzumoRoomsFirstDancerScript[]
The two women dancing in Susa's house before the Serpent is slain step to the doorway and back with a hop, each waiting until the other is clear of the spot.
References IzumoRoomsIsFirstDancerClear() and Sint32.
Referenced by IzumoRoomsSusasHouseActorPlacements.
Definition at lines 62 and 1546 of file izumo_rooms.c.
IzumoRoomsSecondDancerScript
extern Sint32 IzumoRoomsSecondDancerScript[]
Sint32 IzumoRoomsSecondDancerScript[]
References IzumoRoomsIsSecondDancerClear() and Sint32.
Referenced by IzumoRoomsSusasHouseActorPlacements.
Definition at lines 63 and 1595 of file izumo_rooms.c.
IzumoRoomsHeavingScript
extern Sint32 IzumoRoomsHeavingScript[]
Sint32 IzumoRoomsHeavingScript[]
A girl in the Sanctum heaves with sobs ("*Sniff* How could we sacrifice our beloved Kushinada?"): her sprite is squashed and stretched three times, then rests.
References Sint32.
Referenced by IzumoRoomsActorPlacements and IzumoRoomsActorPlacementsOnceTheSerpentIsSlain.
Definition at lines 64 and 1647 of file izumo_rooms.c.
IzumoRoomsKushinadaHeavingScript
extern Sint32 IzumoRoomsKushinadaHeavingScript[]
Sint32 IzumoRoomsKushinadaHeavingScript[]
Sanctum does, with longer rests.
References Sint32.
Referenced by IzumoRoomsActorPlacements.
Definition at lines 1541 and 1708 of file izumo_rooms.c.
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 1764 of file izumo_rooms.c.