Scene Overlays
This page is a guide to the games/tbs/src/scene/ folder of the Alchemy
project. Every town, dungeon, cutscene, and menu screen in Golden Sun: The
Broken Seal gets its local logic from a compressed scene overlay in it.
Each C file here compiles into a standalone overlay that unpacks on demand when
the party walks through a door or changes area. Together, the 93 gameplay
overlays in this folder and the 3 debug overlays in
Debug Mode & Test Rooms cover all 201 scenes in the game. Any file,
such as vale.c, gives a town's NPCs, triggers, and cutscenes in one
continuous reading.
The sections below describe the six-stub entry table every overlay shares, give cue and door script examples from the source, explain how temporary flags reset between areas, and trace how Clear Data passwords are encoded. Conceptual context is given in World, Scenes & Maps.
The 6-stub entry table (entry.s)

Every overlay links entry.s at its start, exposing 6 fixed-order C
functions queried by the field engine. An overlay can return different tables
dynamically by story flag when needed, as Vale does when choosing among three
cue tables:
scInit: Custom setup before fade-in, such as restoring pushed pillars, hiding story NPCs, or redirecting scenes.scGetEntrances: Spawn coordinates, facing, and camera bounds (isolating interiors on rooms maps).scGetExits: Conditional(exitId → scene, entrance)rows.scGetActorPlacements: Placed NPC and object rows (actor IDs 8+). Skipped rows keep their indices so IDs never shift.scGetCues: Top-down first-match interaction table (CUE_TALK,CUE_STEP,CUE_EXAMINE,PSYNERGY_ON_ACTOR, and more).scGetExitRegions: Map-edge exit checks.
Cue, exit, and script examples
Cues match top to bottom ("active until flag is set", or CONDITION_ALWAYS).
Examine cues always match so opened chests report "but the chest was empty.":
/* Vault's mayor: setting the welcome flag lets a second talk fall through */
{ CUE_TALK, ACTOR_MAYOR, FLAG_VAULT_REVISIT_ISAAC_WELCOMED_BACK, SCRIPT_REF(scLogRoomsBWelcomeIsaacBack) },
{ CUE_TALK, ACTOR_MAYOR, CONDITION_ALWAYS, SCRIPT_REF(scLogRoomsBWarnOfThievesRevenge) },/* Exit row and door script in vale.c */
SCENE_EXIT(VALE_TO_COTTAGE_ROOMS_A_NORTH, CottageRoomsA, COTTAGE_ROOMS_A_VALE_NORTH),
static void scValeEnterJennasGrandparentsHouse(void)
{
sySoundPlay(SE_DOOR_OPEN);
fdMapGridAnimateMetatiles(ValeGrandparentsDoorOpens, 49, 69);
fdActorWalkTo(ACTOR_PARTY_LEADER, 326, 1126);
syImportScriptSetExitRequest(VALE_TO_COTTAGE_ROOMS_A_NORTH);
}Auto-clearing temp flags, shared helpers, and non-place scenes

