Skip to Content
The Alchemy Project

struct ARC_EFFECT_STATE

A field Psynergy's arc state, the block of heap slot HEAP_SLOT_ARC_EFFECT: two groups of two arc sprites, their ages, and the VRAM cache entry, group and target they were spawned with (fdBattleEffectSpawnScaledArcObjects).

Declared in arc_effect.h.

Fields

NameDescription
EFFECT_SPRsprites [2][2]
Sint16age [2]ticks since each group was spawned; ARC_GROUP_UNSPAWNED before
Sint16resourceVRAM cache entry holding the arcs' tiles
Sint16groupthe group spawned next
struct ACTOR *targetthe actor the last group was spawned over

Description

A field Psynergy's arc state, the block of heap slot HEAP_SLOT_ARC_EFFECT: two groups of two arc sprites, their ages, and the VRAM cache entry, group and target they were spawned with (fdBattleEffectSpawnScaledArcObjects).

struct ARC_EFFECT_STATE

Referenced by fdBattleEffectEndArcEffect(), fdBattleEffectSpawnScaledArcObjects(), fdBattleEffectStartArcEffect(), fdBattleEffectUpdateArcEffect() and fdBattleEffectWaitForArcGroups().

Definition at line 20 of file arc_effect.h.

Fields in detail

sprites

EFFECT_SPR sprites[2][2]

age

Sint16 age[2]

ticks since each group was spawned; ARC_GROUP_UNSPAWNED before

resource

Sint16 resource

VRAM cache entry holding the arcs' tiles

group

Sint16 group

the group spawned next

target

struct ACTOR *target

the actor the last group was spawned over