titan_blade.c
Titan Blade.
games/tbs/src/effect/parts/titan_blade.c on GitHub
Titan Blade. Part of effect.c, the battle effect object, compiled only through it.
Functions
BattleFx_RunTitanBlade
void BattleFx_RunTitanBlade(struct BattleEffectArgument *effect)
A huge sword drops onto the first target amid charging flashes, dust and sparks.
Abilities: Titan Blade (kind 61).
Dust rises at the target's feet from frame 28 while a pillar of fire scrolls over it; the sword drops in, holds, sinks and plunges after frame 60. A ring of flashes bursts from frame 56, sparks fly from frame 60 as the battle shows the damage, and every target flashes and recoils on frame 68. The canvas is wiped at frames 9 and 60.
Used by gBattleFx_EffectHandlers.
Macros
TITAN_BLADE_SWORD_SPARKS
#define TITAN_BLADE_SWORD_SPARKS
The sparks, in PARTICLES after the dust.
Used by BattleFx_RunTitanBlade.
TITAN_BLADE_FLASH_CELLS
#define TITAN_BLADE_FLASH_CELLS (34 * 104)
The flash pictures in the sheet, after the 34x104 fire pillar.
Used by BattleFx_RunTitanBlade.
Also, macros without a comment: TITAN_BLADE_FRAMES, TITAN_BLADE_SWORD_IMAGE, TITAN_BLADE_FLASHES, TITAN_BLADE_RING, TITAN_BLADE_DUST, TITAN_BLADE_FIRST_DUST, TITAN_BLADE_DRAWN_DUST, TITAN_BLADE_SPARKS.