- Temp flags: Each scene
#defines local names at the top of its.cfile for the 256 scene-temp flags (cleared on every scene load) and 256 area-temp flags (cleared when entering a different area). Battles clear neither range. - Shared overlay code (
shared/): Because only one overlay resides in EWRAM at a time, helpers inshared/are#included into each overlay that uses them. - Rooms maps and multi-scene overlays: Same-style interiors share one rooms
map (
cottage_rooms_a.c,log_rooms_b.c) separated by camera bounds. Related dungeons share one overlay (crossbone_isle.c), and different story phases can pair two overlays with one map. - Non-place scenes:
title.c,file_screen.c, andbattle_arena.care ordinary overlays inScenesWork.
Clear Data passwords (file_screen.c)
To carry a cleared TBS save into The Lost Age without a link cable,
file_screen.c packs save data into three tiers. Bronze stores levels,
Djinn, 1 byte of story flags, and a Psynergy-item bitmask. Silver adds base
stats. Gold drops the separate Psynergy-item bitmask in favour of all 15
inventory slots per character, stack quantities, and coins. Every tier is
encoded in five steps:
- Append a CRC-16 over the payload bytes.
- XOR every preceding byte with the final byte so changing any single character avalanches the whole payload.
- Split the bitstream into 6-bit symbols.
- Insert a checksum symbol (sum of the previous 9 symbols) after every 9 symbols, and add each symbol's position offset.
- Map symbols onto an alphabet that omits look-alikes (
I,l,1,O,o, and0). Japanese editions use hiragana instead.
Source files
| File | Description |
|---|---|
alpine_crossing_lama_temple.c | The Alpine Crossing (SceneIdAlpineCrossing) and Lama Temple (SceneIdLamaTemple), two places on Silk Road west of Xian that share this overlay. |
altin.c | Altin, the mining village north of the Alpine Crossing, in two scenes that share this overlay and the area name Altin: the village outdoors (SceneIdAltin), and its inn, shops and houses (SceneIdCottageRoomsD), a rooms map each in its own camera box. |
altin_peak.c | Altin Peak, the mine under Altin that the villagers and the Alpine Crossing's signpost call Altin Mine. |
altmiller_cave.c | Altmiller Cave, north of Tolbi, where the party finds Babi while all of Tolbi searches for him during Colosso (babi_palace.c). |
babi_lighthouse.c | Babi Lighthouse, the half-built tower north of Lalivero, and the road up to it. |
babi_palace.c | Babi's Palace in Tolbi, and the court before its door. |
battle_arena.c | The Battle Arena, the hall Isaac walks into when Battle is chosen on the File Screen with a save that has a Djinni. |
bilibin.c | Bilibin, the Bilibin Treasury and the Bilibin Barricade, three scenes that share one overlay; the getters pick each scene's tables by MainRoutineStateWork.next. |
bilibin_cave.c | The Bilibin Cave Entrance and Bilibin Cave are two areas between Bilibin and Imil that share this overlay. |
colosseum_azart_match.c | Colosseum Final 1 (SceneIdColosseumAzartMatch) is the site of the first finals match, where Isaac races Azart through four stages to the arena and fights him there. |
colosseum_entrance.c | Tolbi's colosseum, where Colosso is fought, in three scenes. |
colosseum_navampa_match.c | Colosseum Final 3 (SceneIdColosseumNavampaMatch) is the site of the last finals match, where Isaac races Navampa of Gondowan through six stages to the arena and fights him there. |
colosseum_satrage_match.c | Colosseum Final 2 (SceneIdColosseumSatrageMatch) is the site of the second finals match, where Isaac races Satrage through five stages to the arena and fights him there. |
cottage_rooms_a.c | Cottage rooms A (SceneIdCottageRoomsA) is a rooms map drawn as cottages. |
cottage_rooms_b.c | Cottage rooms B (SceneIdCottageRoomsB) holds the insides of Vale's wooden houses: Isaac's home, Vale's inn, the forge and Kraden's study, and one room of Babi's Palace in Tolbi drawn in the same style. |
cottage_rooms_c.c | Cottage rooms C (SceneIdCottageRoomsC) is a rooms map drawn as cottages, all of them inside Bilibin's buildings, whose area name is Bilibin. |
crossbone_isle.c | Crossbone Isle, the island of puzzles off the coast that the party can reach from the World Map, and the cave beneath it that winds down nine floors to Deadbeard's Pirate Ship. |
crossbone_isle_keys.c | Three of the side rooms of Crossbone Isle Cave, the cave beneath Crossbone Isle, with four chests each. |
crossbone_isle_stepping_stones.c | Five of the side rooms of Crossbone Isle Cave, the cave beneath Crossbone Isle. |
file_screen.c | The File Screen overlay, the first screen after the title. |
fuchin_temple.c | Fuchin Temple's grounds, and the rooms map that shares its overlay. |
goma_cave_entrance.c | Goma Cave Entrance (SceneIdGomaCaveEntrance), the foot of the cliffs in the Goma Range between Vault and Bilibin, where Ivan joins the party. |
goma_cave_pillar.c | Goma Cave (SceneIdGomaCavePillar), the middle floor of the cave in the Goma Range that the party passes through between Vault and Bilibin. |
goma_cave_pond.c | Goma Cave (SceneIdGomaCavePond), the room below the room of two pillars and a stump, in the cave in the Goma Range that the mayor of Vault tells the party to pass through on the way to Bilibin. |
goma_cave_stream.c | The first and last rooms of Goma Cave, the cave in the Goma Range between Vault and Bilibin: SceneIdGomaCaveStream and SceneIdGomaCaveBridge, both under the area name Goma Cave. |
gondowan_cave.c | Gondowan Passage and Gondowan Cave, south and south-east of Tolbi. |
hammet_palace.c | Hammet Palace (SceneIdHammetPalace), the rooms of Lord Hammet's palace in Kalay. |
imil.c | Imil, the snowbound village north of the Goma Range, near the lighthouse that long ago held the Water of Hermes, and its houses and Sanctum. |
imil_fuchin_falls.c | Imil Falls Cave, the little cave behind Imil's frozen falls, and Fuchin Falls Cave, the grotto behind the waterfall at Fuchin Temple where Master Nyunpa sends the party for its test. |
kalay.c | Kalay, the merchants' town Lord Hammet founded, the front of his palace, and the tunnel beneath them: four places in six scenes. |
kalay_tolbi_docks.c | Kalay Docks and Tolbi Docks, the two ends of the ship's crossing of the Karagol Sea, and the cottage at each (SceneIdKalayDocks, SceneIdTolbiDocks and SceneIdCottageRoomsE, the rooms map that holds both cottages' rooms). |
kolima.c | Kolima's overlay, which holds three scenes. |
kolima_forest_cliff.c | Kolima Forest (SceneIdKolimaForestCliff), the third of the forest's five scenes, between SceneIdKolimaForestGlade and SceneIdKolimaForestFloodgate. |
kolima_forest_entrance.c | Kolima Forest (SceneIdKolimaForestEntrance), the first of the forest's five scenes, entered from the World Map (KOLIMA_FOREST_ENTRANCE_WORLD_MAP). |
kolima_forest_floodgate.c | Kolima Forest's pool above the floodgate (SceneIdKolimaForestFloodgate), the fourth of the forest's five scenes. |
kolima_forest_glade.c | Kolima Forest (SceneIdKolimaForestGlade), the second of the forest's five scenes, on the party's way to Tret between SceneIdKolimaForestEntrance and SceneIdKolimaForestCliff. |
kolima_forest_tree.c | Kolima Forest (SceneIdKolimaForestTree), the last of the forest's five scenes, where Tret and Laurel, the spirits of the holy trees, stand. |
lacquer_rooms_b.c | The insides of Xian (SceneIdLacquerRoomsB): its houses, its inn and its shop, red lacquered rooms laid side by side on one rooms map, and the small bedroom behind Master Feh's school. |
lalivero.c | Lalivero (SceneIdLalivero), the walled desert town by Babi Lighthouse, with a gate in its north and south walls and a stone obelisk in a pool at its middle. |
lamakan_desert.c | Lamakan Desert, south of Lama Temple: four scenes that share one cue table, built around a heat gauge and the secrets Reveal uncovers. |
lemurian_ship.c | The gangway out over the sea behind the shack in the north-west of Lalivero, where the Lemurian ship lies sunk (SceneIdLemurianShip, the area name Lemurian ship), and the game's last scene. |
log_rooms_a.c | Log rooms A (SceneIdLogRoomsA), a rooms map drawn in logs, holds only Vault's rooms while Hammet's Shaman's Rod is missing and just after it is found: the insides of the town's houses, shops and inn, the inn's attic and its loft. |
log_rooms_b.c | Log rooms B (SceneIdLogRoomsB), a rooms map drawn in logs, holds only Vault's rooms: the town's houses, shops and inn once the party has reached Kalay. |
log_rooms_c.c | Log rooms C (SceneIdLogRoomsC), a rooms map drawn in logs, holds only Kolima's rooms: the village's houses, shops and inn. |
lunpa.c | Lunpa, the town the righteous thief Lunpa founded, and the Lunpa Fortress Gates above it. |
lunpa_fortress.c | Lunpa Fortress, the stronghold of the thief Dodonpa at the top of Lunpa, where he holds Hammet, the great merchant of Kalay, for ransom; and the cave and the cells under it, where Hammet is kept. |
mccoy_palace.c | McCoy's Palace in Bilibin, the home of the town's chief. |
mccoy_palace_grounds.c | The grounds of McCoy's Palace, at the top of Bilibin. |
mercury_lighthouse.c | Mercury Lighthouse, the lighthouse of water north of Imil that Mia and the Mercury Clan guard: the ground outside its door (SceneIdMercuryLighthouseExterior) and three of its upper scenes (SceneIdMercuryLighthouseLower, SceneIdMercuryLighthouseMiddle and SceneIdMercuryLighthouseUpper). |
mercury_lighthouse_aerie.c | Lighthouse Aerie (SceneIdMercuryLighthouseAerie), the top of Mercury Lighthouse, where its beacon burns. |
mercury_lighthouse_entrance.c | Mercury Lighthouse (SceneIdMercuryLighthouseEntrance), the lighthouse's ground floor inside its door, which leads up to its floors (mercury_lighthouse.c). |
mogall_forest.c | Mogall Forest (SceneIdMogallForestSign to SceneIdMogallForestSidePaths), the endless woods between Fuchin Temple and Xian. |
rock_rooms.c | The rooms inside Lunpa's buildings, and the house beside Suhalla Gate (SceneIdRockRooms). |
sanctum.c | The Sanctum, the room of the Healers that Vale, Vault, Bilibin, Xian and Altin each have (SceneIdSanctum). |
shared/actor_depth.c | Tunnel Ruins and Venus Lighthouse: blocks the leader can stand beside, behind or on. |
shared/actor_facing.c | Altin Peak, Bilibin, Imil, Kolima, McCoy's palace and garden, Sol Sanctum's Elemental Star room, and Vale's Kraden, Babi, home and rooms scenes: people who turn to keep someone in view. |
shared/actor_find_at_metatile.c | Bilibin, its cave, Kalay and Sol Sanctum's entrance: who stands on a metatile. |
shared/actor_find_at_position.c | Colosseum Final 1, 2 and 3, and Venus Lighthouse: who stands at a place. |
shared/actor_heading.c | Kalay and Venus Lighthouse's aerie: people who look about. |
shared/actor_wait_below_height.c | Goma Cave Entrance and Goma Cave, and the Lamakan Desert. |
shared/actor_wait_until_landed.c | Babi Lighthouse and Venus Lighthouse. |
shared/balance_heights.c | The balances of the Tunnel Ruins and Venus Lighthouse, two platforms that weigh what stands on them against each other. |
shared/beacon_spark_script.c | The Mercury and Venus Lighthouse aeries: the sparks that circle the beacon's light. |
shared/color_mode_cycle.c | Cottage Rooms B and the world map, where nothing reaches it. |
shared/colosso_arena.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the end of the race, where Isaac and his opponent meet in the arena and fight. |
shared/colosso_finish.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the end of the race at the arena, where each warrior walks up to a prize and holds it up. |
shared/colosso_finish_scripts.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the warriors' scripts as each reaches his prize at the finish: he holds it up (scColossoRaisePrize) and holds a pose for two and a half seconds, both arms raised, then turns south. |
shared/colosso_guide.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): what a stage's guide uses to describe the stage. |
shared/colosso_hex_string.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): a number written as hexadecimal text, which nothing calls. |
shared/colosso_item_icon.c | The three Colosseum finals matches, and three of Crossbone Isle Cave's side rooms (CrossboneIsleKeys, CrossboneIsleStatues and CrossboneIsleBane): an actor drawn as an item's menu icon, such as the two prizes at a finals match's arena or the keys in CrossboneIsleKeys. |
shared/colosso_lettering.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the large lettering a visit opens with, Lend a Hand! for the friends' turns, and for the race The 1st Match (or 2nd or 3rd), 3, 2, 1 and GO; and WIN or LOSE once the match's battle is over. |
shared/colosso_lettering_scripts.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the scripts that move the lettering's title, GO and WIN (scColossoStartLettering). |
shared/colosso_lettering_tables.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): where each lettering picture's palette starts, and the scripts that move the count (3, 2, 1) and LOSE (scColossoStartLettering). |
shared/colosso_map_state.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): a helper for the race gauge that no scene calls. |
shared/colosso_match_result.c | The sites of the first two Colosso finals matches (Colosseum Final 1 and 2): the arena after the battle. |
shared/colosso_path_opponent.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the opponent who races Isaac by running a recorded path, and the race gauge that shows how near each of them is to the finish. |
shared/colosso_prize_scripts.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the scripts of the raised prize and its sparkles (colosso_finish.c). |
shared/colosso_push.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the rocks, weights and pillars on a stage that Isaac pushes, and finding what stands ahead of him. |
shared/colosso_setup.c | Colosseum Final 1 and 3: setting up a race against the opponent, with the race gauge at the top of the screen and the opponent running a recorded path (colosso_path_opponent.c). |
shared/colosso_solo.c | Where Isaac's friends cheer from, shared by the three Colosso finals matches (Colosseum Final 1, 2 and 3). |
shared/colosso_state.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the state of the shared Colosso code, in the order each scene's memory lays it out. |
shared/colosso_task.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the large lettering a race starts with. |
shared/colosso_tour.c | The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): how the guide's tour begins and ends. |
shared/field_effect_advance.c | Babi Lighthouse, Crossbone Isle, Tret's rooms, the Tunnel Ruins and Venus Lighthouse, and the main image's Carry (script_commands_whirlwind.c, with EFFECT_SPAWN_RESIDENT), whose landing ring of particles it moves. |
shared/field_effect_create.c | Placing a still actor of a given sprite, shared by twenty-three scenes: a black, translucent mask in front of the backgrounds, which the scenes set where something sinks or drops out of sight (a pillar into the floor, Isaac through a hole), and an invisible actor sorted under the others. |
shared/field_effect_duration_scripts.c | Twenty-four scenes: the three lifetimes fdEffectSpawn (field_effect_spawn.c) gives its effects through FieldEffectDurationScripts. |
shared/field_effect_radial.c | The Tunnel Ruins and Venus Lighthouse: the ring of dust a carved stone or a pillar raises as it lands on a stack. |
shared/field_effect_spawn.c | Twenty-four scenes, and the main image's field Psynergy (script_commands_whirlwind.c, with EFFECT_SPAWN_RESIDENT): fdEffectSpawn, which places a small effect moving at a velocity, its script one of FieldEffectDurationScripts and its options chosen by the EFFECT_USE_ flags. |
shared/field_effect_vertical.c | Vale and its home, storm and Babi scenes, Sol Sanctum's eruption, the World Map and Venus Lighthouse's aerie: the golden ring that rises around someone using Psynergy, as the main image's script_commands_arcs.c draws it. |
shared/floating_nut.c | Crossbone Isle, Kalay, Kolima Forest (SceneIdKolimaForestGlade), Lunpa, McCoy's palace garden, Mogall Forest and Vale: a Nut floating where it lies, until it is taken. |
shared/floating_platform.c | Mercury and Venus Lighthouses' aeries. |
shared/glint_twinkle_script.c | Mercury Lighthouse, its entrance and Venus Lighthouse: the glints that twinkle in rising water and spray. |
shared/golden_ring.c | Vale and the World Map: the golden ring that rises around someone using Psynergy. |
shared/hermes_water_bottle.c | The bottle of Hermes' Water: Mercury Lighthouse's fountain fills the Empty Bottle, and pouring it on Tret in Kolima Forest empties it again. |
shared/ice_key_headings.c | Imil's ice: the way the leader turns while he slides on it, by the held directions. |
shared/item_equip.c | Colosseum Final 1, 2 and 3, and Goma Cave Entrance: giving a character an item and putting it on. |
shared/item_icon_grow_script.c | The Sanctum and Sol Sanctum's Elemental Star room: how an Elemental Star's icon appears. |
shared/kalay_fallback_entrances.c | The entrances Kalay's scene files give for a scene they do not hold: one way in at (168, 168), facing south, with no camera bounds. |
shared/kolima_blink.c | Kolima and Kolima Forest (SceneIdKolima and SceneIdKolimaForestEntrance): the sparkling dust that falls when Tret's curse strikes. |
shared/kolima_curse_dust.c | Kolima and Kolima Forest (SceneIdKolima and SceneIdKolimaForestEntrance): the sparkling dust that falls over the party when Tret's curse strikes ("Watch out! |
shared/kolima_grow.c | Kolima and Kolima Forest (SceneIdKolima, SceneIdKolimaForestEntrance and SceneIdKolimaForestTree): an effect that stretches as it travels. |
shared/kolima_jump.c | Kolima Forest (SceneIdKolimaForestEntrance and SceneIdKolimaForestCliff): the hop east from the bank onto the log floating in the river (ACTOR_RIVER_LOG, which each scene names). |
shared/kolima_palette.c | Kolima Forest, while Tret's curse lasts (FLAG_KOLIMA_CURSE_LIFTED clear): the forest's colours turned redder and darker, and both sets of colours kept for the script where the curse lifts. |
shared/kolima_sparkle_burst_script.c | Kolima and Kolima Forest: a falling sparkle of Tret's curse that strikes a Psynergy field over the party. |
shared/kolima_squash.c | Kolima and Kolima Forest: the party quivers under Tret's curse as it falls, and is set back to its own size as each collapses. |
shared/leader_hop.c | The leader's leap from stump to stump in Fuchin Falls Cave; Fuchin Temple keeps it for three hops nothing calls. |
shared/leader_slide_on_ice.c | Imil's ice, in the town and in Imil Falls Cave: the leader slides across it a metatile at a time the way the pad points. |
shared/leave_by_exit.c | Timber Rooms A (Suhalla) and Timber Rooms B and C (Lalivero). |
shared/lemurian_ship_ripple.c | The Lemurian ship: the ripple of the water, a wave in each axis of the background's scrolling, changed line by line in the horizontal blank. |
shared/log_ride.c | Fuchin Falls and Vale's cave: the logs that float the leader across a pool. |
shared/map_grid_panel.c | Crossbone Isle Cave (SceneIdCrossboneIsleSteppingStones to SceneIdCrossboneIsleDragonStatue) and Kolima Forest (SceneIdKolimaForestFloodgate): drawing a stretch of the layout, in one of the states kept elsewhere in it (such as the water raised or not), straight into the background's tile map. |
shared/mercury_lighthouse_arrive.c | Mercury Lighthouse and its entrance: arriving on a floor through one of its sparkling passages. |
shared/mercury_lighthouse_column.c | Mercury Lighthouse and its entrance, once Ply has been cast on the goddess: standing on the pool's heart (METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_HEART) gives the leader three lights, shown as a column of light over them. |
shared/mercury_lighthouse_column_tables.c | The tables of mercury_lighthouse_column.c, which Mercury Lighthouse and its entrance both hold. |
shared/mercury_lighthouse_lights.c | Mercury Lighthouse and its entrance: the lights that carry the leader over the pools (mercury_lighthouse_column.c), made again when the party comes back from a battle. |
shared/mercury_lighthouse_palette_cycle.c | Mercury Lighthouse and its entrance: the shimmer that runs up the pools' colours once Ply has been cast on the goddess (FLAG_MERCURY_LIGHTHOUSE_HEART_HONORED). |
shared/mercury_lighthouse_sparks.c | Mercury Lighthouse and its entrance: the trail of sparks the leader leaves while passing between floors. |
shared/mercury_lighthouse_waterfall.c | Mercury Lighthouse and its entrance: leaving a room by walking into one of its waterfalls. |
shared/mind_read.c | Kolima and Log Rooms A: Mind Read cast in a script. |
shared/position_distance.c | The distance between two actors, for the scenes where someone reacts to who is near: the Mercury and Venus Lighthouse aeries, Tolbi, Vault, Venus Lighthouse, Xian and every scene with pushed_actor.c. |
shared/psynergy_rings.c | Vale in the storm and Venus Lighthouse's aerie: the golden ring that rises around someone using Psynergy in a script, with a sound each scene names (PSYNERGY_RINGS_SOUND). |
shared/pushed_actor.c | Seventeen scenes with things the leader pushes (Altmiller Cave, Babi Lighthouse, Crossbone Isle and its rooms, Goma Cave's pillar room, Gondowan Cave, Kolima Forest (SceneIdKolimaForestEntrance to SceneIdKolimaForestCliff), Lunpa's fortress, Mercury Lighthouse and its entrance, Mogall Forest, the Tunnel Ruins, Vale and its cave): things pushed a metatile at a time, such as stone pillars, and logs and other large things that roll until they meet something, redrawn into the map grid where they stop. |
shared/pushed_actor_direction_steps.c | The metatile ahead of a pushed thing for each of sixteen headings, one metatile (16 pixels) along x or z, which every scene with pushed things holds. |
shared/pushed_actor_fill_rectangle.c | The pushed-actor scenes (pushed_actor.c) and Venus Lighthouse's unused copy: a rectangle of metatiles given one metatile behavior. |
shared/pushed_actor_push.c | The plain push of Altmiller Cave's fallen columns and Crossbone Isle's two logs on the grass. |
shared/pushed_actor_tables.c | The tables of pushed_actor.c, which every scene with pushed things holds: the metatile ahead for each of sixteen headings, and the six rectangles. |
shared/scene_entrances_default.c | The entrances a cave or island scene file gives for a scene it does not hold: one way in at (120, 152), facing south, with no camera bounds. |
shared/scene_entrances_mapless.c | The title and the File Screen, scenes that are no place (empty_map): one entrance at the map's corner, which nothing walks from. |
shared/script_psynergy.c | Vale, its home, storm and Babi scenes, Sol Sanctum's eruption and Venus Lighthouse's aerie: Psynergy shown in a script. |
shared/sol_sanctum_elemental_star_light_tables.c | Sol Sanctum's Elemental Star room and its eruption: each floating light's drift, swing, direction and pulse, by its index, as sol_sanctum_elemental_star_lights.c reads them. |
shared/sol_sanctum_elemental_star_lights.c | Sol Sanctum's Elemental Star room and its eruption: the ten lights that float in the room, actors in a row from the first the map passes, each pulsing and drifting on its own path, read by its index from the tables of sol_sanctum_elemental_star_light_tables.c: SolSanctumLightDrift, SolSanctumLightSwing, SolSanctumLightDirection, SolSanctumLightMaxScales and SolSanctumLightScaleSteps. |
shared/sol_sanctum_rumble.c | The initialization that two rooms of Sol Sanctum share, SceneIdSolSanctumMaze and SceneIdSolSanctumCorridor. |
shared/sol_sanctum_star_metatiles.c | The Elemental Star room's pillars opening, nine steps of a 3-by-4 picture as each star's pillar rises; the eruption keeps a copy it never plays. |
shared/sol_sanctum_star_room_entrances.c | The one way into the Elemental Star room, which its eruption keeps: the party comes down the stairs at its north side, facing south. |
shared/squash_and_stretch.c | Tolbi's ship deck and Vale's storm: things that throb. |
shared/stump_leap.c | The stump Move pushes off a ledge into the water, in Goma Cave Entrance and Goma Cave. |
shared/tolbi_ship_rowing.c | The ship that sails from Kalay to Tolbi: how strongly each passenger rows, which its mast scene and the World Map's crossing both read. |
shared/tremble_script.c | The trembling of Imil's freezing young man and of the Tolbi ship's lookout once the sea monster has landed beside him. |
shared/vale.c | Vale's storm and Vale's homes: going indoors through a door. |
shared/vault_bone.c | Vault's inn, before and after the thieves are caught: the Bone on the barrel beside the girl at the inn, who offers the party "leftover bones from dinner" for the dog in town. |
shared/vault_djinn.c | Vault and its rooms: Ivan hands back Isaac's Djinni before he leaves the party. |
shared/vault_door_exit.c | Vault, on both visits: Isaac walking in through a house's open door. |
shared/vault_door_metatiles.c | Vault's doors opening, on both visits (one map): two ticks of map metatiles each, named for the room the door opens into (scVaultEnterGemOwnersHouse and the rest). |
shared/vault_doors.c | Vault, before and after the thieves are caught: Isaac opening a door of the town and going in. |
shared/vault_item_icon.c | Vault's inn, before and after the thieves are caught: an item lying in the room drawn as its menu icon (the Bone on the barrel, at (568, 16, 672)). |
shared/vault_jail_door.c | Vault, before and after the thieves are caught: the jail's door. |
shared/vault_leader_beside_bone_flag.c | Vault's inn, before and after the thieves are caught (log_rooms_a.c and log_rooms_b.c): whether the leader stands beside the Bone lying on the barrel next to the girl at the inn. |
shared/vault_map_metatiles.c | Vault, before and after the thieves are caught: the Sanctum's double door in the cliff in the west of town, which opens in two ticks as the leader walks into it facing north. |
shared/vault_nearby.c | Vault, before and after the thieves are caught: the two villagers who walk about together (ACTOR_BOY_ROUND_THE_WELL and ACTOR_GIRL_ROUND_THE_WELL, as both scenes name them). |
shared/vault_range.c | Vault, before and after the thieves are caught: villagers who walk about stop when someone is close in front of them. |
shared/vault_talk.c | Vault and its interiors: a villager's thought read with Mind Read. |
shared/vault_toggle.c | Vault's rope bridge, before and after the thieves are caught. |
shared/vault_well_routes.c | Vault, on the first visit (vault.c) and once the party has reached Kalay (vault_revisit.c): the two children who walk round the well. |
ship_rooms.c | Ship rooms (SceneIdShipRooms): the rooms below the decks of the Tolbi-bound ship, on its voyage across the Karagol Sea from Kalay to Tolbi. |
sol_sanctum_corridor.c | Sol Sanctum (SceneIdSolSanctumCorridor), a passage that joins two rooms of SceneIdSolSanctumReliefs (sol_sanctum_entrance.c). |
sol_sanctum_elemental_star_room.c | Elemental Star Room (SceneIdSolSanctumElementalStarRoom), the heart of Sol Sanctum, reached through the portal in the Luna and Sol rooms (SceneIdSolSanctumLunaSolRooms). |
sol_sanctum_entrance.c | The way into Sol Sanctum: the mountainside before its door, and the first rooms inside, where Isaac, Garet and Jenna follow Kraden on the morning the story begins. |
sol_sanctum_eruption.c | Elemental Star Room (SceneIdSolSanctumEruption), the chamber of SceneIdSolSanctumElementalStarRoom (sol_sanctum_elemental_star_room.c) as it collapses once the Mars Star is taken. |
sol_sanctum_luna_sol_rooms.c | Sol Sanctum (SceneIdSolSanctumLunaSolRooms), the room of Sol and the room of Luna at the heart of the sanctum. |
sol_sanctum_maze.c | Sol Sanctum (SceneIdSolSanctumMaze), the room that holds the second Small Jewel. |
sol_sanctum_psynergy_stone.c | Sol Sanctum (SceneIdSolSanctumPsynergyStone), a room off the statue room (SceneIdSolSanctumStatue) that holds a Psynergy Stone. |
sol_sanctum_statue.c | Sol Sanctum (SceneIdSolSanctumStatue), the room of what Kraden calls the statue puzzle, off the Luna and Sol rooms (SceneIdSolSanctumLunaSolRooms) and leading on to a room with a Psynergy Stone (SceneIdSolSanctumPsynergyStone). |
stone_rooms.c | Stone rooms (SceneIdStoneRooms), a rooms map drawn in stone. |
stucco_rooms_a.c | Stucco rooms A (SceneIdStuccoRoomsA) is a rooms map drawn in stucco holding every house of Kalay and its inn, each entered by its own door in the town (kalay.c) and left by the exit of the same name. |
stucco_rooms_b.c | Stucco rooms B (SceneIdStuccoRoomsB) is a rooms map drawn in stucco holding Tolbi's houses, its weapon and armor shop, its inn and the Tolbi Sanctum, each entered by its own door in the town (tolbi.c) and left by the exit of the same name. |
suhalla.c | Suhalla, the desert village of Gondowan at the edge of the Suhalla Desert. |
suhalla_desert.c | Suhalla Desert, the desert of sandstorms between Suhalla and Suhalla Gate, which the party crosses with Iodem after Babi's audience while Sheba is missing in it. |
suhalla_gate.c | Suhalla Gate and Gateway Cave, the rocky pass Babi's soldiers guard on the way from the Suhalla Desert to Lalivero and Venus Lighthouse. |
timber_rooms_a.c | The insides of Suhalla's buildings, rooms of timber walls and woven floors laid side by side on one map (SceneIdTimberRoomsA). |
timber_rooms_bc.c | Lalivero's rooms are two rooms maps drawn in timber in one overlay, Timber rooms B and C. |
title.c | The Title (SceneIdTitle): the screens between scenes that are not on a map, chosen by entrance. |
tolbi.c | Tolbi, the town Babi rules, where Colosso, a festival of warriors, is held each year in the colosseum. |
tolbi_games.c | Tolbi's three games of chance, which the party can play whenever it is in town: Lucky Dice, Lucky Wheels and Tolbi Spring. |
tolbi_ship_deck.c | Tolbi-bound Ship (SceneIdTolbiShipDeck), its deck: the ship that carries the party and a tour group bound for Colosso across the Karagol Sea from Kalay to Tolbi. |
tolbi_ship_mast.c | Tolbi-bound Ship (SceneIdTolbiShipMast) is the top of the ship's mast, where the ship's lookout (ACTOR_LOOKOUT) keeps watch. |
tree_rooms.c | Tret Tree's rooms (SceneIdTreeRooms): the hollow inside of Tret, the holy tree of Kolima Forest, where the party come to face his wrathful side. |
tret_tree_branch.c | Tret Tree's branches (SceneIdTretTreeBranch): the outside of Tret, the holy tree of Kolima Forest, high up under open sky, with clouds drifting past above and the green of the forest far below (places/tret-tree-branch/map-0.png). |
tunnel_ruins.c | The Tunnel Ruins run from the basement of Babi Lighthouse in Lalivero to the upper floors of Venus Lighthouse: the way on after the lighthouse's own base ends in a dead end. |
vale.c | Vale by day (SceneIdVale), Isaac's village at the foot of Mt. |
vale_cave.c | Vale Cave, the optional cave above Vale where Kite, a Jupiter Djinni, hides. |
vale_eruption.c | Vale (SceneIdValeEruption) while Mt. |
vale_kradens_cottage.c | Vale (SceneIdValeKradensCottage) is the part of the village around Kraden's cottage, by the fence that closes off the lands beyond. |
vale_plaza.c | Vale (SceneIdValePlaza): the part of the village with the Psynergy Stone and the town gate, Vale's way out to the world. |
vale_prologue.c | Vale on the stormy night (SceneIdValePrologue), the prologue, when Isaac and Garet are children. |
vault.c | Vault (SceneIdVault), "the town at the heart of Angara", as the party first finds it after Mt. |
vault_cave.c | Vault Cave, the optional cave under Vault that the party can explore once it comes back to the town (SceneIdVaultRevisit), with the Vambrace in a chest and Sap, the Venus Djinni, waiting outside its far end. |
vault_revisit.c | Vault (SceneIdVaultRevisit), the town once the party has reached Kalay. |
venus_lighthouse.c | Venus Lighthouse, six scenes in one overlay: the approach outside, the floor the front door opens onto, and the four floors of the climb that ends in the Lighthouse Aerie at the top (venus_lighthouse_aerie.c). |
venus_lighthouse_aerie.c | Lighthouse Aerie (SceneIdVenusLighthouseAerie), the top of Venus Lighthouse and the only scene of this overlay. |
west_lunpa_cave.c | West Lunpa Cave (SceneIdWestLunpaCave, area name West Lunpa Cave), the cave between the World Map and Lunpa, with a gate across it, where the party meets Bunza on the way out of Lunpa with Hammet. |
world_map.c | The World Map (SceneIdWorldMap), the one perspective map (map/world) that joins the areas, and the only scene of this overlay. |
xian.c | SceneIdXian, the village of Xian. |
| File | Description |
|---|---|
actor_polar_target.h | Vale's Psynergy sparkles and the main image's field Psynergy (script_commands_field_psynergy.c), each with its own move-target function. |
actor_step.h | One step from an actor, for the scenes whose statues and pillars are pushed (Bilibin, its cave, Kalay, Sol Sanctum's entrance, the Vault's cave, Venus Lighthouse) and those of pushed_actor.c. |
catch_nut.h | The Nuts floating in Vale, Kolima Forest, Mogall Forest, Kalay, Crossbone Isle, Lunpa and McCoy's Palace. |
colosso_gauge.h | The Colosso race gauge's sprites and state. |
colosso_guide.h | What a stage's guide in the three Colosso finals matches shows (shared/colosso_guide.c): Isaac fading in on the stage to show the way across, and the blinking pointer that glides over the screen. |
colosso_lettering.h | The large lettering of the three Colosso finals matches (shared/colosso_lettering.c). |
colosso_push.h | The rocks, weights and stone pillars Isaac pushes on the stages of the three Colosso finals matches (shared/colosso_push.c). |
colosso_setup.h | The race at the end of each Colosso finals match (shared/colosso_setup.c): the gauge at the top of the screen, and the opponent running a recorded path to the prize. |
colosso_solo.h | Lending a hand in the three Colosso finals matches (shared/colosso_solo.c): Garet, Ivan or Mia looks round the stages alone, and the stages' guides offer them a place to cheer from. |
field_effect_spawn.h | The small effects twenty-four scenes scatter, each moving at its own velocity, growing and spinning (shared/field_effect_spawn.c). |
floating_nut.h | A Nut floating where it lies until it is taken, in Vale, Kolima Forest, Mogall Forest, Kalay, Crossbone Isle, Lunpa and McCoy's palace garden (shared/floating_nut.c). |
frost_glint.h | Altin Peak's frozen puddle and the main image's Frost (script_commands_frost.c), each with its own colour-mode function. |
golden_ring.h | The particles that rise round a glowing actor, in Vale and on the World Map (shared/golden_ring.c). |
goma_cave.h | What the scenes of Goma Cave share: the stump that leaps out of the way at the Goma Cave Entrance (goma_cave_entrance.c) and in the cave's first room (goma_cave_stream.c), and the area flags of the room of two pillars and a stump (goma_cave_pillar.c) and the room below it (goma_cave_pond.c). |
import.h | The main-image headers that declare the functions scene overlays import, for the overlays that call them outside script.h. |
kalay.h | What Kalay (kalay.c), whose scripts set it, and Lord Hammet's palace (hammet_palace.c), where Layana answers it, share. |
kolima.h | What Kolima's two scenes of the falling curse share: the curse dust, the party's Psynergy fields, and the scripts of both (kolima.c and kolima_forest_entrance.c). |
kolima_curse_dust.h | The dust of Tret's curse that falls about the party in Kolima and at Kolima Forest's entrance (shared/kolima_curse_dust.c). |
kolima_palette.h | Kolima Forest's colours under Tret's curse, redder and darker, and the healthy ones kept for when the curse lifts (shared/kolima_palette.c). |
log_rooms_a.h | The metatile behaviors of the layout of Vault's houses, shops and inn, which SceneIdLogRoomsA (log_rooms_a.c) and SceneIdLogRoomsB (log_rooms_b.c) both answer, and the stock and inn numbers their counters open. |
mercury_lighthouse.h | Includes script.h with FIELD_STAGED_ACTOR_IMPORTS defined, so a scene that includes this before any other header (mercury_lighthouse.c) gets the pushed actor imports. |
mercury_lighthouse_column.h | The scripts of the pool's metatiles in Mercury Lighthouse and its entrance (shared/mercury_lighthouse_column.c). |
mercury_lighthouse_lights.h | The lights the pool of Mercury Lighthouse and its entrance give the leader, which hold him up as he hops across the water (shared/mercury_lighthouse_lights.c and shared/mercury_lighthouse_column.c). |
orbit.h | A floating Nut's actor and sprite as scFloatNut (shared/floating_nut.c) sees them: ACTOR and SPR with the actor's fields it borrows to keep the spot the Nut sways round and how far through the sway it is, and the sprite's attribute bits it sets one by one. |
party_nod.h | The whole party nodding at once, as Kolima's and Kolima Forest's scripts have Isaac, Garet, Mia and Ivan agree together. |
pushed_actor.h | The pushed actors' movement probes and rectangles. |
script_psynergy.h | Psynergy shown in a script, as Vale's villager shows it: "Behold, the power of Psynergy!" (shared/script_psynergy.c). |
sleep_z.h | The letters Z that drift up from a sleeper, Garet's grandfather in Vale and Isaac after the last Colosso match, each scene moving its own. |
sol_sanctum_elemental_star_lights.h | The lights that float in Sol Sanctum's Elemental Star room, before and during the eruption (shared/sol_sanctum_elemental_star_lights.c). |
sparkle_warp.h | The warp in a column of sparkles by which Saturos and Alex leave and arrive on Mercury Lighthouse's aerie (mercury_lighthouse_aerie.c), and by which Alex arrives in Sol Sanctum's Elemental Star room (sol_sanctum_elemental_star_room.c). |
squash_and_stretch.h | The squash and stretch that people standing about play now and then (scSquashAndStretch). |
title.h | What the Title (title.c) and the File Screen (file_screen.c) share: the Golden Sun logo and the sprites of its lettering. |
tolbi_ship.h | What the Tolbi-bound Ship's deck (tolbi_ship_deck.c), the rooms below it (ship_rooms.c), its mast (tolbi_ship_mast.c) and the World Map's voyage (world_map.c) share. |
vale.h | What Vale (vale.c) and Vale in the storm (vale_prologue.c), which draw the same village, share. |
vault.h | The metatile behaviors of Vault's layout, which SceneIdVault (vault.c) and SceneIdVaultRevisit (vault_revisit.c) both draw and answer. |
vault_item_icon.h | An item lying on the floor of Vault's rooms, drawn as its menu icon (shared/vault_item_icon.c). |
vault_range.h | Villagers who walk about and stop when someone is close in front of them, in Vault and Tolbi (shared/vault_range.c). |
walk_into_leader.h | A companion and the party leader: placed on the leader, walked toward the leader, or walked into the leader and taken off the map, as the scenes' scripts gather the party back into one walking sprite. |