Skip to Content
The Alchemy Project

include/field/arc_effect.h

The swelling arcs a field Psynergy shows over its target.

Included by field_psynergy_internal.h.

Structures

NameDescription
structARC_EFFECT_STATEA 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).

Macros

NameDescription
#defineARC_GROUP_TICKS 32Ticks a pair of swelling arcs shows for, rising a pixel a tick.
#defineARC_GROUP_UNSPAWNED 999A pair's age before it is first spawned: past ARC_GROUP_TICKS, so not drawn.

Functions

NameDescription
voidfdBattleEffectSpawnScaledArcObjects (struct ACTOR *target)Sets up the current group's two arc sprites from the effect's tiles, at the target's priority, then restarts that group's age, records the target and switches to the other group.

Description

The swelling arcs a field Psynergy shows over its target.

Macros in detail

ARC_GROUP_TICKS

#define ARC_GROUP_TICKS 32

Ticks a pair of swelling arcs shows for, rising a pixel a tick.

Referenced by fdBattleEffectUpdateArcEffect() and fdBattleEffectWaitForArcGroups().

Definition at line 12 of file arc_effect.h.

ARC_GROUP_UNSPAWNED

#define ARC_GROUP_UNSPAWNED 999

A pair's age before it is first spawned: past ARC_GROUP_TICKS, so not drawn.

Referenced by fdBattleEffectStartArcEffect().

Definition at line 15 of file arc_effect.h.