struct SPR_WORDS
A SPR as btEffectSpriteCreateWithTiles searches and fills it: its OAM attributes and its shadow's written as words.
Declared in battle_effect_gaia.c.
Fields
| Name | Description | |
|---|---|---|
Sint32 | link | The link to the next part at its depth, as |
Sint32 | attributes | ANIMATION_SPR_PART's. |
union { Uint32 | word, tile, rest, bits, oam ; struct { Uint32 tile : 10; Uint32 rest : 22; } bits; } oam | |
Sint32 | scale | |
Uint8 | slot | |
Uint8 | retainCacheEntry : 1 | |
Uint8 | useOwnScale : 1 | |
Uint8 | sunkRows : 6 | |
Uint16 | rotation | |
Uint8 | width | |
Uint8 | height | |
Uint8 | offsetX | |
Uint8 | offsetY | |
Uint8 | lastNo | |
Uint8 | dirty | |
Uint8 | flags | |
Uint8 | count | |
Sint32 | shadowLink | The shadow's link, attributes 0 and 1, and attribute 2. |
Sint32 | shadowAttributes | |
Sint32 | shadowTile | |
SPR_ANIMATION * | entry | Its first layer. |
SPR_ANIMATION * | otherEntries [3] |
Description
A SPR as btEffectSpriteCreateWithTiles searches and fills it: its OAM
attributes and its shadow's written as words.
struct SPR_WORDS
Referenced by btEffectSpriteCreateWithTiles().
Definition at line 484 of file battle_effect_gaia.c.
Fields in detail
link
Sint32 link
The link to the next part at its depth, as
attributes
Sint32 attributes
word, tile, rest, bits, oam
union { Uint32 word; struct { Uint32 tile : 10; Uint32 rest : 22; } bits; } oam
scale
Sint32 scale
slot
Uint8 slot
retainCacheEntry
Uint8 retainCacheEntry : 1
useOwnScale
Uint8 useOwnScale : 1
sunkRows
Uint8 sunkRows : 6
rotation
Uint16 rotation
width
Uint8 width
height
Uint8 height
offsetX
Uint8 offsetX
offsetY
Uint8 offsetY
lastNo
Uint8 lastNo
dirty
Uint8 dirty
flags
Uint8 flags
count
Uint8 count
shadowLink
Sint32 shadowLink
The shadow's link, attributes 0 and 1, and attribute 2.
shadowAttributes
Sint32 shadowAttributes
shadowTile
Sint32 shadowTile
entry
SPR_ANIMATION *entry
Its first layer.
otherEntries
SPR_ANIMATION *otherEntries[3]