src/scene/daila.c
Daila, the village in the north of Indra that Felix reaches first after the tidal wave, in two scenes that share this overlay. More…
#include "field/field.h"#include "game/game.h"#include "field/field_script.h"#include "field/script_inline.h"#include "scene/scene.h"#include "text/msg_ids.h"#include "field/actor_script.h"#include "shop/shop.h"#include "shared/scene_freeze_puddle_into_pillar.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_DAILA_FIRST_PUDDLE_PARCHED 0x210 | The drained village's puddles dried by Parch for this visit, one flag each, in the order of the puddles' rows. |
#define | FLAG_DAILA_SECOND_PUDDLE_PARCHED 0x211 | |
#define | FLAG_DAILA_THIRD_PUDDLE_PARCHED 0x212 | |
#define | FLAG_DAILA_FOURTH_PUDDLE_PARCHED 0x213 | |
#define | FLAG_DAILA_FIFTH_PUDDLE_PARCHED 0x214 | |
#define | FLAG_DAILA_SIXTH_PUDDLE_PARCHED 0x215 | |
#define | FLAG_DAILA_PUDDLE_FROZEN_FIRST 0x216 | The first of six flags, one for each of the drained village's puddles that Frost has frozen into a pillar for this visit, by DailaRoomsPillarFrozenFlags. |
#define | ACTOR_PSY_CRYSTAL (FIELD_TREASURE_ACTOR + 2) | The buried Psy Crystal: the village's third scene item, after the jar and the barrel. |
#define | BOAT_ASKER | The actor the boat sailor's question and answer open at. |
#define | DEFINE_DAILA_PARCH_PUDDLE (name, fromX, y, toX, actor, flag) | Parch on a puddle dries it for the visit: the puddle disappears, its flag is set, and the metatile just west of it (column fromX of row y) is copied over its own at toX. |
#define | SIXTH_PUDDLE_HIDDEN | The actor Parch on the sixth puddle hides. |
Enumerations
| Name | Description | |
|---|---|---|
enum | DAILA_METATILE { METATILE_RIKIS_HOUSE_DOOR, METATILE_TAVIS_HOUSE_DOOR, METATI … } | The map metatiles the cue tables answer, as map.txt numbers them. |
enum | DAILA_ACTOR_ID { ACTOR_VILLAGER_ASKING_IF_BEEN_BEFORE, ACTOR_WOMAN_WHO_FELT_I … } | The people and puddles the scripts move, numbering the rows of DailaActorPlacements (the flooded village's rows to ACTOR_ITEM_SHOPKEEPER are alike). |
enum | MEET_ALEX_MESSAGE { MEET_ALEX_TRAVEL_WITH_ME, MEET_ALEX_NOT_A_GOOD_IDEA, MEET_AL … } | Where the meeting's lines, from MsgDailaFelixCall on, go their own way after Jenna asks whether to go to Madra with Alex. |
Functions
| Name | Description | |
|---|---|---|
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. |
Sint32 * | 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. |
void | scDailaEnterDoor (void) | Felix walks in at the door of one of the village's six houses: Riki's in the west (metatile (7, 20)), Tavi's (metatile (12, 17)), the middle house (metatile (21, 19)), the mayor's on its rise (metatile (29, 16)), the inn (metatile (13, 27)) or the weapon and armor shop (metatile (23, 27)). |
void | scDailaDigUpPsyCrystal (Sint32 mode) | Scoop just northeast of the puddle west of the big tree, in the village's southeast (metatile (30, 22)), digs up a Psy Crystal: a hand scoops at the earth, the crystal pops out and Felix holds it up. |
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 | scDailaTalkBeenBefore (void) | The villager wandering at the west edge of the flooded village asks once whether Felix has been to Daila before, and answers yes or no; after that he marvels that the wave hurt no one. |
void | scDailaTalkIndraMoved (void) | A woman in the flooded village asks whether all of Indra seemed to move when the tidal wave hit, and answers yes or no. |
void | scDailaTalkBoat (void) | A sailor in the flooded village asks whether Felix wants a boat, and answers yes or no. |
void | scDailaAskAfterTaviAndRiki (Sint32 keeper) | The keeper of the item stall east of the inn sells to Felix when he talks to her from in front of the counter, facing north; from any other side she worries that Tavi and Riki have not been seen lately. |
void | scDailaTalkHip (void) | The old man the wave knocked over, on his feet again once the village drains, asks whether Felix thought it was the wave that hurt his hip, and answers yes or no. |
void | scDailaTaviAndRikiAreHome (Sint32 keeper) | Once Tavi and Riki are home, the keeper of the item stall sells to Felix from in front of the counter, as before, and from any other side tells of their return. |
static inline void | scActorJoinLeader (Sint32 actor) | The party member walks into Felix and vanishes, as the party does when a scene ends. |
void | scDailaMeetAlex (void) | As Felix walks up to the mayor's door (metatile (29, 17)), Alex steps out of it and calls to him. |
DEFINE_DAILA_PARCH_PUDDLE( | DailaParchFirstPuddle , 10, 19, 11, ACTOR_FIRST_PUDDLE, FLAG_DAILA_FIRST_PUDDLE_PARCHED) | Parch on the puddle west of the well (metatile (11, 19)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit. |
DEFINE_DAILA_PARCH_PUDDLE( | DailaParchSecondPuddle , 25, 20, 26, ACTOR_SECOND_PUDDLE, FLAG_DAILA_SECOND_PUDDLE_PARCHED) | Parch on the puddle east of the middle house (metatile (26, 20)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit. |
DEFINE_DAILA_PARCH_PUDDLE( | DailaParchThirdPuddle , 28, 23, 29, ACTOR_THIRD_PUDDLE, FLAG_DAILA_THIRD_PUDDLE_PARCHED) | Parch on the puddle west of the big tree in the southeast (metatile (29, 23)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit. |
DEFINE_DAILA_PARCH_PUDDLE( | DailaParchFourthPuddle , 17, 11, 18, ACTOR_FOURTH_PUDDLE, FLAG_DAILA_FOURTH_PUDDLE_PARCHED) | Parch on the puddle below the sanctuary's steps (metatile (18, 11)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit. |
DEFINE_DAILA_PARCH_PUDDLE( | DailaParchFifthPuddle , 30, 17, 31, ACTOR_FIFTH_PUDDLE, FLAG_DAILA_FIFTH_PUDDLE_PARCHED) | Parch on the puddle beside the mayor's door (metatile (31, 17)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit. |
DEFINE_DAILA_PARCH_PUDDLE( | DailaParchSixthPuddle , 16, 23, 17, SIXTH_PUDDLE_HIDDEN, FLAG_DAILA_SIXTH_PUDDLE_PARCHED) | Parch on the puddle north of the item stall (metatile (17, 23)) dries its metatile like the others, but without BUGFIX the puddle itself stays in sight. |
Sint32 | scInit (void) | Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
void | scDailaJumpForward (void) | Felix hops over a puddle of the drained village when he walks into it from the metatile beside it on any side, landing on the far side if the ground there is clear. |
Variables
| Name | Description | |
|---|---|---|
extern SCENE_ENTRANCE | DailaEntrances [] | |
extern Sint32 | DailaFloodedExits [] | |
extern Sint32 | DailaExits [] | |
extern ACTOR_PLACE | DailaFloodedActorPlacements [] | |
extern ACTOR_PLACE | DailaActorPlacements [] | |
extern CUE | DailaFloodedCues [] | |
extern CUE | DailaCues [] | |
extern Sint16 | DailaRoomsPillarFrozenFlags [] | The six puddles Frost freezes into pillars, each with the flag set while it stands (fdFlagBlockPlaceAll). |
extern Sint32 | DailaFallenOldManScript [] | |
extern Uint32 | DailaPuddleChildScript [] | |
ACTOR_PLACE | DailaUnusedPlacements [] | Unused: an empty placement table nothing reads. |
Description
Daila, the village in the north of Indra that Felix reaches first after the tidal wave, in two scenes that share this overlay.
On the first visit (SCENE_DAILA_FLOODED) the wave's salt water still stands
in pools in the streets, an old man lies where it knocked him over, and the
villagers wonder where Riki and Tavi have gone. Once Tavi is rescued from the
Shrine of the Sea God the village is SCENE_DAILA: the water has drained to
six small puddles, and walking up to the mayor's door on his rise in the east
brings Alex out of it, off to Madra to find a boat (scDailaMeetAlex). The
getters pick each scene's tables by MainRoutineStateWork.next.
In both, six doors lead into the houses (scDailaEnterDoor), the sanctuary
stands at the top of the steps in the north, and the village is left by the
south road or the far northwest corner. In the drained village Felix hops
over a puddle he walks into (scDailaJumpForward), Parch dries one up, Frost
freezes one into a pillar of ice, and Scoop beside the puddle west of the big
tree in the southeast digs up a Psy Crystal.
Macros in detail
FLAG_DAILA_FIRST_PUDDLE_PARCHED
#define FLAG_DAILA_FIRST_PUDDLE_PARCHED 0x210
The drained village's puddles dried by Parch for this visit, one flag each, in the order of the puddles' rows.
Referenced by DailaActorPlacements, DailaCues and scPrepareMap().
Definition at line 66 of file daila.c.
FLAG_DAILA_SECOND_PUDDLE_PARCHED
#define FLAG_DAILA_SECOND_PUDDLE_PARCHED 0x211
Referenced by DailaActorPlacements, DailaCues and scPrepareMap().
Definition at line 67 of file daila.c.
FLAG_DAILA_THIRD_PUDDLE_PARCHED
#define FLAG_DAILA_THIRD_PUDDLE_PARCHED 0x212
Referenced by DailaActorPlacements, DailaCues and scPrepareMap().
Definition at line 68 of file daila.c.
FLAG_DAILA_FOURTH_PUDDLE_PARCHED
#define FLAG_DAILA_FOURTH_PUDDLE_PARCHED 0x213
Referenced by DailaActorPlacements, DailaCues and scPrepareMap().
Definition at line 69 of file daila.c.
FLAG_DAILA_FIFTH_PUDDLE_PARCHED
#define FLAG_DAILA_FIFTH_PUDDLE_PARCHED 0x214
Referenced by DailaActorPlacements, DailaCues and scPrepareMap().
Definition at line 70 of file daila.c.
FLAG_DAILA_SIXTH_PUDDLE_PARCHED
#define FLAG_DAILA_SIXTH_PUDDLE_PARCHED 0x215
Referenced by DailaActorPlacements, DailaCues and scPrepareMap().
Definition at line 71 of file daila.c.
FLAG_DAILA_PUDDLE_FROZEN_FIRST
#define FLAG_DAILA_PUDDLE_FROZEN_FIRST 0x216
The first of six flags, one for each of the drained village's puddles that
Frost has frozen into a pillar for this visit, by
DailaRoomsPillarFrozenFlags.
Referenced by DailaCues and DailaRoomsPillarFrozenFlags.
Definition at line 75 of file daila.c.
ACTOR_PSY_CRYSTAL
#define ACTOR_PSY_CRYSTAL (FIELD_TREASURE_ACTOR + 2)
The buried Psy Crystal: the village's third scene item, after the jar and the barrel.
Referenced by scDailaDigUpPsyCrystal() and scInit().
Definition at line 131 of file daila.c.
BOAT_ASKER
#define BOAT_ASKER
The actor the boat sailor's question and answer open at. BUG: the question
and its answer open at the woman who felt Indra move, as in
scDailaTalkIndraMoved, not at the sailor who asks.
Referenced by scDailaTalkBoat().
Definition at line 284 of file daila.c.
DEFINE_DAILA_PARCH_PUDDLE
#define DEFINE_DAILA_PARCH_PUDDLE(name, fromX, y, toX, actor, flag)
Parch on a puddle dries it for the visit: the puddle disappears, its flag is set, and the metatile just west of it (column fromX of row y) is copied over its own at toX.
Definition at line 614 of file daila.c.
SIXTH_PUDDLE_HIDDEN
#define SIXTH_PUDDLE_HIDDEN
The actor Parch on the sixth puddle hides. BUG: hides actor 31, which the sixth puddle would be if Jenna's and Sheba's rows took numbers of their own; they place the party's actors, so the puddle is actor 29, no actor 31 exists, and the puddle stays on its dried metatile.
Definition at line 679 of file daila.c.
Enumerations in detail
DAILA_METATILE
enum DAILA_METATILE
The map metatiles the cue tables answer, as map.txt numbers them. Each door's metatile is the number of the exit it leaves by, in both scenes.
| Enumerator | Value | Description |
|---|---|---|
METATILE_RIKIS_HOUSE_DOOR | DAILA_FLOODED_DAILA_ROOMS_HOUSES_WEST | |
METATILE_TAVIS_HOUSE_DOOR | DAILA_FLOODED_DAILA_ROOMS_HOUSES_NORTHWEST | |
METATILE_MIDDLE_HOUSE_DOOR | DAILA_FLOODED_DAILA_ROOMS_HOUSES_NORTHEAST | |
METATILE_MAYORS_HOUSE_DOOR | DAILA_FLOODED_DAILA_ROOMS_HOUSES_EAST | |
METATILE_INN_DOOR | DAILA_FLOODED_DAILA_ROOMS_HOUSES_SOUTHWEST | |
METATILE_WEAPON_AND_ARMOR_SHOP_DOOR | DAILA_FLOODED_DAILA_ROOMS_HOUSES_SOUTHEAST | |
METATILE_SANCTUARY_DOOR | DAILA_FLOODED_DAILA_ROOMS_SANCTUM | |
METATILE_SOUTH_ROAD | DAILA_FLOODED_WORLD_MAP_SOUTH | |
METATILE_NORTHWEST_ROAD | DAILA_FLOODED_WORLD_MAP_NORTH | |
METATILE_BEFORE_MAYORS_DOOR | 20 | Just south of the mayor's door, metatile (29, 17). |
METATILE_NORTH_OF_PUDDLE | 30 | The metatiles beside each puddle, named by the side they lie on: walking from one into the puddle hops over it. |
METATILE_WEST_OF_PUDDLE | ||
METATILE_EAST_OF_PUDDLE | ||
METATILE_SOUTH_OF_PUDDLE | ||
METATILE_FIRST_PUDDLE | 60 | The puddles' own metatiles, in the order of map.txt's rows. |
METATILE_FOURTH_PUDDLE | ||
METATILE_SECOND_PUDDLE | ||
METATILE_THIRD_PUDDLE | ||
METATILE_FIFTH_PUDDLE | ||
METATILE_SIXTH_PUDDLE | ||
METATILE_BURIED_PSY_CRYSTAL | 100 | Metatile (30, 22), northeast of the third puddle, where the Psy Crystal lies. |
METATILE_WELL | 200 | The well west of the middle house, metatiles (14, 19) to (15, 20). |
Definition at line 30 of file daila.c.
DAILA_ACTOR_ID
enum DAILA_ACTOR_ID
The people and puddles the scripts move, numbering the rows of
DailaActorPlacements (the flooded village's rows to ACTOR_ITEM_SHOPKEEPER are
alike).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_VILLAGER_ASKING_IF_BEEN_BEFORE | ACTOR_FIRST_PLACED | "You don't look familiar. Have you been to Daila before?" |
ACTOR_WOMAN_WHO_FELT_INDRA_MOVE | "Didn't it feel like all of Indra moved when that wave hit?" | |
ACTOR_MAN_WHO_SAW_A_LIGHT | "I saw a bright light in the northwestern sky earlier... Somewhere over Gondowan." | |
ACTOR_VILLAGER_THANKFUL_FOR_THE_MOUNTAINS | "Thank goodness for that | |
ACTOR_FALLEN_OLD_MAN | mountain range to the north..." | |
ACTOR_VILLAGER_ON_THE_SHRINE | "That ancient tower to the east? It's the Shrine of the Sea God..." | |
ACTOR_VILLAGER_WAITING_UP_FOR_RIKI_AND_TAVI | "Riki and Tavi sure are out late..." | |
ACTOR_VILLAGER_ON_RIKI_AND_TAVI | "I wonder if those two are still out there... They know it's off-limits." | |
ACTOR_SAILOR_WITHOUT_A_BOAT | "Our village survived the wave, but all our boats were destroyed..." | |
ACTOR_SAILOR_ON_THE_BOATS | "Hm? You want a boat?" | |
ACTOR_MAN_ON_THE_STANDING_WATER | "That tidal wave left a lot of standing water in our village..." | |
ACTOR_CHILD_WHO_LOVES_PUDDLES | "Yaaay! Puddles in the village! Yaaay!" | |
ACTOR_CHILD_WHO_FELL_IN_A_PUDDLE | "Bleah! I fell in a puddle and got my clothes dirty! Mom's gonna have a fit!" | |
ACTOR_ITEM_SHOPKEEPER | The keeper of the item stall east of the inn. | |
ACTOR_FIRST_PUDDLE | ||
ACTOR_SECOND_PUDDLE | ||
ACTOR_THIRD_PUDDLE | ||
ACTOR_FOURTH_PUDDLE | ||
ACTOR_FIFTH_PUDDLE | ||
ACTOR_ALEX | ||
ACTOR_KRADEN | ||
ACTOR_SIXTH_PUDDLE | After Jenna's and Sheba's rows, which place the party's own actors. |
Definition at line 80 of file daila.c.
MEET_ALEX_MESSAGE
enum MEET_ALEX_MESSAGE
Where the meeting's lines, from MsgDailaFelixCall on, go their own way after
Jenna asks whether to go to Madra with Alex.
| Enumerator | Value | Description |
|---|---|---|
MEET_ALEX_TRAVEL_WITH_ME | 11 | "Ah... You...want to travel with me?" |
MEET_ALEX_NOT_A_GOOD_IDEA | 13 | "Ah. Felix doesn't think it's a good idea." |
MEET_ALEX_PREOCCUPIED | 15 | "No, that's not it. I'm just...preoccupied." |
Definition at line 409 of file daila.c.
Functions in detail
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References DailaEntrances.
Definition at line 144 of file daila.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 149 of file daila.c.
scGetExits
Sint32 *scGetExits(void)
References DailaExits, DailaFloodedExits, MainRoutineStateWork and Sint32.
Definition at line 154 of file daila.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References DailaActorPlacements, DailaFloodedActorPlacements and MainRoutineStateWork.
Definition at line 162 of file daila.c.
scDailaEnterDoor
void scDailaEnterDoor(void)
Felix walks in at the door of one of the village's six houses: Riki's in the west (metatile (7, 20)), Tavi's (metatile (12, 17)), the middle house (metatile (21, 19)), the mayor's on its rise (metatile (29, 16)), the inn (metatile (13, 27)) or the weapon and armor shop (metatile (23, 27)). The door sound plays, he steps on into the dark doorway, and the screen closes in a circle on him before he appears inside. The door's metatile is the number of the exit taken.
References fdActorCenterAndWalk(), fdActorGetById(), fdActorSetAnimationById(), fdActorSetSpritePriority(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, syImportScriptSetExitRequest() and sySoundPlay().
Referenced by DailaCues and DailaFloodedCues.
Definition at line 177 of file daila.c.
scDailaDigUpPsyCrystal
void scDailaDigUpPsyCrystal(Sint32 mode)
Scoop just northeast of the puddle west of the big tree, in the village's southeast (metatile (30, 22)), digs up a Psy Crystal: a hand scoops at the earth, the crystal pops out and Felix holds it up.
References fdScriptDigUpTreasure() and Sint32.
Referenced by DailaCues.
Definition at line 199 of file daila.c.
scGetCues
const CUE *scGetCues(void)
References DailaCues, DailaFloodedCues and MainRoutineStateWork.
Definition at line 204 of file daila.c.
scDailaTalkBeenBefore
void scDailaTalkBeenBefore(void)
The villager wandering at the west edge of the flooded village asks once whether Felix has been to Daila before, and answers yes or no; after that he marvels that the wave hurt no one.
References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), Sint32, syGameFlagGet() and syGameFlagSet().
Referenced by DailaFloodedCues.
Definition at line 215 of file daila.c.
scDailaTalkIndraMoved
void scDailaTalkIndraMoved(void)
A woman in the flooded village asks whether all of Indra seemed to move when the tidal wave hit, and answers yes or no.
References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait() and Sint32.
Referenced by DailaFloodedCues.
Definition at line 255 of file daila.c.
scDailaTalkBoat
void scDailaTalkBoat(void)
A sailor in the flooded village asks whether Felix wants a boat, and answers yes or no.
References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait() and Sint32.
Referenced by DailaFloodedCues.
Definition at line 291 of file daila.c.
scDailaAskAfterTaviAndRiki
void scDailaAskAfterTaviAndRiki(Sint32 keeper)
The keeper of the item stall east of the inn sells to Felix when he talks to her from in front of the counter, facing north; from any other side she worries that Tavi and Riki have not been seen lately.
References fdActorGetById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), MainRoutineStateWork, mnShopRun() and Sint32.
Referenced by DailaFloodedCues.
Definition at line 319 of file daila.c.
scDailaTalkHip
void scDailaTalkHip(void)
The old man the wave knocked over, on his feet again once the village drains, asks whether Felix thought it was the wave that hurt his hip, and answers yes or no.
References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait() and Sint32.
Referenced by DailaCues.
Definition at line 342 of file daila.c.
scDailaTaviAndRikiAreHome
void scDailaTaviAndRikiAreHome(Sint32 keeper)
Once Tavi and Riki are home, the keeper of the item stall sells to Felix from in front of the counter, as before, and from any other side tells of their return.
References fdActorGetById(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), MainRoutineStateWork, mnShopRun() and Sint32.
Referenced by DailaCues.
Definition at line 372 of file daila.c.
scActorJoinLeader
static inline void scActorJoinLeader(Sint32 actor)
The party member walks into Felix and vanishes, as the party does when a scene ends.
References fdActorGetById(), fdActorSetAnimationById(), fdActorSetDestinationById(), fdActorWaitForMoveById(), MainRoutineStateWork and Sint32.
Referenced by scDailaMeetAlex() and scWorldMapRefuseToRunAway().
Definition at line 394 of file daila.c.
scDailaMeetAlex
void scDailaMeetAlex(void)
As Felix walks up to the mayor's door (metatile (29, 17)), Alex steps out of it and calls to him. The party gathers, Alex says the mayor told him to try Madra for a boat, Jenna asks whether to go with him, and whatever Felix answers Alex prefers to work alone and walks off south. It happens once, and only before Felix has been to Madra's gate and before Piers joins.
References fdActorFaceActorById(), fdActorFaceDirection(), fdActorFaceDirectionById(), fdActorJump(), fdActorLaunchFromLeader(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimationById(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorStartRepeatedMotion(), fdActorTurnToFaceEachOther(), fdActorWalkToAndWait(), fdActorWalkToAndWaitById(), fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scActorJoinLeader(), scFieldActorLaunchFromLeader(), Sint32, syGameFlagGet() and syGameFlagSet().
Referenced by DailaCues.
Definition at line 423 of file daila.c.
DailaParchFirstPuddle
DEFINE_DAILA_PARCH_PUDDLE(DailaParchFirstPuddle, 10, 19, 11, ACTOR_FIRST_PUDDLE, FLAG_DAILA_FIRST_PUDDLE_PARCHED)
Parch on the puddle west of the well (metatile (11, 19)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit.
Referenced by DailaCues.
Definition at line 628 of file daila.c.
DailaParchSecondPuddle
DEFINE_DAILA_PARCH_PUDDLE(DailaParchSecondPuddle, 25, 20, 26, ACTOR_SECOND_PUDDLE, FLAG_DAILA_SECOND_PUDDLE_PARCHED)
Parch on the puddle east of the middle house (metatile (26, 20)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit.
Referenced by DailaCues.
Definition at line 638 of file daila.c.
DailaParchThirdPuddle
DEFINE_DAILA_PARCH_PUDDLE(DailaParchThirdPuddle, 28, 23, 29, ACTOR_THIRD_PUDDLE, FLAG_DAILA_THIRD_PUDDLE_PARCHED)
Parch on the puddle west of the big tree in the southeast (metatile (29, 23)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit.
Referenced by DailaCues.
Definition at line 648 of file daila.c.
DailaParchFourthPuddle
DEFINE_DAILA_PARCH_PUDDLE(DailaParchFourthPuddle, 17, 11, 18, ACTOR_FOURTH_PUDDLE, FLAG_DAILA_FOURTH_PUDDLE_PARCHED)
Parch on the puddle below the sanctuary's steps (metatile (18, 11)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit.
Referenced by DailaCues.
Definition at line 658 of file daila.c.
DailaParchFifthPuddle
DEFINE_DAILA_PARCH_PUDDLE(DailaParchFifthPuddle, 30, 17, 31, ACTOR_FIFTH_PUDDLE, FLAG_DAILA_FIFTH_PUDDLE_PARCHED)
Parch on the puddle beside the mayor's door (metatile (31, 17)) dries it up: the puddle disappears, and its metatile becomes like the ground beside it for the rest of the visit.
Referenced by DailaCues.
Definition at line 668 of file daila.c.
DailaParchSixthPuddle
DEFINE_DAILA_PARCH_PUDDLE(DailaParchSixthPuddle, 16, 23, 17, SIXTH_PUDDLE_HIDDEN, FLAG_DAILA_SIXTH_PUDDLE_PARCHED)
Parch on the puddle north of the item stall (metatile (17, 23)) dries its
metatile like the others, but without BUGFIX the puddle itself stays in
sight.
Referenced by DailaCues.
Definition at line 686 of file daila.c.
scInit
Sint32 scInit(void)
References DailaRoomsPillarFrozenFlags, fdActorFallOverById(), fdActorSetSpritePriority(), fdActorSetWideSprite(), fdFlagBlockPlaceAll(), MainRoutineStateWork, Sint32 and syGameFlagGet().
Definition at line 695 of file daila.c.
scPrepareMap
Sint32 scPrepareMap(void)
References fdMapGridCopyMetatileAttributes(), MainRoutineStateWork, Sint32 and syGameFlagGet().
Definition at line 709 of file daila.c.
scDailaJumpForward
void scDailaJumpForward(void)
Felix hops over a puddle of the drained village when he walks into it from the metatile beside it on any side, landing on the far side if the ground there is clear.
References fdTryJumpForward().
Referenced by DailaCues.
Definition at line 732 of file daila.c.
Variables in detail
DailaEntrances
extern SCENE_ENTRANCE DailaEntrances[]
SCENE_ENTRANCE DailaEntrances[]
Referenced by scGetEntrances().
Definition at lines 133 and 809 of file daila.c.
DailaFloodedExits
extern Sint32 DailaFloodedExits[]
Sint32 DailaFloodedExits[]
References Sint32.
Referenced by scGetExits().
Definition at lines 134 and 816 of file daila.c.
DailaExits
extern Sint32 DailaExits[]
Sint32 DailaExits[]
References Sint32.
Referenced by scGetExits().
Definition at lines 135 and 839 of file daila.c.
DailaFloodedActorPlacements
extern ACTOR_PLACE DailaFloodedActorPlacements[]
ACTOR_PLACE DailaFloodedActorPlacements[]
References DailaFallenOldManScript, DailaPuddleChildScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 136 and 859 of file daila.c.
DailaActorPlacements
extern ACTOR_PLACE DailaActorPlacements[]
ACTOR_PLACE DailaActorPlacements[]
References DailaPuddleChildScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 137 and 989 of file daila.c.
DailaFloodedCues
extern CUE DailaFloodedCues[]
CUE DailaFloodedCues[]
References scDailaAskAfterTaviAndRiki(), scDailaEnterDoor(), scDailaTalkBeenBefore(), scDailaTalkBoat() and scDailaTalkIndraMoved().
Referenced by scGetCues().
Definition at lines 138 and 1209 of file daila.c.
DailaCues
extern CUE DailaCues[]
CUE DailaCues[]
References DailaParchFifthPuddle(), DailaParchFirstPuddle(), DailaParchFourthPuddle(), DailaParchSecondPuddle(), DailaParchSixthPuddle(), DailaParchThirdPuddle(), scDailaDigUpPsyCrystal(), scDailaEnterDoor(), scDailaJumpForward(), scDailaMeetAlex(), scDailaTalkHip(), scDailaTaviAndRikiAreHome() and scFreezePuddleIntoPillar().
Referenced by scGetCues().
Definition at lines 139 and 1327 of file daila.c.
DailaRoomsPillarFrozenFlags
extern Sint16 DailaRoomsPillarFrozenFlags[]
Sint16 DailaRoomsPillarFrozenFlags[]
The six puddles Frost freezes into pillars, each with the flag set while it stands
(fdFlagBlockPlaceAll).
Referenced by scFreezePuddleIntoPillar() and scInit().
Definition at lines 140 and 740 of file daila.c.
DailaFallenOldManScript
extern Sint32 DailaFallenOldManScript[]
Sint32 DailaFallenOldManScript[]
References Sint32.
Referenced by DailaFloodedActorPlacements.
Definition at lines 141 and 750 of file daila.c.
DailaPuddleChildScript
extern Uint32 DailaPuddleChildScript[]
Uint32 DailaPuddleChildScript[]
Referenced by DailaActorPlacements and DailaFloodedActorPlacements.
Definition at lines 142 and 794 of file daila.c.
DailaUnusedPlacements
ACTOR_PLACE DailaUnusedPlacements[]
Unused: an empty placement table nothing reads.
Definition at line 854 of file daila.c.