Skip to Content
The Alchemy Project

Structures: B

The structures and unions of The Lost Age from B, with their briefs.

  • BAR_PATTERN_ROW: A row of MenuBarPatternRows: the two words a menu bar's tile pair is XORed with (mnRangeIconBuildTiles).
  • BATTLE_ACTION: A unit's chosen action as the party's command menus write it: the BATTLE_ACTION_RECORD, read with its fields unsigned.
  • BATTLE_ACTION_RECORD: A unit's chosen action for the turn: its command, the command's parameter, its target and range, and its priority in the turn order.
  • BATTLE_AFFINE: The battle background's affine parameters and reference point, copied whole to the BG2PA registers.
  • BATTLE_AFFINE_HDMA: The battle background's scanline state: two pages of per-line values, swapped each tick, and the affine parameters.
  • BATTLE_AI_STATE: An enemy's memory of its action choice (btAIChooseAction).
  • BATTLE_BACKGROUND_STATE: The HEAP_SLOT_BATTLE_BACKGROUND heap slot: the yaw the battle camera eases toward and the ticks left to ease it, and how the battle background is shown.
  • BATTLE_BASE_STATS: A unit's base stats from UNIT.baseHp on, as one block: an enemy's level or strength change keeps a copy to hold each new stat to 70 percent of the old (btEnemyAdjustLevel, btUnitStrengthen), and the Clear Data password writes its members' stats through it.
  • BATTLE_CAMERA: The battle camera: its eye, the focus it turns about, and its pitch, yaw and distance.
  • BATTLE_COMMAND_ROW_ICON: One icon of the command row (BATTLE_COMMAND_ROW_STATE): its sprite, where it stands and the command it stands for.
  • BATTLE_COMMAND_ROW_STATE: The command row's state: the icons' shared palette, up to six icons, the label window, the pulsing icon's transform and the selection.
  • BATTLE_EFFECT_INDEX_WINDOW: The window btEffectBuildCenteredIndexList builds a list of indices around: its value, radius and limit, and the values it lists.
  • BATTLE_EFFECT_PARM: The command shared by an effect's caller, dispatcher and handlers.
  • BATTLE_EFFECT_STATE: The running battle effect's state: its canvas image, 64 particles, the display registers it stages and its sprites.
  • BATTLE_ELEMENT_STATS: A unit's elemental power and resistance in one element.
  • BATTLE_LINK_HEADER: The packet the two consoles exchange each turn of a link battle: how many actions follow, a random check, and the random seed both sides then use.
  • BATTLE_MENU_STATE: The battle menus' state (HEAP_SLOT_BATTLE_MENU): what the command row and the lists remember between them while the party's commands are chosen.
  • BATTLE_MESSAGE_STATE: The battle message window (heap slot battleMsg): its window, its message and whether the next message is marked.
  • BATTLE_OBJECT: A unit's place on the battlefield: its sprite object, resources and animations, its anchor spot and scale, and the conditions it shows.
  • BATTLE_PLAN: One action, laid out for btAbilityApplyToTarget to apply target by target.
  • BATTLE_PLAYBACK_QUEUE: The battle event queue: up to 64 events, each an opcode (enum BATTLE_PLAYBACK_COMMAND) and one operand, in the order they play.
  • BATTLE_PLAYBACK_STATE: The battle event queue and the state of its playback.
  • BATTLE_PRESENTATION_STATE: A presentation's effect command, laid out as BATTLE_EFFECT_PARM with a ninth actor, and the animation state it keeps.
  • BATTLE_SIDE_ORDER: The order the two sides take their turn-end effects in.
  • BATTLE_SPOILS: A battle's spoils so far: coins, experience, enemies defeated and up to four items.
  • BATTLE_SPR_DEFINITION: An enemy class's battle sprite: its animation, size, attack effect, palette and defeat-sound kind.
  • BATTLE_STATE: The battle's own state: its enemies, units and their objects, the turn's actions, the background palette and the events.
  • BATTLE_SUMMARY_CURSOR: A cursor stop on the Status screen's equipment or statuses: its help entry and where the cursor points.
  • BATTLE_SUMMARY_STAT_CURSOR: A cursor stop among the Status screen's stats: its help entry, where the cursor points and the run of the row it highlights.
  • BEAM_SPARK: A spark of the aerie's beam: where it is, how fast it drifts up and its age in ticks.
  • BEAM_STATE: An archer's beam (scJupiterLighthouseStartBeam), in the menu's heap slot: the sparks' and the trident's pictures and sprites, the beam's path, and where its steps have reached.
  • BG_SCROLL: The bg_scroll group.
  • BLAST_COLUMN_STATE: The rising column's state, kept in RamHeapSlots' menu runtime while it plays: its pictures, its pieces of water, the soldier it lifts and the puddle left under him.
  • BLAZE_STATE: Blaze's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the flame tiles, 16 flames and 16 smoke puffs with their motion, where the jet starts and where it points, and the actor it has reached.
  • BLEND_SCRIPT_STATE: The map's running blend script, which sets the blend registers over time (fdBlendScriptRun, each tick from fdBlendScriptStart).
  • BOBBING_MARKER: The World Map's Echo (scWorldMapCircleEcho), which circles and bobs where it waits: ACTOR with its timer and userValue words named.
  • BOW_MOTION: One moving point of the Arrow: a spark on the canvas (x and y only, counting delay) or a sprite's place in the world.
  • BOW_STATE: The Arrow's state (fdPsynergyArrow, in heap slot HEAP_SLOT_BATTLE_EFFECT): its 32 sparks, the arrow and the bow with their motions, the points the arrow flies between, and the phase of its event.
  • BUBBLE: A bubble a stream carries: its place, its age in ticks and its sprite's attributes.
  • BUP_SECTOR_HEADER: The header of a save sector in flash: its signature, the part it holds, its checksum and its counter.
  • BUP_SUMMARY: A save file's summary for the file screen: the leader's name, level and class, the area, play time, coins, Djinn and party. secondPartPlayTime is filled on reading from the start of the file's next sector (offset 0x10, or 0x110 for the extra summary); if it differs from playTime, the file was not written whole.
  • BUP_WORKSPACE: The save's state: which of the BUP_SECTOR_COUNT flash sectors hold a part, their part ids and counters, one part's three sectors and the summaries.
  • BURST_METATILE: A metatile the particle burst covers, in metatiles.
  • BURST_PARTICLE: A particle of the particle burst (fdParticleBurstStart): its place, heading, speed, spin and the ticks before it starts.
  • BURST_PARTICLE_VECTOR: Three coordinates of a burst piece's place, x, y and z, filled in turn as syVectorAddPolarOffset reads them.
  • BURST_PARTICLE_VISUAL: One part of a sprite (ANIMATION_SPR_PART) as Mind Read's burst copies its image's attributes to its shadow: a byte at a time, under the OAM attributes' names.
  • BURST_PARTICLE_VISUAL_GROUP: A sprite (SPR) as Mind Read's burst reads it: its image, and its shadow 28 bytes in.
  • BURST_STATE: Burst's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the explosion's eight pictures unpacked into tiles before they are loaded, the glow disc that swells in front of the caster on the canvas sprite, the 32 sparks that fly into it, the 32 explosions round the target, and the stage of the cast.