struct PARTICLE_SPR
A falling particle's sprite: EFFECT_SPR with OAM attribute 2 read whole, as the particles change its tile.
Declared in falling_rocks.h.
Fields
| Name | Description | |
|---|---|---|
EFFECT_SPR * | next | |
Uint16 | attr0 | |
Uint16 | attr1 | |
Uint16 | attr2 | bits: 15..12 palette | 11..10 priority | 9..0 tile |
Uint16 | attr3 | |
FIXED | x | |
FIXED | y | |
FIXED | scaleX | |
FIXED | scaleY | |
Uint16 | angle | |
Sint16 | depth | |
Uint16 | width | |
Uint16 | height | |
Sint16 | pivotX | |
Sint16 | pivotY |
Description
A falling particle's sprite: EFFECT_SPR with OAM attribute 2 read whole, as
the particles change its tile.
struct PARTICLE_SPR
Referenced by scParticleUpdateFalling().
Definition at line 43 of file falling_rocks.h.
Fields in detail
next
EFFECT_SPR *next
attr0
Uint16 attr0
attr1
Uint16 attr1
attr2
Uint16 attr2
bits: 15..12 palette | 11..10 priority | 9..0 tile
attr3
Uint16 attr3
x
FIXED x
y
FIXED y
scaleX
FIXED scaleX
scaleY
FIXED scaleY
angle
Uint16 angle
depth
Sint16 depth
width
Uint16 width
height
Uint16 height
pivotX
Sint16 pivotX
pivotY
Sint16 pivotY