Skip to Content
The Alchemy Project

struct POUND_STATE

Pound's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the star tiles, the shine's 32 sparks, the glow under the fist, the fist itself and the stage of its fall.

Declared in field_psynergy_pound.c.

Fields

NameDescription
Uint8tiles [4096]
FIELD_PSYNERGY_PARTICLEparticles [POUND_SPARK_COUNT]
EFFECT_SPRsprites [POUND_SPARK_COUNT]
EFFECT_SPRglow
ACTOR *actorthe fist, then what sinks into the ground
Sint16statestage of the fall; FIELD_PSYNERGY_FINISHED once it ends
Sint16timerticks into the stage
Sint8sparklesnonzero draws the sparks
Sint8landedset on the tick the fist lands, passed to the script

Description

Pound's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the star tiles, the shine's 32 sparks, the glow under the fist, the fist itself and the stage of its fall.

struct POUND_STATE

Referenced by fdPoundSinkFist(), fdPsynergyPound() and fdPsynergyUpdatePound().

Definition at line 28 of file field_psynergy_pound.c.

Fields in detail

tiles

Uint8 tiles[4096]

particles

FIELD_PSYNERGY_PARTICLE particles[POUND_SPARK_COUNT]

sprites

EFFECT_SPR sprites[POUND_SPARK_COUNT]

glow

EFFECT_SPR glow

actor

ACTOR *actor

the fist, then what sinks into the ground

state

Sint16 state

stage of the fall; FIELD_PSYNERGY_FINISHED once it ends

timer

Sint16 timer

ticks into the stage

sparkles

Sint8 sparkles

nonzero draws the sparks

landed

Sint8 landed

set on the tick the fist lands, passed to the script