struct RUIN_OBJECT
An EFFECT_SPR as Cruel Ruin reads its OAM attribute 2: its tile, priority and palette, as fields or as one halfword.
Declared in battle_effect_internal.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | unusedBeforeAttribute [8] | the sprite's next and OAM attributes 0 and 1 |
union { struct { Uint16 | tile, priority, palette, bits, all, bytes, attribute : 10; Uint16 priority : 2; Uint16 palette : 4; } bits; Uint16 all; Uint8 bytes[2]; } attribute |
Description
An EFFECT_SPR as Cruel Ruin reads its OAM attribute 2: its tile, priority and
palette, as fields or as one halfword.
struct RUIN_OBJECT
Referenced by btEffectRunCruelRuin().
Definition at line 91 of file battle_effect_internal.h.
Fields in detail
unusedBeforeAttribute
Uint8 unusedBeforeAttribute[8]
the sprite's next and OAM attributes 0 and 1
tile, priority, palette, bits, all, bytes, attribute
union { struct { Uint16 tile : 10; Uint16 priority : 2; Uint16 palette : 4; } bits; Uint16 all; Uint8 bytes[2]; } attribute