src/scene/world_map.c
The World Map (SceneIdWorldMap), the perspective map that joins the areas, and the only scene of this overlay. More…
#include "item_ids.h"#include "macros.h"#include "edition.h"#include "field/field_engine.h"#include "field/actor_script.h"#include "field/call.h"#include "field/script_inline.h"#include "field/field_engine_script.h"#include "field/field_sprite.h"#include "field/map.h"#include "game/game.h"#include "graphics/palette_buffers.h"#include "menu/menu.h"#include "scene/scene.h"#include "scene/staff_credit.h"#include "window/window.h"#include "text/msg_ids.h"#include "scene/ship_flight.h"#include "shared/tile_sprite_reset.c"#include "shared/world_map_objects.c"#include "shared/ship_take_flight.c"#include "shared/camera_jitter.c"#include "shared/actor_animate.c"#include "shared/actor_grow_up.c"#include "shared/actor_grow_down.c"#include "shared/world_map_gauge.c"#include "shared/world_map_particle_script.c"
Structures
| Name | Description | |
|---|---|---|
struct | WORLD_MAP_OAM | A FIELD_SPR read as its sprite attribute 1, whose top two bits are the sprite size where FIELD_SPR names them its flips. |
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_DEBUG_ARRIVAL 0x11d | Set by the two debug arrivals, WORLD_MAP_DEBUG_FLIGHT and WORLD_MAP_DEBUG_SAILING; no code of this game reads it. |
#define | WORLD_MAP_BLOCK_LANDING (1 << 6) | A block's terrain byte: the party may step ashore from the open sea here. |
#define | STEP_CUE_AREA (area) (STEP_CUE_AREA_BASE + (area)) | The step cue an area's placed actor raises when touched (WorldMapPlacedActors, from field/world_map.h's STEP_CUE_AREA_BASE), as The Broken Seal's; the areas with two ways in choose one by the leader's approach. |
#define | WORLD_MAP_TRY_ENCOUNTER (actorId, djinni) | |
#define | TUTORIAL_SET_MESSAGE (secondSet, base) | A message of Echo's Djinn lesson: the second set (from MsgDjinnGiveTutorialB), for a player who knows Djinn already, when secondSet is 1. |
#define | TUTORIAL_MESSAGE (base) | A message of Echo's Djinn lesson, from its second set when the player held Up as the lesson began and Echo says "You look like you already know a little about us, huh?". |
#define | WAVE_TILES 256 | The tidal wave picture's tiles, loaded after the picture layer's own. |
#define | WORLD_MAP_ENTRANCE (entrance, x, z, facing) | One of the World Map's ways in: where the leader stands on arrival, in pixels, and the way he faces; none needs a flag or bounds the camera. |
Enumerations
| Name | Description | |
|---|---|---|
enum | WORLD_MAP_ACTOR_ID { ACTOR_SHIP, ACTOR_ECHO, ACTOR_IRON, ACTOR_SOUR, ACTOR_CHILL, … } | The World Map's own actors, numbered in the order of WorldMapActorPlacements from ACTOR_FIRST_PLACED; a placement wearing a party member's sprite is that member, and takes no number. |
enum | anonymous enum { ACTOR_IDEJIMA_KRADEN, ACTOR_ALEX, ACTOR_IDEJIMA } | WorldMapCollapsePlacements' and WorldMapDriftPlacements' actors: Kraden and Alex on Idejima, and the piece of Idejima that splits away, then the island itself. |
enum | anonymous enum { ACTOR_VOYAGE_SHIP, ACTOR_VOYAGE_KRADEN } | WorldMapFirstVoyagePlacements' actors. |
enum | anonymous enum { ACTOR_DRIFTING_IDEJIMA } | WorldMapDriftingIdejimaPlacements' one actor. |
enum | WORLD_MAP_METATILE_BEHAVIOR { METATILE_BEHAVIOR_WORLD_MAP_IRON, METATILE_BEHAVIOR_WORLD_MA … } | The World Map's own metatile behaviors, which the map's metatiles carry: the ground around each Djinni met on the map. |
enum | anonymous enum { BATTLE_ECHO_LESSON, BATTLE_BANDIT_AND_THIEVES } | The battles fought here, by their column of the encounter table: Echo's lesson's, in ENCOUNTER_ZONE_SCRIPTED_EARLY_STORY, and the bandit's and thieves', in ENCOUNTER_ZONE_SCRIPTED. |
enum | anonymous enum { PLACED_DAILA, PLACED_YALLAM, PLACED_PROX } | Daila's, Yallam's and Prox's slots among WorldMapPlacedActors. |
enum | LIGHTHOUSE_VIEW { LIGHTHOUSE_VIEW_VENUS, LIGHTHOUSE_VIEW_JUPITER } | The lighthouses scWorldMapPlayLighthouseTransition shows lit, each the row of WorldMapPalettes its picture takes. |
enum | WORLD_MAP_ENTRANCE { WORLD_MAP_PIERS_DJINN, WORLD_MAP_BANDIT_BEATEN, WORLD_MAP_BA … } | The story's scenes the world map plays on arrival that no other scene's exit leads to; the others it tests by scene_exits.h's names. |
enum | WORLD_MAP_EXIT { WORLD_MAP_TO_IDEJIMA_DRIFTING } | The exit the Venus Lighthouse's collapse leaves by, to the world map's own entrance where Idejima drifts; the story's other exits are scene_exits.h's. |
enum | anonymous enum { ACTOR_POND_COINS } | The actor slot the pond's coins take when they show (scWorldMapGazeIntoPond). |
enum | anonymous enum { ANIM_KRADEN_THROWN_FLAT, ANIM_ALEX_BOW } | Kraden's and Alex's own animations as the earthquake strikes (kraden.tsv, alex.tsv). |
Functions
| Name | Description | |
|---|---|---|
void | scWorldMapLoadTidalWave (Sint32 unused) | Loads the tidal wave's tiles, pictures and palette and sets its background up. |
void | scGaugeUpdate (void) | The Psynergy gauge over the leader as the ship flies: while A or B is held aloft it drains a PP every ten ticks, then redraws the gauge and queues its sprite. |
void | scWorldMapSelectExitByZ (Sint32 slot, Sint32 exitBefore, Sint32 exitAfter) | Chooses a passage exit from the leader's north-south approach. |
void | scActorSetFlightMode (ACTOR *actor, Sint32 mode) | Gives the ship the look of its state in flight: plain once landed, flickering white as it powers up, glowing once it flies. |
void | scGaugeInit (void) | Sets up the gauge. |
void | scWorldMapEndFlight (void) | Brings the leader's ship down out of flight. |
void | scGaugeEnd (void) | Takes the gauge down. |
void | scWorldMapFightBanditAndThieves (Sint32 entrance) | The bandit and the two thieves from Vault, after a linked game. |
void | scWorldMapDeliverLohoCannon (void) | Loho's men carry the cannon aboard the ship and go home. |
void | scWorldMapMeetEcho (void) | The first Djinni, Echo, joins south of Daila, however often he is refused. |
void | scWorldMapShowIdejimaDrifting (void) | The camera follows Idejima as it drifts away north. |
void | scWorldMapDriftNorthOfContinent (void) | Idejima drifts north; a tidal wave rises behind it and carries it away. |
void | scWorldMapShowAirsRockFromAlhafra (void) | When the man gazing out from Alhafra's manor shows Felix Air's Rock, the World Map's view glides over to the rock, Felix hidden; pressing any button returns him to the manor. |
void | scWorldMapTakeTheTiller (void) | The first voyage: the party takes the ship's tiller and learns to sail. |
void | scWorldMapSailToShipDeck (void) | The ship sails to its berth and the party goes down to the deck. |
void | scWorldMapCarryPartyToAquaRock (void) | The party, hidden in a trail of sparkles, is carried across the sea to Aqua Rock. |
void | scWorldMapPlayLighthouseTransition (Sint32 lighthouse) | The view of a lighthouse lit, seen from the World Map; Jupiter's beacon also rumbles and shakes the ground. lighthouse is a LIGHTHOUSE_VIEW. |
void | scWorldMapMeetSour (void) | Walking about the field between Mikasalla and Osenia Cavern may meet the Mercury Djinni Sour and start his battle. |
void | scWorldMapMeetChill (void) | Walking about the field near the beach far south of Naribwe may meet the Mercury Djinni Chill and start his battle. |
void | scWorldMapMeetWheeze (void) | Walking about the dead-end inlet south-west of Tundaria Tower may meet the Jupiter Djinni Wheeze and start his battle. |
void | scWorldMapMeetPetra (void) | Walking about the patch of ground north of Hesperia may meet the Venus Djinni Petra and start her battle. |
void | scWorldMapMeetCore (void) | Walking about the clearings in the east of Atteka, the lower continent beyond its western beach, may meet the Mars Djinni Core and start his battle. |
void | scWorldMapSetUpFlyingShip (void) | When the ship takes to the air over the World Map, "Hover" is shown while it rises, and the PP gauge appears, since flying uses the party's PP. |
void | scWorldMapSetUpShip (void) | The ship sails the map again, out of flight: the PP gauge goes, and a party with no PP left at all gives the leader 1 back. |
void | scWorldMapMoorAtAttekaInlet (void) | Sailing up to the landing at Atteka Inlet moors the ship there: the screen fades and the party goes ashore into the inlet, by the ship's cabins. |
void | scWorldMapRefuseToRunAway (void) | Once Jupiter Lighthouse is lit and before the parties meet at Contigo, Jenna stops Felix leaving by any other exit: they must go to Contigo. |
void | scWorldMapGazeIntoPond (void) | Searching the open sea ahead of the ship, which the text calls the pond: one time in sixteen there are coins in the shallows, one in sixteen the boat rocks, and otherwise one of the pond's lines. |
void | scWorldMapPickUpGoldenBoots (void) | Searching the Golden Boots picks them up. |
void | scWorldMapTakeOff (void) | The ship's first flight once it has wings (FLAG_SHIP_TOOK_OFF). |
BSS_DATA | ALIGNED (4) | The blend of one turn of the two maps' alternation in the throne room, a step every four ticks: the first map fades up and down, then the second. |
void | scWorldMapSpawnTwinSparks (ACTOR *actor) | Two golden rings rise from the actor, one in front of it and one upside down behind it, each swelling and shrinking away over 32 ticks; only the two unused updates above call it. |
void | scWorldMapWatchVenusLighthouseCollapse (void) | Venus Lighthouse is lit and falls; the earthquake breaks Idejima away with Jenna, Kraden and Alex on it. |
void | scWorldMapMeetIron (void) | Walking about the patch of ground east of Madra, over the small bridge and down by the water, may meet the Venus Djinni Iron and start his battle, as a random battle would (WORLD_MAP_TRY_ENCOUNTER); if he escapes, walking on there meets him again. |
const SCENE_ENTRANCE * | scGetEntrances (void) | Where the party can enter: the cave under the spring has its own entrances. |
const SCENE_REGION * | scGetExitRegions (void) | The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room. |
const Uint32 * | scGetExits (void) | The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN. |
void | scWorldMapCircleEcho (BOBBING_MARKER *marker) | The marker blinks and bobs up and down on a circle. |
Sint32 | scWorldMapSetUpEcho (ACTOR *actor) | Until the party has Echo or has learnt about Djinn, Echo circles south of Daila (scWorldMapCircleEcho), at half size. |
Sint32 | scWorldMapSetIslandTile (ACTOR *actor) | Turns the island's sprite with the World Map's view and shows it. |
Sint32 | scWorldMapSetUpWave (ACTOR *actor) | Takes the tidal wave's shadow away (its sprite flags cleared). |
Bool | scWorldMapSendWaveIn (ACTOR *actor) | Once the scene's first temporary flag is set, the tidal wave loses its shadow and rolls slowly 30 pixels west and 8 south. |
void | scShipTakeFlight (void) | The ship takes flight: it powers up for at most 20 ticks, less over a place a step cue answers, then glows in flight. |
const ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
void | scWorldMapBoardShip (void) | The leader jumps aboard the ship when it is the actor ahead of them or under 16 pixels away. |
void | scWorldMapLeaveShip (void) | The leader jumps ashore from the ship, where the shore ahead lets them land. |
static __inline__ void | scActorJoinLeader (Sint32 actor) | The actor walks into the leader and is taken off the stage, as a party member falls back in. |
void | scWorldMapShowGoldenBoots (void) | Places the Golden Boots on the map as an item icon (FLAG_GOLDEN_BOOTS_ON_MAP). |
void | scWorldMapEnterProx (Sint32 id) | Walking onto Prox from the World Map: coming from the north, the party enters by its northern way in (SceneIdProxNorth), and from the south by its south gate. |
void | scWorldMapEnterYallam (Sint32 id) | Walking onto Yallam from the World Map: coming from the north, the party enters by its north side, and from the south by its south side. |
void | scWorldMapEnterDaila (Sint32 id) | Walking onto Daila from the World Map: coming from the north, the party enters by its north side, and from the south by its south side. |
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 | 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 | scWorldMapExplainGivingDjinn (void) | Echo's lesson on Djinn: "After bringing a Djinni into your party, you must set it to somebody." and the Djinn menu, then "Next, I'll show you how you can use us in battle." and the menu again, and a battle. |
void | scWorldMapSpawnCollapseDust (void) | A cloud of dust thrown up at a random spot as the earthquake that fells Venus Lighthouse shakes the land, at a random scale. |
void | scWorldMapShiftActor (Sint32 id, Sint32 dx, Sint32 dz) | Moves the actor by whole pixels. |
void | scWorldMapSplitIdejima (Sint32 x, Sint32 z, Sint32 dx, Sint32 dz) | Breaks a piece of Idejima's tiles away and moves the party on it with the piece. |
void | scWorldMapSpawnIdejimaWake (void) | Every sixteenth tick, a puff of spray behind the drifting Idejima. |
Sint32 | scWorldMapChangeSparkleColor (ACTOR *actor) | A sparkle of the party's path to Aqua Rock: each tick, one time in four, it takes one of the eight colour modes at random. |
void | scWorldMapSpawnAquaRockSparkle (ACTOR *parent) | The hidden leader's update as the party is carried to Aqua Rock: every eighth tick it leaves a sparkle where it is, which lasts about two seconds. |
Sint32 | scWorldMapSetPlacedActorTile (ACTOR *actor) | The same function as scWorldMapSetIslandTile, under another name. |
void | scWorldMapFlashPoweringUp (ACTOR *actor) | The ship's flicker and its sparks while it powers up (SHIP_POWERING_UP). |
void | scWorldMapGlowInFlight (ACTOR *actor) | The ship's glow and its trail in flight (SHIP_IN_FLIGHT): the colour changes every other tick, and a particle trails it every fourth. |
void | scWorldMapUpdateTransitionBlend (void) | Each tick of the lighthouse's view: the picture's glow flickers, its second weight dropping by 4 for two ticks in every four. |
void | scWorldMapFlashWithSparks (ACTOR *actor) | Unused: the actor flashes white, with a pair of golden rings every sixteenth tick. |
void | scActorAnimateAndEmit (ACTOR *actor) | Unused: steps an actor's sprite through the six colour swaps, SPRITE_COLOR_NORMAL to SPRITE_COLOR_BRG, one every two ticks, with a pair of golden rings every sixteenth tick. |
Variables
| Name | Description | |
|---|---|---|
extern Sint32 | WorldMapTileSpriteScript [] | |
extern Sint32 | WorldMapIslandScript [] | |
extern Sint32 | WorldMapTidalWaveScript [] | |
extern Uint32 | WorldMapGlowColorModes [] | The colour modes the ship's glow steps through, one every other tick. |
Sint32 | WorldMapHiddenMembers [8] | The party members hidden as the ship first takes off, -1 for none. |
Uint16 | WorldMapBlend | |
Sint16 | GaugeShown | |
Sint16 | GaugeVram | |
Sint16 | GaugeCountdown | |
Uint32 | GaugeSprite [3] | The Psynergy gauge's sprite, its tiles as drawn, and the pictures they are drawn from (world_map_gauge.c). |
Uint8 | GaugeTiles [8][32] | |
Uint8 | GaugeSourceTiles [12][32] | |
extern Uint8 | WorldMapPackedTilesB [] | The tidal wave's tiles, pictures and palettes, tagged LZ. |
extern Uint8 | WorldMapPackedPicturesB [] | |
extern Uint8 | WorldMapPalettesB [] | |
extern ACTOR_PLACE | WorldMapActorPlacements [] | The World Map in play, in WORLD_MAP_ACTOR_ID order, with Jenna and Piers. |
extern ACTOR_PLACE | WorldMapCollapsePlacements [] | Venus Lighthouse's collapse: Kraden, Jenna and Alex on Idejima, and the piece of it that breaks away. |
extern ACTOR_PLACE | WorldMapDriftPlacements [] | Idejima drifting north of the continent: the party on it, the island, the tidal wave (a line of spray), and a piece of the map's tiles where the party is seen last. |
extern ACTOR_PLACE | WorldMapFirstVoyagePlacements [] | The first voyage: the ship, Kraden, Jenna, Piers and Sheba. |
extern ACTOR_PLACE | WorldMapDriftingIdejimaPlacements [] | Idejima alone, drifting away north. |
extern Sint32 | WorldMapEchoScript [] | |
extern Uint32 | WorldMapLohoSpokesmanLeaveScript [] | Loho's men walk off home once the cannon is aboard. |
extern Uint32 | WorldMapNorthLohoWorkerLeaveScript [] | |
extern Uint32 | WorldMapSouthLohoWorkerLeaveScript [] | The same script as WorldMapNorthLohoWorkerLeaveScript, under another name. |
extern Uint32 | WorldMapCollapseDustScript [] | A cloud of dust as the earthquake shakes the land, gone after 16 ticks. |
extern Sint32 | WorldMapIdejimaWakeScript [] | A puff of the drifting Idejima's spray, swelling as it drifts, gone after 48 ticks. |
extern Uint32 | WorldMapIdejimaDriftScript [] | Idejima drifts on, 24 pixels a step. |
extern Sint32 | WorldMapAquaRockSparkleScript [] | A sparkle of the path to Aqua Rock, changing colour, gone after 120 ticks. |
extern Sint32 | WorldMapGlowColorStep | The step through WorldMapGlowColorModes, every other tick. |
Sint32 | WorldMapSparkScript [] | |
LATE_DATA 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. |
LATE_DATA Uint32 | SceneExits [] | The room has no exits of its own. |
LATE_DATA CUE | SceneCues [] | Boarding and leaving the ship and its flight, the Djinn's grounds, the pond, and the ways into the areas. |
LATE_DATA Sint32 | WorldMapPlacedActorScript [] | |
LATE_DATA | Sint32 | The tick counts of the four red moai's streams' cycles (scAquaRockTimeStreams). |
Description
The World Map (SceneIdWorldMap), the perspective map that joins the areas,
and the only scene of this overlay.
It lets the party into the areas as The Broken Seal's does. On it the party meets Echo and six more Djinn, sails and later flies the Lemurian Ship, gazes into a pond and finds the Golden Boots, and the story plays several of its scenes here: Venus Lighthouse lit and falling as Idejima breaks away and drifts north on a tidal wave, the first voyage at the tiller, Loho's men bringing the cannon aboard, the bandit and thieves from Vault after a linked game, the party carried in sparkles to Aqua Rock, and Jupiter's beacon seen lit from the sea.
Macros in detail
FLAG_DEBUG_ARRIVAL
#define FLAG_DEBUG_ARRIVAL 0x11d
Set by the two debug arrivals, WORLD_MAP_DEBUG_FLIGHT and
WORLD_MAP_DEBUG_SAILING; no code of this game reads it.
Referenced by scInit().
Definition at line 33 of file world_map.c.
WORLD_MAP_BLOCK_LANDING
#define WORLD_MAP_BLOCK_LANDING (1 << 6)
A block's terrain byte: the party may step ashore from the open sea here.
Referenced by scWorldMapLeaveShip().
Definition at line 128 of file world_map.c.
STEP_CUE_AREA
#define STEP_CUE_AREA(area) (STEP_CUE_AREA_BASE + (area))
The step cue an area's placed actor raises when touched
(WorldMapPlacedActors, from field/world_map.h's STEP_CUE_AREA_BASE), as The
Broken Seal's; the areas with two ways in choose one by the leader's
approach.
Referenced by SceneCues.
Definition at line 134 of file world_map.c.
WORLD_MAP_TRY_ENCOUNTER
#define WORLD_MAP_TRY_ENCOUNTER(actorId, djinni)
Referenced by scWorldMapMeetChill(), scWorldMapMeetCore(), scWorldMapMeetIron(), scWorldMapMeetPetra(), scWorldMapMeetSour() and scWorldMapMeetWheeze().
Definition at lines 223 and 243 of file world_map.c.
TUTORIAL_SET_MESSAGE
#define TUTORIAL_SET_MESSAGE(secondSet, base)
A message of Echo's Djinn lesson: the second set (from
MsgDjinnGiveTutorialB), for a player who knows Djinn already, when secondSet
is 1.
Referenced by scWorldMapExplainGivingDjinn() and scWorldMapMeetEcho().
Definition at line 1052 of file world_map.c.
TUTORIAL_MESSAGE
#define TUTORIAL_MESSAGE(base)
A message of Echo's Djinn lesson, from its second set when the player held Up as the lesson began and Echo says "You look like you already know a little about us, huh?".
Referenced by scWorldMapExplainGivingDjinn() and scWorldMapMeetEcho().
Definition at line 1060 of file world_map.c.
WAVE_TILES
#define WAVE_TILES 256
The tidal wave picture's tiles, loaded after the picture layer's own.
Referenced by scWorldMapLoadTidalWave().
Definition at line 2718 of file world_map.c.
WORLD_MAP_ENTRANCE
#define WORLD_MAP_ENTRANCE(entrance, x, z, facing)
One of the World Map's ways in: where the leader stands on arrival, in pixels, and the way he faces; none needs a flag or bounds the camera.
Referenced by SceneEntrances.
Definition at line 2974 of file world_map.c.
Enumerations in detail
WORLD_MAP_ACTOR_ID
enum WORLD_MAP_ACTOR_ID
The World Map's own actors, numbered in the order of WorldMapActorPlacements
from ACTOR_FIRST_PLACED; a placement wearing a party member's sprite is that
member, and takes no number.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SHIP | ACTOR_FIRST_PLACED | Piers's ship, drawn from the map's tiles (WorldMapTileSpriteScript). |
ACTOR_ECHO | The Venus Djinni Echo, circling south of Daila until the party meets him. | |
ACTOR_IRON | ||
ACTOR_SOUR | ||
ACTOR_CHILL | ||
ACTOR_WHEEZE | ||
ACTOR_PETRA | ||
ACTOR_CORE | ||
ACTOR_LOHO_SPOKESMAN | The men from Loho who bring the cannon to the ship: the one who speaks for them, and two more, one north of the other. | |
ACTOR_NORTH_LOHO_WORKER | ||
ACTOR_SOUTH_LOHO_WORKER | ||
ACTOR_GOLDEN_BOOTS | Where the Golden Boots lie once they are shown (scWorldMapShowGoldenBoots). | |
ACTOR_BANDIT | The bandit and the two thieves from Vault, after a linked game; the thieves stand west and east of him. | |
ACTOR_WEST_THIEF | ||
ACTOR_EAST_THIEF | ||
ACTOR_KRADEN |
Definition at line 53 of file world_map.c.
anonymous enum
enum { ACTOR_IDEJIMA_KRADEN, ACTOR_ALEX, ACTOR_IDEJIMA }
WorldMapCollapsePlacements' and WorldMapDriftPlacements' actors: Kraden and
Alex on Idejima, and the piece of Idejima that splits away, then the island
itself.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_IDEJIMA_KRADEN | ACTOR_FIRST_PLACED | |
ACTOR_ALEX | ||
ACTOR_IDEJIMA |
Definition at line 83 of file world_map.c.
anonymous enum
enum { ACTOR_VOYAGE_SHIP, ACTOR_VOYAGE_KRADEN }
WorldMapFirstVoyagePlacements' actors.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_VOYAGE_SHIP | ACTOR_FIRST_PLACED | |
ACTOR_VOYAGE_KRADEN |
Definition at line 91 of file world_map.c.
anonymous enum
enum { ACTOR_DRIFTING_IDEJIMA }
WorldMapDriftingIdejimaPlacements' one actor.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_DRIFTING_IDEJIMA | ACTOR_FIRST_PLACED |
Definition at line 98 of file world_map.c.
WORLD_MAP_METATILE_BEHAVIOR
enum WORLD_MAP_METATILE_BEHAVIOR
The World Map's own metatile behaviors, which the map's metatiles carry: the ground around each Djinni met on the map.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_WORLD_MAP_IRON | 92 | |
METATILE_BEHAVIOR_WORLD_MAP_SOUR | ||
METATILE_BEHAVIOR_WORLD_MAP_CHILL | ||
METATILE_BEHAVIOR_WORLD_MAP_WHEEZE | ||
METATILE_BEHAVIOR_WORLD_MAP_PETRA | ||
METATILE_BEHAVIOR_WORLD_MAP_CORE | ||
METATILE_BEHAVIOR_WORLD_MAP_ATTEKA_INLET_LANDING | 52 | The landing where |
METATILE_BEHAVIOR_WORLD_MAP_AWAY_FROM_CONTIGO | 53 | the ship moors at Atteka Inlet (scWorldMapMoorAtAttekaInlet). The ground round the ways out of Gondowan that Jenna will not take before the parties meet at Contigo (scWorldMapRefuseToRunAway). |
METATILE_BEHAVIOR_WORLD_MAP_FIRST_FLIGHT | 40 | Where the ship, once it can fly, first takes to the air (scWorldMapTakeOff). |
Definition at line 105 of file world_map.c.
anonymous enum
enum { BATTLE_ECHO_LESSON, BATTLE_BANDIT_AND_THIEVES }
The battles fought here, by their column of the encounter table: Echo's
lesson's, in ENCOUNTER_ZONE_SCRIPTED_EARLY_STORY, and the bandit's and
thieves', in ENCOUNTER_ZONE_SCRIPTED.
| Enumerator | Value | Description |
|---|---|---|
BATTLE_ECHO_LESSON | 5 | |
BATTLE_BANDIT_AND_THIEVES | 3 |
Definition at line 139 of file world_map.c.
anonymous enum
enum { PLACED_DAILA, PLACED_YALLAM, PLACED_PROX }
Daila's, Yallam's and Prox's slots among WorldMapPlacedActors.
| Enumerator | Value | Description |
|---|---|---|
PLACED_DAILA | 0 | |
PLACED_YALLAM | 25 | |
PLACED_PROX | 50 |
Definition at line 146 of file world_map.c.
LIGHTHOUSE_VIEW
enum LIGHTHOUSE_VIEW
The lighthouses scWorldMapPlayLighthouseTransition shows lit, each the row of
WorldMapPalettes its picture takes.
| Enumerator | Value | Description |
|---|---|---|
LIGHTHOUSE_VIEW_VENUS | 1 | |
LIGHTHOUSE_VIEW_JUPITER | 2 |
Definition at line 171 of file world_map.c.
WORLD_MAP_ENTRANCE
enum WORLD_MAP_ENTRANCE
The story's scenes the world map plays on arrival that no other scene's exit
leads to; the others it tests by scene_exits.h's names.
| Enumerator | Value | Description |
|---|---|---|
WORLD_MAP_PIERS_DJINN | 70 | |
WORLD_MAP_BANDIT_BEATEN | 73 | after the battle with the bandit |
WORLD_MAP_BANDIT_LOST | 74 | |
WORLD_MAP_DEBUG_FLIGHT | 98 | the debug menu's: the ship flying |
WORLD_MAP_DEBUG_SAILING | 99 |
Referenced by SceneEntrances.
Definition at line 425 of file world_map.c.
WORLD_MAP_EXIT
enum WORLD_MAP_EXIT
The exit the Venus Lighthouse's collapse leaves by, to the world map's own
entrance where Idejima drifts; the story's other exits are scene_exits.h's.
| Enumerator | Value | Description |
|---|---|---|
WORLD_MAP_TO_IDEJIMA_DRIFTING | 64 |
Definition at line 436 of file world_map.c.
anonymous enum
enum { ACTOR_POND_COINS }
The actor slot the pond's coins take when they show (scWorldMapGazeIntoPond).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_POND_COINS | 79 |
Definition at line 803 of file world_map.c.
anonymous enum
enum { ANIM_KRADEN_THROWN_FLAT, ANIM_ALEX_BOW }
Kraden's and Alex's own animations as the earthquake strikes (kraden.tsv,
alex.tsv).
| Enumerator | Value | Description |
|---|---|---|
ANIM_KRADEN_THROWN_FLAT | 5 | Kraden lying flat on the ground. |
ANIM_ALEX_BOW | 7 | Alex's head bowed for a second. |
Definition at line 1847 of file world_map.c.
Functions in detail
scWorldMapLoadTidalWave
void scWorldMapLoadTidalWave(Sint32 unused)
Loads the tidal wave's tiles, pictures and palette and sets its background up.
References BgScrollWork, fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdScriptPlaySound(), MainRoutineStateWork, scFieldWindowColorApply(), scQueueIOWrite16(), Sint32, syDecompressTaggedLZ(), syHeapAllocateEWRAM(), syPrintClear(), sySynch(), syWindowLoadGraphics(), WorldMapPackedPicturesB, WorldMapPackedTilesB and WorldMapPalettesB.
Referenced by scWorldMapDriftNorthOfContinent().
Definition at lines 35 and 2722 of file world_map.c.
scActorSetFlightMode
void scActorSetFlightMode(ACTOR *actor, Sint32 mode)
Gives the ship the look of its state in flight: plain once landed, flickering white as it powers up, glowing once it flies.
References fdActorSetSpriteColorMode(), fdScriptPlaySound(), scWorldMapFlashPoweringUp(), scWorldMapGlowInFlight() and Sint32.
Referenced by scShipTakeFlight(), scStaffCreditEndFlight() and scWorldMapEndFlight().
Definition at lines 155 and 2564 of file world_map.c.
scWorldMapEndFlight
void scWorldMapEndFlight(void)
Brings the leader's ship down out of flight.
References fdActorGetById(), fdPartyGetLeaderActor() and scActorSetFlightMode().
Referenced by scWorldMapSetUpShip().
Definition at lines 157 and 2586 of file world_map.c.
scWorldMapFightBanditAndThieves
void scWorldMapFightBanditAndThieves(Sint32 entrance)
The bandit and the two thieves from Vault, after a linked game. Leaving Madra, the party is stopped by them looking for Isaac to repay him, and they fight. If the party wins, the thieves fear jail, offer to help and run off, leaving the Golden Boots behind; if it loses, they tell it to send Isaac their way, and the party goes back to its restart point.
References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorLaunchFromLeader(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetDestination(), fdActorSetPosAndFacing(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorTurnToFaceEachOther(), fdActorWaitForMoveById(), fdActorWaitForScriptEndById(), fdActorWalkBy(), fdActorWalkByAndWait(), fdRequestBattleFromEncounterTable(), fdScriptClearFlag(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptOpenMessage(), fdScriptSetDefeatDestination(), fdScriptSetDestination(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitForZoomTransition(), fdScriptWaitTransitionTicks(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), MainRoutineStateWork, scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptSetAfterBattleDestination(), scFieldScriptShowMessageThenWait(), scFieldWorldMapStartZoom(), scScriptCameraFollowActor(), scWorldMapShowGoldenBoots() and Sint32.
Referenced by scInit().
Definition at lines 159 and 1103 of file world_map.c.
scWorldMapDeliverLohoCannon
void scWorldMapDeliverLohoCannon(void)
Loho's men carry the cannon aboard the ship and go home.
References fdActorFaceDirection(), fdActorGet(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosAndFacing(), fdActorSetScript(), fdActorWalkBy(), fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitForZoomTransition(), fdScriptWaitTransitionTicks(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), scFieldActorWaitForMoveById(), scFieldActorWaitForScriptEndById(), scFieldActorWatchAndSetScript(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptWait(), scFieldWorldMapStartZoom(), Sint32, WorldMapLohoSpokesmanLeaveScript, WorldMapNorthLohoWorkerLeaveScript and WorldMapSouthLohoWorkerLeaveScript.
Referenced by scInit().
Definition at lines 160 and 1479 of file world_map.c.
scWorldMapMeetEcho
void scWorldMapMeetEcho(void)
The first Djinni, Echo, joins south of Daila, however often he is refused.
References fdActorFaceActorById(), fdActorGetById(), fdActorJump(), fdActorPlaceOnActor(), fdActorRunRepeatedMotion(), fdActorSetAnimationById(), fdActorSetSpriteColorMode(), fdActorShowEmoteById(), fdActorWalkToAndWait(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptClearFlag(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitForZoomTransition(), fdScriptWaitTransitionTicks(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), gmDjinnGive(), gmDjinnRecoveryAddStandby(), gmPartyAddMember(), gmPartyRemoveMember(), gmPartyRestoreHpPp(), gmPlayMusic(), MainRoutineStateWork, mnAnimateSelectionToEntry(), mnDjinnMenuRun(), mnFieldMessageShow(), mnMessageArgumentPush(), PerWork, scFieldActorSetMoveTargetFX(), scFieldActorShowEmote(), scFieldDjinnJoinParty(), scFieldWorldMapStartZoom(), scWorldMapExplainGivingDjinn(), Sint32, sySoundPlay() and sySynch().
Referenced by scInit().
Definition at lines 161 and 1542 of file world_map.c.
scWorldMapShowIdejimaDrifting
void scWorldMapShowIdejimaDrifting(void)
The camera follows Idejima as it drifts away north.
References fdActorGet(), fdActorSetScript(), fdActorSetSpriteFlags(), fdPaletteFadeApplyTarget(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldActorSetSpriteColor(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptWait(), scFieldWorldMapStartZoom(), scScriptCameraFollowActor(), scWorldMapSpawnIdejimaWake(), sySetTickEvent(), sySynch() and WorldMapIdejimaDriftScript.
Referenced by scInit().
Definition at lines 162 and 1993 of file world_map.c.
scWorldMapDriftNorthOfContinent
void scWorldMapDriftNorthOfContinent(void)
Idejima drifts north; a tidal wave rises behind it and carries it away.
References fdActorFaceActor(), fdActorGet(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetSpriteFlags(), fdActorWalkTo(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), fdWorldMapUpdateCurrentTileBlock(), MainRoutineStateWork, scFieldActorJump(), scFieldActorSetMoveTargetFX(), scFieldActorSetSpriteColor(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptWait(), scFieldWorldMapSetWindowMetatileTileAndDraw(), scFieldWorldMapStartZoom(), scWorldMapLoadTidalWave(), Sint32 and sySynch().
Referenced by scInit().
Definition at lines 163 and 2029 of file world_map.c.
scWorldMapShowAirsRockFromAlhafra
void scWorldMapShowAirsRockFromAlhafra(void)
When the man gazing out from Alhafra's manor shows Felix Air's Rock, the World Map's view glides over to the rock, Felix hidden; pressing any button returns him to the manor.
References fdActorGetById(), fdActorSetSpriteFlags(), fdScriptSetDestination(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, PerWork and sySynch().
Referenced by scInit().
Definition at lines 164 and 2149 of file world_map.c.
scWorldMapTakeTheTiller
void scWorldMapTakeTheTiller(void)
The first voyage: the party takes the ship's tiller and learns to sail.
References fdActorGetById(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdMessageShowAtActor(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), MainRoutineStateWork, scFieldActorShowEmote(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait() and Sint32.
Referenced by scInit().
Definition at lines 165 and 2166 of file world_map.c.
scWorldMapSailToShipDeck
void scWorldMapSailToShipDeck(void)
The ship sails to its berth and the party goes down to the deck.
References fdActorMoveToAndWait(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), scFieldScriptEndLastingPsynergy() and scFieldScriptSetExitRequest().
Referenced by scInit().
Definition at lines 166 and 2291 of file world_map.c.
scWorldMapCarryPartyToAquaRock
void scWorldMapCarryPartyToAquaRock(void)
The party, hidden in a trail of sparkles, is carried across the sea to Aqua Rock.
References fdActorGet(), fdActorMoveToAndWait(), fdActorSetSpriteFlags(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldActorSetSpriteColor(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldWorldMapStartZoom(), scWorldMapSpawnAquaRockSparkle() and sySynch().
Referenced by scInit().
Definition at lines 167 and 2479 of file world_map.c.
scWorldMapPlayLighthouseTransition
void scWorldMapPlayLighthouseTransition(Sint32 lighthouse)
The view of a lighthouse lit, seen from the World Map; Jupiter's beacon also
rumbles and shakes the ground. lighthouse is a LIGHTHOUSE_VIEW.
References fdActorGet(), fdScriptClearFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), fdWorldMapFreeze(), MainRoutineStateWork, scFieldCloseEvent(), scFieldScriptEndLastingPsynergy(), scFieldScriptWait(), scQueueIOWrite16(), scWorldMapUpdateTransitionBlend(), Sint32, syDecompressTaggedLZ(), syHeapAllocateEWRAM(), syHeapRelease(), syPrintClear(), sySetTickEvent(), sySynch(), WorldMapBlend, WorldMapPackedPictures, WorldMapPackedTiles and WorldMapPalettes.
Referenced by scInit() and scWorldMapWatchVenusLighthouseCollapse().
Definition at lines 177 and 2610 of file world_map.c.
scWorldMapMeetSour
void scWorldMapMeetSour(void)
Walking about the field between Mikasalla and Osenia Cavern may meet the Mercury Djinni Sour and start his battle.
Referenced by SceneCues.
Definition at lines 178 and 279 of file world_map.c.
scWorldMapMeetChill
void scWorldMapMeetChill(void)
Walking about the field near the beach far south of Naribwe may meet the Mercury Djinni Chill and start his battle.
Referenced by SceneCues.
Definition at lines 179 and 286 of file world_map.c.
scWorldMapMeetWheeze
void scWorldMapMeetWheeze(void)
Walking about the dead-end inlet south-west of Tundaria Tower may meet the Jupiter Djinni Wheeze and start his battle.
Referenced by SceneCues.
Definition at lines 180 and 293 of file world_map.c.
scWorldMapMeetPetra
void scWorldMapMeetPetra(void)
Walking about the patch of ground north of Hesperia may meet the Venus Djinni Petra and start her battle.
Referenced by SceneCues.
Definition at lines 181 and 300 of file world_map.c.
scWorldMapMeetCore
void scWorldMapMeetCore(void)
Walking about the clearings in the east of Atteka, the lower continent beyond its western beach, may meet the Mars Djinni Core and start his battle.
Referenced by SceneCues.
Definition at lines 182 and 307 of file world_map.c.
scWorldMapSetUpFlyingShip
void scWorldMapSetUpFlyingShip(void)
When the ship takes to the air over the World Map, "Hover" is shown while it rises, and the PP gauge appears, since flying uses the party's PP.
References fdActorGet(), fdActorStartMovementModeScript(), fdScriptGetFlag(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), MainRoutineStateWork, mnMessageArgumentPush(), mnMessageCloseFinishedWindows(), mnMessageShowCentered(), scFieldPartyGetLeaderActor(), scGaugeInit(), scShipTakeFlight() and Sint32.
Referenced by SceneCues.
Definition at lines 183 and 462 of file world_map.c.
scWorldMapSetUpShip
void scWorldMapSetUpShip(void)
The ship sails the map again, out of flight: the PP gauge goes, and a party with no PP left at all gives the leader 1 back.
References fdActorGet(), fdActorSetSpriteFlags(), gmPartyCountMembers(), gmUnitAddPp(), gmUnitGet(), MainRoutineStateWork, scGaugeEnd(), scWorldMapEndFlight() and Sint32.
Referenced by SceneCues, scWorldMapMoorAtAttekaInlet() and scWorldMapTakeOff().
Definition at lines 184 and 497 of file world_map.c.
scWorldMapMoorAtAttekaInlet
void scWorldMapMoorAtAttekaInlet(void)
Sailing up to the landing at Atteka Inlet moors the ship there: the screen fades and the party goes ashore into the inlet, by the ship's cabins. Where the ship lay is kept, to find it there again; a flying ship comes down to the water first.
References fdActorGet(), fdScriptClearFlag(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest() and scWorldMapSetUpShip().
Referenced by SceneCues.
Definition at lines 185 and 666 of file world_map.c.
scWorldMapRefuseToRunAway
void scWorldMapRefuseToRunAway(void)
Once Jupiter Lighthouse is lit and before the parties meet at Contigo, Jenna stops Felix leaving by any other exit: they must go to Contigo.
References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorPlaceOnActor(), fdActorSetAnimation(), fdActorSetAttachedEffect(), fdActorShowEmote(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptStart(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), MainRoutineStateWork, scActorJoinLeader(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldWorldMapStartZoom(), Sint32 and sySynch().
Referenced by SceneCues.
Definition at lines 186 and 703 of file world_map.c.
scWorldMapGazeIntoPond
void scWorldMapGazeIntoPond(void)
Searching the open sea ahead of the ship, which the text calls the pond: one
time in sixteen there are coins in the shallows, one in sixteen the boat
rocks, and otherwise one of the pond's lines. No checking message comes first
(CUE_SUBJECT_OWN_EFFECT).
References fdActorGet(), fdScriptEnd(), fdScriptStart(), fdTalkToActor(), gmUnitGet(), MainRoutineStateWork, mnMessageShowCentered(), scFieldActorCreate(), scFieldActorShowItemIconById(), scFieldPartyGetLeaderActor(), scFieldScriptEndLastingPsynergy(), scFieldScriptWait(), Sint32 and syRandom().
Referenced by SceneCues.
Definition at lines 187 and 812 of file world_map.c.
scWorldMapPickUpGoldenBoots
void scWorldMapPickUpGoldenBoots(void)
Searching the Golden Boots picks them up.
References fdScriptClearFlag(), fdScriptEnd(), fdScriptPickUpItem(), fdScriptStart(), scFieldScriptEndLastingPsynergy() and Value3().
Referenced by SceneCues.
Definition at lines 188 and 871 of file world_map.c.
scWorldMapTakeOff
void scWorldMapTakeOff(void)
The ship's first flight once it has wings (FLAG_SHIP_TOOK_OFF).
References fdActorGet(), fdActorMoveToAndWait(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdScriptEnd(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptStart(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), gmPlayMusic(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptWait(), scWorldMapSetUpShip(), Sint32, syGameFlagGet() and WorldMapHiddenMembers.
Referenced by SceneCues.
Definition at lines 189 and 2304 of file world_map.c.
scWorldMapSpawnTwinSparks
void scWorldMapSpawnTwinSparks(ACTOR *actor)
void scWorldMapSpawnTwinSparks(ACTOR *parent)
Two golden rings rise from the actor, one in front of it and one upside down behind it, each swelling and shrinking away over 32 ticks; only the two unused updates above call it.
References fdSpriteStartAnimation(), scActorGrowDown(), scActorGrowUp(), scFieldActorCreate(), Sint32, syVRAMCacheFreeEntry() and VramCacheEntries.
Referenced by scActorAnimateAndEmit() and scWorldMapFlashWithSparks().
Definition at lines 214 and 2828 of file world_map.c.
scWorldMapWatchVenusLighthouseCollapse
void scWorldMapWatchVenusLighthouseCollapse(void)
Venus Lighthouse is lit and falls; the earthquake breaks Idejima away with Jenna, Kraden and Alex on it.
References fdActorSetAnimation(), fdCameraWaitForArrival(), fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptShowMessage(), fdScriptWaitTransitionTicks(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptWait(), scFieldWorldMapStartZoom(), scWorldMapPlayLighthouseTransition(), scWorldMapSpawnCollapseDust(), scWorldMapSplitIdejima(), Sint32, sySetTickEvent() and sySynch().
Referenced by scInit().
Definition at lines 216 and 1868 of file world_map.c.
scWorldMapMeetIron
void scWorldMapMeetIron(void)
Walking about the patch of ground east of Madra, over the small bridge and
down by the water, may meet the Venus Djinni Iron and start his battle, as a
random battle would (WORLD_MAP_TRY_ENCOUNTER); if he escapes, walking on
there meets him again.
Referenced by SceneCues.
Definition at lines 272 and 2968 of file world_map.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 312 of file world_map.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 317 of file world_map.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 322 of file world_map.c.
scWorldMapCircleEcho
void scWorldMapCircleEcho(BOBBING_MARKER *marker)
The marker blinks and bobs up and down on a circle. As The Broken Seal's
scWorldMapCircleEcho.
References fdActorSetSpriteColorMode(), scFieldVectorAddPolarOffsetFX(), syMathMulFX(), sySin() and TickCount.
Referenced by scWorldMapSetUpEcho().
Definition at line 331 of file world_map.c.
scWorldMapSetUpEcho
Sint32 scWorldMapSetUpEcho(ACTOR *actor)
Until the party has Echo or has learnt about Djinn, Echo circles south of
Daila (scWorldMapCircleEcho), at half size.
References fdScriptGetFlag(), scWorldMapCircleEcho() and Sint32.
Referenced by WorldMapEchoScript.
Definition at line 362 of file world_map.c.
scWorldMapSetIslandTile
Sint32 scWorldMapSetIslandTile(ACTOR *actor)
Turns the island's sprite with the World Map's view and shows it.
References Sint32.
Referenced by WorldMapIslandScript.
Definition at line 382 of file world_map.c.
scWorldMapSetUpWave
Sint32 scWorldMapSetUpWave(ACTOR *actor)
Takes the tidal wave's shadow away (its sprite flags cleared).
References fdActorSetSpriteFlags() and Sint32.
Referenced by WorldMapTidalWaveScript.
Definition at line 393 of file world_map.c.
scWorldMapSendWaveIn
Bool scWorldMapSendWaveIn(ACTOR *actor)
Once the scene's first temporary flag is set, the tidal wave loses its shadow and rolls slowly 30 pixels west and 8 south.
References fdActorSetSpriteFlags(), fdScriptGetFlag() and scFieldActorSetMoveTargetFX().
Referenced by WorldMapTidalWaveScript.
Definition at line 401 of file world_map.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References fdScriptGetFlag(), MainRoutineStateWork, WorldMapActorPlacements, WorldMapCollapsePlacements, WorldMapDriftingIdejimaPlacements, WorldMapDriftPlacements and WorldMapFirstVoyagePlacements.
Definition at line 443 of file world_map.c.
scWorldMapBoardShip
void scWorldMapBoardShip(void)
The leader jumps aboard the ship when it is the actor ahead of them or under 16 pixels away.
References fdActorGet(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartIdle(), fdChooseMusic(), fdFindNearbyTalkTarget(), fdScriptEnd(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), gmPlayMusic(), MainRoutineStateWork, scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), scFieldScriptEndLastingPsynergy(), scFieldWorldMapStartZoom(), Sint32, syGameFlagGet() and sySynch().
Referenced by SceneCues.
Definition at lines 519 and 2969 of file world_map.c.
scWorldMapLeaveShip
void scWorldMapLeaveShip(void)
The leader jumps ashore from the ship, where the shore ahead lets them land.
References fdActorGetById(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartIdle(), fdChooseMusic(), fdScriptClearFlag(), fdScriptEnd(), fdScriptPlaySound(), fdScriptStart(), fdWorldMapGetCollision(), fdWorldMapIsWalkable(), gmPlayMusic(), MainRoutineStateWork, MetatileTiles, scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), scFieldScriptEndLastingPsynergy(), scFieldWorldMapStartZoom(), Sint32, sySynch() and syVectorAddPolarOffset().
Referenced by SceneCues.
Definition at lines 572 and 2970 of file world_map.c.
scActorJoinLeader
static __inline__ void scActorJoinLeader(Sint32 actor)
The actor walks into the leader and is taken off the stage, as a party member falls back in.
References fdActorGetById(), fdActorSetAnimation(), fdActorSetDestination(), fdActorWaitForMoveById(), MainRoutineStateWork and Sint32.
Referenced by scDailaMeetAlex() and scWorldMapRefuseToRunAway().
Definition at line 688 of file world_map.c.
scWorldMapShowGoldenBoots
void scWorldMapShowGoldenBoots(void)
Places the Golden Boots on the map as an item icon
(FLAG_GOLDEN_BOOTS_ON_MAP).
References fdActorGet(), fdActorSetPosAndFacing(), fdActorSetSpriteFlags(), fdScriptSetFlag(), scFieldActorShowItemIconById() and Sint32.
Referenced by scInit() and scWorldMapFightBanditAndThieves().
Definition at line 884 of file world_map.c.
scWorldMapEnterProx
void scWorldMapEnterProx(Sint32 id)
Walking onto Prox from the World Map: coming from the north, the party enters
by its northern way in (SceneIdProxNorth), and from the south by its south
gate. Yallam and Daila choose their way in the same way.
References scWorldMapSelectExitByZ() and Sint32.
Referenced by SceneCues.
Definition at line 904 of file world_map.c.
scWorldMapEnterYallam
void scWorldMapEnterYallam(Sint32 id)
Walking onto Yallam from the World Map: coming from the north, the party enters by its north side, and from the south by its south side.
References scWorldMapSelectExitByZ() and Sint32.
Referenced by SceneCues.
Definition at line 912 of file world_map.c.
scWorldMapEnterDaila
void scWorldMapEnterDaila(Sint32 id)
Walking onto Daila from the World Map: coming from the north, the party enters by its north side, and from the south by its south side.
References scWorldMapSelectExitByZ() and Sint32.
Referenced by SceneCues.
Definition at line 920 of file world_map.c.
scGetCues
const CUE *scGetCues(void)
References SceneCues.
Definition at line 925 of file world_map.c.
scInit
Sint32 scInit(void)
References fdActorGetById(), fdActorSetScript(), fdScriptFinishScreenTransition(), fdScriptGetFlag(), fdScriptSetDestination(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptWaitTransitionTicks(), fdSetWorldMapWindowMetatileTile(), gmPartyGivePiersDjinn(), MainRoutineStateWork, scFieldActorSetSpriteColor(), scFieldScriptSetMessageId(), scFieldScriptWait(), scFieldWorldMapStartZoom(), scWorldMapCarryPartyToAquaRock(), scWorldMapDeliverLohoCannon(), scWorldMapDriftNorthOfContinent(), scWorldMapFightBanditAndThieves(), scWorldMapMeetEcho(), scWorldMapPlayLighthouseTransition(), scWorldMapSailToShipDeck(), scWorldMapShowAirsRockFromAlhafra(), scWorldMapShowGoldenBoots(), scWorldMapShowIdejimaDrifting(), scWorldMapStartPlacedActors(), scWorldMapTakeTheTiller(), scWorldMapWatchVenusLighthouseCollapse(), Sint32, syGameFlagClear(), syGameFlagGet(), syGameFlagSet(), sySynch() and WorldMapEchoScript.
Definition at line 932 of file world_map.c.
scPrepareMap
Sint32 scPrepareMap(void)
References Sint32.
Definition at line 1044 of file world_map.c.
scWorldMapExplainGivingDjinn
void scWorldMapExplainGivingDjinn(void)
Echo's lesson on Djinn: "After bringing a Djinni into your party, you must
set it to somebody." and the Djinn menu, then "Next, I'll show you how you
can use us in battle." and the menu again, and a battle. With
FLAG_ALREADY_KNOWS_DJINN set he says the lesson's second copy of its lines.
References fdActorRunRepeatedMotion(), fdRequestBattleFromEncounterTable(), fdScriptClearFlag(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptWaitForZoomTransition(), fdWorldMapFreeze(), fdWorldMapReloadPendingAreaGraphics(), mnAnimateSelectionToEntry(), mnDjinnMenuRun(), scFieldActorJump(), scFieldScriptSetMessageId(), scFieldScriptWait(), scFieldWorldMapStartZoom() and Sint32.
Referenced by scWorldMapMeetEcho().
Definition at line 1067 of file world_map.c.
scWorldMapSpawnCollapseDust
void scWorldMapSpawnCollapseDust(void)
A cloud of dust thrown up at a random spot as the earthquake that fells Venus Lighthouse shakes the land, at a random scale.
References fdActorSelectAnimation(), fdActorStartScript(), scFieldActorCreate(), Sint32 and WorldMapCollapseDustScript.
Referenced by scWorldMapWatchVenusLighthouseCollapse().
Definition at line 1807 of file world_map.c.
scWorldMapShiftActor
void scWorldMapShiftActor(Sint32 id, Sint32 dx, Sint32 dz)
Moves the actor by whole pixels.
References fdActorGet() and Sint32.
Referenced by scWorldMapSplitIdejima().
Definition at line 1836 of file world_map.c.
scWorldMapSplitIdejima
void scWorldMapSplitIdejima(Sint32 x, Sint32 z, Sint32 dx, Sint32 dz)
Breaks a piece of Idejima's tiles away and moves the party on it with the piece.
References scFieldWorldMapSetWindowMetatileTileAndDraw(), scWorldMapShiftActor() and Sint32.
Referenced by scWorldMapWatchVenusLighthouseCollapse().
Definition at line 1856 of file world_map.c.
scWorldMapSpawnIdejimaWake
void scWorldMapSpawnIdejimaWake(void)
Every sixteenth tick, a puff of spray behind the drifting Idejima.
References fdActorGet(), fdActorSelectAnimation(), fdActorStartScript(), scFieldActorCreate(), scFieldActorSetSpriteColor(), Sint32, TickCount and WorldMapIdejimaWakeScript.
Referenced by scWorldMapShowIdejimaDrifting().
Definition at line 1948 of file world_map.c.
scWorldMapChangeSparkleColor
Sint32 scWorldMapChangeSparkleColor(ACTOR *actor)
A sparkle of the party's path to Aqua Rock: each tick, one time in four, it takes one of the eight colour modes at random.
References fdActorSetSpriteColorMode(), Sint32 and syRandom().
Referenced by WorldMapAquaRockSparkleScript.
Definition at line 2445 of file world_map.c.
scWorldMapSpawnAquaRockSparkle
void scWorldMapSpawnAquaRockSparkle(ACTOR *parent)
The hidden leader's update as the party is carried to Aqua Rock: every eighth tick it leaves a sparkle where it is, which lasts about two seconds.
References fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), scFieldActorCreate(), TickCount and WorldMapAquaRockSparkleScript.
Referenced by scWorldMapCarryPartyToAquaRock().
Definition at line 2456 of file world_map.c.
scWorldMapSetPlacedActorTile
Sint32 scWorldMapSetPlacedActorTile(ACTOR *actor)
The same function as scWorldMapSetIslandTile, under another name. Turns a
placed actor's sprite with the World Map's view and shows it.
References Sint32.
Referenced by WorldMapPlacedActorScript.
Definition at line 2514 of file world_map.c.
scWorldMapFlashPoweringUp
void scWorldMapFlashPoweringUp(ACTOR *actor)
The ship's flicker and its sparks while it powers up (SHIP_POWERING_UP).
References fdActorSetSpriteColorMode(), scWorldMapSpawnSparkPair() and TickCount.
Referenced by scActorSetFlightMode().
Definition at line 2527 of file world_map.c.
scWorldMapGlowInFlight
void scWorldMapGlowInFlight(ACTOR *actor)
The ship's glow and its trail in flight (SHIP_IN_FLIGHT): the colour changes
every other tick, and a particle trails it every fourth.
References fdActorSetSpriteColorMode(), scWorldMapSpawnParticle(), TickCount, WorldMapGlowColorModes and WorldMapGlowColorStep.
Referenced by scActorSetFlightMode().
Definition at line 2548 of file world_map.c.
scWorldMapUpdateTransitionBlend
void scWorldMapUpdateTransitionBlend(void)
Each tick of the lighthouse's view: the picture's glow flickers, its second weight dropping by 4 for two ticks in every four.
References scQueueIOWrite16(), TickCount and WorldMapBlend.
Referenced by scWorldMapPlayLighthouseTransition().
Definition at line 2593 of file world_map.c.
scWorldMapFlashWithSparks
void scWorldMapFlashWithSparks(ACTOR *actor)
Unused: the actor flashes white, with a pair of golden rings every sixteenth tick.
References fdActorSetSpriteColorMode(), scWorldMapSpawnTwinSparks() and TickCount.
Definition at line 2792 of file world_map.c.
scActorAnimateAndEmit
void scActorAnimateAndEmit(ACTOR *actor)
Unused: steps an actor's sprite through the six colour swaps,
SPRITE_COLOR_NORMAL to SPRITE_COLOR_BRG, one every two ticks, with a pair of
golden rings every sixteenth tick.
References fdActorSetSpriteColorMode(), scWorldMapSpawnTwinSparks() and TickCount.
Definition at line 2811 of file world_map.c.
Variables in detail
WorldMapTileSpriteScript
extern Sint32 WorldMapTileSpriteScript[]
LATE_DATA Sint32 WorldMapTileSpriteScript[]
References scTileSpriteReset() and Sint32.
Referenced by WorldMapActorPlacements, WorldMapCollapsePlacements, WorldMapDriftPlacements and WorldMapFirstVoyagePlacements.
Definition at lines 191 and 3301 of file world_map.c.
WorldMapIslandScript
extern Sint32 WorldMapIslandScript[]
LATE_DATA Sint32 WorldMapIslandScript[]
References scWorldMapSetIslandTile() and Sint32.
Referenced by WorldMapDriftingIdejimaPlacements and WorldMapDriftPlacements.
Definition at lines 192 and 3367 of file world_map.c.
WorldMapTidalWaveScript
extern Sint32 WorldMapTidalWaveScript[]
LATE_DATA Sint32 WorldMapTidalWaveScript[]
References scWorldMapSendWaveIn(), scWorldMapSetUpWave() and Sint32.
Referenced by WorldMapDriftPlacements.
Definition at lines 193 and 3372 of file world_map.c.
WorldMapGlowColorModes
extern Uint32 WorldMapGlowColorModes[]
Uint32 WorldMapGlowColorModes[]
The colour modes the ship's glow steps through, one every other tick.
Referenced by scWorldMapGlowInFlight().
Definition at lines 195 and 2958 of file world_map.c.
WorldMapHiddenMembers
Sint32 WorldMapHiddenMembers[8]
The party members hidden as the ship first takes off, -1 for none.
References Sint32.
Referenced by scWorldMapTakeOff().
Definition at line 198 of file world_map.c.
WorldMapBlend
Uint16 WorldMapBlend
Referenced by scWorldMapPlayLighthouseTransition() and scWorldMapUpdateTransitionBlend().
Definition at line 201 of file world_map.c.
GaugeShown
Sint16 GaugeShown
Referenced by scGaugeDraw(), scGaugeEnd() and scGaugeInit().
Definition at line 202 of file world_map.c.
GaugeVram
Sint16 GaugeVram
Referenced by scGaugeDraw(), scGaugeEnd(), scGaugeInit() and scGaugeUpdate().
Definition at line 203 of file world_map.c.
GaugeCountdown
Sint16 GaugeCountdown
Referenced by scGaugeInit() and scGaugeUpdate().
Definition at line 204 of file world_map.c.
GaugeSprite
Uint32 GaugeSprite[3]
Referenced by scGaugeUpdate().
Definition at line 205 of file world_map.c.
GaugeTiles
Uint8 GaugeTiles[8][32]
Referenced by scGaugeDraw().
Definition at line 206 of file world_map.c.
GaugeSourceTiles
Uint8 GaugeSourceTiles[12][32]
Referenced by scGaugeDraw(), scGaugeEnd() and scGaugeInit().
Definition at line 207 of file world_map.c.
WorldMapPackedTilesB
extern Uint8 WorldMapPackedTilesB[]
The tidal wave's tiles, pictures and palettes, tagged LZ.
Referenced by scWorldMapLoadTidalWave().
Definition at line 210 of file world_map.c.
WorldMapPackedPicturesB
extern Uint8 WorldMapPackedPicturesB[]
Referenced by scWorldMapLoadTidalWave().
Definition at line 211 of file world_map.c.
WorldMapPalettesB
extern Uint8 WorldMapPalettesB[]
Referenced by scWorldMapLoadTidalWave().
Definition at line 212 of file world_map.c.
WorldMapActorPlacements
extern ACTOR_PLACE WorldMapActorPlacements[]
LATE_DATA ACTOR_PLACE WorldMapActorPlacements[]
The World Map in play, in WORLD_MAP_ACTOR_ID order, with Jenna and Piers.
References Sint32 and WorldMapTileSpriteScript.
Referenced by scGetActorPlacements().
Definition at lines 417 and 3313 of file world_map.c.
WorldMapCollapsePlacements
extern ACTOR_PLACE WorldMapCollapsePlacements[]
LATE_DATA ACTOR_PLACE WorldMapCollapsePlacements[]
Venus Lighthouse's collapse: Kraden, Jenna and Alex on Idejima, and the piece of it that breaks away.
References Sint32 and WorldMapTileSpriteScript.
Referenced by scGetActorPlacements().
Definition at lines 418 and 3355 of file world_map.c.
WorldMapDriftPlacements
extern ACTOR_PLACE WorldMapDriftPlacements[]
LATE_DATA ACTOR_PLACE WorldMapDriftPlacements[]
Idejima drifting north of the continent: the party on it, the island, the tidal wave (a line of spray), and a piece of the map's tiles where the party is seen last.
References Sint32, WorldMapIslandScript, WorldMapTidalWaveScript and WorldMapTileSpriteScript.
Referenced by scGetActorPlacements().
Definition at lines 419 and 3380 of file world_map.c.
WorldMapFirstVoyagePlacements
extern ACTOR_PLACE WorldMapFirstVoyagePlacements[]
LATE_DATA ACTOR_PLACE WorldMapFirstVoyagePlacements[]
The first voyage: the ship, Kraden, Jenna, Piers and Sheba.
References Sint32 and WorldMapTileSpriteScript.
Referenced by scGetActorPlacements().
Definition at lines 420 and 3413 of file world_map.c.
WorldMapDriftingIdejimaPlacements
extern ACTOR_PLACE WorldMapDriftingIdejimaPlacements[]
LATE_DATA ACTOR_PLACE WorldMapDriftingIdejimaPlacements[]
Idejima alone, drifting away north.
References Sint32 and WorldMapIslandScript.
Referenced by scGetActorPlacements().
Definition at lines 421 and 3428 of file world_map.c.
WorldMapEchoScript
extern Sint32 WorldMapEchoScript[]
LATE_DATA Sint32 WorldMapEchoScript[]
References scWorldMapSetUpEcho() and Sint32.
Referenced by scInit().
Definition at lines 930 and 3306 of file world_map.c.
WorldMapLohoSpokesmanLeaveScript
extern Uint32 WorldMapLohoSpokesmanLeaveScript[]
Uint32 WorldMapLohoSpokesmanLeaveScript[]
Loho's men walk off home once the cannon is aboard.
Referenced by scWorldMapDeliverLohoCannon().
Definition at lines 1474 and 2887 of file world_map.c.
WorldMapNorthLohoWorkerLeaveScript
extern Uint32 WorldMapNorthLohoWorkerLeaveScript[]
Uint32 WorldMapNorthLohoWorkerLeaveScript[]
Referenced by scWorldMapDeliverLohoCannon().
Definition at lines 1475 and 2895 of file world_map.c.
WorldMapSouthLohoWorkerLeaveScript
extern Uint32 WorldMapSouthLohoWorkerLeaveScript[]
Uint32 WorldMapSouthLohoWorkerLeaveScript[]
The same script as WorldMapNorthLohoWorkerLeaveScript, under another name.
Referenced by scWorldMapDeliverLohoCannon().
Definition at lines 1476 and 2906 of file world_map.c.
WorldMapCollapseDustScript
extern Uint32 WorldMapCollapseDustScript[]
LATE_DATA Uint32 WorldMapCollapseDustScript[]
A cloud of dust as the earthquake shakes the land, gone after 16 ticks.
Referenced by scWorldMapSpawnCollapseDust().
Definition at lines 1803 and 3554 of file world_map.c.
WorldMapIdejimaWakeScript
extern Sint32 WorldMapIdejimaWakeScript[]
Sint32 WorldMapIdejimaWakeScript[]
A puff of the drifting Idejima's spray, swelling as it drifts, gone after 48 ticks.
References Sint32.
Referenced by scWorldMapSpawnIdejimaWake().
Definition at lines 1945 and 2930 of file world_map.c.
WorldMapIdejimaDriftScript
extern Uint32 WorldMapIdejimaDriftScript[]
Uint32 WorldMapIdejimaDriftScript[]
Idejima drifts on, 24 pixels a step.
Referenced by scWorldMapShowIdejimaDrifting().
Definition at lines 1990 and 2917 of file world_map.c.
WorldMapAquaRockSparkleScript
extern Sint32 WorldMapAquaRockSparkleScript[]
Sint32 WorldMapAquaRockSparkleScript[]
A sparkle of the path to Aqua Rock, changing colour, gone after 120 ticks.
References scWorldMapChangeSparkleColor() and Sint32.
Referenced by scWorldMapSpawnAquaRockSparkle().
Definition at lines 2452 and 2943 of file world_map.c.
WorldMapGlowColorStep
extern Sint32 WorldMapGlowColorStep
The step through WorldMapGlowColorModes, every other tick.
Referenced by scWorldMapGlowInFlight().
Definition at line 2544 of file world_map.c.
WorldMapSparkScript
Sint32 WorldMapSparkScript[]
References scWorldMapRiseFromAnchor() and Sint32.
Referenced by scWorldMapSpawnSparkPair().
Definition at line 2950 of file world_map.c.
SceneEntrances
LATE_DATA SCENE_ENTRANCE SceneEntrances[]
Referenced by scGetEntrances().
Definition at line 2977 of file world_map.c.
SceneExits
LATE_DATA Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 3106 of file world_map.c.
SceneCues
LATE_DATA CUE SceneCues[]
Boarding and leaving the ship and its flight, the Djinn's grounds, the pond, and the ways into the areas.
References scWorldMapBoardShip(), scWorldMapEnterDaila(), scWorldMapEnterProx(), scWorldMapEnterYallam(), scWorldMapGazeIntoPond(), scWorldMapLeaveShip(), scWorldMapMeetChill(), scWorldMapMeetCore(), scWorldMapMeetIron(), scWorldMapMeetPetra(), scWorldMapMeetSour(), scWorldMapMeetWheeze(), scWorldMapMoorAtAttekaInlet(), scWorldMapPickUpGoldenBoots(), scWorldMapRefuseToRunAway(), scWorldMapSetUpFlyingShip(), scWorldMapSetUpShip() and scWorldMapTakeOff().
Referenced by scGetCues().
Definition at line 3436 of file world_map.c.
WorldMapPlacedActorScript
LATE_DATA Sint32 WorldMapPlacedActorScript[]
References scWorldMapSetPlacedActorTile() and Sint32.
Referenced by scWorldMapUpdatePlacedActors().
Definition at line 3559 of file world_map.c.
Sint32
LATE_DATA Sint32
Referenced by ActorApproachWatchedScript, ActorCameraScript, ActorFaceWatchedScript, ActorFlyScript, ActorFootprintScript, ActorHoverScript, ActorIdleScript, ActorKeyCheckScript, ActorKeysScript, ActorLaunchScript, ActorOffsetScript, ActorPlacements, ActorPlayerScript, ActorRippleScript, ActorRopeScript, ActorSailOnMapScript, ActorSailScript, ActorSandOnWorldMapScript, ActorSandPuffScript, ActorSandScript, ActorScriptCycleTable, ActorScriptEndScript, ActorScriptIdleScript, ActorSplashScript, ActorStepAngleScript, ActorTightropeScript, ActorWaitScript, ActorWalkingScript, ActorWorldMapScript, AirsRockEntrancePlacements, AirsRockInsideFaceVentsPlacements, AirsRockInsideLeaderLevel, AirsRockInsideOrbitingSparkScript, AirsRockInsidePairedStakesPlacements, AirsRockInsideStampedHeight, AirsRockInsideStampedMetatile, AirsRockInsideStampedWidth, AirsRockInsideStampedX, AirsRockInsideStampedZ, AirsRockInsideTightropesPlacements, AirsRockInsideTurningBridgePlacements, AirsRockInsideWindStonePlacements, AirsRockLeaderLevel, AirsRockRubbleScript, AirsRockWindStoneScript, AlhafraActorPlacementsOnceTheMastIsCleared, AlhafraAlhafranLeadsBehindFelixScript, AlhafraElderStepsBackScript, AlhafranCaveGuardStepsAsideScript, AlhafranCaveIdleEventTick and 4596 more.
Definition at line 3565 of file world_map.c.