Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_annihilation.c

Annihilation. More…

Included by battle_effect.c.

Macros

NameDescription
#defineANNIHILATION_TICKS 64
#defineANNIHILATION_SHARDS 64
#defineANNIHILATION_SHARD_LIFE 16The first four shards' life in ticks; each four after live two ticks longer.
#defineANNIHILATION_STREAK_TICK 6The fire streak in front of the user, its pictures a tick each from here, and the target's first red flash.
#defineANNIHILATION_STREAK_PICTURES 6
#defineANNIHILATION_HIT_TICK 8The white flash, the damage and the knock-back.
#defineANNIHILATION_FLASH_TICK 14the target's second red flash
#defineANNIHILATION_BURST_TICK 16The fire burst over the target, from ANNIHILATION_BURST_TICK to ANNIHILATION_BURST_LAST_TICK: three pictures two ticks each, the last held.
#defineANNIHILATION_BURST_LAST_TICK 47
#defineANNIHILATION_BURST_PICTURES 3

Functions

NameDescription
voidbtEffectRunAnnihilation (BATTLE_EFFECT_PARM *args)The user closes on the first target and fire bursts from it in a shower of shards, the flames settling into the kanji for destroy over it (the stronger variant, which no ability plays, draws the kanji for kill).

Description

Annihilation. Part of battle_effect.c.

Macros in detail

ANNIHILATION_TICKS

#define ANNIHILATION_TICKS 64

Referenced by btEffectRunAnnihilation().

Definition at line 3 of file battle_effect_annihilation.c.

ANNIHILATION_SHARDS

#define ANNIHILATION_SHARDS 64

Referenced by btEffectRunAnnihilation().

Definition at line 4 of file battle_effect_annihilation.c.

ANNIHILATION_SHARD_LIFE

#define ANNIHILATION_SHARD_LIFE 16

The first four shards' life in ticks; each four after live two ticks longer.

Referenced by btEffectRunAnnihilation().

Definition at line 6 of file battle_effect_annihilation.c.

ANNIHILATION_STREAK_TICK

#define ANNIHILATION_STREAK_TICK 6

The fire streak in front of the user, its pictures a tick each from here, and the target's first red flash.

Referenced by btEffectRunAnnihilation().

Definition at line 9 of file battle_effect_annihilation.c.

ANNIHILATION_STREAK_PICTURES

#define ANNIHILATION_STREAK_PICTURES 6

Referenced by btEffectRunAnnihilation().

Definition at line 10 of file battle_effect_annihilation.c.

ANNIHILATION_HIT_TICK

#define ANNIHILATION_HIT_TICK 8

The white flash, the damage and the knock-back.

Referenced by btEffectRunAnnihilation().

Definition at line 12 of file battle_effect_annihilation.c.

ANNIHILATION_FLASH_TICK

#define ANNIHILATION_FLASH_TICK 14

the target's second red flash

Referenced by btEffectRunAnnihilation().

Definition at line 13 of file battle_effect_annihilation.c.

ANNIHILATION_BURST_TICK

#define ANNIHILATION_BURST_TICK 16

The fire burst over the target, from ANNIHILATION_BURST_TICK to ANNIHILATION_BURST_LAST_TICK: three pictures two ticks each, the last held.

Referenced by btEffectRunAnnihilation().

Definition at line 16 of file battle_effect_annihilation.c.

ANNIHILATION_BURST_LAST_TICK

#define ANNIHILATION_BURST_LAST_TICK 47

Referenced by btEffectRunAnnihilation().

Definition at line 17 of file battle_effect_annihilation.c.

ANNIHILATION_BURST_PICTURES

#define ANNIHILATION_BURST_PICTURES 3

Referenced by btEffectRunAnnihilation().

Definition at line 18 of file battle_effect_annihilation.c.

Functions in detail

btEffectRunAnnihilation

void btEffectRunAnnihilation(BATTLE_EFFECT_PARM *args)

The user closes on the first target and fire bursts from it in a shower of shards, the flames settling into the kanji for destroy over it (the stronger variant, which no ability plays, draws the kanji for kill).

Abilities: Annihilation.

Annihilation
Annihilation

References btCameraShake(), btEffectBuildCanvasBlitters(), btEffectCallNoOperation(), btEffectEndCanvasLayer(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btMotionApproachTargetStub(), btObjectGetStub(), btParticleAdvanceWithGravity3D(), btProjectionPoint(), btProjectionScaledUnit(), btResourceLoadAndDecompress(), Sint32, state, syCloseEvent(), syHeapSlotRelease(), syRandom(), sySetEvent(), sySoundPlayStub() and sySynch().

Referenced by BattleEffectHandlers.

Definition at line 25 of file battle_effect_annihilation.c.