Skip to Content
The Alchemy Project

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

NameDescription
Sint32linkThe link to the next part at its depth, as
Sint32attributesANIMATION_SPR_PART's.
union { Uint32word, tile, rest, bits, oam ; struct { Uint32 tile : 10; Uint32 rest : 22; } bits; } oam
Sint32scale
Uint8slot
Uint8retainCacheEntry : 1
Uint8useOwnScale : 1
Uint8sunkRows : 6
Uint16rotation
Uint8width
Uint8height
Uint8offsetX
Uint8offsetY
Uint8lastNo
Uint8dirty
Uint8flags
Uint8count
Sint32shadowLinkThe shadow's link, attributes 0 and 1, and attribute 2.
Sint32shadowAttributes
Sint32shadowTile
SPR_ANIMATION *entryIts 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

Sint32 link

The link to the next part at its depth, as

attributes

Sint32 attributes

ANIMATION_SPR_PART's.

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

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]