src/battle_effect/battle_effect_annihilation.c
Annihilation: a fire streak from the user, then a burst of fire and shards on the target. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | SHARD_COUNT 64 | The shards the burst throws. |
#define | SHARD_LIFE 16 | The ticks the first four shards live; each four after live two longer. |
#define | BURST_STRIP_BYTES (3 * PICTURE_BYTES(FIRE_BURST)) | The stronger variant's three burst pictures, after the basic one's. |
#define | ANNIHILATION_TICKS 64 | The effect's length and the ticks of its strike, flash and burst. |
#define | STREAK_TICK 6 | The user's fire streak, six ticks. |
#define | HIT_TICK 8 | |
#define | FLASH_TICK 14 | |
#define | BURST_TICK 16 | The burst on the target, until BURST_LAST_TICK. |
#define | BURST_LAST_TICK 47 |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunAnnihilation (BATTLE_EFFECT_PARM *args) | The user closes on the first target and fire bursts from it in a shower of shards. |
Description
Annihilation: a fire streak from the user, then a burst of fire and shards on
the target. Part of battle_effect.c.
Macros in detail
SHARD_COUNT
#define SHARD_COUNT 64
The shards the burst throws.
Referenced by btEffectRunAnnihilation().
Definition at line 5 of file battle_effect_annihilation.c.
SHARD_LIFE
#define SHARD_LIFE 16
The ticks the first four shards live; each four after live two longer.
Referenced by btEffectRunAnnihilation().
Definition at line 7 of file battle_effect_annihilation.c.
BURST_STRIP_BYTES
#define BURST_STRIP_BYTES (3 * PICTURE_BYTES(FIRE_BURST))
The stronger variant's three burst pictures, after the basic one's.
Referenced by btEffectRunAnnihilation().
Definition at line 9 of file battle_effect_annihilation.c.
ANNIHILATION_TICKS
#define ANNIHILATION_TICKS 64
The effect's length and the ticks of its strike, flash and burst.
Referenced by btEffectRunAnnihilation().
Definition at line 12 of file battle_effect_annihilation.c.
STREAK_TICK
#define STREAK_TICK 6
The user's fire streak, six ticks.
Referenced by btEffectRunAnnihilation().
Definition at line 14 of file battle_effect_annihilation.c.
HIT_TICK
#define HIT_TICK 8
Referenced by btEffectRunAnnihilation().
Definition at line 15 of file battle_effect_annihilation.c.
FLASH_TICK
#define FLASH_TICK 14
Referenced by btEffectRunAnnihilation().
Definition at line 16 of file battle_effect_annihilation.c.
BURST_TICK
#define BURST_TICK 16
The burst on the target, until BURST_LAST_TICK.
Referenced by btEffectRunAnnihilation().
Definition at line 18 of file battle_effect_annihilation.c.
BURST_LAST_TICK
#define BURST_LAST_TICK 47
Referenced by btEffectRunAnnihilation().
Definition at line 19 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.
Abilities: Annihilation.
References btCameraShake(), btEffectBuildCanvasBlitters(), btEffectCallNoOperation(), btEffectEndCanvasLayer(), btEffectPosProjectPoint(), btEffectPosProjectScaledBattler(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btMotionApproachTargetStub(), btObjectGetStub(), btParticleAdvanceWithGravity3D(), btResourceLoadAndDecompress(), Sint32, syCloseEvent(), syHeapSlotRelease(), syRandom(), sySetEvent(), sySoundPlayStub() and sySynch().
Referenced by BattleEffectHandlers.
Definition at line 25 of file battle_effect_annihilation.c.