Structures: B
The structures and unions of The Broken Seal from B, with their briefs.
BATTLE_ACTION: A unit's chosen action for the turn: its command, the command's parameter, its target and range, and its priority in the action order.BATTLE_ACTION_RUN: One action, asbtActionRunBuildlays it out forbtAbilityApplyToTargetto apply target by target.BATTLE_ACTOR:ACTOR, field for field, asbtObjectSpawnObjectsForListsees a battle unit's actor while it gives it its sprites: the sprite word untyped (void *), and the cursor, wait and userValue unsigned.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, inHEAP_SLOT_BATTLE_SCANLINES: two pages of per-line BG2CNT values, swapped each tick, and the affine parameters.BATTLE_AI_STATE: An enemy's memory of its action choice (btAIChooseAction).BATTLE_BACKGROUND_STATE: TheHEAP_SLOT_BATTLE_BACKGROUNDheap 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 as they were before its level changed.BATTLE_BG2_ORIGIN: Two adjacent affine background coordinates, queued together for BG2X/BG2Y.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 block: the icons' shared palette, up to six icons, the label window, the pulsing icon's transform and the selection.BATTLE_EFFECT_INDEX_WINDOW: WhatbtEffectBuildCenteredIndexList(unused) reads: a value to find in a list, and how many indices either side of it to keep.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 header a link battle sends before its actions: how many, the next random number to check the consoles agree, and the parent's seed for the turn.BATTLE_MENU_STATE: The battle command menus' state,HEAP_SLOT_BATTLE_MENU(260 bytes), reached asBattleMenuStateWork.BATTLE_MESSAGE_OFFSET: The battle message, as far as its offset in the window: the advance arrow is drawn at the window's corner plus this offset.BATTLE_MESSAGE_STATE: The battle message window: its window, its message and whether the next message is marked.BATTLE_OBJECT: A unit's place on the battlefield: its actor, resources and animations, its anchor spot and scale, and the statuses it shows.BATTLE_PLAYBACK_QUEUE: The playback queue: up toBATTLE_PLAYBACK_CAPACITYcommands, each an opcode (BATTLE_PLAYBACK_COMMAND) and one operand, in the order they play.BATTLE_PLAYBACK_STATE: The playback queue and the state of its playback: the phase, the entry playing and the advance arrow.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: A unit's row ofBattleSprites: an enemy's battle sprite, size, attack effect, palette and defeat-sound kind.BATTLE_STAGING_STATE: A presentation step's stack state: the battle effect command it builds and runs, and the targets' sprite colour modes saved beside it.BATTLE_STATE: The battle's own state: its enemies, units and their battle objects, the turn's actions, the spoils, the background palette, the action under way and the playback.BATTLE_STATE_UNIT_LIST_VIEW:BATTLE_STATE's unit lists, read as one array of halfwords.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.BG_SCROLL: A background's hardware scroll offsets.BILIBIN_RIPPLE_TIMER: Counts ticks between the ripples, one every 30 ticks.BLEND_SCRIPT_STATE: The map's running blend script, which sets the blend registers over time (fdBlendScriptRun, each tick fromfdBlendScriptStart).BUILD_STAMP_COPY: The build stamp's twelve digit characters copied to IWRAM, and a zero word after them that ends the string.BUP_FILE_SUMMARY: A save file's summary for the file list: the leader's name, level and class, the area, play time, coins, Djinn and party.BUP_SECTOR_HEADER: The header of a save sector in flash: its signature, the part it holds, its checksum and its counter.BUP_STATE: The save state: which of the 16 flash sectors hold a part, their part ids and counters, one sector's buffer and the three files' summaries.