Skip to Content
The Alchemy Project

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

NameDescription
EFFECT_SPR *next
Uint16attr0
Uint16attr1
Uint16attr2bits: 15..12 palette | 11..10 priority | 9..0 tile
Uint16attr3
FIXEDx
FIXEDy
FIXEDscaleX
FIXEDscaleY
Uint16angle
Sint16depth
Uint16width
Uint16height
Sint16pivotX
Sint16pivotY

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