Skip to Content
The Alchemy Project

Structures: S

The structures and unions of The Broken Seal from S, with their briefs.

  • SAVE_LINK_GREETING: A console's link payload as the cable transfer reads it from SerialPeerPayloads.
  • SCENE: A scene's row in ScenesWork: its overlay's resource, its area, its scene type and its map.
  • SCENE_ENCOUNTER_RULE: A scene's encounter zones (SceneEncounterRules, encounter_rules.s; rows of encounter_zones.c), ended by scene -1.
  • SCENE_ENTRANCE: A scene's entrance: where and facing which way the party arrives, and the camera's bounds there (-1 for none).
  • SCENE_ENTRY_POINTS: The entry table at the start of each scene overlay: its initialize function and the functions returning its entrances, exits, actor placements, cues and exit regions, each behind a stub word.
  • SCENE_EXIT_REGION: A scene's exit region: the box that, while its condition holds, takes the party leader out through its exit.
  • SCENE_STATE_VIEW: EWRAM from SceneLocalState on, as a new game clears it: the scene's state, the equipment put aside for the Colosso and the actors kept across a battle.
  • SCREEN_POINT: A point projected onto the screen, with its depth.
  • SCREEN_TRANSITION_DISPLAY: The map grid state as a transition reads it: the display control bits the scene shows, and the two lines where the centre-line transition blanks the screen and shows it again, with the HBlank interrupt's copies of them.
  • SCREEN_TRANSITION_STATE: The screen transition state (HEAP_SLOT_SCREEN_TRANSITION): two pages of window edges for every line, the dissolve's solid tile, and the transition's shape and progress.
  • SCRIPT_OPERANDS: The whole 112-byte slot as SC_SET, SC_ADD and SC_CMP see it: each field is one state value (ACTOR_SCRIPT_VALUE in actor_script.h), reached through ActorScriptOperandHandlerTable, and named for what the field keeps there.
  • SCROLL_PAIR: A background's horizontal and vertical scroll offsets.
  • SEAL_OPENING: The seal being opened.
  • SELECTION_MENU_STATE: The selection screen (heap block 18): the row of icons the player picks from, with arrows at each end and a pointing hand over the chosen target.
  • SELECTION_NODE: An icon of the selection screen: its list links, the entry it shows (kind/base from SELECTION_MENU_STATE.kinds and .bases; for an arrow, kind is TRUE while shown and base is the ticks left of its nudge after a scroll), its place and its slide toward a target, its zoom and its sprite.
  • SELECTION_SPR: A selection screen sprite: a list link and its OAM attributes.
  • SELECTION_STATE: The state block of HEAP_SLOT_SELECTION_STATE (SelectionStateWork): two VRAM cache entries with their flags and a window, among fields nothing here uses.
  • SERIAL_HALFWORD: A halfword in a record of its own, only to hold sySerialStepBlockTransfer's 1 (its FAKEMATCH).
  • SERIAL_PACKET: The serial group.
  • SERIAL_STATE: The link cable's runtime: its mode and phase, the consoles heard from, the send position and the packet buffers the interrupt handler fills.
  • SERIAL_TRANSFER_STATE: A console's block transfer state, exchanged with the partner each VBlank: its block number, its status and flags, and a 20-byte block.
  • SETTINGS_MENU_STATE: The settings menu's state (heap block 20): the settings being edited and how many values each takes, the page, and the cursor, markers and icons.
  • SHOP_STATE: A shop's state: its windows, the party members' icons, the stock, the cursor and its icons, and the field effect sprites.
  • SOL_SANCTUM_LIGHT_ENTRY: One floating light: its actor, its drift and its pulsing scale, and where it is while hidden.
  • SOL_SANCTUM_LIGHT_LIST: The floating lights' state in HEAP_SLOT_SOL_SANCTUM_LIGHTS, one entry per light.
  • SPARK: One of the star field's sparks, drawn inward to the centre.
  • SPARK_STATE: The star field's state, for the 45 ticks of a cast's glow.
  • SPARKLE_PICTURE: One picture of a sparkle: its height offset and tile (field_engine_tables.c).
  • SPEAKER_DEFINITION: A speaker definition, a row of SpeakerDefinitions: a sprite, its voice (SPEAKER_VOICE_NONE for none) and the lines it says while Halted.
  • SPEAKER_SPR: An actor's animated sprite (SPR), as far as the pointer to its sprite id.
  • SPR: An animated sprite: its image and shadow, scale, rotation, size and up to four sprite animations.
  • SPR_ANIMATION: One of a sprite's four sprite animations: its animation id, pictures, running script and timer.
  • SPR_PICTURE_CACHE: A sprite picture cache: the tag of the animation loaded into it (slot number and animation id) and the buffer holding its pictures.
  • SPR_PICTURE_CACHE_SOURCE: A row of SpritePictureCacheSources: the packed resource that holds an animation number's pictures, ending at number 0.
  • SPR_PLACEMENT: A sprite's screen position and its two vertical offsets, in 16.16 pixels.
  • SPR_SCALE: Horizontal and vertical sprite scale; toFIXED(1) is the original size.
  • SPR_VIEWER_LAYER: One sprite animation the sprite viewer edits.
  • SPRING_OBSTACLE: One of the four obstacles moving in the spring during a toss.
  • SPRING_TOSS_MOTION: The tossed coin or medal, as its last four positions for the trail, its velocity and the ticks the prize rings still pull it.
  • STAT_CURSOR: The Status screen's cursor: its place in each group, the help entry it shows and where it points.
  • STAT_STATE: The running totals gmUnitCalculate builds a unit's stats in.
  • STATUS_SCREEN_STATE: The state of the party member chooser and the Status menu, in the HEAP_SLOT_MENU heap slot, which each takes as it opens and frees before it returns.
  • STUB: The stub group.
  • SUMMON_DEFINITION: A summon: its name's message and the Djinn of each element it needs.
  • SWITCH_METATILE: A Venus Lighthouse switch or pillar socket's map metatile.
  • SYSTEM_STUB_TABLE: The start of the system library's stub table, as far as syCos.