Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_spire.c

Spire. More…

Included by battle_effect.c.

Macros

NameDescription
#defineSPIRE_SHARDS 21shards per rock
#defineSPIRE_FALL_TICKS

Functions

NameDescription
voidbtEffectRunSpire (BATTLE_EFFECT_PARM *args)Boulders drop along the row of targets, centred on it, and shatter into tumbling shards, hitting every target as each lands.

Description

Spire. Part of battle_effect.c.

Macros in detail

SPIRE_SHARDS

#define SPIRE_SHARDS 21

shards per rock

Referenced by btEffectRunSpire().

Definition at line 3 of file battle_effect_spire.c.

SPIRE_FALL_TICKS

#define SPIRE_FALL_TICKS

Referenced by btEffectRunSpire().

Definition at line 4 of file battle_effect_spire.c.

Functions in detail

btEffectRunSpire

void btEffectRunSpire(BATTLE_EFFECT_PARM *args)

Boulders drop along the row of targets, centred on it, and shatter into tumbling shards, hitting every target as each lands.

Abilities: Spire, Clay Spire, Stone Spire.

References btCameraShake(), btEffectPosProjectScaledBattler(), btEffectTintBattler(), btParticleAdvanceWithGravity2D(), btResourceLoadAndDecompress(), Sint32, SpireDropTicks, SpireRockCounts, SpireRockX, SpireShardHeights, SpireShardOffsets, SpireShardPictures, SpireShardWidths, syRandom() and sySoundPlayStub().

Referenced by BattleEffectHandlers.

Definition at line 12 of file battle_effect_spire.c.