Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_fire.c

Fire. More…

Included by battle_effect.c.

Macros

NameDescription
#defineFIRE_EMBERS 64The embers set up in PARTICLES: no row of FireCounts may ask for more.
#defineFIRE_FLARE_TICKS 12The ticks of an impact flare: its six pictures, two ticks each.

Functions

NameDescription
voidbtEffectRunFire (BATTLE_EFFECT_PARM *args)Embers burst from the top of the user and home in on the targets, and each that lands shows an impact flare as its target flinches.

Description

Fire. Part of battle_effect.c.

Macros in detail

FIRE_EMBERS

#define FIRE_EMBERS 64

The embers set up in PARTICLES: no row of FireCounts may ask for more.

Referenced by btEffectRunFire().

Definition at line 4 of file battle_effect_fire.c.

FIRE_FLARE_TICKS

#define FIRE_FLARE_TICKS 12

The ticks of an impact flare: its six pictures, two ticks each.

Referenced by btEffectRunFire().

Definition at line 6 of file battle_effect_fire.c.

Functions in detail

btEffectRunFire

void btEffectRunFire(BATTLE_EFFECT_PARM *args)

Embers burst from the top of the user and home in on the targets, and each that lands shows an impact flare as its target flinches.

Abilities: Fire, Fireball, Inferno.

Fire
Fire
Fireball
Fireball
Inferno
Inferno

References btCameraApplyPhasedDelta(), btCameraSetViewStub(), btCameraShake(), btEffectEndCanvasLayer(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), btProjectionPoint(), btResourceLoadAndDecompress(), btUnitGetEffectHeightStub(), FireCounts, FireFlareBiasY, FireFlareHeights, FireFlarePictures, FireFlareWidths, Sint32, state, syCloseEvent(), syCos(), syRandom(), sySetEvent(), sySin(), sySoundPlayStub() and width.

Referenced by BattleEffectHandlers.

Definition at line 12 of file battle_effect_fire.c.