include/scene
Guide: Scene Overlays
Files
| File | Description |
|---|---|
airs_rock.h | What Air's Rock's outside (airs_rock.c) and inside (airs_rock_inside.c) share: the whirlwinds the statues breathe and the leader rides, and the outside's tables, scripts and scripts. |
cycle_pictures.h | The field sprite scActorCyclePictures (scene/shared/actor_cycle_pictures.c) flashes white as an actor gathers power: Lunpa before he charges the door in Lemuria, and the leader as Hover wakes Jupiter Lighthouse. |
dehkan_plateau.h | Dehkan Plateau's tables and scripts, and functions several scenes keep a copy of and declare from here (fdPoundSinkTarget, fdActorSetMetatileOpen, scFieldEffectSpawn). |
dust.h | Dust and ground particles the scenes draw by hand. |
falling_rocks.h | Falling rocks and particles: the effects Prox, Magma Rock, Eastern Alhafra and Tundaria Tower each keep a copy of the code for. |
flame_throwers.h | The state of the Mars Lighthouse rooms' flame throwers and of the fireballs that knock the leader back, or carry him along on a ride, when they hit him; it is kept in the inventory snapshot's spare space. |
gabomba_statue.h | The rooms inside the Gabomba Statue (gabomba_statue.c): their scripts, and the functions of the cogs, the ladders, the offering's clock and the channel puzzle; with fdActorSetMetatileOpen and scActorsSetDrawn, which other scenes keep copies of. |
gaia_rock.h | What Gaia Rock's outside (gaia_rock.c) and inside (gaia_rock_inside.c) share. |
ground_effects.h | The map state's ground effects byte as the scenes write it: its footprints and the kind of wading. |
jupiter_lighthouse_aerie.h | What Jupiter Lighthouse's rooms share (and Mars Lighthouse's towers, which copy some of their code): the aerie's angels, archers and well lid, the time the angels take to rise, and the calls the overlays make. |
kibombo.h | Two of Kibombo's scripts: the vent by the statue shown uncovered, and Akafubu's Psynergy on the Black Crystal. |
lemurian_ship.h | The Lemurian Ship's rooms: their tables, doors and set-ups, and the pillar Lift raises. |
lighthouse_palettes.h | How the Jupiter Lighthouse rooms, and one Mars Lighthouse room that keeps a copy, load their cycling palette (shared/jupiter_lighthouse_load_palettes.c). |
magma_rock.h | What Magma Rock's outside (magma_rock.c) and inside (magma_rock_inside.c) share: where a statue's fire stops, the flag set while its Burst plays, and the outside's tables and scripts. |
mars_lighthouse_aerie.h | Mars Lighthouse's aerie, where the Doom Dragon is fought and the beacon lit: its event functions, its actor scripts, and a byte view of a field sprite that the beacon's lighting reads. |
mars_lighthouse_entrance.h | Mars Lighthouse's entrance: its scripts of fireballs, ice and teleport circles, and the teleport and cracked-tile functions other scenes keep a copy of and declare from here. |
mars_lighthouse_shared.h | What the Mars Lighthouse rooms with flame throwers share: the flag bytes of the crack the leader falls through, and the functions they call. |
mars_lighthouse_star_room.h | Mars Lighthouse's star room: its torches, fireballs and the Mars Star, and the knock-back, flame and crack functions it shares with the rooms that keep copies of them. |
orbit.h | Orbiting actors and the sparks that circle and rise when learning a Psynergy (shared/orbiter_spiral.c, shared/orbit_spark_spawn.c, shared/orbit_update.c). |
palette_cycle_places.h | The palette cycle fdPaletteCycleStep runs: BG palette CYCLE_PALETTE's colours from CYCLE_FIRST_COLOR take their places among CYCLE_PLACES one further every CYCLE_STEP_TICKS ticks. |
pillar_stand_in.h | The stand-in actors of a room whose crumbling pillars all share one sprite's picture. |
pushed_actor.h | The packed push step the scenes' push tables are written in, how many kinds of thing they push, and the target a push works out before rolling. |
scene.h | What every scene includes: the headers of the field's coordinates, sprites and map grid, the scenes' shared actors, effects and puzzles, and a few calls the overlays make through their import rows. |
scene_actors.h | The views of actors, sprites, maps and script state that scenes read in their own way, and actor script helpers shared across towns. |
scene_effects.h | Shared scene visual effects, particles, geysers, vents, smoke, lightning, whirlwinds, sparks and cached tile tables. |
scene_puzzles.h | Dungeon and room puzzle structs, metatile keys, cracked-tile constants, traps, springs, doors and thawed map offsets shared by scenes. |
script_check_spheres_overlap.h | Whether two spheres overlap (fdCheckSpheresOverlap), from a script. |
ship_flight.h | The ship's looks in flight, which the World Map and the staff credits each set through their own scActorSetFlightMode. |
shrine_of_the_sea_god.h | The Shrine of the Sea God: its footprints and its scripts. |
sparkle.h | The sparkle that rises round an object while it uses Psynergy in a script (Contigo, Mars Lighthouse's aerie, the Psynergy test): each scene keeps its own copy of the functions. |
staff_credit.h | What the world map and the staff credits share: the picture layer they draw over the map, and the placed actors' functions both overlays link. |
title.h | The Golden Sun logo the title and the Clear scene show. |
trial_road.h | The Trial Road's race progress, kept in the inventory snapshot, and the declarations the Trial Road shares with the Izumo Ruins and Magma Rock's inside: the calls their overlays make, some through their own import rows. |
tundaria_tower.h | Declarations Tundaria Tower shares with Dehkan Plateau and Magma Rock's inside, whose pillars and rubble it copies: the field engine calls their overlays make, some through their own import rows. |
whirlwind_catch.h |