src/battle_effect/battle_effect_helm_splitter.c
Helm Splitter. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | HELM_SPLITTER_TICKS 70 | |
#define | HELM_SPLITTER_LEAP_TICKS 16 | The user's leap at the target. |
#define | HELM_SPLITTER_STRIKE_TICK 18 | The swirl strikes the target. |
#define | HELM_SPLITTER_SWIRL_BYTES 16000 | FireSwirlSheet's bytes; the sparks' pictures, PinkStarSheet's stars or SkullSheet's skulls, follow them. |
#define | HELM_SPLITTER_SPARK_PICTURES HELM_SPLITTER_SWIRL_BYTES | |
#define | HELM_SPLITTER_SPARKS 16 | Sparks the strike scatters, a variant. |
#define | HELM_SPLITTER_SPARK_SLOTS 64 | Spark slots moved and drawn. |
#define | HELM_SPLITTER_STAR_SIZE 16 | The side of each of PinkStarSheet's six square stars. |
#define | HELM_SPLITTER_STARS 6 | |
#define | HELM_SPLITTER_SWIRL_PICTURES 7 | FireSwirlSheet's pictures, the swirl growing; the last one holds. |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunHelmSplitter (BATTLE_EFFECT_PARM *args) | The user leaps at the first target and strikes through a fire swirl; the target reels and sparks scatter, bouncing off the ground: stars for Helm Splitter, and for Skull Splitter twice as many skulls from a swirl of blue flame. |
Description
Helm Splitter. Part of battle_effect.c.
Macros in detail
HELM_SPLITTER_TICKS
#define HELM_SPLITTER_TICKS 70
Referenced by btEffectRunHelmSplitter().
Definition at line 3 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_LEAP_TICKS
#define HELM_SPLITTER_LEAP_TICKS 16
The user's leap at the target.
Referenced by btEffectRunHelmSplitter().
Definition at line 5 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_STRIKE_TICK
#define HELM_SPLITTER_STRIKE_TICK 18
The swirl strikes the target.
Referenced by btEffectRunHelmSplitter().
Definition at line 7 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_SWIRL_BYTES
#define HELM_SPLITTER_SWIRL_BYTES 16000
FireSwirlSheet's bytes; the sparks' pictures, PinkStarSheet's stars or SkullSheet's skulls, follow them.
Referenced by btEffectRunHelmSplitter().
Definition at line 10 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_SPARK_PICTURES
#define HELM_SPLITTER_SPARK_PICTURES HELM_SPLITTER_SWIRL_BYTES
Referenced by btEffectRunHelmSplitter().
Definition at line 11 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_SPARKS
#define HELM_SPLITTER_SPARKS 16
Sparks the strike scatters, a variant.
Referenced by btEffectRunHelmSplitter().
Definition at line 13 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_SPARK_SLOTS
#define HELM_SPLITTER_SPARK_SLOTS 64
Spark slots moved and drawn.
Referenced by btEffectRunHelmSplitter().
Definition at line 15 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_STAR_SIZE
#define HELM_SPLITTER_STAR_SIZE 16
The side of each of PinkStarSheet's six square stars.
Referenced by btEffectRunHelmSplitter().
Definition at line 17 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_STARS
#define HELM_SPLITTER_STARS 6
Referenced by btEffectRunHelmSplitter().
Definition at line 18 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_SWIRL_PICTURES
#define HELM_SPLITTER_SWIRL_PICTURES 7
FireSwirlSheet's pictures, the swirl growing; the last one holds.
Referenced by btEffectRunHelmSplitter().
Definition at line 20 of file battle_effect_helm_splitter.c.
Functions in detail
btEffectRunHelmSplitter
void btEffectRunHelmSplitter(BATTLE_EFFECT_PARM *args)
The user leaps at the first target and strikes through a fire swirl; the target reels and sparks scatter, bouncing off the ground: stars for Helm Splitter, and for Skull Splitter twice as many skulls from a swirl of blue flame.
Abilities: Helm Splitter, Skull Splitter.
References btCameraShake(), btEffectBuildCanvasBlitters(), btEffectPosProjectBattler(), btEffectStartCanvasLayer(), btEffectTransferCanvas(), btMotionApproachTargetStub(), btParticleAdvanceWithGravity2D(), btResourceLoadAndDecompress(), HelmSplitterPictureBiasX, HelmSplitterPictureBiasY, HelmSplitterPictureHeights, HelmSplitterPictures, HelmSplitterPictureWidths, Sint32, syCos(), syRandom(), syResourceGetTableEntry(), sySetEvent() and sySin().
Referenced by BattleEffectHandlers.
Definition at line 28 of file battle_effect_helm_splitter.c.