Skip to Content
The Alchemy Project

Structures: O

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

  • OAM_ATTR2_WORD: A sprite's OAM attribute 2 (tile index, priority and palette) and the halfword after it, as one word or as fields.
  • OAM_DATA: Attributes zero through two copied to OAM, plus the halfword after them.
  • OAM_MATRIX: One OAM rotation-scaling matrix: pa, pb, pc and pd in 8.8 fixed point, the inverse of the transform the sprite is drawn with.
  • OAM_WORDS: The oam_words group.
  • OPTION_MENU_ENTRY: One of the seven entries of the settings menu's state (SETTINGS_MENU_STATE.entries); only its state is known, and only the unused mnSettingsMenuResetEntries writes it.
  • ORBITING_MAP_ACTOR: A floating Nut's actor: its position, the spot it sways around and how far through the sway it is, its sprite and its update function.
  • ORBITING_MAP_ACTOR_SPR: A floating Nut's sprite: SPR a byte at a time, with the attribute bits scFloatNut sets.