Files
Every folder and file of The Lost Age's source, with each file's brief.
Codebase Map explains how the folders divide the program.
src/battle/ability_staging.c: How each ability is staged in battle: the outcome stagingbtActionRunBuildgives it and the effect it plays, by ability id, and the effect chance it rolls ahead.action_weights.c: The enemies' action weights.battle.c: The battle object: a battle from its opening transition to its spoils.battle_ability.c: Applying an ability to each of its targets: damage, healing, statuses, stat changes, Djinn and special effects.battle_action.c: An action announced and built for its targets,btActionRunBuild, with whether a unit is in its side's list and how many Djinn a side has on standby.battle_auto_battle.c: Auto battle: the actions it builds and plays without the command menu, the shoulder-key camera and the escape.battle_background.c: The battle background, its palette and modes, the camera's zoom and the units' highlights.battle_debug.c: Debug: the unit snapshot, the parameter sets and the battle test menu.battle_element_glow.c: A unit's element glow: the star field of a cast, the streaks, the pillar and the burst, and restoring the background palette.battle_enemy_ai.cbattle_formation.c: Enemy formations: choosing, levelling and building a formation's enemies and assigning their name suffixes.battle_internal.h: What every part of the battle object shares: its includes, in their original order, and the names two or more parts use.battle_link.c: Link battles: the parties and Djinn exchanged, and the turn handshake.battle_motion.c: The units' movements: returning to their spots, running and leaping, and their positions on the screen.battle_objects.c: Each tick's sprite priorities, the status icons, the poses and the sprites of the battle objects, and the camera they are projected through.battle_placement.c: Battle objects made and placed on the battlefield.battle_playback.c: Battle playback: starting it, scheduling its phases, resetting it and waiting until it is ready.battle_playback_queue.c: The battle playback queue: clearing statuses, waiting for the player to advance messages, and queuing and running playback events.battle_run.c: A battle from its setup to its end (btRun), the party's reserves stepping in for the fallen, the Doom Dragon's change of form, and the lists of the units that fight.battle_setup.c: The battle camera each tick, the opening announcement, the unit lists, the tile pattern, and the party's battle state and Djinn as a battle starts.battle_spoils.c: The spoils: coins, experience, items and level ups.battle_sprite.c: Each enemy's battle sprite, palette, size, attack effect, hop, impact, defeat sound and effect height getters.battle_sprite_slots.c: Battle sprites: every unit's sprite placed, enemy sprite slots and the party's weapon sprites.battle_sprites.c: The battle sprite rows, by unit id: the eight characters', then the enemies'.battle_staging.c: Playing one action of a turn: the staging its ability calls for (an attack, a cast, a summon over a faded field, an item, a flight), the extra strikes that Daedalus, Megaera and Iris add, and a unit's motion graphics.battle_tables.c: The battle's small tables: where a formation's enemies stand, the party's weapon sprites, the camera's command matrix, how an ability weakens with distance, and the forms Dullahan takes.battle_targeting.c: How an enemy, or a confused unit, picks whom to aim at: a random living target, the strongest ally, or one its ability would affect, the enemies with a strategy favouring those with the most HP.battle_transition.c: How the screen goes into a battle: the mosaic fade to black, then the curtain that opens from the middle of the screen as the camera swings round to the party, or the Doom Dragon's shattering opening; and the zoomed background's maps and HBlank scroll they show.battle_turn.c: A turn's actions: the party's commands, the enemies' or the link opponent's, and their action order.battle_turn_end.c: The end of a turn and of each action: the Djinn recovering and set again, each unit's regeneration, stat changes and statuses counted down with a message for each that ends, the Djinn an enemy drains, and what follows a unit's own action (its summon's power boost, the haunt, poison and the Grim Reaper).battle_unit_tables.c: What every battle unit starts with: its actor script, and the kind of weapon each item is.color_scale_kernel.c: The BGR555 palette scaling kernel, compiled as ARM code:btColorBufferScale(color_scale.s) copies it to the stack and runs it there, entered in Thumb through ColorBufferScaleKernelCode.debug_parameter_sets.c: The debug parameter sets: runs of party members, each run ended byDEBUG_PARAMETER_SET_END, thatbtDebugParamSetLoadgives the party when the man hidden below the Battle lobby is given the run's number.element_glow_tables.c: Where the element glow's sparks and rings sit on their sprite sheet.formations.c: The 660 enemy formations, by formation id, each run of them headed by the battle or place it is for, and the enemies a Battle Arena monster battle never picks.highlight_tables.c: The highlighted units' lightening.knockback_tables.c: How far, how fast and how high each knockback sends a unit, by variant (BATTLE_KNOCKBACK).scripted_battle_units.c: The units Karst and Agatio's battle carries over between its parts.turn_end_tables.c: The order the two sides take their turn-end effects in, and two tables after it that no code names.unused_portrait_pairs.c: Unused: a copy of the speakers' portrait maps, linked among the battle code and read by nothing.
battle_effect/battle_effect.c: The battle effects: what plays on screen when a Psynergy, Djinni, summon, unleash or monster ability is used.battle_effect_annihilation.c: Annihilation: a fire streak from the user, then a burst of fire and shards on the target.battle_effect_atalanta.c: The Atalanta summon.battle_effect_azul.c: The summon Azul: a sea serpent that shatters the battlefield, closes the foes in a sphere of water and bursts it over them.battle_effect_beams.c: The plain attack's slash, the critical hit's gathering light and crescent, and pushing a unit back in its damage pose.battle_effect_bind.c: Bind's spinning triangle and rune, the unused Triangle Strike built on it, and an unused wash of blue down the battlefield.battle_effect_blitter.c: The canvas blitter builder: loading and building ARM blitters fromblitter_template.sandblitter_fragments.c.battle_effect_bolt.c: Bolt, Flash Bolt and Blue Bolt: lightning strikes each target in turn.battle_effect_boreas.c: The Boreas summon: Boreas in a mass of ice under a violet sky, then a torrent of ice crystals over the targets.battle_effect_breaths.c: The monsters' breaths (Beam, Rolling Flame, Ghost Soldier, Pike Assault and Blast Breath), the crescent slash of Human Hunt and Echo Cut, and the four-way mirrored blit many effects draw their glows with.battle_effect_burst_shower.c: The burst shower: a stream of shots from the user at the targets, which most monster breaths and a few Djinn play, each with its own picture.battle_effect_canvas.c: Eclipse and the Doom Dragon's change of form, then the canvas layer: its transfers, opening and closing it, its maps, the battle background's darkening behind it, the targets' flash timers, and lines.battle_effect_canvas_wipe.c: The canvas wipe: the ragged sweep that blacks out or clears the canvas as the summons and the larger effects open and close.battle_effect_cards.c: The Sleep, Baffle, Death and Sword Cards.battle_effect_casting_impact.c: The casting impacts, the Djinn attacks, unleashes and enemy abilities that open the same way: sparks close in on the caster, a streak shoots at the target and the orb flashes over it in a spray of sparks, and then each impact plays its own effect over the target (CASTING_IMPACT).battle_effect_catastrophe.c: The Catastrophe summon: the chained demon over a red sky, its sword's orb landing far below, and lightning and smoke sweeping over the foes.battle_effect_charon.c: The Charon summon, andbtRenderBuildQuadStrip, which builds the strip meshes many effects lay their bands, ribbons and flames on (Catastrophe's smoke, Cruel Ruin's ribbons, Megiddo's corona).battle_effect_condemn.c: Condemn.battle_effect_constants.c: The constants the battle effects copy into their locals, in the order of the effects that read them: mostly the scales their sprites are placed at, and a few corners, points and widths.battle_effect_cruel_ruin.c: Cruel Ruin, one of the Doom Dragon's attacks.battle_effect_crystal.c: Crystal.battle_effect_cybele.c: The Cybele summon, and a routine nothing calls that opens and closes a tiled canvas.battle_effect_daedalus.c: Yellow orb packing and the summon Daedalus with its second strike.battle_effect_death_plunge.c: Death Plunge and Death Leap, the user's leap at a foe.battle_effect_dispatch.c: Running summon and table effects, and shared target helpers.battle_effect_display.c: Display, scroll and window HBlank DMA helpers.battle_effect_djinn_attacks.c: The summons that spend one Djinni: Mercury, Jupiter, Venus and Mars.battle_effect_djinn_beams.c: Canvas blitter setup and Djinn beams (Revive, Dew, Spark).battle_effect_djinn_heal.c: The comets and feathers of Balm, Tinder and Phoenix, the Zagan summon, and the camera turn Fire and Froth share.battle_effect_djinni_charge.c: Core and Cannon, a Mars Djinni charging the target, and Rime and Haze, which hand over to the Djinni sign.battle_effect_dragon_cloud.c: Dragon Cloud and Epicenter, a flame flown at a foe.battle_effect_drain.c: Break and Drain.battle_effect_element_pillar.cbattle_effect_eruption.c: Smoke Bomb and Blast, and the function that creates an effect's sprites.battle_effect_falling.c: Ice and Douse: shards and drops of water falling on the targets' side.battle_effect_fire.c: Fire.battle_effect_fire_puppet.c: Fire Puppet and Whiplash.battle_effect_flare.c: Flare, and an unused function that lists the indices around a value.battle_effect_flora.c: The Flora summon, Sabre Dance and Backstab, with the function that sets a battler's sprite priority and an unused one that sends a unit outward.battle_effect_flurry.c: Gust, Flying Attack, the rush bursts and the claws: the flurry of strikes they all play.battle_effect_frost.c: Frost.battle_effect_fume.c: Fume.battle_effect_gaia.c: Gaia, and the effect sprites with tiles of their own.battle_effect_gasp.c: The body that sixteen abilities' effects share, named for Gasp, the first of them.battle_effect_gathering_lights.c: Demon Night, Rumble, Haunting and Thorny Grave.battle_effect_geode.c: Geode.battle_effect_growth.c: Growth, Punji, Vine and Thorn.battle_effect_hail.c: Hail and Ground, and the battle camera's shakes.battle_effect_haunt.c: Haunt and the orbiting spirals.battle_effect_haures.c: The Haures summon, and the open cylinder a summon's band is drawn on.battle_effect_healing.c: The healing motes of Ply, Wish, Cure, Cure Poison, Tonic and Psy Crystal.battle_effect_heavy_divide.c: The body of Heavy Divide and Strong Hit, then Cool, Wyrd Curse, Radiant Fire and Hurricane, and the handlers that play Earth Force's and Thunder Mine's bolt trail.battle_effect_helm_splitter.c: Helm Splitter.battle_effect_internal.h: What every part of thebattle_effectobject shares: its includes, the canvas's and the shared sheets' sizes, the modes of the bodies several effects play, and the functions and tables the parts reach across each other.battle_effect_judgment.c: The Judgment summon.battle_effect_kirin.c: The Kirin summon.battle_effect_legend.c: Legend, the Bramble, Frost, Flame and Thunder Cards, and the Sleep, Baffle, Death and Sword Cards' entries into their own body.battle_effect_light_surge.c: Light Surge, then the handlers that play the twisting column for Whorl, Gale, Lethe Albion, Poison Flow and Raging Flood.battle_effect_liquifier.c: Liquifier, and the canvas bursts: a glowing ball that strikes the target in flames and sparks.battle_effect_lobbed_shells.c: Lobbed shells (Mad Spatter, Mud, Decompose, Bone Chiller, Sticky Goo, Poison Ink, Sticky Poison, Rotten Blood, Rising Venom, Formic Acid).battle_effect_megiddo.c: Megiddo, the Sol Blade's unleash.battle_effect_meteor_blow.c: Meteor Blow: a flight through a sky of stars behind a burning meteor, which then crashes down on the foes.battle_effect_mirrored_wall.c: The mirrored wall of Spasm, Berserk, Recovery and Sack.battle_effect_moloch.c: The Moloch and Iris summons: Moloch's snowstorm and frosty breath, and Iris's opening, petals, drops, pillars and fountain of light, with the diagonal canvas line her light bars are drawn with.battle_effect_neptune.c: The Neptune summon, and the two line functions that set BG2's horizontal scale.battle_effect_nereid.c: The Nereid summon.battle_effect_nirvana.c: Nirvana, Stone Justice, Soul Shatter and Serac, and Heavy Divide's and Strong Hit's ways into the heavy blow.battle_effect_ocean_fist.c: Ocean Fist.battle_effect_odyssey.c: Odyssey, a cloud swirl nothing shows, Iris's screen wipe and teardown, and the shade ramps Iris's textures are filled with.battle_effect_orbiting.c: Swirling stars and target bursts, two effects no table names and nothing in the game reaches.battle_effect_planet_diver.c: Planet Diver, Planetary and leaping strikes.battle_effect_plasma.c: Plasma, and the spark groups of Blast and Dynamite.battle_effect_positions.c: Where on the screen an effect draws: points and units projected through the battle camera, each set 16 pixels higher.battle_effect_prism.c: Prism.battle_effect_procne.c: The Procne summon.battle_effect_projectiles.c: The Djinni entrance that opens the Djinn effects; the projectile volleys, from Slash and Shuriken to the stings, the wing attacks and the fire and ice volleys of Cutting Edge, Heat Wave and Blizzard; and a battler sent leaping toward another.battle_effect_quake.c: Quake.battle_effect_raging_heat.c: Raging Heat and Juggle, then the white band the summons sweep in to white out the battle.battle_effect_ragnarok.c: Ragnarok.battle_effect_ramses.c: The Ramses summon.battle_effect_ray.c: Ray.battle_effect_render.c: Drawing models: transforming and projecting their corners, the model list, textures copied to IWRAM, and an unused run of the ARM fill kernel.battle_effect_render_mesh.c: C software mesh renderers: filled, textured and wireframe meshes.battle_effect_rime.c: Rime and Haze, whose Djinni rises while its sign turns over the target, then the entry points of the abilitiesbtEffectRunGaspFamilyplays.battle_effect_rising_dragon.c: Rising Dragon and Heartbreak.battle_effect_rushing_strike.c: Rushing strikes (Bone Charge, Brute Force, Onslaught, Headbutt, Stun Muscle, Living Armor).battle_effect_spider_web.c: Poison Beat, Spinning Beat, the swirl swipe and Spider Web.battle_effect_spire.c: Spire.battle_effect_star_mine.c: Star Mine, the enemies' Rising Dragon and the backdrop it scrolls, then the entry points of the rushing strikes.battle_effect_starfield_fall.c: Meteor and Outer Space; the summons' formations and the burst they end in; brightening the background's colours; and an unused knockback and an unused copy of Nereid.battle_effect_stars.c: Astral Blast and Shining Star.battle_effect_stat_change.c: Stat boosts and reductions (Impact, Guard, Ward, Dull, Weaken ...).battle_effect_streaks.c: Streak volleys (Sonic Wave, Shriek, War Cry ...) and mote fountains (Sleep Star, Soothing Star, Slaver).battle_effect_table.c: Battle effect tables, in the order of the effect code that reads them.battle_effect_target_motes.c: The status motes of Taint, Delude, Paralyze, Heartrender, Mystic Flame, Demonfire and Drown, then Sleep's sheep, Curse's candles, an unused Mercury Djinni heal, and Balm, Tinder and Phoenix.battle_effect_target_strike.c: Target strikes (Numbing Sting, Cannibal Fang, Poisonous Bite, ...), Mad Zephyr and Blade Rain.battle_effect_thor.c: The Thor summon.battle_effect_thrash.c: Thrash, Mighty Press and Severe Blow, and the flashing strikes: Quick Strike, Vorpal Slash, Lunar Slash, Boost Hack and Twin Shear.battle_effect_thunder_mine.c: The body of Thunder Mine and Earth Force, then Megaera and Void Beam.battle_effect_tiamat.c: The Tiamat summon and Dragon Driver.battle_effect_titan_blade.c: The great sword that falls onto the target in Titan Blade and Acheron's Grief.battle_effect_torch.c: Torch and Kite.battle_effect_trident.cbattle_effect_triple_chomp.c: Triple Chomp, and the entry points of Beam, Rolling Flame, Ghost Soldier and Blast Breath.battle_effect_ulysses.c: Drawing helpers several effects share (a sprite from the pool, the grey ramp, shaded discs, the mirrored palette), then the Ulysses summon.battle_effect_undead_sword.c: Undead Sword, Plume Edge and Diamond Berg, and the bodies of Dreamtide and Watery Grave and of Waft and Aroma.battle_effect_vengeance.c: Vengeance and Life Shear, a geyser, swarms of stars and a column of bubbles, and the Coatlicue summon.battle_effect_volcano.c: Volcano: pillars of fire scroll up among the targets over a flickering flame, each erupting in a fountain of sparks and spitting more.battle_effect_vortices.c: Froth's bubbles that burst into vortices, and Whirlwind's tornadoes.battle_effect_whorl.c: The twisting column of Whorl, Gale, Lethe Albion, Poison Flow and Raging Flood, and the Djinn Core and Cannon.blitter_color_fragments.c: The colour fragmentsbtEffectBuildBlitter(battle_effect_blitter.c) builds canvas blitters from, as it does the others inblitter_fragments.c: each adds four picture pixels to a canvas word at once, forward or reverse, and caps each byte that reaches the cap mask's bit at the brightest canvas level.blitter_fragments.c: The piecesbtEffectBuildBlitter(battle_effect_blitter.c) builds canvas blitters from.blitter_operands.c: The ARM immediate operands for powers of two, which the blitter builder (battle_effect_blitter.c) adds to its clip instructions to fit them to the canvas width, as The Broken Seal's builder does.
debug/level.c: The debug room Increase item and level, as The Broken Seal's: its actors raise the party's levels, give any item and show the game's icons and portraits.psynergy_test.c: The debug room Psynergy test: the shops, an inn and a Sanctum to try, the party's levels, items and Djinn to set, and spots for the field Psynergy The Lost Age adds, each answered by a small script: Scoop digs up a hole, a puddle, a Wicked Mace and a statue before a battle; Cyclone clears leaves and sends the leader away and back in a ring of light; Pound lights a torch and Parch dries a pool; Blaze startles Kraden; Sand drops Felix to the sand layer.psynergy_test_2.c: The second debug room of Psynergy tests, on the east side of the Psynergy test's map, where a fire, a stake sunk flat and two posts stand: Douse and Pound take the fire away, Grind stands the stake up and Tremor on it does nothing, talking to it scatters rocks, and a rope is coiled between the posts.shop_test.c: The debug room Shop test, whose people each run a test when talked to: the inn, the sanctum and four shops, Sunshine's forge, the shop and sanctum messages, the party's names, items, Djinn and levels, and the icon and portrait browsers.test_scenes.c: The eight test scenes that share one room, whose talk scripts would give Flint, Fizz, Forge or Gust; the room places no actors to talk to.
field/actor_placement.c: The idle script, and the placement table the field starts with.actor_scripts.c: The actor scripts the field and its scenes run.actor_step_angle.c: An actor script call that turns an actor toward an angle a step at a time.battle_background_rules.c: The battle background of each scene (fdBattleBackgroundSelectForMap).battle_music.c: The battle music of the story's and the hidden bosses' battles (fdEncounterSelectBattleMusic).encounter_zones.c: The 110 encounter zones, by zone number: each zone's rate, level, formations and their weights.facing.c: Which picture a sprite shows for the way it faces, and the small tables and scripts the actors read as they move: the direction pad's headings, the World Map camera's lean, a floating actor's bob, how long a footprint lasts, the order a sprite dissolves in and the World Map's graphics sets.field.c: The field object, the field module's C as The Broken Seal'sfield.cis: resource metadata and LZ decompression, composing sprite pictures and placing projected sprites, the resource slots (sprite animations, actors and their motion and scripts, the player's control, the map grid and layers and the World Map), the tile animation, the view (screen shake and the ground plane) and the debug sprite viewer.field_actor_camera.c: The actor camera: placing every actor's sprites on screen each tick under the scrolling or the fixed camera.field_actor_motion.c: Actors' motion each tick: their scripts, steering toward a target, falling, floating and riding a platform, and being sent somewhere.field_actors.c: Actors: a sprite dissolving pixel by pixel, the actor system, creating and releasing actors, their animations and scripts, and placing their sprites each tick under the scrolling or the fixed camera.field_decompress.c: Resource metadata records and LZ decompression.field_effect_advance_motion.c: A field effect's motion each tick.field_effect_data.c: The ropes' phases, the tints a field Psynergy fades toward, and the scripts that hold and release a field effect.field_effect_move.c: A field effect's motion, growth and spin each tick, with no drag.field_effect_scripts.c: Four effect scripts of the field engine module, the found item's picture growing in and pulsing, a sinking particle and a Reveal marker, then the screen transitions' tables and the palette tints' channel curves, as The Broken Seal'sfield_engine_tables.chas them.field_effect_spawn_resident.c: The main image's copy of the overlays' effect spawner (field_effect_spawn.c), an object of its own between the script commands: Carry's ring of dust (fdEffectSpawnRadialParticleRing) spawns through it.field_effect_tables.c: Tables of the field Psynergy, in the order of The Broken Seal'sfield_engine_tables.c: the pad's eight headings, Move's hand poses, the scripts of Growth's leaves, Force's fist and the three effect lengths, a halted actor's flicker, the Arrow's wobble, the metatiles Cyclone looks at and Blaze's tints.field_engine.c: The field engine's object, as The Broken Seal'sfield_engine.cbegins: random encounters, a field scene's actors, the leader's walking and the requests it raises,fdEngineRun, the debug palette editor, the scene's cues, the actor a field Psynergy or item aims at, using items and Psynergy on the field, and the map's treasure spots.field_engine_actor_commands.c: Script commands on actors: placing, moving and animating them.field_engine_actors.c: The party's sprites, placing a scene's actors, and the actor table.field_engine_cues.c: Finding and running a scene's cues: talking, step cues, examine cues.field_engine_encounter.c: Random encounters, and each scene's music, area name and battle background.field_engine_ground_mask.c: The ground mask: 16-pixel sprites kept beside an actor where the ground before it rises, in a fade form nothing starts and a blank form Aqua Rock starts, which draws no visible pixel; and the effect sprites that borrow their tiles.field_engine_heading.c: A heading picture shown in a window that opens from the centre, and wiped away from the left.field_engine_internal.h: What every part offield_engine.cshares: its includes, and the declarations its parts call before their definitions or once declared differently.field_engine_item_display.c: Showing a found item, and Reveal's sparkles on hidden things.field_engine_items.c: Using an item on the field.field_engine_palette_editor.c: The debug palette editor.field_engine_palette_fade.c: The palette fades: a fade between two built palettes over a number of ticks, and the palettes it builds from the shown one.field_engine_psynergy.c: Using Psynergy on the field.field_engine_requests.c: Battles and destinations a script requests, and the queued sound.field_engine_run.c: The field engine: running a scene until the party leaves it, and its entrance.field_engine_screen_transition.c: The screen transitions: windows that close over the screen or open it, line by line, and the dissolve.field_engine_script.c: Script commands: waits, received items, questions and destinations.field_engine_speakers.c: Who speaks: each sprite's speaker definition, its voice and its halted lines, and the pair table.field_engine_sprite_color_tables.c: A second copy of the ten sprite colour tables in field/sprite_color_tables.c, the five conversion tables then the five byte remap tables, in the field engine module: the picture decoder's data (picture_decode.s) points at this copy.field_engine_tables.c: The search command's messages.field_engine_targets.c: The actor a field Psynergy or item aims at, and the helpers that follow it.field_engine_treasure_spots.c: The map's treasure spots: chests and Psynergy Stones.field_engine_walking.c: Field requests and each tick of the leader's walking: exits, encounters, damage.field_internal.h: What every part of the field object shares: its includes and the names two or more parts use.field_map_grid.c: Layered maps: decoding their tilemaps and palette, loading, drawing and scrolling, copying metatiles, and the edits flags apply.field_move_by_keys.c: Moving actors by the direction pad: the party's keys, crossing a rope or a tightrope, and moving as Sand, on a map and on the world map.field_pad_movement.c: Script commands that move the leader by the pad, on the map and the world map, and the configured keys checked from a script.field_player_control.c: Player control: the configured keys, andSC_PLAYER, the leader moved by the pad (fdActorUpdatePlayerControl).field_psynergy.c: Thefield_psynergyobject: the field Psynergy that spread effects around their target, then in ROM order the tile copies, the field Psynergy The Lost Age adds, from Cyclone to Hover (each part named for the Psynergy it runs, its kind infdPsynergyRun), the summon tablets, the actors' metatiles, the canvas, sparks and field particles, and the world and map screen and its image.field_psynergy_actor_metatiles.c: Actors standing as blocks in the map: their metatiles tagged and the tags cleared, the actor at a position, and effect sprites filled and queued.field_psynergy_arcs.cfield_psynergy_arrow.c: Arrow: the unused "A??" field Psynergy's bow and flaming arrow.field_psynergy_avoid.cfield_psynergy_blaze.c: Blaze, and the check whether an actor stands where the map or another actor blocks it.field_psynergy_burst.c: Burst: its glow and sparks, and its explosions on the target.field_psynergy_canvas.c: The canvas a field effect draws into and its darkening, an actor appearing in a whirl of sparks, and the field particles that fly to their targets.field_psynergy_catch.c: Catch: throwing a hand at a distant item to pull it back.field_psynergy_cyclone.c: Cyclone and the whirlwinds: Cyclone's 96 leaves, the leader carried or lifted to a Cyclone metatile, Cyclone itself, an actor arriving in a whirlwind, spinning down from above (fdActorDescendInWhirlwind) or appearing in it (fdActorAppearInWhirlwind), then Blaze's jet of flame and the smoke it leaves.field_psynergy_grind.c: Grind: the screen shakes up and down while spray rises round the target, a sea rock is ground away, and the plain sway Grind makes at nothing.field_psynergy_growing_sprite.c: The dust Scoop throws up, each grain growing as it flies.field_psynergy_halt.cfield_psynergy_hover.c: Hover: its glow, the cast and its end.field_psynergy_internal.h: What every part of thefield_psynergyobject shares: its includes.field_psynergy_lash.cfield_psynergy_lookups.c: Lookup tables of field Psynergy after Burst's glow: the Ring's picture map, the sprite shapes' sizes and the darkening maps of the colour ramp.field_psynergy_map_screen.c: The map screen: its markers and cursor (The Broken Seal'sscript_commands_map_screen.c), and where the leader stands on it.field_psynergy_map_screen_image.c: The map screen's image: drawing it, scrolling it with the cursor, its area markers, and zooming the view out while L is held.field_psynergy_parch.c: Parch, then two drawing helpers of the Ring's: a canvas pixel on a circle, and its 16 by 16-tile picture copied to BG0 clipped to the screen.field_psynergy_pound.c: Pound: its shine, the object it drives into the ground, and a picture's columns shifted by a wave.field_psynergy_retreat.cfield_psynergy_ring.c: The Ring, the field Psynergy of the unused ability "Ma????" (named here for the ring of light it draws): its event, its burst of sparkles, and moving the view (opening the whole map to it, swinging it and giving the bounds back).field_psynergy_sand.c: Sand: the leader sinking into the ground and moving as sand, the grains it throws up, the event that ends it off sand, and the dust puff it ends with.field_psynergy_scoop.c: Scoop: the giant hand digging, the actor dropped from it and the item dug up.field_psynergy_shape_entries.c: The map's shape entries and the flag blocks: the puddles Frost freezes into pillars of ice, each with the flag that says it is frozen.field_psynergy_summon_tablet.c: A summon tablet read: its pictures cycling, its pebbles and runes flying, and placing the flag blocks.field_psynergy_tables.c: Tables of field Psynergy after Burst's palette: what Scoop digs up, Hover's glow, the Summon tablet's squash and the World Map markers' blend.field_psynergy_teleport.c: Teleport: the leader leaving in a burst of sparks and arriving in a whirl of them, and the cast that opens the picture of the world.field_psynergy_tile_copies.cfield_psynergy_tremor.c: Tremor: the view swayed from side to side.field_psynergy_whirlwind.c: Whirlwind: radial particle rings, circling and wandering leaves and the Whirlwind orb.field_script_commands.c: Actor script commands: waits, jumps, flags, moves and work values.field_sprite_animation.c: Sprites, their animations and the picture caches they draw from.field_sprite_draw.c: Drawing sprites: composing their animations' pictures and placing projected sprites on screen.field_sprite_viewer.c: The debug sprite viewer: one sprite shown once for each way it can face, in a ring, with up to four sprite animations laid over it and the keys to change each one's sprite, animation, priority and colour mode.field_terrain.c: The ground heights and the collision of metatiles and the World Map.field_tile_animation.c: World map tile preloading and still image, and timed map changes: the map animations, the blend script, the palette cycle and the World Map region tint.field_view.c: Screen shake, the copied BG row drawer and the ground plane scanlines.field_world_map.c: The world map: its perspective view, its tiles, and drawing its metatiles into a BG map.grid_outline.c: The grid outliner, compiled as ARM code and copied to RAM to run, entered in Thumb throughfdGridDrawOutlineCode(field_arm_entries.s).lucky_dice.c: The Lucky Dice minigame: its tables, its start, its helpers and its run.lucky_wheels.c: Lucky Wheels, Contigo's game of chance: the player trades game tickets for lines, pulls the lever up to five times and locks wheels to line up matching icons.map_grid_data.c: Map ground: the height function of each metatile kind, the world map's battle environments and the sprite viewer's small tables after them; then the actor scripts the field starts by itself, the actor script command table and the work value handlers.palette_cycle_add.c: Adding a palette cycle.palette_cycle_initialize.c: Allocating the palette cycles' queue.psynergy_reach.c: How far each field Psynergy reaches.screen_transition_shapes.c: The window shapes ofWINDOW_TRANSITION_SHAPE, one for each step of its progress (fdScreenTransitionUpdateScanlineTable): a hand sweeping clockwise from twelve o'clock round the centre of the screen, as The Broken Seal has them.script_commands.c: Thescript_commandsobject, its parts inscript_commands/ in ROM order, ending with the script commands that follow it: the effect scene, Mind Read to Cloak, the rest of Cloak and Carry.script_commands_actor_commands.c: Script commands on actors: their callbacks, sprite priority and still pictures.script_commands_camera.c: The script commands that move the camera and wait for it.script_commands_carry.c: Carry: two hands lift the target, move it with the d-pad and drop it, or crash together when cast at nothing.script_commands_climbing.c: Jumping, climbing and stepping onto and off ropes and tightropes.script_commands_cloak.c: Cloak, Douse, falling particles and steering a lifted target.script_commands_djinni.c: A Djinni's battle start and its joining the party, the field effect sprites' slots, and a Jupiter Djinni's light.script_commands_douse.cscript_commands_exit_animations.c: An actor's screen position, the encounter transition, and the context effects of leaving through an exit and arriving.script_commands_field_psynergy.c: Helpers the field Psynergy kinds share: map metatiles, spawned actors and particles, and the field's tint.script_commands_field_psynergy_state.c: The effect scene a field Psynergy runs in: fading to and from its cast colour, its effect slots and resources, the actor pair it works on, and Mind Read's wave and palettes.script_commands_force.cscript_commands_frost.cscript_commands_ground_particles.c: The ground particles, the rising particles and the floating motes.script_commands_growth.c: Growth: growing plants, hanging vines and scattering leaves.script_commands_internal.h: What every part ofscript_commands.cshares: its includes and the macros and types more than one part uses.script_commands_jupiter.c: A Jupiter Djinni joining the party, and per-tick updates the field effects share: a pulse, a quickening spin, a slow shrink, and a Mars Djinni's sparks.script_commands_lift.c: Lift: lifting a target with two hands and the heavy impact burst.script_commands_line_scroll.c: The line scroll: per-line scroll offsets fed by HBlank DMA.script_commands_mars.c: A Mars Djinni joining the party, the fast shrink that ends a spin, and a Venus Djinni's motes and particles.script_commands_mercury.c: A Mercury Djinni joining the party.script_commands_messages.c: Messages shown at an actor, and the speaker's voice.script_commands_mind_read.c: Mind Read: its wave, ripple, tint, crescents and caster colour cycle.script_commands_motes.c: Weather drawn in sprites on the field, and the storm's lightning: floating motes, rain, rising sparkles, and the flashes of the palettes.script_commands_move.c: Move: steering a pushed target with the +Control Pad and the Move hand.script_commands_movement_types.cscript_commands_ply.c: Ply: swaying particles, shrinking orbits and sparks.script_commands_psynergy_dispatch.c: Running a field Psynergy by its kind, and the priority and depth its sprites take to be drawn with an actor.script_commands_reveal.cscript_commands_ropes.c: Ropes, tightropes and hanging vines: chains of nodes laid between two points or round one, drawn and updated each tick, and the leader crossing them.script_commands_scripts.c: The particle scripts of the field commands after the rope and vine pictures, Mind Read's colour cycle and the pad's headings, in the order of The Broken Seal'sfield_engine_tables.c.script_commands_tables.c: Tables of the field commands, in the order of The Broken Seal'sfield_engine_tables.c: the rope's headings, the line scroll's sine, the rain's frames and offsets, the sparkles and the leader's pulse as a Mars Djinni joins.script_commands_venus.c: A Venus Djinni joining the party, and a Mercury Djinni's droplets.script_commands_view.c: The view bounds, zoom transitions and actors that ride another.script_commands_weather.c: The weather on the field: The Broken Seal's rain kept whole, this game's rain, and the storm's lightning.speaker_voices.c: The voice each sprite speaks in, and a few small actor scripts and tables: an actor's bounce, the dust puffs' lives and a blinking actor's colours.sprite_color_tables.c: The sprite colour tables, 256 bytes each, that recolour a sprite picture by turning each colour of the basic sprite palette into another: five channel swaps, a greyscale, three tints and a negative.super_lucky_dice.c: Super Lucky Dice, Contigo's four-dice game with its hi-lo game to double the winnings.terrain_tables.c: The ground's shape inside a metatile for two of its height kinds (enumTERRAIN_KIND): where a raised or sunken square rounds off at its corners, and which of three heights each pixel takes, split along two slants.world_map_cursor_angles.c: Which way the cursor of the map screen moves for the +Control Pad (fdMapScreenUpdateMarkers).world_map_encounter_rules.c: Where the World Map's random battles come from: each region of the map, on foot and aboard the ship, takes its own encounter zone, and each Djinni battle its zone and slot.world_map_lines.c: The World Map's tilt: each line of the screen draws the flat map at its own scale and turn, so the ground seems to stretch away to a horizon.
game/ability_table.c: The 734 abilities, by ability id.character_table.c: The eight characters' definitions, by character id.class_table.c: The 244 classes, by class id.djinn_table.c: The 80 Djinn, 20 of each element in element order.element_table.c: The element tables: class series by element, element power and resistance by level, the enemies' element presets, the power and resistance curve, and the dragons and sea creatures two weapons' effects look for.enemy_table.c: The 380 enemies' definitions (gmEnemyGetDefinition), each row keyed by its enemy id and headed by its name in the English release; the name field itself is blank, andgmBattleUnitSettakes the name from the messages.experience_table.c: Each character's element group, what the data transfer from The Broken Seal copies and hands out, and the experience each character needs for each level.game.c: The game object: the rules of the party and its world.game_battle_arithmetic.c: Battle arithmetic: element multipliers, random rolls and success rates.game_classes.c: A unit's level in each element, the elemental power and resistance those levels give it, and the class a character's Djinn and items make it.game_djinn.c: The Djinn the party holds: a Djinni found and given to a member, set or put on standby, moved between members and back from recovery, and the counts the menus show.game_internal.h: What every part of the game object shares: its includes, the declarations its parts disagreed on and one inventory helper.game_inventory.c: Items and inventories: equipping, adding, removing, breaking and counting.game_levels.c: Actions and Psynergy lists, characters, experience and levelling up.game_party.c: Enemy units, the active party, coins and counters, and summons.game_snapshot.c: The equipment put aside for the Trial Road, as The Broken Seal's for the Colosso: Felix's, Jenna's, Sheba's and Piers's inventories, and giving them back.game_units.c: The party's units and their stats, a new game, HP and PP, and the data transfer from The Broken Seal up to Isaac's party joining at Contigo.item_table.c: The 516 items, by item id.main_routine.c: The main routine and scene changes: exits, returns from an engine, entering a scene.rare_item_stock.c: Each item's place among the shops' rare item counters, and two short lists a new game reads.starting_equipment.csummon_table.c: The summons: the order the Summon command lists them in, and each one's ability and the Djinn it needs.
graphics/battle_effects/paths.c: The flight paths of two battle effects: Atalanta's across the screen, and the flame of Dragon Cloud and Epicenter.
credits/glyph_widths.h: The staff credits font's advance widths in pixels, characters 0x20 to 0x7f, beside the font (font.png).
menu/credits.c: The staff credits: the battle backdrops behind them, the lines that scroll past, and the scrolling images with their border strips.djinn_menu_strings.c: The Djinn menu's labels, as each edition words them.menu.c: The menu object: the field menu's Psynergy, Djinn, Item and Status screens, the party member chooser and the pieces they share.menu_djinn.c: The Djinn menu: its backdrop screen, the Djinn list and the screen's loop.menu_djinn_figures.c: The Djinn figures the Status and Djinn menus show, the five status icons, and the statuses the Status screens list.menu_djinn_preview.c: The Djinn menu's preview of a set, standby, give or trade before it is made, the party member's "Char.menu_icons.c: The menus' small pictures and the party row: the Djinn preview's stat arrows and Psynergy icons, the arrows that hop beside a page of four party members, the cursor that moves among them, and the party members' figures standing over the menus.menu_internal.h: What every part of the menu object shares: its includes and the declarations its parts disagreed on.menu_item.c: The item menu, as far as this object holds it: the field menu's Item screen, its command loop, Use, the first screen's setup and the item icons.menu_pattern_masks.c: Pairs of 4bpp rows of dots in colour 5, each reaching further right than the last, thatmnBuildPatternTilesXORs into its tile pairs.menu_psynergy.c: The Psynergy menu: the field menu's Psynergy screen, the party member and Psynergy lists, targets, and the L and R shortcuts.menu_shared.c: The pieces the menu screens share: windows, the status panel, numbers, icons, the party figures, the hand cursor, paged lists, palettes, the cancel sound and text colours.menu_status.c: The party member chooser and the Status menu: its party member row and its status, Psynergy, range and equipment pages.menu_strings.c: The menus' labels, as each edition words them: the item menu's key hints and the signs and units beside a number.menu_tables.c: The menus' tables: the hand cursor's bob, the item list's sort orders, the cursor widths over the item commands and the Status screen's rows, and the sprites and icons the Djinn and Status screens load.menu_use.c: Using an item or Psynergy from the menu: what it does to the party, and the sound it plays.status_panel_strings.c: The status panel's labels, as each edition words them.title_intro.c: The title intro, the publisher's and Camelot's logos, the title screen and the palette fade they use.
scene/shared/actor_aim_at_watched.cactor_animate.cactor_attach.cactor_blink.cactor_bob.cactor_create_silhouette.c: Creating an actor as a black silhouette.actor_cycle_pictures.cactor_drop_and_wait.cactor_emit_mist.cactor_emit_ripples.cactor_emit_smoke.cactor_emit_smoke_unused.cactor_emit_sparkles.cactor_find_at_metatile.c: Finding the actor that stands in a metatile.actor_flash_white.cactor_freeze.cactor_grow_down.cactor_grow_up.cactor_hide.cactor_hold_during_script.cactor_is_above.cactor_is_beside.cactor_is_facing_near.cactor_is_touching.cactor_launch_ahead.cactor_park.cactor_pop_question_marks.cactor_pop_up.cactor_pop_up_slow.cactor_raise_from_metatile.cactor_reset_scripted_for.cactor_roll_and_crumble.c: A rolling fireball, which four Mars Lighthouse rooms keep a copy of.actor_scatter_crumbs.c: The crumbs a fireball throws off as it crumbles away (scActorRollAndCrumble), which three Mars Lighthouse rooms keep a copy of, over the flames'FLAME_HIT_STATE(scene/flame_throwers.h).actor_set_metatile_open.cactor_set_metatile_shape.cactor_set_sprite_priority.c: Setting an actor's sprite priority by hand.actor_setup_scripted.cactor_setup_scripted_for.cactor_setup_scripted_part.cactor_spawn_wading_splash.cactor_start_scripted.cactor_steer_by_pad.cactor_step_to_watched.cactor_stop_at_push_target.cactor_stop_where_it_stands.c: Stopping an actor where it stands.actor_take_place_of.cactor_vent_bounce.c: The drift of a puff of mist a vent blows out, which Aqua Rock's inside and Taopo Swamp each include a copy of.actor_wait_to_land.cactor_wait_to_land_with_snd.cactor_wait_until_landed.c: Waiting for an actor to stop rising or falling.actors_raise_metatiles.cactors_set_hidden.cactors_set_metatiles_open.cbeam_start.cblock_clear_metatiles.cblock_push_onto.cblocks_mark_metatiles.ccamera_jitter.ccracked_tile_crack.ccracked_tile_drop_in.ccracked_tile_fall.ccracked_tile_find.ccracked_tile_mask.c: The hole mask over the cracked tile the leader stands on, shared by the Jupiter and Mars Lighthouse rooms and the Anemos Inner Sanctum, each of which lists the metatiles its map watches in its ownCrackedTiles.cracked_tile_place_landing.ccracked_tile_step.ccrumbling_pillar.c: The crumbling and pounded pillars of the Izumo Ruins and Dehkan Plateau: lists of (actor, flag) or (actor, kind, flag) entries ended byACTOR_LIST_END, placed from their flags and stepped on, struck or pounded until they fall.debris_script.c: The script of a thrown bit of rock, ice or earth, which the scenes that scatter debris keep a copy of: Gaia Rock's stone heads, Taopo Swamp's tremor, Mars Lighthouse's ice and rubble.dust.c: The dust a crumbling pillar throws up around the leader.dust_burst_script.c: The script of a cloud of dust that bursts from breaking stone (scDustBurst) and of a vent's puff, which the scenes with rubble and Taopo Swamp and Aqua Rock keep a copy of.dust_scatter.cdust_scatter_script.c: The script of a piece of rubble or a cloud of dust thrown out as stone breaks or a pillar crumbles, which Dehkan Plateau, the Izumo ruins, Magma Rock, the Trial Road and Tundaria Tower keep a copy of (scDustScatter).emote_pop_tilted.cfield_effect_advance_motion_priority.c: A field effect's motion each tick, drawn at the leader's priority.field_effect_advance_spin.c: A field effect's motion and spin each tick.field_effect_duration_scripts.c: The three lifetimesscFieldEffectSpawn(field_effect_spawn.c) gives its effects through each scene'sFieldEffectDurationScripts, which most scenes keep a copy of, as The Broken Seal's do (its shared/field_effect_duration_scripts.c).field_effect_set_sprite_priority.c: Setting an effect's sprite priority by hand: the copy ofactor_set_sprite_priority.cthat comes with a late field-effect spawner.field_effect_spawn.c: The effect spawner each field overlay keeps its own copy of, the twin of The Broken Seal'sEFFECT_SPAWN(scene/shared/field_effect_spawn.c).field_effect_wave_scroll.c: A great whirlwind's sway (Air's Rock, Shaman Village): each screen line of BG0 is pushed side to side by a jittered sine wave, set line by line by HBlank DMA 0.field_rope_place.cfireball_carry_leader_if_hit.cflame_thrower_get_flags.cflame_thrower_is_active.cflame_thrower_send_backward.cflame_thrower_send_east.cflame_thrower_send_forward.cflame_thrower_send_spark.cflame_thrower_send_west.cflame_thrower_set.cflame_thrower_set_active.cflame_thrower_set_puffs_off_screen.cflame_thrower_update_spark.cflame_throwers_advance_counter.cflame_throwers_create.cflame_throwers_puff.c: The Mars Lighthouse flame throwers' puffs, which four of its rooms keep a copy of.flame_throwers_release_flame.cflame_throwers_set_stop.cflame_update_forward.cflame_update_sideways.cgaia_rock_cue_wall_metatile.c: Gaia Rock's climbing walls, which its outside and inside overlays keep a copy of.geyser_draw.cgeyser_start.cgeyser_update.cground_particle_frames.c: The frames of the drops of rainfdGroundParticlesDrawmoves about a doused stone, which the Apojii Islands and Aqua Rock keep a copy of.ground_particles_draw.cground_particles_set_anchor.cground_particles_start.cheld_actor_raise_metatile.cice_chips_spawn.cjupiter_lighthouse_finish_moving_block.cjupiter_lighthouse_load_palettes.c: The Jupiter Lighthouse rooms' palettes, which most of them keep a copy of.jupiter_lighthouse_place_raised_actors.cleader_center_in_metatile.cleader_check_crumbling_step.cleader_flow_with_stream.cleader_is_facing_north.cleader_knock_back.c: The leader is thrown back by the flames that struck them: they take the fall damage, blink, and are pushed metatile by metatile in the flames' direction, sliding over ice, until a wall, another actor or a ledge stops them.leader_lift.cleader_open_door_and_enter.cleader_rise_from_water.cleader_set_metatile_shape.cleader_sink_away.cleader_slide_on_ice.cleader_slide_on_ice_ahead.cleader_spin_away.cleader_stop_if_pending.cleader_walk_through_door_script.clesson_scripts.c: The lesson at the heart of each Rock, which Air's Rock, Aqua Rock, Gaia Rock and Magma Rock keep a copy of: as the Adept reads the tablet, the tablet lifts off its stand and the Adept rises as the sparks circle in, and both settle back as the lesson ends.lesson_seeking_spark_script.clight_ring_tiles.c: Half a ring of light, which Contigo's sparkle and the Psynergy test room's rings draw twice, the second flipped, for a whole ring.light_sprites_add.clight_sprites_add_counted.clight_sprites_draw.clight_sprites_init_channel_pieces.clight_sprites_init_energy_block_glow.clight_sprites_init_path_glows.clist_count_entries.cmagma_rock_ember_scripts.c: The scripts of the embers that fly up in Magma Rock, which its outside and its inside keep a copy of.map_metatile_fill.c: Filling a rectangle of a map layer's metatiles with one collision code, as a pushed actor marks the metatiles it covers (push_target_push.c).map_metatile_fill_byte.c: Filling a rectangle of a map layer's metatiles with one collision code.map_metatile_get.c: A map metatile's collision code and attributes, read on a layer or from the metatile buffer.map_metatile_set.c:scMapMetatileSetAttributes, the field engine's function that replaces a map metatile's collision code and attributes, as the scenes that change their metatiles keep a copy of it (Treasure Isle's unused): included at its place in each scene's overlay, after the field engine'smap_metatile_get.cor before it as the ROM has it.map_metatile_set_shape.cmars_lighthouse_part_scripts.c: Three actor scripts that four Mars Lighthouse rooms keep a copy of, in this order: a scripted part's, and the crumbs' and embers', which are the same.moai_add_water.corb_rising_script.corbit_spark_spawn.corbit_update.corbiter_spiral.cpalette_cycle_fade.cpalette_cycle_set_pauses_in_scripts.cpalette_cycle_step.cparticle_update_falling.cparty_take_fall_damage.cpillar_lower_held_metatiles.cpillar_place.cpillar_raise.cpillar_restore.cpillar_restore_raised.cpillar_take_out_of_play.cposition_distance.cposition_distance_above.cposition_flat_distance.cpound_sink_target.cprong_sparkle.cpsynergy_test_exits.cpush_kinds.c: The things the leader can push and the metatiles each covers, which the scenes with pushed things keep a copy of (PUSH_KINDS, scene/pushed_actor.h).push_leader_steps.c: The leader's step against a pushed thing for each of the sixteen facings, one metatile (16 pixels) along the nearest of the four directions, which the scenes with pushed things keep a copy of, as The Broken Seal's do (its shared/pushed_actor_direction_steps.c).push_target_fill_rectangle.cpush_target_find_ahead.cpush_target_find_stop.cpush_target_push.cquestion_mark_pop.cripple_script.c: The script of a ripple widening on the water over an actor (scActorEmitRipples), which the Apojii Islands' and Aqua Rock's overlays keep a copy of.rock_end_falling.crock_spawn.cscene_create_actor.cscene_create_imported_actor.cscene_entrances_default.c: The entrance table of most overlays, which holds only the default entrance: at 172, 149, facing south, with no room bounds.scene_entrances_mapless.cscene_fade_in_and_clear_flag.cscene_freeze_puddle_into_pillar.cscene_set_arrival_flags.c:scSetArrivalFlags, compiled inside each Jupiter Lighthouse scene that calls it and inside Mars Lighthouse towers, at its place in each overlay.scene_show_entrance_locked.cscroll_start_hblank.c: The start of a split screen, shared by the two scenes that draw one: SW Atteka Islet's falls and the Apojii Islands' water.ship_drop_shadow.cship_take_flight.cslide_on_ice_angles.c: The headings the direction pad gives on ice, which the scenes with ice to slide on keep a copy of, both tables indexed by the pad's four bits ((PerWork.data>> 4) & 15: right, left, up, down); -1 where the keys held give no heading.slide_on_ice_from_edge.csmoke_drift.csmoke_spawn.cstatue_find_under_burst.cstatue_flash_under_burst.cstone_head_burst_out.cstone_head_place.cstone_head_rise_script.c: The script of a stone head bursting out of Gaia Rock's walls (scStoneHeadBurstOut), which its outside and inside keep a copy of.teleport_circle_colors.c: The colours of a Teleport circle and of its shimmer (shared/teleport_shimmer.c), which every scene with a circle keeps a copy of: seven palette entries, each a red, green and blue, ended byPALETTE_LIST_END.teleport_circle_palette.c: The palette of a Teleport circle, which every scene with a circle keeps a copy of: the seven background palette entries the circle is drawn in, its colours and its shimmer's (teleport_circle_colors.c), and the entries each step of the shimmer paints those colours into, so that they run round the circle (scPaletteSetColorsFade).teleport_shimmer.c: The Teleport circles' shimmer, which every scene with a circle keeps a copy of (Contigo, the Anemos Inner Sanctum, the Islet Cave, the Yampi Desert's cave and three of Mars Lighthouse's rooms): the circle's colours run round it, a palette cycle, as Teleport is cast and as the party arrives on a circle.tile_sprite_reset.cvent_advance_counter.cvent_is_blowing.cvent_set_gust.cvent_set_id.cvent_update.cvents_start.cwhirlwind_carry_leader.cwhirlwind_carry_leader_lower.cwhirlwind_spawn.cwhirlwind_update.cwhirlwind_update_lower.cworld_map_gauge.c: The Psynergy gauge over the leader as the ship flies, which the world map and the staff credits' overlays keep a copy of: its tiles redrawn for the party's PP, the event that drains it while A or B is held aloft, and its set-up and end.world_map_objects.c: The World Map's placed actors, which both the World Map's and the staff credits' overlays keep a copy of, included as text: the exit chosen by the side the leader approaches a place from, the event that shows the places' actors coming into view and releases those leaving it, and the sparks and particles about the ship.world_map_particle_script.c
airs_rock.c: Air's Rock, the great purple rock in the desert south of Yampi, climbed from outside over three screens before the way inside opens.airs_rock_inside.c: Inside Air's Rock, reached through the doorway the lightning opens at its top, with a golden door low on its cliff also leading into the great hall (airs_rock.c): the hall and the rooms around it, their doorways marked by coloured dots.alhafra.c: Alhafra, the port town of Osenia north of the Yampi Desert, where the tidal wave wrecked every ship but one sailboat, whose mast it broke.alhafra_manor.c: The mayor of Alhafra's manor, where the party stays as his guests once Briggs is caught and hears in the night that Briggs has escaped (scAlhafraManorBriggsEscapes), with other people about once the boat's mast is cleared (FLAG_ALHAFRA_MAST_CLEARED).alhafra_rooms.c: Inside Alhafra's houses, inn, shop and Sanctum, whose people are taking in neighbors who lost their homes to the tidal wave.alhafran_cave.c: The Alhafran Cave under the town, in two scenes that share this overlay: the cave behind the rear entrance by the mayor's home, which the hungry boy's father lets the party into once they give the boy Large Bread (SceneIdAlhafranCave), and the town's jail with the caves beyond it (SceneIdAlhafraJail).ancient_lemuria.c: Ancient Lemuria, the ruined shore before the hidden city, where the party lands after getting past Poseidon.anemos_inner_sanctum.c: The Anemos Inner Sanctum, the hidden dungeon under Contigo, reached by Teleport from the circle in the middle of the town.anemos_inner_sanctum_dullahan.c: The small stone rooms with dragon statues behind the doors at the head of the Anemos Sanctum's steps by Contigo's geoglyph, and in the same map the Inner Sanctum's last room, reached from its Dragon Skin and Orihalcon chests' rooms (SceneIdAnemosInnerSanctumDullahan).ankohl_ruins.c: The Ankohl Ruins, where Felix, once Gaia Rock has given him Sand, climbs through the old ruins to the Left Prong of the Trident of Ankohl lying on their top.apojii_islands.c: The Apojii Islands, at the edge of the world in the Eastern Sea, in three rooms of this overlay: the village round the spring where the Aqua Stone stands, which Douse wakes (scApojiiIslandsDouseAquaStone) to carry the party across the sea to Aqua Rock; its houses, with the inn and the general store, and beside them the Sea of Time Islet's house; and the islet among the falls where the Jupiter Djinni Haze waits (scApojiiIslandsHazeJoinsParty).apojii_islands_cave.c: The cave of the Apojii Islands: four clumps of weeds on the walls of its south chamber, each scattered for good by Whirlwind.aqua_rock.c: Aqua Rock's outside, the island south of the Apojii Islands, in two rooms of this overlay.aqua_rock_inside.c: Aqua Rock's inner rooms, inside the rock on the island south of the Apojii Islands, which Felix enters from the rock's outer slopes.atteka_inlet.c: Atteka Inlet, where Felix ties up the Lemurian ship on the way to Contigo, in two scenes that share this overlay: the harbor, a sandy beach where the ship lies and the Wings of Anemos wait on their trestles (SceneIdAttekaInlet), and the grassy heights above it, with a house, the path north towards Contigo and the way west out to the world map (SceneIdAttekaInletGeode).caverns.c: The four small caves that each keep a Summon's stone tablet, in four scenes that share this overlay.champa.c: Champa, the hungry seafaring village on the edge of Angara, its huts on cliffs and rafts about two waterfalls, whose people wait for Briggs to come home with food.champa_cliff_caves.c: The caves in Champa's cliff, where the sailors and their families live, in four scenes of this overlay climbing the cliff level by level: the lowest caves, entered from the village by the mouth Briggs's sailors watch (SceneIdChampaCliffCavesLower); the homes above them (ChampaCliffCavesMiddle); the level with Obaba's door and Briggs's home (ChampaCliffCavesUpper); and at the top Obaba's forge room (ChampaCliffCavesForge).champa_rooms.c: The houses of Champa, the village of Briggs's people on the cliffs of the Eastern Sea, asSceneIdChampaRooms, with the inn and the artifact shop.champa_sanctum.c: Champa's Sanctum, whose healer serves the party across the counter and otherwise talks of Briggs: the village's last hope until he sails from Alhafra, and after it the jewels that made Champa's people lazy.clear.c: The File Screen overlay (SceneIdClear), the first thing the player sees after the title: the title logo, the file menu (new game, continue, copy, erase, the Battle Arena and Update) and what a new game asks.contigo.c: Contigo, the village of the Jupiter clan north of Atteka Inlet, beside the crater below Jupiter Lighthouse, and the rooms of its overlay: the houses, shops, inn and Sanctum, the three game tents, and the Anemos geoglyph east of the village, where the villagers build the Wings of Anemos in front of the Anemos Sanctum.daila.c: Daila, the village in the north of Indra that Felix reaches first after the tidal wave, in two scenes that share this overlay.daila_rooms.c: Daila's rooms, in two scenes that share this overlay: the houses (DailaRoomsHouses) and the sanctuary (DailaRoomsSanctum).dehkan_plateau.c: The Dehkan Plateau, the cliffs and caves Felix crosses after Daila on his way south to Madra, in six scenes that share this overlay, each of several screens.eastern_alhafra.c: Eastern Alhafra, the harbour east of the town, where the sailing ship Briggs's Champa crew bought lies at the end of a pier with its broken mast fallen across the water to the eastern dock, the sail spread under it and a huge block of stone pinning its tip.eastern_alhafra_ship.c: Briggs's ship at Alhafra's eastern harbour: the cabin the party enters from the deck, the rooms down its stairs, and a back room behind a tall crate.epilogue.c: The epilogue: the party's last words, line after line, each speaker's portrait standing in a grey and white border beside the line, over the ending's pictures, from "Finally!gabomba_catacombs.c: The Gabomba Catacombs, the caves below the Gabomba Statue, which Felix reaches by the ladder down from inside the statue once Piers can cast Frost.gabomba_statue.c: Inside the Gabomba Statue at Kibombo, the seven rooms of this overlay: halls of turning cogs and pinions that Felix rides and hops across.gabomba_statue_chamber.c: The innermost rooms of the Gabomba Statue at Kibombo, three in this overlay: the small idol's chamber in the statue's head, the corridor with the lift, and the final chamber where the Great Gabomba speaks.gaia_rock.c: The outside of Gaia Rock, the great rock near Izumo where the Serpent lives, in three areas of this overlay.gaia_rock_inside.c: Gaia Rock's inside, under the great rock near Izumo where the Serpent lives, in five scenes of one overlay.garoh.c: Garoh, the village of werewolves that guards Air's Rock, in five scenes that share this overlay: the entrance from the world map (SceneIdGarohEntrance), the path up to the village (SceneIdGarohPath, whose chest holds the Hypnos Sword), the village itself (SceneIdGaroh), the tunnels under its houses (SceneIdGarohTunnels) and the cave behind the rock by the sanctum (SceneIdGarohWerewolfCave).garoh_rooms.c: Inside Garoh's houses, in three scenes that share this overlay.gondowan_cliffs.c: The Gondowan Cliffs, the maze of ledges, vines and slides west of Madra on the way to Kibombo, and the river channel below them (SceneIdGondowanCliffsandSceneIdGondowanCliffsPass, which share this overlay).gondowan_cliffs_hideout.c: The hideout in the Gondowan Cliffs where four warriors from Kibombo camp round a fire, until Briggs is caught (FLAG_BRIGGS_CAUGHT).idejima.c: Idejima, the peninsula at the end of the road west of Venus Lighthouse, where the story of The Lost Age begins.islet_cave.c: The Islet Cave, which the lonely turtle on the Sea of Time Islet opens once he has Li'l Turtle for a friend.islets.c: The five small islets of the Eastern Sea, each a scene of its own in this one overlay, and the animal trade that leads from one to the next, every trade made by Mind Reading the animal.izumo.c: Izumo, the village of houses on stilts on the far eastern island of the Eastern Sea.izumo_rooms.c: Inside Izumo's houses on stilts, one room each: two houses in the east, the inn, the shop, Kushinada's house, the Sanctum, and the hall of Susa's house in the north, which has a cast and a story of its own.izumo_ruins.c: The Izumo Ruins, the grey caves under the ring of giant stones in Izumo, reached by the ladder Reveal shows in the ring's centre.jupiter_lighthouse_aerie.c: Jupiter Lighthouse's aerie, the open top of the tower between its two archer statues, with the lid over the well guarded by two angels.jupiter_lighthouse_aerie_beacon.c: Jupiter Lighthouse's aerie and its beacon: Karst and Agatio wait (scJupiterLighthouseKarstAndAgatioWait), the party casts the Jupiter Star into the well (scJupiterLighthouseCastTheJupiterStar) and the beacon is lit (scJupiterLighthouseBeaconIsLit); Karst and Agatio are fought three times, Jenna and Sheba coming to help (scJupiterLighthouseJennaJoinsTheFight,scJupiterLighthouseShebaJoinsTheFight), and Alex takes them down on the elevator whether the party wins (scJupiterLighthouseWeBeatThem) or loses (scJupiterLighthouseKarstAndAgatioRetreat).jupiter_lighthouse_basement.c: The grey caves beneath Jupiter Lighthouse, reached by the teleporter in the sandy dead end of its grounds (SceneIdJupiterLighthouseBasement).jupiter_lighthouse_central_room.c: Jupiter Lighthouse's central room, and north of it the room of the five grey blocks.jupiter_lighthouse_cracked_floor.c: Rooms of Jupiter Lighthouse just below its aerie, on one map.jupiter_lighthouse_entrance.c: The sandy grounds before Jupiter Lighthouse, reached from the world map at their south edge.jupiter_lighthouse_ground_floor.c: The ground floor of Jupiter Lighthouse, inside its main gates.jupiter_lighthouse_left_tower_lower.c: The lower rooms of Jupiter Lighthouse's left tower.jupiter_lighthouse_locked_doors.c: The level of Jupiter Lighthouse above its central room, with the red and blue locked doors that lead out to the two towers.jupiter_lighthouse_right_tower_lower.c: The lower rooms of Jupiter Lighthouse's right tower, past its stone archer statue.jupiter_lighthouse_right_tower_upper.c: The upper rooms of Jupiter Lighthouse's right tower, the last before its top.jupiter_lighthouse_side_halls.c: The rooms west and south of Jupiter Lighthouse's central room.jupiter_lighthouse_terraces.c: The terraces high outside Jupiter Lighthouse, over the clouds, which link its main tower, by the red and blue doors, with its left and right towers.jupiter_lighthouse_upper_hall.c: The hall of Jupiter Lighthouse where the lighthouse is woken, between the room of locked doors below and the cracked floor's room and the terraces above.kandorean_temple.c: The Kandorean Temple of Master Poi, south-west of Daila, in nine rooms that share this overlay (SceneIdKandoreanTempleLiftstoSceneIdKandoreanTemplePoi).kibombo.c: Kibombo, the warriors' village below the Gabomba Statue, in the six rooms of this overlay: the village, its houses, shops, inn and Sanctum (scKibomboOpenWeaponShop,scKibomboOpenInn), and the grounds before the statue, each by day and on the ceremony night.kibombo_mountains.c: The Kibombo Mountains, the pass the Kibombo warriors guard on the way to their village, in three rooms: the south pass with the Disk Axe chest, the north ledges above it where Waft hides, and the small cavern behind a bush.lemuria.c: Lemuria, the hidden city beyond the Sea of Time, which Piers leads the party into.lemuria_dock.c: Lemuria's dock, where the Lemurian ship ties up: Kraden steps off to wait by the ship and asks whether the party is ready to sail, and a door on the deck leads down into the ship's cabins.lemuria_entrance.c: The channels among the cliffs where the party's ship comes into Lemuria.lemuria_palace.c: Lemuria's palace.lemuria_rooms.c: The rooms behind Lemuria's doors (SceneIdLemuriaRooms).lemuria_spring.c: The Spring of Lemuria, up in the middle of the town past the man who offers the test of luck.lemurian_ship.c: The Lemurian Ship below deck, at the East Indra Shore, in two scenes (SceneIdLemurianShipCabinsandSceneIdLemurianShipAquaHydra) whose rooms are told apart by the entrance used.lemurian_ship_deck.c: The Lemurian Ship, in two scenes: the East Indra Shore, where the ship lies moored below the cliffs (SceneIdLemurianShipMainDeck), and its deck at the tiller once it sails (SceneIdLemurianShipTiller).lobby.c: The Battle Arena's lobby, The Broken Seal's arena reworked, reached from the File Screen's Battle mode.loho.c: Loho, the miners' village in the north of Gondowan, and its houses.madra.c: Madra, the walled town of eastern Gondowan that Felix reaches over the Dehkan Plateau.madra_catacombs.c: The Madra Catacombs, a deserted village in a cave under the town.madra_drawbridge.c: The Madra Drawbridge, east of Madra, where two guards keep the way into Osenia shut until Madra's elder gives the party permission.madra_rooms.c: Inside Madra's buildings: the inn, the round sanctum, the houses, the elder's house with the Black Crystal on its mantel, the jail where Piers is held, and, as a second scene, the left cavern home in the cliff.magma_rock.c: Magma Rock's outside: the climb up the mountain across the river from Naribwe, past yellow statues that answer Burst, to the great fire on its top that hides the way down into it.magma_rock_inside.c: Magma Rock's inside, the rooms in the volcano that the great blast on its top opened.mars_lighthouse_aerie.c: Mars Lighthouse's aerie, at the top of the last lighthouse: the party faces the Doom Dragon (scMarsLighthouseAerieFaceDoomDragon) and learns who the dragon was (scMarsLighthouseAerieFindWhoTheDragonWas), the three it was speak to the party as they lie dying (scMarsLighthouseAerieTalkToJennasMotherand the talks after it), and the beacon is lit with the Mars Star (scMarsLighthouseAerieLightBeacon) before the Golden Sun rises (scMarsLighthouseAerieWatchGoldenSunRise).mars_lighthouse_entrance.c: The Mars Lighthouse from its doors up to the dragons' hall: the steps outside in the storm and the frozen lower floors inside, in seven scenes that share this overlay.mars_lighthouse_hall.c: The Mars Lighthouse's central hall, the four ledges in the rain that lead from it to the element towers, and the beacon ledge at the top of each tower, all sharing this overlay.mars_lighthouse_star_room.c: The Mars Lighthouse's dragon hall, high in the frozen lighthouse, where two Flame Dragons sleep in a block of ice below a great dragon's head carved in the north wall, with the corridor and the small room that lead to it.mars_lighthouse_towers.c: The Mars Lighthouse's four towers, one scene each in this overlay.mercury_lighthouse.c: The base of Mercury Lighthouse in Imil, near the end of the game: as the last beacon, Mars Lighthouse's, is lit, two of Imil's children hear the voices of the heroes far away, glints of light rising round them.mikasalla.c: Mikasalla, the village in the far south of Osenia, and the tunnels under it, in two scenes that share this overlay (SceneIdMikasalla, the village, andSceneIdMikasallaNorth, the tunnels).mikasalla_rooms.c: Mikasalla's houses and, as a second scene, the sanctums of Mikasalla, the Apojii Islands and Yallam.mt_aleph_summit.c: The summit of Mt.naribwe.c: Naribwe, the desert village south of the Kibombo Mountains.naribwe_rooms.c: The insides of Naribwe's huts, behind the village's five doors.northern_reaches.c: The Northern Reaches, the icy sea where a great wall of ice blocks the ship's way north to Prox.osenia_cliffs.c: The Osenia Cliffs, across the Madra Drawbridge, where the wreck of a Champa ship lies on the shore and three people from Madra look it over until Piers has carried Gabomba's message.prox.c: Prox, Felix's home in the frozen north, where Puelle's clan lives in poverty in the shadow of the Mars Lighthouse.sea_of_time.c: The Sea of Time, the purple sea the Lemurian ship must cross to reach Lemuria, in two scenes: the great sea of swirls the ship sails into from the world map, and the last stretch before Lemuria, where Poseidon waits.settlements.c: Four small places the ship can put in at, sharing one overlay, each with its houses.shaman_village.c: Shaman Village, in the middle of Hesperia, whose people will not talk to outsiders by Moapa's order; only the priest in the sanctum, in the cave on the east side, does.shaman_village_cave.c: The Shaman Village Cave, on the way east from Hesperia to the Shaman Village.shrine_of_the_sea_god.c: The Shrine of the Sea God east of Daila, in eleven rooms that share this overlay (SceneIdShrineOfTheSeaGodEntrancetoSceneIdShrineOfTheSeaGodRightProng).staff_credit.c: The staff credits, played over the world map after the farewell at Prox: each entrance is one stretch of the credits.suhalla_gate.c: The Suhalla Gate, in the prologue: Jenna and Kraden cross it on their way to Idejima, while Alex holds back the soldiers behind them.taopo_swamp.c: Taopo Swamp, over the bridge west of Yallam: an optional dungeon of eleven rooms that share this overlay.title.c: The title: the publisher's and Camelot's logos, the intro, and the starts it leads to, the prologue with Jenna or the game with Felix.treasure_isle.c: Treasure Isle, the island cave in the north-east corner of the world, its five rooms one overlay.trial_road.c: Trial Road, the mountain path above the Shaman Village where Moapa tests the party before he will hand over the Hover Jade.tundaria_tower.c: Tundaria Tower, the frozen tower that holds the Center Prong, in seven maps that share this overlay (SceneIdTundariaTowerEntrancetoSceneIdTundariaTowerBurstBrooch).venus_lighthouse.c: The Venus Lighthouse, as the prologue opens on it: Felix moves a statue onto the floor switch with Psynergy and goes on alone, and Jenna and Kraden, doubting they should leave, meet Alex and set off for Idejima (SceneIdVenusLighthouse).venus_lighthouse_entrance.c: Outside the Venus Lighthouse, where the prologue hands the story to Jenna.world_map.c: The World Map (SceneIdWorldMap), the perspective map that joins the areas, and the only scene of this overlay.yallam.c: Yallam, the village near Taopo Swamp where Sunshine the blacksmith lives (its houses, inn and shops are inyallam_rooms.c).yallam_rooms.c: The insides of Yallam's huts and shops.yampi_desert.c: The Yampi Desert, between southern Osenia and Alhafra: twelve rooms on one overlay (SceneIdYampiDesertEntrancetoSceneIdYampiDesertCavern).yampi_desert_cave.c: The Yampi Desert Cave, the hidden dungeon behind the desert's sand slide: a Teleport circle leads on from the room the party comes in by, and in the rooms beyond the party pushes logs, sinks a stake with Pound, bursts pillars, slips under walls with Sand, Scoops up the Venus Djinni Crystal racing through the sand, and meets Valukar, the guardian of fire.
shop/shop.c: The shop object: every counter the party trades at.shop_buy.c: Buying: the stock list, the money and party windows, quantities and prices.shop_cursor.c: The quantity bar, the price digits and their sprites, the field's tint behind the sanctum and the Djinn, the hand cursor's glides, and loading a picture intoVRAM.shop_forge.c: The forge: its recipes, the materials the party holds and the roll for the result.shop_inn.c: The inn: room prices, checking in and the night's sleep.shop_internal.h: What every part of the shop object shares: its includes, its state, the counters and services it runs, the stock table's columns and the tablesshop_tables.cholds.shop_item_picker.c: The forge's counter; the item picker scripts use to choose one of a party member's items, to show Naribwe's fortune teller or to drop; and the grid of item icons the shop's windows draw.shop_repair.c: Repairing broken items.shop_run.c: Running a shop: the artifacts it lists, opening its state, the counter's loop and the message helpers every counter uses.shop_sanctum.c: The sanctum's services, their donations and their sparkles.shop_sell.c: Selling: choosing a party member, the item grid and the sale.shop_stock.c: The Game Ticket counter and every shop's stock.shop_tables.c: The shop's tables: the quantity bar's and the price digits' tile offsets, the Game Ticket costs, the gift items, every shop's stock, the forge's recipes, the sanctum's tunes and the inns' prices.
sound/sdk/dummy_func_work_copy.c: An older copy of the sound driver's empty callback, which the ROM keeps beside the driver with the player functions ofplayer_work_copy.c.leftover_modulation_helpers.c: The older copies of the LFOS and MOD commands' helpers that the cartridge keeps with the leftover driver functions ofleftover_driver.s, which alone call them: their bytes are those ofclear_modMandld_r3_tp_adr_i_unchecked(games/common/sdk/sound/modulation_helpers.c).player_work_copy.c: Two player functions of an older copy of the SDK's sound library that the ROM keeps beside the driver.
sound.c: The game's own sound code over the sound driver, as The Broken Seal's:sySoundPlay, which takes every sound number, the music's volume and tempo ramps, and the music's return after a jingle.sound_test.c: The sound test, which nothing in the game calls; the heard-sound flags the link lobby offers its tunes by; and the fixed 31536 Hz output rate the game sets at start-up.
system/bupdata.c: The save signature and sector header template, and test data nothing reads.irq_table.c: The interrupt handlers: the table the IWRAM dispatcher calls through, and the handlers start-up copies into it.math_table.c: The tangent tablesyAtansearches.number_text.c: The digits the number text is written with.rom_start.c: The cartridge's first instruction, where the BIOS starts the game: ahead of the cartridge header (rom_header.s), it goes on to the game's start-up.system.c: The system library's object: power-up and the interrupt handlers, the tick wait and VBlank, input, the register write queue, fades, the sprite lists andVRAMcache, events, maths, debug text, the heap, the 3D transform, decoding, saving, the link cable and the game flags.system_bup.c: Saving: flash sectors, parts and the save workspace.system_debug_text.c: Number text, the debug text screen and the window graphics.system_decompress.c: Resource decoding, through RAM copies of ARM code.system_event.c: Events: per-tick and VBlank functions in priority order.system_flags.c:gmUnitGet(moved here from TBS'sgame_units.c, keeping its gm prefix for TBS/TLA parity) and the game flags: bits, bytes and nibbles.system_frame.c: Interrupt handlers, the tick wait, key repeat and the VBlank handler.system_heap.c: The heap: its two bump allocators and heap slots.system_internal.h: What every part of the system library's object shares: its includes.system_io_write_queue.c: The register write queue that VBlank carries out after each finished tick.system_math.c: Random numbers, angles and square roots.system_matrix.c: The 3D transform, its stack, the look-at matrix and the projection.system_oam.c: The tick's sprite lists: affine matrices and depth slots.system_screen_fade.c: Screen fades through the blend registers.system_serial.csystem_start_up.c: Power-up, the cartridge's language, the build stamp and code loading.system_vram_cache.c: The spriteVRAMcache, which hands out sprite tileVRAMto the actors, icons and portraits on screen and loads their pictures into it; then the affine matrix builder that follows it.
window/articles.c: Window text tables: each edition's articles and possessives, the kana marks and the sprite motion curves.counted_nouns.c: The German counted nouns, singular and plural, by kind.debug_labels.c: The debug screens' labels: the flag and destination browsers' colon and hex digits, and the icon browser's headings (mnDebugBrowserIcons).debug_tables.c: The debug menus' tables: the warp menu's presets and the abilities the shortcut grid offers.expand_nibble_table.c: The colour map of the page number tiles, built twice from the UI's digits, and the link battle timer's label.fixed_tile_blocks.c: The window sprites' fixed tile blocks.glyph_arm.c: The text canvas renderer, compiled as ARM code and copied to RAM to run, entered in Thumb throughmnGlyphDrawCode(glyph_arm_entries.s).icon_menu_tables.c: The Djinn menu's element icon offsets and the icon menus' tables: the waits of a choice made for the player to watch, and the field menu's and the File Screen's choices by icon position.item_genders.c: The grammatical gender of each item's name in the German and Italian releases, which picks the possessive ("your") a message writes before the item (LocalizedWordItemPossessives): "dein" or "deine" in German, "Il tuo" or "la tua" in Italian.message_speed.c: The message speed tables, indexed by the player's message speed setting (MainRoutineStateWork.msgSpeed,MESSAGE_SPEED).progress_bar_rows.c: The saving screen's progress bar, laid out by step: its own file, between the progress bar's tiles and the word-aligned tables after it.scales.c: Sprite scales, motion curves and lookup tables of the window and menu code, the sound test's labels and the debug warps' names; The Broken Seal'sscales.c.screen_tables.c: The screens' tables from the save summary's level label to the range icons' patterns: the name entry's marks and labels, the Djinn and party sprites, the summons' abilities and the window sprites' motions.screens.c: The screens object: the screens built on the windows, from the window sprites, the party status window and the file list to the battle menus, the icon menus and the Pause menu, as in The Broken Seal'sscreens.c.screens_battle_command_row.c: The row of command icons the player picks a command from.screens_battle_djinn_menu.c: The battle Djinn menu.screens_battle_djinn_preview.c: The preview of what setting or removing a Djinni changes.screens_battle_item_menu.c: The battle item menu.screens_battle_party_commands.c: An ability classified for target selection, and a reserve member chosen for a party slot.screens_battle_psynergy_menu.c: The battle Psynergy menu.screens_battle_status.c: The Status screen of a battle: a party member's stats and conditions, Psynergy, Djinn and items, on four pages that A turns.screens_battle_summon_menu.c: The battle summon menu.screens_battle_targets.c: Choosing a battle target.screens_debug.c: The debug destination menu, the flag browser, the Pause menu's choices, and the debug browsers of icons and portraits.screens_icon_menu.c: Collecting the party's battle commands, then the icon menus: a row of command icons with a label window, the selected icon pulsing, as the field menu, the File Screen, the transfer screens, the shops, the sanctums, Yes or No and Coins or Lucky Medals use it.screens_internal.h: What every part of the screens object shares: its includes, macros, local types and tables.screens_joined.c: The messages that a Djinni or a party member has joined, and that a summon can now be used, each shown with the join jingle.screens_link_timer.c: The link battle timer and the no-flee check.screens_menu_titles.c: Pictures and command icons loaded for the menus, and BG1's priority.screens_name_entry.c: The name entry screen, where the player names a party member on a keyboard of letters, with a DEL key that takes back the last letter and an END key that keeps the name.screens_party_status.c: The party status window.screens_save.c: Save files, the file list and the saving screen's progress bar.screens_set_text_tile_rect.c: Switching a rectangle of a window's text to another palette.screens_window_sprites.c: The sprites a window carries (icons, cursors and the speakers' portraits), and the window spans the screen transition reads.status_tables.c: The Status screen's tables: its cursor stops and its labels.text_tables.c: The text's tables: each glyph's width, the text colours' pens, and the party status's divider columns.window.c: The window object: the windows drawn into a shared BG tilemap, the messages typed into them and the decoder behind them, the sprites windows carry, icons, the selection screen, the settings and Pause menus, the debug menus and text drawn as tiles.window_borders.c: Window zoom and borders, and opening and waiting on message windows.window_debug.c: The debug menus, none of which the game opens: the sound test, a debug menu of five rows ("Full PP and Money" to "Change of hero"), the warp menu's nine story presets, and the grid of field Psynergy to set as a shortcut.window_decode.c: The message decoder: a stored message expanded into the ring of decoded text, its arguments, names and numbers written out, and outside Japanese the articles, plurals and possessives each language puts around them.window_glyphs.c: Characters drawn into a glyph sprite's tiles, strings measured and drawn into windows, and numbers written as text.window_icons.c: The 16x16 icons of items, Psynergy and commands, built from their pictures, a tick under them and the marks over them, and the 32x32 icons and portraits loaded with their colours.window_internal.h: What the parts of the window object share: their includes, the codes of decoded message text and the sizes several parts read.window_measure.c: Sizing windows to their text and fitting them on the screen.window_messages.c: Messages copied out as strings, the message arguments, closing windows, a message's flash, the story crawl's text, the symbol decoder and the portrait windows.window_selection.c: The selection screen, the row of icons a command, item or Psynergy is picked from in battle and on the field, and the field menu.window_settings_menu.c: The window colours the player picks, the settings menu that picks them with the message speed, speech and auto-sleep, and the Pause menu.window_shortcuts.c: The window that shows the area's name, and removing an item from the party's inventory.window_spans.c: The windows' outline for a screen transition: for each scan line, the left and right edge of the windows on it, read off the UI tilemap by ARM code thatmnScanlineWindowFillSpanscopies into RAM for each call.window_sprites.c: Characters drawn into windows, as glyph sprites, into a text canvas or as tilemap tiles, and the per-tick update that moves and shows the sprites windows carry.window_text_tiles.c: Text drawn as tilemap tiles of its own (the menus' labels, names and numbers), the text tiles taken and freed, divider lines, and the functions that draw a message, string or number into a window.window_typing.c: The per-tick message update: typing text and running its control codes.window_windows.c: The window system's setup and tilemap upload, the pool of window sprites, opening and closing windows, and starting a message typing into one.
include/battle/ability_staging.h: How each ability is staged in battle: the staging and effect tables (ability_staging.c) and the values ofBATTLE_PLAN.staging and battleEffect.battle.h: The battle engine's functions as other files call them: the battle module's own, file by file, then the battle effects, the field engine's functions the battle and its effects borrow, and the stub calls into the main image.battle_action.h: What a battle keeps for each unit (its battle object on the field, its command and action for the turn) and the spoils it has won so far.battle_action_run.h:BATTLE_PLAN: one action of a turn laid out target by target, from the moment it is chosen to the damage it deals, and the effect that stages it.battle_actor.h: The motion object: a battle unit's actor as the battle moves it, and the sprites it draws.battle_camera.h: The battle camera, the battle background's modes and scanline state, and the presentation state an action's staging hands its battle effect.battle_effect_params.h: The command a battle effect is run with: its kind, its user and its targets.battle_effect_state.h: The Lost Age's copy of the battle effect state.battle_random.h: The battle's own random numbers, which a link battle keeps in step on both consoles.battle_side.h: The two sides of a battle, their unit lists, and the Djinn each side has on standby or recovering.battle_sprites.h: Each enemy's battle sprite and how it attacks and falls, and the summons.battle_state.h: The battle's own state: its units and their places, the turn's actions, the spoils, the background's palette and the playback of an action's events.battle_unit.h:UNIT, a party member's or an enemy's stats and statuses in battle, with the elements, abilities and actions it uses.blitter.h: The canvas blitters battle effects draw with: their clip and mirroring flags, blend modes and rectangle-drawing function pointer.debug_parameter_set.h: The debug parameter sets.first_strike.h: Who strikes first as a battle opens.formations.h: The enemy formations.playback_queue.h: The battle event queue: the names, numbers, messages, hits and defeats an action queues for its playback to show in order.range_falloff.h: How an ability weakens with each place a target stands from the aimed one, and the damage and recovery formulas that use it.stubs.h: The stub calls into the battle module, as the other modules' code calls them.weapon_kind.h: The kinds of weapon a party member's attack shows, and howBattleUnitWeaponKindspacks one with its item.
battle_effect/battle_effect.h: The battle effects as the rest of the battle calls them: a runner for each Psynergy, Djinni, summon and monster ability, and the canvas, palette, particle and model helpers they share.battle_effect_ids.h: The kinds of battle effect, byBATTLE_PLAN.battleEffect's low twelve bits: the large effectsbtEffectRunSummonruns, and the effects the table of handlers plays.battle_effect_table.h: The rows and columns of the battle effects' tables, whichbattle_effect_table.cfills and the effects read.blitter_operands.h: The ARM operands for powers of two that the blitter builder adds to its templates (blitter_operands.c).render_model.h: The model records the battle effects hand to the ARM model renderer.stubs.h: The stub calls into the battle effect module, as the other modules' code calls them.
debug/debug.h: What the debug menus and the debug rooms share: the warp menu's presets, the shortcut grid's abilities, the palette editor's swatches and the steps the debug choosers take.
field/actor.h: Actors, their flags and the screen transition styles.actor_script.h: Actor scripts: one Sint32 command word, then its operands, asActorScriptCommandTableruns them.arc_effect.h: The swelling arcs a field Psynergy shows over its target.call.h: Untyped calls for the scene scripts: Call1 to Call11 call a function with that many Sint32 arguments and drop its result, and Value0 to Value4 return it.canvas_sprite.h: The canvas sprite of a field Psynergy: a 64 by 64 sprite whose pixels an effect draws into a 4 KB canvas.curve.h: The ground height of a map metatile from its shape's height samples, one function for each kind of slope, and the tables they read.effect_sprite.h: The sprites a field effect draws itself, placed, scaled and turned.emote.h: What an actor shows over it: the bubbles offdActorShowEmoteByIdand the effectsfdEffectSetAttachedattaches.encounter_zone.h: A row of the encounter zone table,EncounterZones(encounter_zones.c).engine_stubs.h: The stub calls into the field engine module, as the other modules' code calls them.facing.h: The constant tables offacing.c: which picture of an animation an actor shows for each way it faces, the fixed camera's matrix, the actor scripts for footprints, splashes, ripples, wakes and sand grains, the World Map camera's lean for the direction pad, and the World Map's graphics sets.field.h: The field engine's routines, tables and types that other files share: the actors and their scripts, the sprites, the map grid and the World Map, entering and leaving a scene, field Psynergy and its effects, the ropes and tightropes, and the other modules' routines the field calls.field_blend.h: The field's colour blend state.field_coordinate.h:FIELD_COORDINATE, a position on the field.field_effect.h: Field effects, the small objects on the field that move, grow and spin by their scripts, the flags of a scene's effect spawner, and the tints a field Psynergy washes the screen in.field_effect_scripts.h: The actor scripts field effects give their particles and fragments.field_engine.h: What thefield_engineobject defines for the code outside it.field_engine_functions.h: The field-engine module's functions, declared once each in the order of its stub table, without the inlinesfield_engine.hbrings in withfield.hand its other headers.field_engine_script.h: The field engine's script functions (field_engine_script.c,field_engine_items.candfield_engine_psynergy.c).field_functions.h: The field module's functions, declared once each in the order of its stub table, without the inlinesfield.hbrings in with its other headers.field_particle.h: The field effect sprites the field Psynergy keeps (FIELD_PARTICLE).field_psynergy.h: The states of the field Psynergy's effects: the scatter, Whirlwind's orb, the Arrow's bow, and Avoid's falling arcs.field_psynergy_state.h: The field Psynergy's state (FIELD_EFFECT_STATE) and its particle.field_script.h: Creating actors and starting their scripts and animations from a scene.field_sprite.h: An actor's sprite as the field's scenes read it.field_state.h:FIELD_STATE, the running scene's state, with the field Psynergy's state at its end.flag_call.h: The game flag tests and changes that Izumo's stone and its guards and the World Map's placed actors (scWorldMapUpdatePlacedActors) make through small inlines of their own; the other scenes callscript.h'sfdScriptGetFlag,fdScriptSetFlagandfdScriptClearFlag.ground_mask.h: The ground mask, sprites kept beside an actor where the ground before it rises (field_engine_ground_mask.c): its state and the view of the actor it follows.hanging_vine.h: The hanging vines the leader swings from: their links and their swing.lucky_dice.h: Lucky Dice, the dice game (lucky_dice.c), and the dice types and constants shared with Super Lucky Dice.lucky_dice_stubs.h: The stub calls into the lucky dice module, as the other modules' code calls them.lucky_wheels.h: Lucky Wheels, Contigo's game of chance (lucky_wheels.c): its reels, its effect state and its saved prizes.lucky_wheels_lzpack.h: The LZ packer's state: hash chains over a 1024-byte window, one chain per byte value, and the output it is building.lucky_wheels_stubs.h: The stub calls into the Lucky Wheels module, as the other modules' code calls them.map.h: The map's shapes and tile sets, the World Map's blocks, and the map routines the scenes call.map_grid.h: The map grid: its layers and metatiles, the metatile behaviors and attributes the field reads, its tile animations and blend script, and the world map's collision and battle environments.metatile_target.h: The cracked floor metatiles that Jupiter Lighthouse, Mars Lighthouse and Anemos Inner Sanctum watch (scene/shared/cracked_tile_*.c), and the sprite scene/shared/cracked_tile_mask.cdraws over the one the leader stands on.particle.h: A particle's position and the screen points the effects draw at.perspective.h: The world map's perspective view state.scene_tables.h: The scene table formats: the scene table, entrances, exits, actor placements and cues.screen_transition.h: What the field engine's parts share with the files that define their tables: the field effects' scripts and colour curves, and the screen transitions' shapes and window values.script.h: The calls scripts are written in: the small inlines a scene's scripts share, over the main-image functions they call by those functions' own names (fdActorFaceDirectionById,fdScriptShowMessageAndWait,fdActorSetSpeedParamsand the rest), whose declarations it holds.script_commands.h: What the script commands share with the field and the scenes: the field Psynergy's casts and their states, the Djinn's join effects, the map screen's state, and the encounter zones of the story's battles.script_inline.h: The script inlines: one typed inline for each script command a script calls by its own name, passing it on to the main image's import (fdActorFaceEachOthercallsfdActorTurnToFaceEachOther).script_operands.h: The actor script interpreter and the operands its commands read.speaker.h: Speaker bits, above the actor id in the low 12 bits of a message command's speaker, asfdMessageShowAtActorreads them, and each sprite's voice and Halted lines.sprite.h: Animated sprites: their layers, the sprite picture caches and the actor system's state.stubs.h: The stub calls into the field module, as the other modules' code calls them.super_lucky_dice.h: Super Lucky Dice, Contigo's four-dice game (super_lucky_dice.c): its sprite state and its camera.super_lucky_dice_stubs.h: The stub calls into the Super Lucky Dice module, as the other modules' code calls them.view_move.h: The view's swing as Tremor and Grind shake the ground.weather.h: The ground particles and the rain that the weather state holds.world_map.h: The destinations the map screen marks.world_map_affine.h: The world map's scanlines and affine lines.world_map_encounter_rules.h: Which encounter zone each part of the World Map takes.
game/character.h: The definitions of characters, Djinn and enemies, as The Broken Seal'scharacter.hhas them; an enemy's lacks the ten bytes The Broken Seal's keeps before its items.character_ids.h: The eight playable characters' ids, with each one's Japanese name: one for each row ofCharacterDefinitionTablein order.game.h: The game's rules and data as the battles, the field and the menus share them: the tables of items, abilities, summons, Djinn, characters and enemies, the field Psynergy each ability casts, and the game module's functions the other modules call.game_flags.h: The game flags' size, and the byte and bit ofGameFlagBytesthat hold a flag.game_functions.h: The game module's functions, declared once each in the order of its stub table, without the inlinegame.hbrings in with battle/battle_unit.h.inventory.h: A unit's fifteen inventory slots: counting, finding, adding and taking items, and finding who in the party carries one.item.h: Items: their definitions, types, flags and effects.main_routine.h: The main routine, which runs the game's engines one after another, and the scene changes between them.main_routine_state.h: The valuesMainRoutineStateWork's fields hold.stubs.h: The stub calls into the game module, as the other modules' code calls them.system_call.h: The names the scene and debug overlays call these main-image functions by: one typed inline each, which calls the function through the overlay's import stub.
graphics/display_transition.h: The screen transitions' state: the windows that close over the screen or open it line by line, and the dissolve (field_engine_screen_transition.c).glyph.h: The main font's glyphs, and the palette and buffers icons are built in.graphics.h: Code the window system copies to RAM to run, and the sprite colour remap.palette_buffers.h: The palette fades, the title's and the field's, and the tints they fade to.palette_cycles.h: Palette cycles: runs of background palette colours that rotate one place every few ticks, up to four at once.render_placement.h: Where a sprite is drawn and at what scale.
menu/djinn_menu.h: The Djinn menu: its lists, backdrop and state, the fields of a Djinni's list entry, and the Djinn tutorial's lines.menu.h: What the menus share with the window module, the shops and the debug rooms: the item list's sort orders, the strings and tables the menus draw from, and the functions each side calls of the other.paged_list.h: The paged list a menu page draws and moves through.stubs.h: The stub calls into the menu module, as the other modules' code calls them.
scene/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 spritescActorCyclePictures(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; withfdActorSetMetatileOpenandscActorsSetDrawn, 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 cyclefdPaletteCycleStepruns: BG paletteCYCLE_PALETTE's colours fromCYCLE_FIRST_COLORtake their places amongCYCLE_PLACESone further everyCYCLE_STEP_TICKSticks.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 ownscActorSetFlightMode.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
shop/sound/sound.h: The game's sound:sySoundPlayand the music's volume and tempo ramps (sound.c), the sound test and the heard-sound flags (sound_test.c), over the development kit's sound driver (sdk/sound_driver.h).sound_driver_symbols.h: What the game sets over the sound driver: the music's player, the sound numberssySoundPlaytakes and their ranges, the music players by row, the mixer's reverb codes, and the music's volume and tempo ramps.stubs.h: The stub calls into the sound module, as the other modules' code calls them.
system/asm.h: The matching devices: the asm statements the C holds for the compiler, not for the program, each a fake match.definitions.h: The system library's types and constants, as SGL'ssl_def.hholds its own: the hardware's registers, and each group's structures, enums and fixed values.globals.h: The system library's variables, as SGL keeps its system variables and work areas: each group's variables in IWRAM, EWRAM and ROM.mul_fx.h:syMulFXArm, the 16.16 fixed-point multiply: SGL'sslMulFXwritten out for the C compiled as ARM, where the Thumb C calls the same multiply in IWRAM.rom_header.h: The two places of the cartridge header the code reads: the cartridge's start and the language letter of its game code.
window/articles.h: The words messages put before and after a name in each edition (articles, possessives, the German counted nouns), the kana marks and the window sprites' motion curves (window/articles.c).battle_status.h: The Status screen's cursors and labels, and the party status window's flags.cursor.h: The cursor that approaches its target, shared by shops, the name entry screen, the settings menu and the file screen's sprites.djinn_preview.h: The Djinn preview's stat arrow tiles.glyph_arm.h: The text canvas renderer, run from RAM as ARM code (glyph_arm.c).icon_menu.h: The icon menu's state: the row of command icons the field menu, the File Screen, the shops and the Yes/No menu are chosen from.menu_list.h: The battle menus' shared state, and the sprite shapes the menus queue.message_reader.h: Finding a message in the game's compressed text.message_speed.h: The message speed setting and the typing tables it picks a row of (message_speed.c).scales.h: The window sprites' and cursors' motion curves, the window colour wheel, the settings and Pause menus' icons and colour presets, and the speakers' portraits (window/scales.c).screens.h: The screens object's functions and tables that code outside it uses: the Status screen's cursor stops, the file list and File Screen choices, the battle menus, the menu headings and the Yes/No menu.select.h: The selection screen: the row of icons a command, item or Psynergy is picked from, its icons and their sprites.settings_menu.h: The settings menu's state, which the Pause menu and the debug menus also use, and the sound test's starting values.stubs.h: The stub calls into the window module, as the other modules' code calls them.text_font.h: The Japanese font's kanji, and the voiced marks drawn over its kana.window.h: Windows, the messages that type into them, and the window system's state, aswindow.cdeclares them for the files that use them.window_sprite.h: Sprites as OAM takes them, and the window sprites: the characters, icons and portraits a window carries.
ability_ids.h: Ability numbers, named from the English release.area_ids.h: The areas: groups of scenes that share their music, their area flags and the name shown on arriving from another area.config.h: Build switches, as pret'sconfig.h: BUGFIX opts in to fixes of the original game's bugs, andUBFIXgives undefined behaviour its defined form.djinn_ids.h: Djinn numbers, named from the English release.edition.h: The edition being built: its language, and the features it turns on.edition_values.h: Numbers that differ between the languages, chosen here once for the code that uses them.enemy_ids.h: Enemy ids, named from the English release.features.h: How the code asks for what an edition has.fixed_math.h: 16.16 fixed-point constants and pixels, sine and cosine, and the system library's division.fixes.h: The fixes: each repairs a bug or undefined behaviour of the original, is off in every edition, and is turned on by BUGFIX orUBFIX, which a build may define.flags.h: The game flags: 4096 bits saved with the game (GameFlagBytes) that the story, the scenes and the game's own systems set and test.item_ids.h: Item numbers, named from the English release.macros.h: Small statement macros both games use for positions, velocities and bounds.resource_ids.h: Resource numbers, named where their contents are known, as The Broken Seal'sresource_ids.h.scene_exits.h: The ways between scenes.scene_ids.h: Scene numbers, named after their places, in the order ofScenesWork(field/scenes.s).sdk_config.h: What The Lost Age sets for the development kit's code in games/common/sdk: where the sound driver's jump table and mixer sit in RAM, and the sound mode the driver starts in.sounds.h: Sound ids, one for each row of SongTable (sound/song_table.s) in order: MUS_ ids are music and jingles, SE_ ids sound effects, as their sequences in sound/songs are named.sprite_ids.h: Sprite numbers, and the animations of a few sprites that the code picks by number.static_assert.h:STATIC_ASSERT, a check on sizes and layouts made as the code compiles.stddef.h:size_t,ptrdiff_t,wchar_t,NULLand offsetof, as the C library defines them.system.h: The system library's one header: its types, its functions and its macros.types.h: SGL's integer types, Bool and logic constants,UNUSED, unread results and the fixed-address macros.