Skip to Content
The Alchemy Project

include/scene

Guide: Scene Overlays

Files

FileDescription
airs_rock.hWhat 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.hThe 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.hDehkan Plateau's tables and scripts, and functions several scenes keep a copy of and declare from here (fdPoundSinkTarget, fdActorSetMetatileOpen, scFieldEffectSpawn).
dust.hDust and ground particles the scenes draw by hand.
falling_rocks.hFalling rocks and particles: the effects Prox, Magma Rock, Eastern Alhafra and Tundaria Tower each keep a copy of the code for.
flame_throwers.hThe 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.hThe 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.hWhat Gaia Rock's outside (gaia_rock.c) and inside (gaia_rock_inside.c) share.
ground_effects.hThe map state's ground effects byte as the scenes write it: its footprints and the kind of wading.
jupiter_lighthouse_aerie.hWhat 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.hTwo of Kibombo's scripts: the vent by the statue shown uncovered, and Akafubu's Psynergy on the Black Crystal.
lemurian_ship.hThe Lemurian Ship's rooms: their tables, doors and set-ups, and the pillar Lift raises.
lighthouse_palettes.hHow 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.hWhat 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.hMars 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.hMars 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.hWhat 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.hMars 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.hOrbiting 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.hThe 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.hThe stand-in actors of a room whose crumbling pillars all share one sprite's picture.
pushed_actor.hThe 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.hWhat 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.hThe views of actors, sprites, maps and script state that scenes read in their own way, and actor script helpers shared across towns.
scene_effects.hShared scene visual effects, particles, geysers, vents, smoke, lightning, whirlwinds, sparks and cached tile tables.
scene_puzzles.hDungeon and room puzzle structs, metatile keys, cracked-tile constants, traps, springs, doors and thawed map offsets shared by scenes.
script_check_spheres_overlap.hWhether two spheres overlap (fdCheckSpheresOverlap), from a script.
ship_flight.hThe ship's looks in flight, which the World Map and the staff credits each set through their own scActorSetFlightMode.
shrine_of_the_sea_god.hThe Shrine of the Sea God: its footprints and its scripts.
sparkle.hThe 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.hWhat 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.hThe Golden Sun logo the title and the Clear scene show.
trial_road.hThe 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.hDeclarations 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

On this page