Alchemy
Loading...
Searching...
No Matches

torch.c File Reference

Torch and Kite. More...

Go to the source code of this file.

Macros

#define TORCH_FRAMES   96

Functions

void BattleFx_RunTorch (struct BattleEffectArgument *effect)
 A fiery disc fades in, its rings running outward while every scanline ripples, then fades out.
void BattleFx_RunKite (struct BattleEffectArgument *effect)
 Shows the extended Jupiter Djinni prelude over the first target, mirrored from the usual side; the Djinni's entrance is the whole effect.

Detailed Description

Torch and Kite.

Part of effect.c, the battle effect object, compiled only through it.

Definition in file torch.c.

Macro Definition Documentation

◆ TORCH_FRAMES

#define TORCH_FRAMES   96

Definition at line 7 of file torch.c.

Referenced by BattleFx_RunTorch().

Function Documentation

◆ BattleFx_RunTorch()

void BattleFx_RunTorch ( struct BattleEffectArgument * effect)

A fiery disc fades in, its rings running outward while every scanline ripples, then fades out.

Abilities: Torch (kind 214).

The disc is a mirrored radial picture whose pixels hold their distance from the middle, so rotating the palette moves the rings. It follows a Mars Djinni's entrance over the user, fades in over the first 9 frames, ripples throughout as BG2's x reference is fed line by line (BattleFx_ArmBg2AffineHBlankDma), and fades out over the last 7.

Definition at line 19 of file torch.c.

Referenced by BattleFx_RunTorch().

◆ BattleFx_RunKite()

void BattleFx_RunKite ( struct BattleEffectArgument * effect)

Shows the extended Jupiter Djinni prelude over the first target, mirrored from the usual side; the Djinni's entrance is the whole effect.

Abilities: Kite (kind 217).

Definition at line 159 of file torch.c.

Referenced by BattleFx_RunKite().