Files
Every folder and file of The Broken Seal'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.action_weights.c: The enemies' action weights.battle.c: The battle object: a battle from its opening transition to its spoils.battle_ability.c: An ability applied to one target,btAbilityApplyToTarget: damage, healing and its added effect.battle_action.c: An action announced and built for its targets,btActionRunBuild.battle_auto_battle.c: Auto battle, the battle test menu's mode (FLAG_AUTO_BATTLE, set bybtDebugBattleRunMenu): no command menu opens, every unit attacks in action order, and each action is played by the simpler routines here instead ofbattle_staging.c's.battle_background.c: The battle background, its palette and modes, the camera's zoom and the units' highlights.battle_debug.c: Debug: the parameter sets, the message viewer and the battle test menu.battle_element_glow.c: A unit's elemental glow: the star field and the other glows.battle_enemy_ai.c: An enemy's choice of action,btAIChooseAction.battle_formation.c: Enemy formations: the enemies chosen, levelled and lettered.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, running, leaping and knocked back, 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.battle_placement.c: Battle objects made and placed on the battlefield.battle_playback.c: Playback over ticks,btPlaybackRun.battle_playback_queue.c: Battle playback: a downed unit's reset, waiting for the player, and the playback queue, filled bybtPlaybackPushand played at once bybtPlaybackRunAll.battle_run.c: A whole battle,btRun, and the lists of the units in it.battle_setup.c: The battle camera each tick, the opening announcement, the unit lists, and the party's battle state and Djinn as a battle starts and ends.battle_spoils.c: The spoils: coins, experience, items and level ups.battle_sprite.c: Reading a unit's row ofBattleSpritesby its id (UNIT.id): an enemy's sprite, palette, size, attack and defeat sound.battle_sprite_slots.c: Battle sprites: 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: An action played: its targets, and how an attack, a cast, an item, a summon or a flight is staged.battle_tables.c: The battle's small tables: where a formation's places fall, the party's weapon sprites, the camera's command matrix, how an ability weakens with distance, and the enemies' action weights.battle_targeting.c: The targets an enemy's or a confused unit's ability picks.battle_transition.c: The opening transition: the curtain, or the Venus Lighthouse storm.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 an action and of a turn: counters, Djinn recovery, 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.debug_parameter_sets.c: The debug parameter sets: runs of party members, each run ended byDEBUG_PARAMETER_SET_END, thatbtDebugParamSetLoadgives the party.element_glow_tables.c: Where the element glow's sparks and rings sit on their sprite sheet.formations.c: The 380 enemy formations, by formation id, and the enemies a monster battle never draws.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).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: two tables pairing a speaker with a portrait, which no code names.
battle_effect/battle_effect.c: Everything drawn over the battle while an ability plays: the effects are the parts underbattle_effect/, andbattle_effect_internal.hholds what they share.battle_effect_annihilation.c: Annihilation.battle_effect_atalanta.c: The Atalanta summon.battle_effect_beams.c: The plain attack's slash, and the critical hit's gathering light and crescent.battle_effect_bind.c: Bind and Triangle Strike.battle_effect_blitter.c: The blitter builder,btEffectBuildBlitter.battle_effect_bolt.c: Bolt.battle_effect_boreas.c: The Boreas summon.battle_effect_burst_shower.c: The blessings' burst showers.battle_effect_canvas.c: The canvas layer: opening and closing it, its transfers, 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_casting_impact.c: The casting impacts, the Djinn attacks, weapons' unleashes and enemy abilities that open the same way: sparks close in on the caster, a streak shoots at the target and a ring of light bursts over it in a spray of sparks, and then each impact plays its own effect over the target (enumCASTING_IMPACT).battle_effect_condemn.c: Condemn.battle_effect_cybele.c: The Cybele summon.battle_effect_death_plunge.cbattle_effect_dispatch.c: The two ways into an effect, a summon or an ordinary ability, with the sheet, state and canvas they lend it; and the helpers the summons share for window 0's ragged edge and the targets' sprites.battle_effect_display.c: The display every effect starts from, the timed scroll of BG1 and BG2 the summons' skies use, and the line-by-line feed of window 0's edges.battle_effect_djinn_attacks.c: The summons that spend one Djinni: Mercury, Jupiter, Venus and Mars.battle_effect_djinn_beams.c: Revive, Water of Life, Quartz and Dew.battle_effect_djinn_heal.c: An unused Mercury Djinni heal, and the camera turn Fire and Froth share.battle_effect_dragon_cloud.c: Dragon Cloud.battle_effect_drain.c: Break and Drain.battle_effect_element_pillar.c: The blade rain, the element pillar, the shattering opening, the element burst and the element streaks.battle_effect_eruption.c: Smoke Bomb and Blast.battle_effect_falling.c: Ice and Douse: shards and drops of water falling on the targets' side.battle_effect_fire.c: Fire.battle_effect_flare.c: Flare.battle_effect_flurry.c: Gust, Flying Attack and the rush strikes.battle_effect_frost.c: Frost.battle_effect_gaia.c: The Gaia and Rockfall Psynergy.battle_effect_gathering_lights.c: Demon Night, Rumble and Haunting.battle_effect_growth.c: Growth, Punji, Vine and Thorn: columns, vines and thorns spring up one after another, each shaking the screen and throwing up dust from its root, and the targets react a few ticks later.battle_effect_hail.c: Hail and Ground.battle_effect_haunt.c: Haunt and the orbiting spirals.battle_effect_healing.c: The healing motes of Ply, Wish, Cure, Cure Poison, Tonic and Psy Crystal.battle_effect_helm_splitter.cbattle_effect_internal.h: What every part of the battle effect object shares: its includes, macros and tick-loop helpers.battle_effect_judgment.c: The Judgment summon.battle_effect_kirin.c: The Kirin summon.battle_effect_lobbed_shells.c: Lobbed shells (Mad Spatter, Decompose, Bone Chiller ...).battle_effect_mirrored_wall.c: The walls of Berserk, Spasm and Recovery.battle_effect_neptune.c: The Neptune summon.battle_effect_nereid.c: The Nereid summon.battle_effect_orbiting.c: Swirling stars, orbiting skulls and target bursts.battle_effect_planet_diver.c: Planet Diver.battle_effect_plasma.c: Plasma, and the spark groups of Blast and Dynamite.battle_effect_positions.c: Where an effect's pieces are: particles moved a tick at a time, and the screen points of units, which effects anchor on; and the runner for a casting impact, a plain attack or a critical hit.battle_effect_prism.c: Prism.battle_effect_procne.c: The Procne summon.battle_effect_projectiles.c: The Djinni entrance that opens the Djinn's effects, and the projectile volleys (Slash, Shuriken, Wing Flutter, Blizzard ...).battle_effect_quake.c: Quake.battle_effect_ragnarok.c: Ragnarok.battle_effect_ramses.c: The Ramses summon.battle_effect_ray.c: Ray.battle_effect_rushing_strike.c: Rushing strikes, where the user charges into its target (Bone Charge, Brute Force, Onslaught, Headbutt).battle_effect_spider_web.c: Poison Beat, Spinning Beat and Spider Web.battle_effect_spire.c: Spire.battle_effect_starfield_fall.c: Summon formations, the impact burst, Meteor and Outer Space.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).battle_effect_table.c: Picture layouts, timing rows and handler entries for the battle effects.battle_effect_target_motes.c: The status motes of Taint, Delude, Paralyze, Heartrender, Mystic Flame, Demon Fire and Drown, then Sleep's sheep and Curse's flames.battle_effect_target_strike.c: Monster bites and slashes on one target.battle_effect_thor.c: The Thor summon.battle_effect_thrash.c: Thrash, Quick Strike and Vorpal Slash.battle_effect_tiamat.c: Dragon Driver and the Tiamat summon.battle_effect_titan_blade.c: Titan Blade.battle_effect_torch.c: Torch and Kite.battle_effect_undead_sword.c: Undead Sword, the sword of light that rises under its target.battle_effect_volcano.c: Volcano.battle_effect_vortices.c: Froth's bubbles that burst into whirling vortices, and Whirlwind's tornadoes.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 words to fit the canvas width.
debug/level.c: The debug room Increase item and level, whose actors raise the party's levels, give any item and show the game's icons and portraits.test.c: The debug room Menu test, whose actors each run a test of the menus, the shops or the bags when talked to.test_rows.c: An unused table that the Menu test room and the Test rooms both keep, included at its place in each.test_scenes.c: The debug rooms Test 0 to Test 7, all one room, where talking to Flint, Fizz, Forge or Gust gives that Djinni.
field/actor_placement.c: The party leader's actor placement, whichfdActorResetForLeadercopies before a scene places its own actors, and the script it gives the leader.actor_script.c: Actor scripts: the ones the field starts itself, and the command table.actor_script_operands.c: Script state values: the handlerSC_SET,SC_ADDandSC_CMPcall for each.actor_scripts.c: The actor scripts the field's commands start: walking off and turning to face a set way, the dust puffs, the emote bubble's pop and the movement typesfdActorSetMovementTypestarts by number; and, among them, the glyphs a message types before its speaker's first voice blip.actor_update_arm.c: Unused: an ARM copy of the actors' update, made to run from RAM.battle_background_rules.c: The battle background of each scene (fdBattleBackgroundSelectForMap).battle_music.c: The music a battle plays: the bosses, the guards of Crossbone Isle, the Colosso finals and the fights with Saturos have their own, and every other battle plays the usual battle music.encounter_zones.c: The 104 encounter zones, by zone number.facing.c: Which picture a sprite shows for the way it faces, and the small tables 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 and the order a sprite dissolves in.field.c: The field object: the code that draws and moves everything in towns, dungeons and the world map.field_actor_camera.c: The actor cameras, which place every actor's sprite each tick.field_actor_motion.c: Actor motion, each tick, and the first actor script commands.field_actors.c: The field's actors: the 64 slots and creating and releasing them, starting them on their scripts, setting their sprites' animations and looks, and dissolving sprites pixel by pixel.field_decompress.c: LZ decompression.field_effect_tables.c: A field Psynergy's cast colours, and two script tables of the field effects.field_engine.c: The field engine's object: random encounters, a field scene's actors, the leader's walking and the requests they raise,fdEngineRun, the scene's cues, using items and Psynergy on the field, the map's treasure spots, and the screen transitions and palette fade that the field and battles share.field_engine_actors.c: The party's sprites, placing a scene's actors, and the actor slots.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: raised ground in front of an actor hides the part of it behind, as a ledge in the Kalay Tunnel's treasure room hides Isaac's legs.field_engine_internal.h: What every part offield_engine.cshares: its includes and the macros and types more than one part uses.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 fade: palettes moved toward target colours.field_engine_psynergy.c: Using Psynergy on the field.field_engine_run.c: The field engine: running a scene until the party leaves it, and its entrance.field_engine_screen_transition.c: How a scene fades in and out: from or to black or the backdrop colour, through windows that open or close over the screen line by line, from or to the centre line, or by a dissolve, which no scene uses.field_engine_speakers.c: Speaker definitions: voices and Halted lines by sprite.field_engine_tables.c: The field engine's tables: the actor scripts its effects run, the colour curves of the palette tints, and the lookup tables of its transitions, speakers, weather and Psynergy.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 few names more than one part uses.field_map_grid.c: Layered maps: loading, drawing and scrolling, and copying metatiles.field_player_control.c: Player control: the configured keys and moving actors by the pad.field_script_commands.c: Actor script commands: waits, jumps, flags, moves and state values.field_sprite_animation.c: Sprites, their animations and the picture caches they draw from.field_sprite_draw.c: Drawing sprites: composing their animations and placing them 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: Ground heights, and the collision of metatiles and the world map.field_tile_animation.c: Timed map changes: the tileset animations that redraw a map's tiles in turn, the blend script that changes over time how its layers blend, and the palette cycles, which nothing starts.field_view.c: The screen shake, and two parts of the world map's view: its still image drawn from its tile maps, and its ground tilted away from the camera, worked out a screen line at a time.field_world_map.c: The world map: its perspective view, its tiles, and the still image of the view BG1 shows while a menu or script runs.lucky_dice.c: Lucky Dice, the dice game in Tolbi, drawn with the battles' 3D camera.lucky_wheels.c: Lucky Wheels, Tolbi's game of chance: the player bets game tickets on paylines, pulls the lever up to five times and locks wheels between pulls to line up matching symbols.map_grid_data.c: Map ground: the height curve of each metatile kind and the world map's battle environments.map_screen_markers.c: The map screen's markers (fdMapScreenShow).palette_scale.c: The fade of the Lucky Dice and Lucky Wheels screens, which darken and brighten by scaling their palettes; each game's object includes it.screen_transition_shapes.c: The window shapes ofWINDOW_TRANSITION_SHAPE, one for each step of its progress (fdScreenTransitionUpdateScanlineTable): a clock wipe, a wedge from the screen's centre (120, 80) that sweeps round from twelve o'clock, over the right half in the first 16 steps and the left half in the next 16.script_commands.c: The field Psynergy and script command object: the commands scripts run (waits, items, questions, destinations, actors, messages and the camera), moving on the field (views, jumps and climbing), the field's weather and line scrolls, Djinn joining the party, each field Psynergy, the field effect sprites its particles use, and the map screen.script_commands_actor_commands.c: Script commands on actors: placing, moving and animating them.script_commands_arcs.c: The golden rings that swell around a caster and rise up its body: each ring is two arcs ofSPRITE_GOLDEN_RINGS, its back half behind the caster and its front half, the same arc upside down, in front.script_commands_avoid.c: Avoid: the caster spins among falling arcs and flashes, and monsters attack less often until it wears off.script_commands_camera.c: The camera a script moves: following an actor, panning to a point kept inside the map, and waiting for it to arrive.script_commands_carry.c: Carry: two hands lift the target, move it with the d-pad and drop it.script_commands_catch.c: Catch: a hand reaches out from the caster, grabs what is ahead and takes it off the map.script_commands_climbing.c: Jumping and climbing on the field.script_commands_cloak.c: Cloak: the leader blinks into a dark outline and stays hidden while it walks on metatiles that allow it (METATILE_BEHAVIOR_CLOAK).script_commands_djinni.c: A Djinni's hop before its battle, a Djinni joining the party, and the field effect sprites the joining lights are drawn with.script_commands_douse.c: Douse: a rain cloud floats out over the target and rains on it, then shrinks back into the caster.script_commands_exit_animations.c: An actor's screen position, the encounter transition, and the leader leaving through an exit and arriving.script_commands_field_particles.c: Field effect sprites: the particles field Psynergy moves and draws.script_commands_field_psynergy.c: Running a field Psynergy by its kind, and helpers its kinds share.script_commands_field_psynergy_state.c: A field Psynergy's state: setting it up, its caster and target, cleaning up.script_commands_force.c: Force: a fist flies out from the caster and knocks what it hits back a metatile.script_commands_frost.c: Frost: snowflakes spiral in on the target, and a puddle freezes into an ice pillar.script_commands_ground_particles.c: The ground particles (rain) start and the floating motes' update.script_commands_growth.c: Growth: green sparks fly from the caster, and a sprout grows tall.script_commands_halt.c: Halt: a stopwatch flies out to the target, ticks and bursts into sparkles, and the target stands frozen, its colours flickering.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 the first of the Mars Djinni's functions, linked after it: its shrinking and its sparks.script_commands_lift.c: Lift: two hands grip the target and raise it, and Force's flashes and heavy impact, linked beside it.script_commands_line_scroll.c: The line scroll: per-line scroll offsets fed by HBlank DMA.script_commands_map_screen.c: The map screen R shows on the World Map: its area markers, the cursor and the name of the area nearest it.script_commands_mars.c: A Mars Djinni joining the party, and the first of the Venus Djinni's functions, linked after it: its shrinking, its falling motes and its rising particles.script_commands_mercury.c: A Mercury Djinni joining the party.script_commands_messages.c: The scene scripts' speech: a message window opened beside the actor who speaks, with the speaker's portrait, a yes-or-no question, two speakers at once, and the speaker's voice.script_commands_mind_read.c: Mind Read: scanline waves, shifting colours and flowing particles.script_commands_motes.c: Weather drawn in sprites on the field, and the storm's lightning: floating motes, rising sparkles, and the flashes of the palettes.script_commands_move.c: Move: a hand pushes the target, steered with the d-pad.script_commands_movement_types.c: Actor scripts: moving, turning and the built-in movement types.script_commands_ply.c: Ply cast in the field: eight winged figures spiral into one, which flashes, sheds sparks and flies off.script_commands_requests.c: Battles and destinations a script requests, and the queued sound.script_commands_retreat.c: Retreat, the caster spinning away in a spray of sparks, and the golden rings that fall round the caster of Avoid.script_commands_reveal.c: Reveal: the world turns grey but for a rippling window round the leader, which ends when the leader walks out of it or its time runs out.script_commands_scripts.c: Script commands: waits, received items, questions and destinations.script_commands_venus.c: A Venus Djinni joining the party.script_commands_view.c: The view bounds, zoom transitions and actors that ride another.script_commands_weather.c: The weather on the field: the rain splashing round the leader and the lightning of the storm over Vale.script_commands_whirlwind.c: Whirlwind: an orb flies from the caster and spins up a ring of leaves that blows its target away.sprite_color_tables.c: The colour tables of the sprite colour modes (SPR_COL_MODE) that remap a pixel's colour, 256 bytes each: five that swap a sprite's colour channels,SPRITE_COLOR_GRBtoSPRITE_COLOR_BRG(also used byfdSpritePictureCacheLoadfor variants 1 to 5), then the grey one and the blue, red and green tints.sprite_viewer_scale.c: Unused: the scale of the debug sprite viewer's ring of sprites, which nothing in the game opens (field_sprite_viewer.c).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 diagonals.world_map_encounter_rules.c: Where the World Map's random battles come from: each region of the map, and its forests, take their own encounter zone.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.world_map_resources.c: World map graphics: a palette and five tilesets for each of its two looks, the second the snowfield's (fdWorldMapLoadGraphics).
game/ability_table.c: The 519 abilities, by ability id: Psynergy, the party's and enemies' moves, item uses, Djinn and summons.character_table.c: The eight party members' growth curves, element bonuses, starting levels and starting equipment.class_table.c: The 203 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 and the power and resistance curve.enemy_table.c: The 165 enemies, by enemy id lessENEMY_ID_FIRST.experience_table.c: Each character's lighthouse group and the experience each 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: Element levels and classes.game_djinn.c: Djinn: definitions, setting and standby, and their counts.game_flags.c: The game flags: bits, bytes and nibbles.game_internal.h: What every part of the game object shares: its includes and the inventory helper two parts use.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: Equipping a given item, and the equipment put aside for the Colosso.game_units.c: The party's units and their stats, a new game, the prologue, HP and PP.item_table.c: Every item, by item id: its price, what it is and who can equip it, the Attack and Defense it adds, its unleash, what it does while worn, and the ability it is used for.main_routine.c: The main routine and scene changes: exits, returns from battle, entering.rare_item_stock.c: Which items the shops keep a stock of in their Artifacts, and where.starting_equipment.c: The characters a new game sets up with their starting equipment, class and level.summon_table.c: The 16 summons: the standby Djinn each one needs, and the order the summon menus list them in.
graphics/battle_effects/paths.c: The flight paths of two battle effects: Atalanta's as her shafts of light gather, and that of the flame Dragon Cloud sends from its user.
sprite/self_pointers_after_first_block.c: An unused array of the sprite module that points only at itself.self_pointers_after_second_block.c: Two unused arrays of the sprite module that each point only at themselves.
menu/credits.c: The credits at the end of the game: the staff names, drawn line by line into a ring of sprite tiles, scroll up over battle backgrounds that crossfade behind them.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 that the Colosso scenes open, and the pieces they share.menu_djinn.c: The Djinn menu: its screen, the Djinn list, help, and choosing the Djinn to set, put on standby, give or trade.menu_djinn_figures.c: DjinnFigures: the row of four figures the Status and Djinn menus show, placed by an event and eased in and out.menu_djinn_preview.c: Previewing a Djinn change before it is made, the chosen party member's status, and the checks that keep the party members' Djinn counts even.menu_icons.c: The stat and Djinn arrows and the Psynergy icons the menus load intoVRAMblocks.menu_internal.h: What every part of the menu object shares: its includes, and the macros and types more than one part uses.menu_item.c: The item menu: the field menu's Item screen, the command loop, the party member and item lists, and Use, Equip, Give, Drop, Remove and Details.menu_pattern_masks.c: The six row masksmnBuildPatternTilesXORs into the Psynergy range icons' tile pairs: colour 5 growing one pixel at a time from the centre outward.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 and the Start watch.menu_status.c: The party member chooser and the Status menu: its party member row, status page, Psynergy page and equipment page.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 menu tables: cursor bobbing, sort orders, highlight widths and resource ids.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 view rising up a peak towards the sun and its lens flare until the flash into the title picture and its "Press Start" prompt; the publisher's and Camelot's logos; and the palette fade the intro uses.
scene/shared/actor_depth.c: Tunnel Ruins and Venus Lighthouse: blocks the leader can stand beside, behind or on.actor_facing.c: Altin Peak, Bilibin, Imil, Kolima, McCoy's palace and garden, Sol Sanctum's Elemental Star room, and Vale's Kraden, Babi, home and rooms scenes: people who turn to keep someone in view.actor_find_at_metatile.c: Bilibin, its cave, Kalay and Sol Sanctum's entrance: who stands on a metatile.actor_find_at_position.c: Colosseum Final 1, 2 and 3, and Venus Lighthouse: who stands at a place.actor_heading.c: Kalay and Venus Lighthouse's aerie: people who look about.actor_wait_below_height.c: Goma Cave Entrance and Goma Cave, and the Lamakan Desert.actor_wait_until_landed.c: Babi Lighthouse and Venus Lighthouse.balance_heights.c: The balances of the Tunnel Ruins and Venus Lighthouse, two platforms that weigh what stands on them against each other.beacon_spark_script.c: The Mercury and Venus Lighthouse aeries: the sparks that circle the beacon's light.color_mode_cycle.c: Cottage Rooms B and the world map, where nothing reaches it.colosso_arena.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the end of the race, where Isaac and his opponent meet in the arena and fight.colosso_finish.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the end of the race at the arena, where each warrior walks up to a prize and holds it up.colosso_finish_scripts.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the warriors' scripts as each reaches his prize at the finish: he holds it up (scColossoRaisePrize) and holds a pose for two and a half seconds, both arms raised, then turns south.colosso_guide.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): what a stage's guide uses to describe the stage.colosso_hex_string.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): a number written as hexadecimal text, which nothing calls.colosso_item_icon.c: The three Colosseum finals matches, and three of Crossbone Isle Cave's side rooms (CrossboneIsleKeys,CrossboneIsleStatuesandCrossboneIsleBane): an actor drawn as an item's menu icon, such as the two prizes at a finals match's arena or the keys inCrossboneIsleKeys.colosso_lettering.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the large lettering a visit opens with,Lend a Hand!for the friends' turns, and for the raceThe 1st Match(or 2nd or 3rd), 3, 2, 1 andGO; andWINorLOSEonce the match's battle is over.colosso_lettering_scripts.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the scripts that move the lettering's title,GOandWIN(scColossoStartLettering).colosso_lettering_tables.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): where each lettering picture's palette starts, and the scripts that move the count (3, 2, 1) andLOSE(scColossoStartLettering).colosso_map_state.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): a helper for the race gauge that no scene calls.colosso_match_result.c: The sites of the first two Colosso finals matches (Colosseum Final 1 and 2): the arena after the battle.colosso_path_opponent.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the opponent who races Isaac by running a recorded path, and the race gauge that shows how near each of them is to the finish.colosso_prize_scripts.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the scripts of the raised prize and its sparkles (colosso_finish.c).colosso_push.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the rocks, weights and pillars on a stage that Isaac pushes, and finding what stands ahead of him.colosso_setup.c: Colosseum Final 1 and 3: setting up a race against the opponent, with the race gauge at the top of the screen and the opponent running a recorded path (colosso_path_opponent.c).colosso_solo.c: Where Isaac's friends cheer from, shared by the three Colosso finals matches (Colosseum Final 1, 2 and 3).colosso_state.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the state of the shared Colosso code, in the order each scene's memory lays it out.colosso_task.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): the large lettering a race starts with.colosso_tour.c: The sites of the three Colosso finals matches (Colosseum Final 1, 2 and 3): how the guide's tour begins and ends.field_effect_advance.c: Babi Lighthouse, Crossbone Isle, Tret's rooms, the Tunnel Ruins and Venus Lighthouse, and the main image's Carry (script_commands_whirlwind.c, withEFFECT_SPAWN_RESIDENT), whose landing ring of particles it moves.field_effect_create.c: Placing a still actor of a given sprite, shared by twenty-three scenes: a black, translucent mask in front of the backgrounds, which the scenes set where something sinks or drops out of sight (a pillar into the floor, Isaac through a hole), and an invisible actor sorted under the others.field_effect_duration_scripts.c: Twenty-four scenes: the three lifetimesfdEffectSpawn(field_effect_spawn.c) gives its effects throughFieldEffectDurationScripts.field_effect_radial.c: The Tunnel Ruins and Venus Lighthouse: the ring of dust a carved stone or a pillar raises as it lands on a stack.field_effect_spawn.c: Twenty-four scenes, and the main image's field Psynergy (script_commands_whirlwind.c, withEFFECT_SPAWN_RESIDENT):fdEffectSpawn, which places a small effect moving at a velocity, its script one ofFieldEffectDurationScriptsand its options chosen by the EFFECT_USE_ flags.field_effect_vertical.c: Vale and its home, storm and Babi scenes, Sol Sanctum's eruption, the World Map and Venus Lighthouse's aerie: the golden ring that rises around someone using Psynergy, as the main image'sscript_commands_arcs.cdraws it.floating_nut.c: Crossbone Isle, Kalay, Kolima Forest (SceneIdKolimaForestGlade), Lunpa, McCoy's palace garden, Mogall Forest and Vale: a Nut floating where it lies, until it is taken.floating_platform.c: Mercury and Venus Lighthouses' aeries.glint_twinkle_script.c: Mercury Lighthouse, its entrance and Venus Lighthouse: the glints that twinkle in rising water and spray.golden_ring.c: Vale and the World Map: the golden ring that rises around someone using Psynergy.hermes_water_bottle.c: The bottle of Hermes' Water: Mercury Lighthouse's fountain fills the Empty Bottle, and pouring it on Tret in Kolima Forest empties it again.ice_key_headings.c: Imil's ice: the way the leader turns while he slides on it, by the held directions.item_equip.c: Colosseum Final 1, 2 and 3, and Goma Cave Entrance: giving a character an item and putting it on.item_icon_grow_script.c: The Sanctum and Sol Sanctum's Elemental Star room: how an Elemental Star's icon appears.kalay_fallback_entrances.c: The entrances Kalay's scene files give for a scene they do not hold: one way in at (168, 168), facing south, with no camera bounds.kolima_blink.c: Kolima and Kolima Forest (SceneIdKolimaandSceneIdKolimaForestEntrance): the sparkling dust that falls when Tret's curse strikes.kolima_curse_dust.c: Kolima and Kolima Forest (SceneIdKolimaandSceneIdKolimaForestEntrance): the sparkling dust that falls over the party when Tret's curse strikes ("Watch out!kolima_grow.c: Kolima and Kolima Forest (SceneIdKolima,SceneIdKolimaForestEntranceandSceneIdKolimaForestTree): an effect that stretches as it travels.kolima_jump.c: Kolima Forest (SceneIdKolimaForestEntranceandSceneIdKolimaForestCliff): the hop east from the bank onto the log floating in the river (ACTOR_RIVER_LOG, which each scene names).kolima_palette.c: Kolima Forest, while Tret's curse lasts (FLAG_KOLIMA_CURSE_LIFTEDclear): the forest's colours turned redder and darker, and both sets of colours kept for the script where the curse lifts.kolima_sparkle_burst_script.c: Kolima and Kolima Forest: a falling sparkle of Tret's curse that strikes a Psynergy field over the party.kolima_squash.c: Kolima and Kolima Forest: the party quivers under Tret's curse as it falls, and is set back to its own size as each collapses.leader_hop.c: The leader's leap from stump to stump in Fuchin Falls Cave; Fuchin Temple keeps it for three hops nothing calls.leader_slide_on_ice.c: Imil's ice, in the town and in Imil Falls Cave: the leader slides across it a metatile at a time the way the pad points.leave_by_exit.c: Timber Rooms A (Suhalla) and Timber Rooms B and C (Lalivero).lemurian_ship_ripple.c: The Lemurian ship: the ripple of the water, a wave in each axis of the background's scrolling, changed line by line in the horizontal blank.log_ride.c: Fuchin Falls and Vale's cave: the logs that float the leader across a pool.map_grid_panel.c: Crossbone Isle Cave (SceneIdCrossboneIsleSteppingStonestoSceneIdCrossboneIsleDragonStatue) and Kolima Forest (SceneIdKolimaForestFloodgate): drawing a stretch of the layout, in one of the states kept elsewhere in it (such as the water raised or not), straight into the background's tile map.mercury_lighthouse_arrive.c: Mercury Lighthouse and its entrance: arriving on a floor through one of its sparkling passages.mercury_lighthouse_column.c: Mercury Lighthouse and its entrance, once Ply has been cast on the goddess: standing on the pool's heart (METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_HEART) gives the leader three lights, shown as a column of light over them.mercury_lighthouse_column_tables.c: The tables ofmercury_lighthouse_column.c, which Mercury Lighthouse and its entrance both hold.mercury_lighthouse_lights.c: Mercury Lighthouse and its entrance: the lights that carry the leader over the pools (mercury_lighthouse_column.c), made again when the party comes back from a battle.mercury_lighthouse_palette_cycle.c: Mercury Lighthouse and its entrance: the shimmer that runs up the pools' colours once Ply has been cast on the goddess (FLAG_MERCURY_LIGHTHOUSE_HEART_HONORED).mercury_lighthouse_sparks.c: Mercury Lighthouse and its entrance: the trail of sparks the leader leaves while passing between floors.mercury_lighthouse_waterfall.c: Mercury Lighthouse and its entrance: leaving a room by walking into one of its waterfalls.mind_read.c: Kolima and Log Rooms A: Mind Read cast in a script.position_distance.c: The distance between two actors, for the scenes where someone reacts to who is near: the Mercury and Venus Lighthouse aeries, Tolbi, Vault, Venus Lighthouse, Xian and every scene withpushed_actor.c.psynergy_rings.c: Vale in the storm and Venus Lighthouse's aerie: the golden ring that rises around someone using Psynergy in a script, with a sound each scene names (PSYNERGY_RINGS_SOUND).pushed_actor.c: Seventeen scenes with things the leader pushes (Altmiller Cave, Babi Lighthouse, Crossbone Isle and its rooms, Goma Cave's pillar room, Gondowan Cave, Kolima Forest (SceneIdKolimaForestEntrancetoSceneIdKolimaForestCliff), Lunpa's fortress, Mercury Lighthouse and its entrance, Mogall Forest, the Tunnel Ruins, Vale and its cave): things pushed a metatile at a time, such as stone pillars, and logs and other large things that roll until they meet something, redrawn into the map grid where they stop.pushed_actor_direction_steps.c: The metatile ahead of a pushed thing for each of sixteen headings, one metatile (16 pixels) along x or z, which every scene with pushed things holds.pushed_actor_fill_rectangle.c: The pushed-actor scenes (pushed_actor.c) and Venus Lighthouse's unused copy: a rectangle of metatiles given one metatile behavior.pushed_actor_push.c: The plain push of Altmiller Cave's fallen columns and Crossbone Isle's two logs on the grass.pushed_actor_tables.c: The tables ofpushed_actor.c, which every scene with pushed things holds: the metatile ahead for each of sixteen headings, and the six rectangles.scene_entrances_default.c: The entrances a cave or island scene file gives for a scene it does not hold: one way in at (120, 152), facing south, with no camera bounds.scene_entrances_mapless.c: The title and the File Screen, scenes that are no place (empty_map): one entrance at the map's corner, which nothing walks from.script_psynergy.c: Vale, its home, storm and Babi scenes, Sol Sanctum's eruption and Venus Lighthouse's aerie: Psynergy shown in a script.sol_sanctum_elemental_star_light_tables.c: Sol Sanctum's Elemental Star room and its eruption: each floating light's drift, swing, direction and pulse, by its index, assol_sanctum_elemental_star_lights.creads them.sol_sanctum_elemental_star_lights.c: Sol Sanctum's Elemental Star room and its eruption: the ten lights that float in the room, actors in a row from the first the map passes, each pulsing and drifting on its own path, read by its index from the tables ofsol_sanctum_elemental_star_light_tables.c:SolSanctumLightDrift,SolSanctumLightSwing,SolSanctumLightDirection,SolSanctumLightMaxScalesandSolSanctumLightScaleSteps.sol_sanctum_rumble.c: The initialization that two rooms of Sol Sanctum share,SceneIdSolSanctumMazeandSceneIdSolSanctumCorridor.sol_sanctum_star_metatiles.c: The Elemental Star room's pillars opening, nine steps of a 3-by-4 picture as each star's pillar rises; the eruption keeps a copy it never plays.sol_sanctum_star_room_entrances.c: The one way into the Elemental Star room, which its eruption keeps: the party comes down the stairs at its north side, facing south.squash_and_stretch.c: Tolbi's ship deck and Vale's storm: things that throb.stump_leap.c: The stump Move pushes off a ledge into the water, in Goma Cave Entrance and Goma Cave.tolbi_ship_rowing.c: The ship that sails from Kalay to Tolbi: how strongly each passenger rows, which its mast scene and the World Map's crossing both read.tremble_script.c: The trembling of Imil's freezing young man and of the Tolbi ship's lookout once the sea monster has landed beside him.vale.c: Vale's storm and Vale's homes: going indoors through a door.vault_bone.c: Vault's inn, before and after the thieves are caught: the Bone on the barrel beside the girl at the inn, who offers the party "leftover bones from dinner" for the dog in town.vault_djinn.c: Vault and its rooms: Ivan hands back Isaac's Djinni before he leaves the party.vault_door_exit.c: Vault, on both visits: Isaac walking in through a house's open door.vault_door_metatiles.c: Vault's doors opening, on both visits (one map): two ticks of map metatiles each, named for the room the door opens into (scVaultEnterGemOwnersHouseand the rest).vault_doors.c: Vault, before and after the thieves are caught: Isaac opening a door of the town and going in.vault_item_icon.c: Vault's inn, before and after the thieves are caught: an item lying in the room drawn as its menu icon (the Bone on the barrel, at (568, 16, 672)).vault_jail_door.c: Vault, before and after the thieves are caught: the jail's door.vault_leader_beside_bone_flag.c: Vault's inn, before and after the thieves are caught (log_rooms_a.candlog_rooms_b.c): whether the leader stands beside the Bone lying on the barrel next to the girl at the inn.vault_map_metatiles.c: Vault, before and after the thieves are caught: the Sanctum's double door in the cliff in the west of town, which opens in two ticks as the leader walks into it facing north.vault_nearby.c: Vault, before and after the thieves are caught: the two villagers who walk about together (ACTOR_BOY_ROUND_THE_WELLandACTOR_GIRL_ROUND_THE_WELL, as both scenes name them).vault_range.c: Vault, before and after the thieves are caught: villagers who walk about stop when someone is close in front of them.vault_talk.c: Vault and its interiors: a villager's thought read with Mind Read.vault_toggle.c: Vault's rope bridge, before and after the thieves are caught.vault_well_routes.c: Vault, on the first visit (vault.c) and once the party has reached Kalay (vault_revisit.c): the two children who walk round the well.
alpine_crossing_lama_temple.c: The Alpine Crossing (SceneIdAlpineCrossing) and Lama Temple (SceneIdLamaTemple), two places on Silk Road west of Xian that share this overlay.altin.c: Altin, the mining village north of the Alpine Crossing, in two scenes that share this overlay and the area name Altin: the village outdoors (SceneIdAltin), and its inn, shops and houses (SceneIdCottageRoomsD), a rooms map each in its own camera box.altin_peak.c: Altin Peak, the mine under Altin that the villagers and the Alpine Crossing's signpost call Altin Mine.altmiller_cave.c: Altmiller Cave, north of Tolbi, where the party finds Babi while all of Tolbi searches for him during Colosso (babi_palace.c).babi_lighthouse.c: Babi Lighthouse, the half-built tower north of Lalivero, and the road up to it.babi_palace.c: Babi's Palace in Tolbi, and the court before its door.battle_arena.c: The Battle Arena, the hall Isaac walks into when Battle is chosen on the File Screen with a save that has a Djinni.bilibin.c: Bilibin, the Bilibin Treasury and the Bilibin Barricade, three scenes that share one overlay; the getters pick each scene's tables byMainRoutineStateWork.next.bilibin_cave.c: The Bilibin Cave Entrance and Bilibin Cave are two areas between Bilibin and Imil that share this overlay.colosseum_azart_match.c: Colosseum Final 1 (SceneIdColosseumAzartMatch) is the site of the first finals match, where Isaac races Azart through four stages to the arena and fights him there.colosseum_entrance.c: Tolbi's colosseum, where Colosso is fought, in three scenes.colosseum_navampa_match.c: Colosseum Final 3 (SceneIdColosseumNavampaMatch) is the site of the last finals match, where Isaac races Navampa of Gondowan through six stages to the arena and fights him there.colosseum_satrage_match.c: Colosseum Final 2 (SceneIdColosseumSatrageMatch) is the site of the second finals match, where Isaac races Satrage through five stages to the arena and fights him there.cottage_rooms_a.c: Cottage rooms A (SceneIdCottageRoomsA) is a rooms map drawn as cottages.cottage_rooms_b.c: Cottage rooms B (SceneIdCottageRoomsB) holds the insides of Vale's wooden houses: Isaac's home, Vale's inn, the forge and Kraden's study, and one room of Babi's Palace in Tolbi drawn in the same style.cottage_rooms_c.c: Cottage rooms C (SceneIdCottageRoomsC) is a rooms map drawn as cottages, all of them inside Bilibin's buildings, whose area name is Bilibin.crossbone_isle.c: Crossbone Isle, the island of puzzles off the coast that the party can reach from the World Map, and the cave beneath it that winds down nine floors to Deadbeard's Pirate Ship.crossbone_isle_keys.c: Three of the side rooms of Crossbone Isle Cave, the cave beneath Crossbone Isle, with four chests each.crossbone_isle_stepping_stones.c: Five of the side rooms of Crossbone Isle Cave, the cave beneath Crossbone Isle.file_screen.c: The File Screen overlay, the first screen after the title.fuchin_temple.c: Fuchin Temple's grounds, and the rooms map that shares its overlay.goma_cave_entrance.c: Goma Cave Entrance (SceneIdGomaCaveEntrance), the foot of the cliffs in the Goma Range between Vault and Bilibin, where Ivan joins the party.goma_cave_pillar.c: Goma Cave (SceneIdGomaCavePillar), the middle floor of the cave in the Goma Range that the party passes through between Vault and Bilibin.goma_cave_pond.c: Goma Cave (SceneIdGomaCavePond), the room below the room of two pillars and a stump, in the cave in the Goma Range that the mayor of Vault tells the party to pass through on the way to Bilibin.goma_cave_stream.c: The first and last rooms of Goma Cave, the cave in the Goma Range between Vault and Bilibin:SceneIdGomaCaveStreamandSceneIdGomaCaveBridge, both under the area name Goma Cave.gondowan_cave.c: Gondowan Passage and Gondowan Cave, south and south-east of Tolbi.hammet_palace.c: Hammet Palace (SceneIdHammetPalace), the rooms of Lord Hammet's palace in Kalay.imil.c: Imil, the snowbound village north of the Goma Range, near the lighthouse that long ago held the Water of Hermes, and its houses and Sanctum.imil_fuchin_falls.c: Imil Falls Cave, the little cave behind Imil's frozen falls, and Fuchin Falls Cave, the grotto behind the waterfall at Fuchin Temple where Master Nyunpa sends the party for its test.kalay.c: Kalay, the merchants' town Lord Hammet founded, the front of his palace, and the tunnel beneath them: four places in six scenes.kalay_tolbi_docks.c: Kalay Docks and Tolbi Docks, the two ends of the ship's crossing of the Karagol Sea, and the cottage at each (SceneIdKalayDocks,SceneIdTolbiDocksandSceneIdCottageRoomsE, the rooms map that holds both cottages' rooms).kolima.c: Kolima's overlay, which holds three scenes.kolima_forest_cliff.c: Kolima Forest (SceneIdKolimaForestCliff), the third of the forest's five scenes, betweenSceneIdKolimaForestGladeandSceneIdKolimaForestFloodgate.kolima_forest_entrance.c: Kolima Forest (SceneIdKolimaForestEntrance), the first of the forest's five scenes, entered from the World Map (KOLIMA_FOREST_ENTRANCE_WORLD_MAP).kolima_forest_floodgate.c: Kolima Forest's pool above the floodgate (SceneIdKolimaForestFloodgate), the fourth of the forest's five scenes.kolima_forest_glade.c: Kolima Forest (SceneIdKolimaForestGlade), the second of the forest's five scenes, on the party's way to Tret betweenSceneIdKolimaForestEntranceandSceneIdKolimaForestCliff.kolima_forest_tree.c: Kolima Forest (SceneIdKolimaForestTree), the last of the forest's five scenes, where Tret and Laurel, the spirits of the holy trees, stand.lacquer_rooms_b.c: The insides of Xian (SceneIdLacquerRoomsB): its houses, its inn and its shop, red lacquered rooms laid side by side on one rooms map, and the small bedroom behind Master Feh's school.lalivero.c: Lalivero (SceneIdLalivero), the walled desert town by Babi Lighthouse, with a gate in its north and south walls and a stone obelisk in a pool at its middle.lamakan_desert.c: Lamakan Desert, south of Lama Temple: four scenes that share one cue table, built around a heat gauge and the secrets Reveal uncovers.lemurian_ship.c: The gangway out over the sea behind the shack in the north-west of Lalivero, where the Lemurian ship lies sunk (SceneIdLemurianShip, the area name Lemurian ship), and the game's last scene.log_rooms_a.c: Log rooms A (SceneIdLogRoomsA), a rooms map drawn in logs, holds only Vault's rooms while Hammet's Shaman's Rod is missing and just after it is found: the insides of the town's houses, shops and inn, the inn's attic and its loft.log_rooms_b.c: Log rooms B (SceneIdLogRoomsB), a rooms map drawn in logs, holds only Vault's rooms: the town's houses, shops and inn once the party has reached Kalay.log_rooms_c.c: Log rooms C (SceneIdLogRoomsC), a rooms map drawn in logs, holds only Kolima's rooms: the village's houses, shops and inn.lunpa.c: Lunpa, the town the righteous thief Lunpa founded, and the Lunpa Fortress Gates above it.lunpa_fortress.c: Lunpa Fortress, the stronghold of the thief Dodonpa at the top of Lunpa, where he holds Hammet, the great merchant of Kalay, for ransom; and the cave and the cells under it, where Hammet is kept.mccoy_palace.c: McCoy's Palace in Bilibin, the home of the town's chief.mccoy_palace_grounds.c: The grounds of McCoy's Palace, at the top of Bilibin.mercury_lighthouse.c: Mercury Lighthouse, the lighthouse of water north of Imil that Mia and the Mercury Clan guard: the ground outside its door (SceneIdMercuryLighthouseExterior) and three of its upper scenes (SceneIdMercuryLighthouseLower,SceneIdMercuryLighthouseMiddleandSceneIdMercuryLighthouseUpper).mercury_lighthouse_aerie.c: Lighthouse Aerie (SceneIdMercuryLighthouseAerie), the top of Mercury Lighthouse, where its beacon burns.mercury_lighthouse_entrance.c: Mercury Lighthouse (SceneIdMercuryLighthouseEntrance), the lighthouse's ground floor inside its door, which leads up to its floors (mercury_lighthouse.c).mogall_forest.c: Mogall Forest (SceneIdMogallForestSigntoSceneIdMogallForestSidePaths), the endless woods between Fuchin Temple and Xian.rock_rooms.c: The rooms inside Lunpa's buildings, and the house beside Suhalla Gate (SceneIdRockRooms).sanctum.c: The Sanctum, the room of the Healers that Vale, Vault, Bilibin, Xian and Altin each have (SceneIdSanctum).ship_rooms.c: Ship rooms (SceneIdShipRooms): the rooms below the decks of the Tolbi-bound ship, on its voyage across the Karagol Sea from Kalay to Tolbi.sol_sanctum_corridor.c: Sol Sanctum (SceneIdSolSanctumCorridor), a passage that joins two rooms ofSceneIdSolSanctumReliefs(sol_sanctum_entrance.c).sol_sanctum_elemental_star_room.c: Elemental Star Room (SceneIdSolSanctumElementalStarRoom), the heart of Sol Sanctum, reached through the portal in the Luna and Sol rooms (SceneIdSolSanctumLunaSolRooms).sol_sanctum_entrance.c: The way into Sol Sanctum: the mountainside before its door, and the first rooms inside, where Isaac, Garet and Jenna follow Kraden on the morning the story begins.sol_sanctum_eruption.c: Elemental Star Room (SceneIdSolSanctumEruption), the chamber ofSceneIdSolSanctumElementalStarRoom(sol_sanctum_elemental_star_room.c) as it collapses once the Mars Star is taken.sol_sanctum_luna_sol_rooms.c: Sol Sanctum (SceneIdSolSanctumLunaSolRooms), the room of Sol and the room of Luna at the heart of the sanctum.sol_sanctum_maze.c: Sol Sanctum (SceneIdSolSanctumMaze), the room that holds the second Small Jewel.sol_sanctum_psynergy_stone.c: Sol Sanctum (SceneIdSolSanctumPsynergyStone), a room off the statue room (SceneIdSolSanctumStatue) that holds a Psynergy Stone.sol_sanctum_statue.c: Sol Sanctum (SceneIdSolSanctumStatue), the room of what Kraden calls the statue puzzle, off the Luna and Sol rooms (SceneIdSolSanctumLunaSolRooms) and leading on to a room with a Psynergy Stone (SceneIdSolSanctumPsynergyStone).stone_rooms.c: Stone rooms (SceneIdStoneRooms), a rooms map drawn in stone.stucco_rooms_a.c: Stucco rooms A (SceneIdStuccoRoomsA) is a rooms map drawn in stucco holding every house of Kalay and its inn, each entered by its own door in the town (kalay.c) and left by the exit of the same name.stucco_rooms_b.c: Stucco rooms B (SceneIdStuccoRoomsB) is a rooms map drawn in stucco holding Tolbi's houses, its weapon and armor shop, its inn and the Tolbi Sanctum, each entered by its own door in the town (tolbi.c) and left by the exit of the same name.suhalla.c: Suhalla, the desert village of Gondowan at the edge of the Suhalla Desert.suhalla_desert.c: Suhalla Desert, the desert of sandstorms between Suhalla and Suhalla Gate, which the party crosses with Iodem after Babi's audience while Sheba is missing in it.suhalla_gate.c: Suhalla Gate and Gateway Cave, the rocky pass Babi's soldiers guard on the way from the Suhalla Desert to Lalivero and Venus Lighthouse.timber_rooms_a.c: The insides of Suhalla's buildings, rooms of timber walls and woven floors laid side by side on one map (SceneIdTimberRoomsA).timber_rooms_bc.c: Lalivero's rooms are two rooms maps drawn in timber in one overlay, Timber rooms B and C.title.c: The Title (SceneIdTitle): the screens between scenes that are not on a map, chosen by entrance.tolbi.c: Tolbi, the town Babi rules, where Colosso, a festival of warriors, is held each year in the colosseum.tolbi_games.c: Tolbi's three games of chance, which the party can play whenever it is in town: Lucky Dice, Lucky Wheels and Tolbi Spring.tolbi_ship_deck.c: Tolbi-bound Ship (SceneIdTolbiShipDeck), its deck: the ship that carries the party and a tour group bound for Colosso across the Karagol Sea from Kalay to Tolbi.tolbi_ship_mast.c: Tolbi-bound Ship (SceneIdTolbiShipMast) is the top of the ship's mast, where the ship's lookout (ACTOR_LOOKOUT) keeps watch.tree_rooms.c: Tret Tree's rooms (SceneIdTreeRooms): the hollow inside of Tret, the holy tree of Kolima Forest, where the party come to face his wrathful side.tret_tree_branch.c: Tret Tree's branches (SceneIdTretTreeBranch): the outside of Tret, the holy tree of Kolima Forest, high up under open sky, with clouds drifting past above and the green of the forest far below (places/tret-tree-branch/map-0.png).tunnel_ruins.c: The Tunnel Ruins run from the basement of Babi Lighthouse in Lalivero to the upper floors of Venus Lighthouse: the way on after the lighthouse's own base ends in a dead end.vale.c: Vale by day (SceneIdVale), Isaac's village at the foot of Mt.vale_cave.c: Vale Cave, the optional cave above Vale where Kite, a Jupiter Djinni, hides.vale_eruption.c: Vale (SceneIdValeEruption) while Mt.vale_kradens_cottage.c: Vale (SceneIdValeKradensCottage) is the part of the village around Kraden's cottage, by the fence that closes off the lands beyond.vale_plaza.c: Vale (SceneIdValePlaza): the part of the village with the Psynergy Stone and the town gate, Vale's way out to the world.vale_prologue.c: Vale on the stormy night (SceneIdValePrologue), the prologue, when Isaac and Garet are children.vault.c: Vault (SceneIdVault), "the town at the heart of Angara", as the party first finds it after Mt.vault_cave.c: Vault Cave, the optional cave under Vault that the party can explore once it comes back to the town (SceneIdVaultRevisit), with the Vambrace in a chest and Sap, the Venus Djinni, waiting outside its far end.vault_revisit.c: Vault (SceneIdVaultRevisit), the town once the party has reached Kalay.venus_lighthouse.c: Venus Lighthouse, six scenes in one overlay: the approach outside, the floor the front door opens onto, and the four floors of the climb that ends in the Lighthouse Aerie at the top (venus_lighthouse_aerie.c).venus_lighthouse_aerie.c: Lighthouse Aerie (SceneIdVenusLighthouseAerie), the top of Venus Lighthouse and the only scene of this overlay.west_lunpa_cave.c: West Lunpa Cave (SceneIdWestLunpaCave, area name West Lunpa Cave), the cave between the World Map and Lunpa, with a gate across it, where the party meets Bunza on the way out of Lunpa with Hammet.world_map.c: The World Map (SceneIdWorldMap), the one perspective map (map/world) that joins the areas, and the only scene of this overlay.xian.c:SceneIdXian, the village of Xian.
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 shop's quantity bar and price sprites, the field's colours tinted and restored (the Sanctum's healing, a Djinni joining the party), and the hand cursor's glides.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, the shop actions and sanctum services, and the values that differ by edition.shop_item_picker.c: The item picker: which party member's item to drop when every pack is full.shop_repair.c: Repairing broken items.shop_run.c: Running a shop, its cursor state, and the message helpers every counter uses.shop_sanctum.c: A Sanctum: its healer's services, their donations, and the burst of sparkles as one is given.shop_sell.c: Selling: choosing a party member, the item grid and the sale.shop_stock.c: The Game Ticket counter, the gift items 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 sanctum's tunes and the inns' prices.
sound/sound.c: The game's own sound code over the sound driver:sySoundPlay, which takes every sound number, the music's volume and tempo ramps, the music's return after a jingle, and a sound test nothing in the game names.
system/bupdata.c: The save signature and sector header template, and link test data nothing reads.math_table.c: Trigonometry tables: a quarter-wave sine, tangents and the quadrants' sines.number_text.c: The digit characters and place values numbers are 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.sprite_metadata.c: Finding a sprite animation's metadata row.system.c: The system library's object: what every other part of the game stands on.system_bup.c: Saving: flash sectors, parts and the save state.system_debug_text.c: Number text, the debug text screen and the window graphics.system_decompress.c: Resource decoding and pixel buffer shading, through RAM copies of ARM code.system_event.c: Events: per-tick and VBlank functions in priority order.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 and the one call into the compiler's library that two parts make.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, depth slots and the OAM build.system_screen_fade.c: Screen fades through the blend registers: the screen brightens toward white or darkens toward black, BLDY running from 0, the picture as drawn, toFADE_LEVEL_MAX, all white or all black, one step each VBlank.system_serial.c: The link cable: payload exchange, block transfers and the link test.system_start_up.csystem_vram_cache.c: The spriteVRAMcache: blocks, entries and loading pictures.
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.expand_nibble_table.c: The colour mapmnGraphicsExpandVRAMTilesByColorTabledraws the UI's digits through, and the link battle timer's heading.file_list_sprites.c: The four Djinn sprites the File Screen shows in a row.fixed_tile_blocks.c: The window sprites' fixed tile blocks.glyph_arm.c: The text canvas renderer, which runs as ARM code from a copy in RAM:mnGlyphDrawcopies it into RAM for each call (RAM_CODE_LOAD), into IWRAM when the copy fits: its 32-bit bus fetches an ARM instruction in one read, where the cartridge's 16-bit bus takes two.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, by item id, in the German and Italian releases (ITEM_GENDER), which picks the possessive a message writes before the item.message_speed.c: The message speed tables, indexed by the player's message speed setting (MainRoutineStateWork.msgSpeed,MESSAGE_SPEED).scales.c: Sprite scales, motion curves and lookup tables of the window and menu code.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, and the window sprites' motions.screens.c: The menu object of the window module: the screens built on the window system (window.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: Collecting the party's battle commands.screens_battle_psynergy_menu.c: The battle Psynergy menu.screens_battle_status.c: The battle's Status screen, which the Status command opens.screens_battle_summon_menu.c: The battle summon menu.screens_battle_targets.c: Choosing a battle target.screens_debug.c: The debug menus (scenes, flags, icon browsers) and the Pause menu's choices.screens_icon_menu.c: The command icon menus of the field, title and transfer screens.screens_internal.h: What every part of the menu object shares: its includes, edition values, macros and the link turn state.screens_joined.c: The Colosso choice and the joined-party messages.screens_link_timer.c: The link battle timer and the no-flee check.screens_menu_titles.c: The pictures the menus show: the headings and command icons, with their bob and pulse, the range icons of the battle lists, the page arrows, icons and portraits loaded into theVRAMcache, the link battle timer's window, and the battle command row's icons on BG1 with its priority.screens_name_entry.c: The name entry screen.screens_party_status.c: The party status window.screens_save.c: Saving, loading, copying and erasing the three save files, and the file list the player picks one from: for the file under the cursor, its summary, its party and its Djinn, in that file's own window colours.screens_window_sprites.c: The sprites that sit on windows: item, Psynergy and command icons and the speakers' portraits beside their messages.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 UI windows drawn into a shared BG tilemap, the messages that type text into them, the message decoder and the formatting behind it, the sprites (window sprites) that windows carry, icons, the selection screen and the option and pause menus.window_borders.c: Window zoom and borders, and opening and waiting on message windows.window_decode.c: The message decoder: articles, names and numbers written out.window_glyphs.c: Characters rendered into tiles, string widths and number formatting.window_icons.c: Item, Psynergy and command icons.window_internal.h: What every part of the window object shares: its includes, edition values, macros and the codes of decoded text.window_measure.c: Sizing windows to their text and fitting them on the screen.window_messages.c: Message strings and arguments, symbol decoding and portrait windows.window_selection.c: The selection screen: a row of icons along the bottom of the screen with the name of the one under the cursor in a window above it, arrows at its ends when the list runs past them, the icons already chosen gathered at the top left, and in battle the spinning cursor over the target.window_settings_menu.c: Window colours, the settings menu and the Pause menu.window_shortcuts.c: The area name shown on entering an area, the debug Psynergy shortcut picker and the unused selection state.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, and the per-tick sprite update.window_text_tiles.c: Text drawn as tiles, text tile ownership and divider lines.window_typing.c: The per-tick message update: typing text and running its control codes.window_windows.c: The window sprite pool, opening and closing windows, starting messages.
include/battle/ability_staging.h: How each ability is staged in battle: the staging and effect tables (ability_staging.c) and the values ofBATTLE_ACTION_RUN.staging and battleEffect.battle.h: The battle module's functions and globals, as the other modules see them: its tables, types and constants, then its functions, grouped by the part ofbattle.cthat holds them.battle_action.h: A battle's battle objects and sprites, each unit's command and action, and the spoils.battle_action_run.h:BATTLE_ACTION_RUN, an action planned for its targets: the hits, criticals and multipliers rolled.battle_actor.h:BATTLE_ACTOR, the view ofACTORone battle function gives a unit its sprites through.battle_camera.h: The battle camera, its view state and the battle background's affine state, and the stack state an action's staging keeps for its battle effect.battle_effect_params.h:BATTLE_EFFECT_PARM, the command an effect's caller, dispatcher and handlers share, and the macros that define effect kinds.battle_effect_state.h:BATTLE_EFFECT_STATE, the running battle effect's state, and its sprites.battle_random.h:BattleRandomSeed, the battle's random seed.battle_side.h: Which units are in a battle, and the Djinn recovery list.battle_sprites.h: Summons and the battle sprite definitions of the enemies.battle_state.h:BATTLE_STATE, the battle's own state, and the battle message window's state.battle_unit.h: Unit, a party member's or enemy's battle state, with the elements, abilities and actions it uses.blitter.h: How battle effects draw a picture onto their canvas: the blitterbtEffectBuildBlitterbuilds, the edges it clips at, how it mirrors and how its pixels combine with the canvas's.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 playback queue: the commandsbtPlaybackPushqueues and the playback phases that play them.range_falloff.h: The battle calculation tables: hit chances, HP and PP damage and recovery.stubs.h: The battle module's stub calls: running a battle, its camera and background, and how its units move.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: the effect kinds an ability plays, and the runners in src/battle_effect/ that draw them over the battle, part by part.battle_effect_ids.h: The kinds of battle effect, byAbilityBattleEffects' low twelve bits: the large effectsbtEffectRunSummonruns, and the effects the table of handlers plays.battle_effect_table.h: The tables the battle effects read (battle_effect_table.c), in its order: picture offsets, sizes, timings and counts by variant.blitter_operands.h: The ARM operands for powers of two that the blitter builder adds to its templates (blitter_operands.c).stubs.h: The battle effects module's stub calls: the Psynergy, summon and element effects a battle plays.
debug/debug.h: What the debug rooms and windows share: the main-image headers their menus call into, the palette editor's swatch tiles, and the browsers' steps.
field/actor.h: Actors, the actor snapshot, and the screen transition styles.actor_script.h: Actor scripts: one Sint32 command word, then its operands, asActorScriptCommandTableruns them.actor_update_arm.h: The unused ARM copy of the actors' update (actor_update_arm.c), andACTOR_ARM_VIEW,ACTORas GCC 2.95.2 reads it.curve.h: The step counts, value shift, and per-pixel tables of the terrain height curves (terrain_tables.c).emote.h: What an actor shows over it: the bubbles offdActorShowEmoteByIdand the effectsfdEffectSetAttachedattaches.encounter_zone.h: The encounter zones.engine_stubs.h: The field engine module's stub calls: the commands scripts are written in (actors, messages, camera, destinations), field Psynergy, weather and the field's effects.facing.h: The constant tables offacing.c: which picture of an animation an actor shows for each way it faces, and beside them the sprite dissolve's pixel order, the fixed camera's matrix, a floating actor's bob, the actor scripts' end script and the World Map camera's lean for the direction pad.field.h: The field engine's shared functions, globals and actor scripts.field_blend.h:FIELD_BLEND_STATE, the field's colour blend state.field_coordinate.h:FIELD_COORDINATE, a position on the field.field_effect.h: Field effects, their scripts and the flags that spawn them.field_effect_scripts.h: The actor scripts field effects give their particles and fragments.field_engine.h: What the field engine's object (field_engine.c) defines for the code outside it: encounters, the field's actors, the leader's walking, the scene's cues, treasure spots, screen transitions and the palette fade.field_engine_functions.h: The field-engine module's functions, declared in the order of its stub table.field_engine_script.h: The field engine's script functions (field_engine_items.c,script_commands_field_psynergy.c,script_commands_scripts.candscript_commands_messages.c).field_functions.h: The field module's functions, declared in the order of its stub table, without the tables and typesfield.hbrings in.field_particle.h: The particles field Psynergy moves and draws, each with a sprite of its own.field_psynergy_state.h:FIELD_EFFECT_STATE, the state of a field Psynergy.field_state.h:FIELD_STATE, the running scene's state, with its treasure spots and the raised cues the field engine handles itself.ground_mask.h: The ground mask, which hides the parts of an actor that raised ground in front of it should cover.lucky_dice.h: Lucky Dice, the dice game in Tolbi (lucky_dice.c), and the small fixed-point helpers it keeps for its 3D camera.lucky_dice_stubs.h: Lucky Dice's entry point.lucky_wheels.h: Lucky Wheels, Tolbi's game of chance (lucky_wheels.c), and the unused LZ packer kept beside it.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 Lucky Wheels entry point.map_grid.h: Map grids: their metatiles, layers, animations and blend scripts, and the map grid state.particle.h: Particle andSCREEN_POINT, the positions animations move through.perspective.h: The world map's perspective view state.scene_tables.h: The scene table formats: entrances, exits, actor placements and cues, and the macros that write them.screen_transition.h: What the field engine's parts share with the files that define their tables: the item-display and Reveal scripts, the palette fade's colour curves, and the screen transitions' shapes, tables and window values.script.h: The calls scripts are written in: the constants and small inlines a scene's scripts share, over the main-image functions they call by those functions' own names (fdScriptStart,fdActorJump,fdScriptSetMessageIdand the rest), whose declarations it includes.script_commands.h: Whatscript_commands.cdeclares for the files that use it: the commands scripts run, moving on the field, weather and line scrolls, Djinn joining the party, each field Psynergy and its effects, and the map screen.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: The speaker lookup's view of an actor's sprite, the speaker definitions, and the palette fade's heap slot.sprite.h: Animated sprites: their layers, pictures and colour modes, and the resource slots they draw from.stubs.h: The field module's stub calls: actors and their sprites, movement, and the map and world map.weather.h: The ground particles, motes of light and sparkles that the weather state holds.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, and the Djinn battles' formations.
game/character.h: The definitions of characters, classes, Djinn and enemies, and a level up's result.character_ids.h: Character numbers, with each character's Japanese name, and the portraits.game.h: The game's rules and the tables they read: items, summons, abilities, Djinn, classes, elements, enemies, the game flags and the shops' rare item stock.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 (src/game/stubs.s).inventory.h:OverflowItem, an item slot the spoils code uses when items are handed out.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 main routine's state: the transition data the main routine reads between engines and the state every engine shares, which a save file keeps.stubs.h: Party members, items, Djinn and game-state operations.system_call.h: The system call layer: an inline for each of the thirteen main-image functions below that the scene, menu and debug overlays import, which every overlay call of them goes through.
graphics/display_transition.h: The state of a scene change's screen transition: the window edges a window transition draws line by line, the tile a dissolve fills dot by dot, and the two lines between which the centre-line transition blanks the screen.glyph.h: The text font's characters, and the buffers and shared palette through which the icons beside text (commands, items, Psynergy, status) are drawn.graphics.h: What the graphics module holds for the rest of the game: fonts, icons, cursors, the name entry keyboards, the transitions' tables and the ARM functions that decode and draw pictures.palette_buffers.h: Palette fades: the colours a fade moves from and to, and the tints (grey, sepia, dusk and the rest) a scene or the title intro builds a target from.palette_cycles.h: Palette cycles: runs of background colours rotated one place every few ticks.render_placement.h: A sprite's screen position and scale.
menu/djinn_menu.h: The Djinn menu: its list tables, backdrop and state, and the fields of a Djinni's list entry.menu.h: The menus: the field menu's Item, Psynergy, Status and Djinn screens, the title and the credits, with the tables, strings and pictures they share.paged_list.h:PAGED_LIST, what a menu returns.stubs.h: The menu, title and credits modules' stub calls: the Item, Psynergy, Djinn and Status screens, the party member chooser, the title, the logos and the staff credits.
scene/actor_polar_target.h: Vale's Psynergy sparkles and the main image's field Psynergy (script_commands_field_psynergy.c), each with its own move-target function.actor_step.h: One step from an actor, for the scenes whose statues and pillars are pushed (Bilibin, its cave, Kalay, Sol Sanctum's entrance, the Vault's cave, Venus Lighthouse) and those ofpushed_actor.c.catch_nut.h: The Nuts floating in Vale, Kolima Forest, Mogall Forest, Kalay, Crossbone Isle, Lunpa and McCoy's Palace.colosso_gauge.h: The Colosso race gauge's sprites and state.colosso_guide.h: What a stage's guide in the three Colosso finals matches shows (shared/colosso_guide.c): Isaac fading in on the stage to show the way across, and the blinking pointer that glides over the screen.colosso_lettering.h: The large lettering of the three Colosso finals matches (shared/colosso_lettering.c).colosso_push.h: The rocks, weights and stone pillars Isaac pushes on the stages of the three Colosso finals matches (shared/colosso_push.c).colosso_setup.h: The race at the end of each Colosso finals match (shared/colosso_setup.c): the gauge at the top of the screen, and the opponent running a recorded path to the prize.colosso_solo.h: Lending a hand in the three Colosso finals matches (shared/colosso_solo.c): Garet, Ivan or Mia looks round the stages alone, and the stages' guides offer them a place to cheer from.field_effect_spawn.h: The small effects twenty-four scenes scatter, each moving at its own velocity, growing and spinning (shared/field_effect_spawn.c).floating_nut.h: A Nut floating where it lies until it is taken, in Vale, Kolima Forest, Mogall Forest, Kalay, Crossbone Isle, Lunpa and McCoy's palace garden (shared/floating_nut.c).frost_glint.h: Altin Peak's frozen puddle and the main image's Frost (script_commands_frost.c), each with its own colour-mode function.golden_ring.h: The particles that rise round a glowing actor, in Vale and on the World Map (shared/golden_ring.c).goma_cave.h: What the scenes of Goma Cave share: the stump that leaps out of the way at the Goma Cave Entrance (goma_cave_entrance.c) and in the cave's first room (goma_cave_stream.c), and the area flags of the room of two pillars and a stump (goma_cave_pillar.c) and the room below it (goma_cave_pond.c).import.h: The main-image headers that declare the functions scene overlays import, for the overlays that call them outsidescript.h.kalay.h: What Kalay (kalay.c), whose scripts set it, and Lord Hammet's palace (hammet_palace.c), where Layana answers it, share.kolima.h: What Kolima's two scenes of the falling curse share: the curse dust, the party's Psynergy fields, and the scripts of both (kolima.candkolima_forest_entrance.c).kolima_curse_dust.h: The dust of Tret's curse that falls about the party in Kolima and at Kolima Forest's entrance (shared/kolima_curse_dust.c).kolima_palette.h: Kolima Forest's colours under Tret's curse, redder and darker, and the healthy ones kept for when the curse lifts (shared/kolima_palette.c).log_rooms_a.h: The metatile behaviors of the layout of Vault's houses, shops and inn, whichSceneIdLogRoomsA(log_rooms_a.c) andSceneIdLogRoomsB(log_rooms_b.c) both answer, and the stock and inn numbers their counters open.mercury_lighthouse.h: Includesscript.hwithFIELD_STAGED_ACTOR_IMPORTSdefined, so a scene that includes this before any other header (mercury_lighthouse.c) gets the pushed actor imports.mercury_lighthouse_column.h: The scripts of the pool's metatiles in Mercury Lighthouse and its entrance (shared/mercury_lighthouse_column.c).mercury_lighthouse_lights.h: The lights the pool of Mercury Lighthouse and its entrance give the leader, which hold him up as he hops across the water (shared/mercury_lighthouse_lights.cand shared/mercury_lighthouse_column.c).orbit.h: A floating Nut's actor and sprite asscFloatNut(shared/floating_nut.c) sees them:ACTORand SPR with the actor's fields it borrows to keep the spot the Nut sways round and how far through the sway it is, and the sprite's attribute bits it sets one by one.party_nod.h: The whole party nodding at once, as Kolima's and Kolima Forest's scripts have Isaac, Garet, Mia and Ivan agree together.pushed_actor.h: The pushed actors' movement probes and rectangles.script_psynergy.h: Psynergy shown in a script, as Vale's villager shows it: "Behold, the power of Psynergy!" (shared/script_psynergy.c).sleep_z.h: The letters Z that drift up from a sleeper, Garet's grandfather in Vale and Isaac after the last Colosso match, each scene moving its own.sol_sanctum_elemental_star_lights.h: The lights that float in Sol Sanctum's Elemental Star room, before and during the eruption (shared/sol_sanctum_elemental_star_lights.c).sparkle_warp.h: The warp in a column of sparkles by which Saturos and Alex leave and arrive on Mercury Lighthouse's aerie (mercury_lighthouse_aerie.c), and by which Alex arrives in Sol Sanctum's Elemental Star room (sol_sanctum_elemental_star_room.c).squash_and_stretch.h: The squash and stretch that people standing about play now and then (scSquashAndStretch).title.h: What the Title (title.c) and the File Screen (file_screen.c) share: the Golden Sun logo and the sprites of its lettering.tolbi_ship.h: What the Tolbi-bound Ship's deck (tolbi_ship_deck.c), the rooms below it (ship_rooms.c), its mast (tolbi_ship_mast.c) and the World Map's voyage (world_map.c) share.vale.h: What Vale (vale.c) and Vale in the storm (vale_prologue.c), which draw the same village, share.vault.h: The metatile behaviors of Vault's layout, whichSceneIdVault(vault.c) andSceneIdVaultRevisit(vault_revisit.c) both draw and answer.vault_item_icon.h: An item lying on the floor of Vault's rooms, drawn as its menu icon (shared/vault_item_icon.c).vault_range.h: Villagers who walk about and stop when someone is close in front of them, in Vault and Tolbi (shared/vault_range.c).walk_into_leader.h: A companion and the party leader: placed on the leader, walked toward the leader, or walked into the leader and taken off the map, as the scenes' scripts gather the party back into one walking sprite.
shop/shop.h: The counters of a town, shops, sanctums and inns:SHOP_STATE, the state they share, the shop screen's tiles, and every function of the shop object.stubs.h: Shops, inns and the cursors used by their screens.
sound/sound.h: The game's sound over the development kit's sound driver (sdk/sound_driver.h): its state and the sound module's functions.sound_driver_symbols.h: The sound driver's command masks, sound controls and the functions and globals it shares with the rest of the game.stubs.h: The sound module's stub calls: playing sounds and music, and the driver's update each frame.
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 start of the cartridge, where the console begins the game: a soft reset jumps back to it.
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 the party status window's flags.cursor.h: The cursor that approaches its target, shared by shops, the name entry screen and the settings menu.djinn_preview.h: The Djinn preview's sprites and arrow tiles.glyph_arm.h: The ARM functions copied to RAM to run: a character drawn into a text window's canvas, and the screen transition's window edges read from the windows' borders (window/glyph_arm.c).icon_menu.h: The icon menu's entries and state.menu_list.h: The menus' sprites and cursors, the party status window's layout, and the battle command menus' state, with its remembered page and row.message_reader.h:MESSAGE_READER, a cursor through message text.message_speed.h: The message speed setting and how fast each speed types a message.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 functions of window/screens.cand its parts: window sprites and portraits, the party status window, the file list and saving, name entry, the joined-party messages, the battle menus, the icon menus and the debug menus.select.h: The selection screen's sprites and nodes.settings_menu.h: The state of the settings menu and the Pause menu.stubs.h: The window module's stub calls: windows, text and portraits, the menus and screens built from them (Pause menu, File Screen, Yes/No), and the debug selectors.text_font.h: The kanji glyphs and the text marks drawn with characters.window.h: Windows, the messages that type into them, and the window renderer's state.window_sprite.h: Sprites as the windows draw them: a sprite's OAM attributes, and the lists of characters, icons and portraits each window shows as sprites.
ability_ids.h: Ability numbers, named from the English release.area_ids.h: The areas: groups of scenes that share their music 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: The places, sizes and counts that differ between the editions, by language or by patch, each chosen here once so that the code using it reads a single name.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(config.h).flags.h: The game flags (GameFlagBytes), named where their meaning is shown: the party's and the Djinn's, the system's, a scene's and an area's own, then the story's and the treasures', place by place.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: The resource numbers the C code loads by name, each named for what the resource holds.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 Broken Seal 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, named where the code shows what they are.static_assert.h:STATIC_ASSERT, a compile-time check that emits nothing.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.