src/scene/ancient_lemuria.c
Ancient Lemuria, the ruined shore before the hidden city, where the party lands after getting past Poseidon. More…
#include "field/field_script.h"#include "field/script_inline.h"#include "game/game.h"#include "field/field_engine.h"#include "scene/scene.h"#include "text/msg_ids.h"
Macros
| Name | Description | |
|---|---|---|
#define | FIRST_SHORE_WATER_PALETTE 7 | The shore's water: its two background palettes, from the first, the colours of each that rotate every four ticks, the colour of the first that shines in the colours of AncientLemuriaShiningWaterColors in turn, and how many there are. |
#define | SHORE_WATER_FIRST_COLOR 1 | |
#define | SHORE_WATER_LAST_COLOR 14 | |
#define | WATER_SHINING_COLOR 15 | |
#define | SHINING_WATER_COLORS 12 | |
#define | RIME_STATUE_ROCK_TICKS 16 | The ticks the statue Rime hides in takes to rock from side to side and back, clicking as each rock starts. |
#define | FLAG_RIME_REVEALED 0x96c | Rime's story: brought out of the first weeds by Cyclone, hiding in the blue statue, which rocks, until Tremor shakes it out. |
#define | FLAG_RIME_OUT_OF_THE_STATUE 0x96d | |
#define | FLAG_RIME_IN_THE_STATUE 0x96e | |
#define | FLAG_BLUE_STATUE_MOVED 0x961 | Set once Move has pushed the blue statue onto metatile (8, 36), where the Lemurians see the Psynergy and come out. |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { METATILE_BEHAVIOR_WAY_TO_DOCK, METATILE_BEHAVIOR_KEEP_CAMERA … } | The metatile behaviours the shore's cue table answers: the way south to the boat dock, where Kraden may call Felix back; the rows across the dock where the view stops scrolling north and may again; the ledge's edge beside the blue statue's spot; and the six patches of weeds Cyclone blows away. |
enum | anonymous enum { ANCIENT_LEMURIA_TO_SOUTHEAST_CORNER, ANCIENT_LEMURIA_TO_NORT … } | The shore's own way between the ruined gateway in its north-east and its south-east corner: the exits by where they lead, the entrances by where the party comes out. |
enum | anonymous enum { ANCIENT_LEMURIA_AT_NORTHEAST_GATEWAY, ANCIENT_LEMURIA_AT_SOU … } | |
enum | ANCIENT_LEMURIA_ACTOR_ID { ACTOR_BLUE_STATUE, ACTOR_LEMURIAN, ACTOR_SECOND_LEMURIAN, AC … } | The shore's actors, numbering ActorPlacements' rows that are not the party's. |
Functions
| Name | Description | |
|---|---|---|
void | scAncientLemuriaStillTheStatue (Sint32 id) | The rocking statue stands still. |
void | scAncientLemuriaMeetTheLemurians (void) | The two Lemurians who saw the Psynergy come out, wonder whether the party are the ones who defeated Poseidon and, seeing Piers, hurry back into the city ahead of the party. |
void | scAncientLemuriaRimeJoins (void) | Felix talks to Rime once Tremor has shaken it out of its statue, and it joins the party. |
void | scAncientLemuriaRockTheStatue (ACTOR *actor) | The statue Rime hides in rocks from side to side, clicking as each rock starts. |
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. |
void | scAncientLemuriaKeepCameraSouth (void) | Felix walks north across the boat dock towards the gangway, over metatiles (8, 52) to (12, 52): the game stops the view scrolling north. |
void | scAncientLemuriaLetCameraNorth (void) | Nothing visible happens as Felix walks over the next row, metatiles (8, 53) to (12, 53); the view may scroll north over the whole shore again. |
void | scAncientLemuriaStartMovingStatue (void) | Nothing more than the move itself happens as Felix starts casting Move on the blue statue by the path north. |
void | scAncientLemuriaFinishMovingStatue (Sint32 unused, Sint32 id) | Felix moves the blue statue by the path north with Move. |
static inline void | Hop (Sint32 dx, Sint32 dz) | One of Rime's hops, by (dx, dz). |
void | scAncientLemuriaCycloneRevealsRime (void) | Felix casts Cyclone on the first patch of weeds (metatile (5, 13)): the weeds blow away and, the first time, Rime pops out of the ground, spinning as it grows, then hops off east with Felix turning to watch it and hides in a blue statue, which starts to rock. |
void | scAncientLemuriaCycloneSecondWeeds (void) | Felix casts Cyclone on the second patch of weeds (metatile (8, 9)), and they blow away. |
void | scAncientLemuriaCycloneThirdWeeds (void) | Felix casts Cyclone on the third patch of weeds (metatile (12, 7)), and they blow away. |
void | scAncientLemuriaCycloneFourthWeeds (void) | Felix casts Cyclone on the fourth patch of weeds (metatile (14, 11)), and they blow away. |
void | scAncientLemuriaCycloneFifthWeeds (void) | Felix casts Cyclone on the fifth patch of weeds (metatile (21, 9)), and they blow away. |
void | scAncientLemuriaCycloneSixthWeeds (void) | Felix casts Cyclone on the sixth patch of weeds (metatile (25, 8)), and they blow away. |
void | scAncientLemuriaStartTremorOnTheStatue (void) | As Felix starts casting Tremor on the rocking statue Rime hides in, it stands still. |
void | scAncientLemuriaTremorShakesOutRime (void) | Tremor on the shaking statue, once Rime hides in it: Rime is thrown out, spinning as it grows back to its full size. |
void | scAncientLemuriaHeadForTheDock (void) | Felix walks south onto the boat dock: once the Lemurians have met the party and until King Hydros is met, Kraden calls him back to keep exploring; otherwise the party leaves Lemuria by boat. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
Sint32 | scAncientLemuriaCycleWaterColors (void) | The water's shine: every four ticks the rotating colours of both water palettes move on by one, and the shining colour takes the next of AncientLemuriaShiningWaterColors. |
Sint32 | scInit (void) | Sets the shore up on entry: its water shines, the area's name shows only on coming out at the north-east gateway, the blue statue and the Lemurians are as the party left them, and Rime's statue rocks while Rime hides in it. |
Sint32 | scPrepareMap (void) | Notes which way the party came into the shore (FLAG_LEMURIA_OTHER_WAY_IN), and come the other way, redraws the south of the shore to match. |
void | scAncientLemuriaJumpForward (void) | Felix walks east off the ledge beside the blue statue's spot (metatile (9, 36)) and jumps across, if nothing stands in the way. |
Variables
| Name | Description | |
|---|---|---|
extern Sint16 | AncientLemuriaShiningWaterColors [SHINING_WATER_COLORS] | The colours the shining water takes in turn. |
SCENE_ENTRANCE | SceneEntrances [] | Besides the party's return to the pier after the ship is stolen, four unused spots about the mast: below the huge block, on the dock by its crate, on the deck, and at the top of the sail's east pole. |
Uint32 | SceneExits [] | The room has no exits of its own. |
ACTOR_PLACE | ActorPlacements [] | The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's. |
CUE | SceneCues [] | The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers. |
Description
Ancient Lemuria, the ruined shore before the hidden city, where the party lands after getting past Poseidon.
From the boat dock at the south, the party climbs the shore. Move pushes a
blue statue onto its spot by the path north, metatile (8, 36), and the
Psynergy brings out two Lemurians, who wonder whether this is the party that
defeated Poseidon and, seeing Piers, hurry back into the city
(scAncientLemuriaMeetTheLemurians). Cyclone clears six patches of weeds;
under the first is Rime, the Mercury Djinni, which hops off and hides in
another blue statue until Tremor shakes it out
(scAncientLemuriaCycloneRevealsRime, scAncientLemuriaTremorShakesOutRime).
Walking back to the dock before King Hydros is met, Kraden calls Felix back
to keep exploring.
Macros in detail
FIRST_SHORE_WATER_PALETTE
#define FIRST_SHORE_WATER_PALETTE 7
The shore's water: its two background palettes, from the first, the colours
of each that rotate every four ticks, the colour of the first that shines in
the colours of AncientLemuriaShiningWaterColors in turn, and how many there
are.
Referenced by scAncientLemuriaCycleWaterColors().
Definition at line 29 of file ancient_lemuria.c.
SHORE_WATER_FIRST_COLOR
#define SHORE_WATER_FIRST_COLOR 1
Referenced by scAncientLemuriaCycleWaterColors().
Definition at line 30 of file ancient_lemuria.c.
SHORE_WATER_LAST_COLOR
#define SHORE_WATER_LAST_COLOR 14
Referenced by scAncientLemuriaCycleWaterColors().
Definition at line 31 of file ancient_lemuria.c.
WATER_SHINING_COLOR
#define WATER_SHINING_COLOR 15
Referenced by scAncientLemuriaCycleWaterColors().
Definition at line 32 of file ancient_lemuria.c.
SHINING_WATER_COLORS
#define SHINING_WATER_COLORS 12
Referenced by AncientLemuriaShiningWaterColors and scAncientLemuriaCycleWaterColors().
Definition at line 33 of file ancient_lemuria.c.
RIME_STATUE_ROCK_TICKS
#define RIME_STATUE_ROCK_TICKS 16
The ticks the statue Rime hides in takes to rock from side to side and back, clicking as each rock starts.
Referenced by scAncientLemuriaRockTheStatue().
Definition at line 39 of file ancient_lemuria.c.
FLAG_RIME_REVEALED
#define FLAG_RIME_REVEALED 0x96c
Rime's story: brought out of the first weeds by Cyclone, hiding in the blue statue, which rocks, until Tremor shakes it out.
Referenced by scAncientLemuriaCycloneRevealsRime(), scAncientLemuriaTremorShakesOutRime() and scInit().
Definition at line 43 of file ancient_lemuria.c.
FLAG_RIME_OUT_OF_THE_STATUE
#define FLAG_RIME_OUT_OF_THE_STATUE 0x96d
Referenced by scAncientLemuriaTremorShakesOutRime() and scInit().
Definition at line 44 of file ancient_lemuria.c.
FLAG_RIME_IN_THE_STATUE
#define FLAG_RIME_IN_THE_STATUE 0x96e
Referenced by scAncientLemuriaCycloneRevealsRime(), scAncientLemuriaTremorShakesOutRime() and SceneCues.
Definition at line 45 of file ancient_lemuria.c.
FLAG_BLUE_STATUE_MOVED
#define FLAG_BLUE_STATUE_MOVED 0x961
Set once Move has pushed the blue statue onto metatile (8, 36), where the Lemurians see the Psynergy and come out.
Referenced by scAncientLemuriaFinishMovingStatue(), scAncientLemuriaHeadForTheDock(), SceneCues and scInit().
Definition at line 49 of file ancient_lemuria.c.
Enumerations in detail
anonymous enum
enum { METATILE_BEHAVIOR_WAY_TO_DOCK, METATILE_BEHAVIOR_KEEP_CAMERA_SOUTH, METATILE_BEHAVIOR_LET_CAMERA_NORTH, METATILE_BEHAVIOR_LEDGE_BY_STATUE_SPOT, … }
The metatile behaviours the shore's cue table answers: the way south to the boat dock, where Kraden may call Felix back; the rows across the dock where the view stops scrolling north and may again; the ledge's edge beside the blue statue's spot; and the six patches of weeds Cyclone blows away.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_WAY_TO_DOCK | 2 | |
METATILE_BEHAVIOR_KEEP_CAMERA_SOUTH | 20 | |
METATILE_BEHAVIOR_LET_CAMERA_NORTH | ||
METATILE_BEHAVIOR_LEDGE_BY_STATUE_SPOT | ||
METATILE_BEHAVIOR_RIMES_WEEDS | 30 | |
METATILE_BEHAVIOR_SECOND_WEEDS | ||
METATILE_BEHAVIOR_THIRD_WEEDS | ||
METATILE_BEHAVIOR_FOURTH_WEEDS | ||
METATILE_BEHAVIOR_FIFTH_WEEDS | ||
METATILE_BEHAVIOR_SIXTH_WEEDS |
Definition at line 55 of file ancient_lemuria.c.
anonymous enum
enum { ANCIENT_LEMURIA_TO_SOUTHEAST_CORNER, ANCIENT_LEMURIA_TO_NORTHEAST_GATEWAY }
The shore's own way between the ruined gateway in its north-east and its south-east corner: the exits by where they lead, the entrances by where the party comes out.
| Enumerator | Value | Description |
|---|---|---|
ANCIENT_LEMURIA_TO_SOUTHEAST_CORNER | 1 | |
ANCIENT_LEMURIA_TO_NORTHEAST_GATEWAY | 4 |
Definition at line 72 of file ancient_lemuria.c.
anonymous enum
enum { ANCIENT_LEMURIA_AT_NORTHEAST_GATEWAY, ANCIENT_LEMURIA_AT_SOUTHEAST_CORNER }
| Enumerator | Value | Description |
|---|---|---|
ANCIENT_LEMURIA_AT_NORTHEAST_GATEWAY | 1 | |
ANCIENT_LEMURIA_AT_SOUTHEAST_CORNER | 4 |
Definition at line 78 of file ancient_lemuria.c.
ANCIENT_LEMURIA_ACTOR_ID
enum ANCIENT_LEMURIA_ACTOR_ID
The shore's actors, numbering ActorPlacements' rows that are not the party's.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_BLUE_STATUE | ACTOR_FIRST_PLACED | The blue statue Move pushes along the shore. |
ACTOR_LEMURIAN | The Lemurians who meet the party (scAncientLemuriaMeetTheLemurians). | |
ACTOR_SECOND_LEMURIAN | ||
ACTOR_KRADEN | ||
ACTOR_RIME | ||
ACTOR_RIMES_STATUE | The blue statue Rime hides in until Tremor shakes it out. |
Definition at line 85 of file ancient_lemuria.c.
Functions in detail
scAncientLemuriaStillTheStatue
void scAncientLemuriaStillTheStatue(Sint32 id)
The rocking statue stands still.
References fdActorGetById() and Sint32.
Referenced by scAncientLemuriaStartTremorOnTheStatue() and scAncientLemuriaTremorShakesOutRime().
Definition at lines 21 and 120 of file ancient_lemuria.c.
scAncientLemuriaMeetTheLemurians
void scAncientLemuriaMeetTheLemurians(void)
The two Lemurians who saw the Psynergy come out, wonder whether the party are the ones who defeated Poseidon and, seeing Piers, hurry back into the city ahead of the party.
References fdActorFaceDirection(), fdActorFaceDirectionAndRefreshById(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorPlaceOnActor(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorSetAnimationById(), fdActorSetAttachedEffect(), fdActorSetDestinationById(), fdActorSetSpritePriority(), fdActorShowEmote(), fdActorShowEmoteById(), fdActorStartRepeatedMotion(), fdActorWaitForMoveById(), fdActorWalkBy(), fdActorWalkByAndWait(), fdActorWalkByAndWaitById(), fdCameraFollowActor(), fdCameraWaitForArrival(), fdEffectSetAttached(), fdMessageShowAtActor(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), fdTryJumpForward(), MainRoutineStateWork, mnMessageCloseFinishedWindows(), result, scFieldActorLaunchFromLeader(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptShowMessageThenWait() and Sint32.
Referenced by scAncientLemuriaFinishMovingStatue().
Definition at lines 22 and 494 of file ancient_lemuria.c.
scAncientLemuriaRimeJoins
void scAncientLemuriaRimeJoins(void)
Felix talks to Rime once Tremor has shaken it out of its statue, and it joins the party.
References fdDjinnJoinParty().
Referenced by SceneCues.
Definition at line 100 of file ancient_lemuria.c.
scAncientLemuriaRockTheStatue
void scAncientLemuriaRockTheStatue(ACTOR *actor)
The statue Rime hides in rocks from side to side, clicking as each rock starts.
References sySin() and sySoundPlay().
Referenced by scAncientLemuriaCycloneRevealsRime() and scInit().
Definition at line 108 of file ancient_lemuria.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 130 of file ancient_lemuria.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 135 of file ancient_lemuria.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 140 of file ancient_lemuria.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References ActorPlacements.
Definition at line 145 of file ancient_lemuria.c.
scAncientLemuriaKeepCameraSouth
void scAncientLemuriaKeepCameraSouth(void)
Felix walks north across the boat dock towards the gangway, over metatiles (8, 52) to (12, 52): the game stops the view scrolling north. Setting out from the dock's south edge, the view follows him only a step or so (some 18 pixels) and then stays put, and he climbs the screen until he steps onto the gangway; walking back south, the view comes back down with him.
Referenced by SceneCues.
Definition at line 155 of file ancient_lemuria.c.
scAncientLemuriaLetCameraNorth
void scAncientLemuriaLetCameraNorth(void)
Nothing visible happens as Felix walks over the next row, metatiles (8, 53) to (12, 53); the view may scroll north over the whole shore again.
Referenced by SceneCues.
Definition at line 162 of file ancient_lemuria.c.
scAncientLemuriaStartMovingStatue
void scAncientLemuriaStartMovingStatue(void)
Nothing more than the move itself happens as Felix starts casting Move on the blue statue by the path north.
Referenced by SceneCues.
Definition at line 169 of file ancient_lemuria.c.
scAncientLemuriaFinishMovingStatue
void scAncientLemuriaFinishMovingStatue(Sint32 unused, Sint32 id)
Felix moves the blue statue by the path north with Move. Set down on its spot
beside the ledge, metatile (8, 36), it stays there, and the two Lemurians
come out to meet the party (scAncientLemuriaMeetTheLemurians).
References fdActorGetById(), scAncientLemuriaMeetTheLemurians(), Sint32, syGameFlagGet() and syGameFlagSet().
Referenced by SceneCues.
Definition at line 176 of file ancient_lemuria.c.
Hop
static inline void Hop(Sint32 dx, Sint32 dz)
One of Rime's hops, by (dx, dz).
References fdActorJump(), fdActorWalkByAndWaitById(), fdScriptWait() and Sint32.
Referenced by scAncientLemuriaCycloneRevealsRime().
Definition at line 189 of file ancient_lemuria.c.
scAncientLemuriaCycloneRevealsRime
void scAncientLemuriaCycloneRevealsRime(void)
Felix casts Cyclone on the first patch of weeds (metatile (5, 13)): the weeds blow away and, the first time, Rime pops out of the ground, spinning as it grows, then hops off east with Felix turning to watch it and hides in a blue statue, which starts to rock.
References fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorSetAnimationById(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorWalkToAndWaitById(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptWait(), Hop(), MainRoutineStateWork, scAncientLemuriaRockTheStatue(), scFieldTileCopiesCopyTouchedMetatiles(), Sint32 and sySynch().
Referenced by SceneCues.
Definition at line 200 of file ancient_lemuria.c.
scAncientLemuriaCycloneSecondWeeds
void scAncientLemuriaCycloneSecondWeeds(void)
Felix casts Cyclone on the second patch of weeds (metatile (8, 9)), and they blow away.
References scFieldTileCopiesCopyTouchedMetatiles().
Referenced by SceneCues.
Definition at line 260 of file ancient_lemuria.c.
scAncientLemuriaCycloneThirdWeeds
void scAncientLemuriaCycloneThirdWeeds(void)
Felix casts Cyclone on the third patch of weeds (metatile (12, 7)), and they blow away.
References scFieldTileCopiesCopyTouchedMetatiles().
Referenced by SceneCues.
Definition at line 267 of file ancient_lemuria.c.
scAncientLemuriaCycloneFourthWeeds
void scAncientLemuriaCycloneFourthWeeds(void)
Felix casts Cyclone on the fourth patch of weeds (metatile (14, 11)), and they blow away.
References scFieldTileCopiesCopyTouchedMetatiles().
Referenced by SceneCues.
Definition at line 274 of file ancient_lemuria.c.
scAncientLemuriaCycloneFifthWeeds
void scAncientLemuriaCycloneFifthWeeds(void)
Felix casts Cyclone on the fifth patch of weeds (metatile (21, 9)), and they blow away.
References scFieldTileCopiesCopyTouchedMetatiles().
Referenced by SceneCues.
Definition at line 281 of file ancient_lemuria.c.
scAncientLemuriaCycloneSixthWeeds
void scAncientLemuriaCycloneSixthWeeds(void)
Felix casts Cyclone on the sixth patch of weeds (metatile (25, 8)), and they blow away.
References scFieldTileCopiesCopyTouchedMetatiles().
Referenced by SceneCues.
Definition at line 288 of file ancient_lemuria.c.
scAncientLemuriaStartTremorOnTheStatue
void scAncientLemuriaStartTremorOnTheStatue(void)
As Felix starts casting Tremor on the rocking statue Rime hides in, it stands still.
References scAncientLemuriaStillTheStatue().
Referenced by SceneCues.
Definition at line 295 of file ancient_lemuria.c.
scAncientLemuriaTremorShakesOutRime
void scAncientLemuriaTremorShakesOutRime(void)
Tremor on the shaking statue, once Rime hides in it: Rime is thrown out, spinning as it grows back to its full size.
References fdActorGetById(), fdActorJump(), fdActorWaitForMoveById(), fdActorWalkTo(), fdScriptGetFlag(), scAncientLemuriaStillTheStatue(), Sint32, syGameFlagClear(), syGameFlagGet(), syGameFlagSet() and sySynch().
Referenced by SceneCues.
Definition at line 302 of file ancient_lemuria.c.
scAncientLemuriaHeadForTheDock
void scAncientLemuriaHeadForTheDock(void)
Felix walks south onto the boat dock: once the Lemurians have met the party and until King Hydros is met, Kraden calls him back to keep exploring; otherwise the party leaves Lemuria by boat.
References fdActorFaceDirectionById(), fdActorGetById(), fdActorSetAnimationById(), fdActorSetDestinationById(), fdActorWaitForMoveById(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scFieldActorLaunchFromLeader(), syGameFlagGet(), syImportScriptSetExitRequest() and sySoundPlay().
Referenced by SceneCues.
Definition at line 339 of file ancient_lemuria.c.
scGetCues
const CUE *scGetCues(void)
References SceneCues.
Definition at line 386 of file ancient_lemuria.c.
scAncientLemuriaCycleWaterColors
Sint32 scAncientLemuriaCycleWaterColors(void)
The water's shine: every four ticks the rotating colours of both water
palettes move on by one, and the shining colour takes the next of
AncientLemuriaShiningWaterColors.
References AncientLemuriaShiningWaterColors and Sint32.
Referenced by scInit().
Definition at line 394 of file ancient_lemuria.c.
scInit
Sint32 scInit(void)
Sets the shore up on entry: its water shines, the area's name shows only on coming out at the north-east gateway, the blue statue and the Lemurians are as the party left them, and Rime's statue rocks while Rime hides in it.
References fdActorGetById(), fdActorSetSpriteFlags(), fdScriptGetFlag(), MainRoutineStateWork, scAncientLemuriaCycleWaterColors(), scAncientLemuriaRockTheStatue(), Sint32, syGameFlagClear(), syGameFlagGet(), syGameFlagSet() and sySetEvent().
Definition at line 430 of file ancient_lemuria.c.
scPrepareMap
Sint32 scPrepareMap(void)
Notes which way the party came into the shore (FLAG_LEMURIA_OTHER_WAY_IN),
and come the other way, redraws the south of the shore to match.
References fdMapCopyMetatileAttributeRect(), fdMapGridCopyDrawnPicturesRect(), MainRoutineStateWork, Sint32, syGameFlagClear(), syGameFlagGet() and syGameFlagSet().
Definition at line 461 of file ancient_lemuria.c.
scAncientLemuriaJumpForward
void scAncientLemuriaJumpForward(void)
Felix walks east off the ledge beside the blue statue's spot (metatile (9, 36)) and jumps across, if nothing stands in the way.
References fdTryJumpForward().
Referenced by SceneCues.
Definition at line 486 of file ancient_lemuria.c.
Variables in detail
AncientLemuriaShiningWaterColors
extern Sint16 AncientLemuriaShiningWaterColors[SHINING_WATER_COLORS]
Sint16 AncientLemuriaShiningWaterColors[SHINING_WATER_COLORS]
The colours the shining water takes in turn.
Referenced by scAncientLemuriaCycleWaterColors().
Definition at lines 35 and 1208 of file ancient_lemuria.c.
SceneEntrances
SCENE_ENTRANCE SceneEntrances[]
Referenced by scGetEntrances().
Definition at line 1068 of file ancient_lemuria.c.
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 1073 of file ancient_lemuria.c.
ActorPlacements
ACTOR_PLACE ActorPlacements[]
Referenced by scGetActorPlacements().
Definition at line 1094 of file ancient_lemuria.c.
SceneCues
CUE SceneCues[]
References scAncientLemuriaCycloneFifthWeeds(), scAncientLemuriaCycloneFourthWeeds(), scAncientLemuriaCycloneRevealsRime(), scAncientLemuriaCycloneSecondWeeds(), scAncientLemuriaCycloneSixthWeeds(), scAncientLemuriaCycloneThirdWeeds(), scAncientLemuriaFinishMovingStatue(), scAncientLemuriaHeadForTheDock(), scAncientLemuriaJumpForward(), scAncientLemuriaKeepCameraSouth(), scAncientLemuriaLetCameraNorth(), scAncientLemuriaRimeJoins(), scAncientLemuriaStartMovingStatue(), scAncientLemuriaStartTremorOnTheStatue() and scAncientLemuriaTremorShakesOutRime().
Referenced by scGetCues().
Definition at line 1152 of file ancient_lemuria.c.