src/battle_effect/battle_effect_helm_splitter.c
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | HELM_SPLITTER_TICKS 70 | Helm Splitter. |
#define | HELM_SPLITTER_STRIKE_TICK 18 | the swirl strikes the target |
#define | HELM_SPLITTER_STAR_PICTURES 16000 | Where PinkStarSheet's stars begin in the sheet, in bytes, after the swirl. |
#define | HELM_SPLITTER_STAR_SIZE 16 | PinkStarSheet's six stars, each 16 pixels square. |
#define | HELM_SPLITTER_CLEARED_SLOTS | |
#define | HELM_SPLITTER_SPARKS 16 | sparks scattered by the strike |
#define | HELM_SPLITTER_SPARK_SLOTS 128 | spark slots moved and drawn |
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. |
Macros in detail
HELM_SPLITTER_TICKS
#define HELM_SPLITTER_TICKS 70
Helm Splitter. Part of battle_effect.c.
Referenced by btEffectRunHelmSplitter().
Definition at line 2 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 3 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_STAR_PICTURES
#define HELM_SPLITTER_STAR_PICTURES 16000
Where PinkStarSheet's stars begin in the sheet, in bytes, after the swirl.
Referenced by btEffectRunHelmSplitter().
Definition at line 5 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_STAR_SIZE
#define HELM_SPLITTER_STAR_SIZE 16
PinkStarSheet's six stars, each 16 pixels square.
Referenced by btEffectRunHelmSplitter().
Definition at line 7 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_CLEARED_SLOTS
#define HELM_SPLITTER_CLEARED_SLOTS
Referenced by btEffectRunHelmSplitter().
Definition at line 8 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_SPARKS
#define HELM_SPLITTER_SPARKS 16
sparks scattered by the strike
Referenced by btEffectRunHelmSplitter().
Definition at line 10 of file battle_effect_helm_splitter.c.
HELM_SPLITTER_SPARK_SLOTS
#define HELM_SPLITTER_SPARK_SLOTS 128
spark slots moved and drawn
Referenced by btEffectRunHelmSplitter().
Definition at line 11 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.
Abilities: Helm Splitter.

References btCameraShake(), btEffectBuildCanvasBlitters(), btEffectTintBattler(), btMotionApplyKnockbackStub(), btObjectGetStub(), btParticleAdvanceWithGravity2D(), btProjectionUnit(), btResourceLoadAndDecompress(), fdActorSelectAnimationStub(), fdActorSetMoveTargetStub(), fdActorStartIdleStub(), HelmSplitterPictureBiasX, HelmSplitterPictureBiasY, HelmSplitterPictureHeights, HelmSplitterPictures, HelmSplitterPictureWidths, Sint32, state, syCos(), syRandom(), sySin() and sySquartIWRAM().
Referenced by BattleEffectHandlers.
Definition at line 17 of file battle_effect_helm_splitter.c.