Skip to Content
The Alchemy Project

struct CYCLONE_STATE

Cyclone's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the particle burst (PARTICLE_BURST_STATE) at its start (run when kind is nonzero for a nearby kind-1 metatile from fdPsynergyGatherNearbyMetatiles), then the leader's ride on the whirlwind.

Declared in field_psynergy_internal.h.

Fields

NameDescription
Uint8particleBurst [6920]
Sint16count
Uint8unusedAfterCount [2]no code names it
ACTOR *followerthe actor carried with the leader
Sint16statethe stage of the ride; 999 once it ends
Sint16timerticks into the ride
Sint32anglethe whirlwind's turn, 1/65536 turns
Sint32radius
FIXEDfrom [3]where the ride starts, 16.16 pixels
FIXEDto [3]where it ends, 16.16 pixels
Sint8kindnonzero runs the particle burst (nearby kind-1 metatile)

Description

Cyclone's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the particle burst (PARTICLE_BURST_STATE) at its start (run when kind is nonzero for a nearby kind-1 metatile from fdPsynergyGatherNearbyMetatiles), then the leader's ride on the whirlwind.

struct CYCLONE_STATE

Referenced by fdCycloneCarryLeader(), fdCycloneLiftLeader(), fdPsynergyCyclone() and fdPsynergyGatherNearbyMetatiles().

Definition at line 91 of file field_psynergy_internal.h.

Fields in detail

particleBurst

Uint8 particleBurst[6920]

count

Sint16 count

unusedAfterCount

Uint8 unusedAfterCount[2]

no code names it

follower

ACTOR *follower

the actor carried with the leader

state

Sint16 state

the stage of the ride; 999 once it ends

timer

Sint16 timer

ticks into the ride

angle

Sint32 angle

the whirlwind's turn, 1/65536 turns

radius

Sint32 radius

from

FIXED from[3]

where the ride starts, 16.16 pixels

to

FIXED to[3]

where it ends, 16.16 pixels

kind

Sint8 kind

nonzero runs the particle burst (nearby kind-1 metatile)