Skip to Content
The Alchemy Project

struct SCATTER_STATE

The scatter's state (heap slot HEAP_SLOT_BATTLE_EFFECT): its tiles, 64 sprites and particles, the actor it scatters from, and its stage.

Declared in field_psynergy.h.

Fields

NameDescription
Uint8tiles [4096]
EFFECT_SPRsprites [SCATTER_PARTICLE_COUNT]
FIELD_PSYNERGY_PARTICLEparticles [SCATTER_PARTICLE_COUNT]
struct ACTOR *actor
Sint16phase
Sint16timer
Sint16spawnCount
Sint16next
Uint16tileA
Uint16tileB
Sint16flash
Sint16hit

Description

The scatter's state (heap slot HEAP_SLOT_BATTLE_EFFECT): its tiles, 64 sprites and particles, the actor it scatters from, and its stage.

struct SCATTER_STATE

Referenced by fdPsynergyLash() and fdPsynergyUpdateLash().

Definition at line 21 of file field_psynergy.h.

Fields in detail

tiles

Uint8 tiles[4096]

sprites

EFFECT_SPR sprites[SCATTER_PARTICLE_COUNT]

particles

FIELD_PSYNERGY_PARTICLE particles[SCATTER_PARTICLE_COUNT]

actor

struct ACTOR *actor

phase

Sint16 phase

timer

Sint16 timer

spawnCount

Sint16 spawnCount

next

Sint16 next

tileA

Uint16 tileA

tileB

Uint16 tileB

flash

Sint16 flash

hit

Sint16 hit