undead_sword.c
Undead Sword.
games/tbs/src/effect/parts/undead_sword.c on GitHub
Undead Sword. Part of effect.c, the battle effect object, compiled only through it.
Functions
BattleFx_RunUndeadSword
void BattleFx_RunUndeadSword(struct BattleEffectArgument *effect)
Two mirrored columns of light rise at the first target's feet and sink again, scattering 16 sparks that drift upward; the target is struck on frame 10.
Abilities: Undead Sword (kind 320).
54 frames. BG2 is moved so that the canvas's centre line stands on the target. The sparks are work->particles 0 to 15, variant their age in frames.
Used by gBattleFx_EffectHandlers.
Macros
UNDEAD_SWORD_SPARK_SHEET
#define UNDEAD_SWORD_SPARK_SHEET (14 * 80)
The blast sheet's seven spark pictures, after the lime column's 14x80 picture.
Used by BattleFx_RunUndeadSword.