Skip to Content
The Alchemy Project

struct BURST_PARTICLE_VISUAL

One part of a sprite (ANIMATION_SPR_PART) as Mind Read's burst copies its image's attributes to its shadow: a byte at a time, under the OAM attributes' names.

Declared in script_commands.h.

Fields

NameDescription
Uint8unused [5]the part's link and attribute 0's y
Uint8affineModeMosaic : 5attribute 0's affine, objectMode and mosaic
Uint8fullColor : 1256 colours
Uint8shape : 20 square, 1 wide, 2 tall
Uint8unusedAfterShapeattribute 1's x, low byte
Uint8xHighAffineIndex : 6x bit 8 and the affine matrix
Uint8size : 2with shape, the sprite's size
union { struct { Uint16tile, priorityPalette, bits, tileLow, tileHighPriority, palette, bytes, attributes : 10; Uint16 priorityPalette : 6; } bits; struct { Uint8 tileLow; Uint8 tileHighPriority : 4; Uint8 palette : 4; } bytes; } attributesfirst sprite tile in VRAM

Description

One part of a sprite (ANIMATION_SPR_PART) as Mind Read's burst copies its image's attributes to its shadow: a byte at a time, under the OAM attributes' names.

struct BURST_PARTICLE_VISUAL

Referenced by fdEffectSpawnBurstParticleField().

Definition at line 255 of file script_commands.h.

Fields in detail

unused

Uint8 unused[5]

the part's link and attribute 0's y

affineModeMosaic

Uint8 affineModeMosaic : 5

attribute 0's affine, objectMode and mosaic

fullColor

Uint8 fullColor : 1

256 colours

shape

Uint8 shape : 2

0 square, 1 wide, 2 tall

unusedAfterShape

Uint8 unusedAfterShape

attribute 1's x, low byte

xHighAffineIndex

Uint8 xHighAffineIndex : 6

x bit 8 and the affine matrix

size

Uint8 size : 2

with shape, the sprite's size

tile, priorityPalette, bits, tileLow, tileHighPriority, palette, bytes, attributes

union { struct { Uint16 tile : 10; Uint16 priorityPalette : 6; } bits; struct { Uint8 tileLow; Uint8 tileHighPriority : 4; Uint8 palette : 4; } bytes; } attributes

first sprite tile in VRAM

attribute 2