src/battle_effect/battle_effect_death_plunge.c
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | DEATH_PLUNGE_TICKS 96 | Death Plunge. |
#define | DEATH_PLUNGE_FLIP_TICK 11 | Both turn upside down in mid-leap at DEATH_PLUNGE_FLIP_TICK and right side up again at DEATH_PLUNGE_RIGHTING_TICK. |
#define | DEATH_PLUNGE_RIGHTING_TICK 64 | |
#define | DEATH_PLUNGE_STRIKE_TICK 54 | The plunge strikes: the target flashes, the user flashes and the damage shows. |
#define | DEATH_PLUNGE_RUN_PERCENT 90 | How far toward the target the user runs, in hundredths of the way. |
#define | DEATH_PLUNGE_RING_FLASHES 16 | The flashes thrown in a ring after the strike. |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunDeathPlunge (BATTLE_EFFECT_PARM *args) | The user runs at the first target, both leap and turn upside down, and on the hit they bounce apart while a ring of flashes bursts out over them. |
Macros in detail
DEATH_PLUNGE_TICKS
#define DEATH_PLUNGE_TICKS 96
Death Plunge. Part of battle_effect.c.
Referenced by btEffectRunDeathPlunge().
Definition at line 2 of file battle_effect_death_plunge.c.
DEATH_PLUNGE_FLIP_TICK
#define DEATH_PLUNGE_FLIP_TICK 11
Both turn upside down in mid-leap at DEATH_PLUNGE_FLIP_TICK and right side up
again at DEATH_PLUNGE_RIGHTING_TICK.
Referenced by btEffectRunDeathPlunge().
Definition at line 5 of file battle_effect_death_plunge.c.
DEATH_PLUNGE_RIGHTING_TICK
#define DEATH_PLUNGE_RIGHTING_TICK 64
Referenced by btEffectRunDeathPlunge().
Definition at line 6 of file battle_effect_death_plunge.c.
DEATH_PLUNGE_STRIKE_TICK
#define DEATH_PLUNGE_STRIKE_TICK 54
The plunge strikes: the target flashes, the user flashes and the damage shows.
Referenced by btEffectRunDeathPlunge().
Definition at line 9 of file battle_effect_death_plunge.c.
DEATH_PLUNGE_RUN_PERCENT
#define DEATH_PLUNGE_RUN_PERCENT 90
How far toward the target the user runs, in hundredths of the way.
Referenced by btEffectRunDeathPlunge().
Definition at line 11 of file battle_effect_death_plunge.c.
DEATH_PLUNGE_RING_FLASHES
#define DEATH_PLUNGE_RING_FLASHES 16
The flashes thrown in a ring after the strike.
Referenced by btEffectRunDeathPlunge().
Definition at line 13 of file battle_effect_death_plunge.c.
Functions in detail
btEffectRunDeathPlunge
void btEffectRunDeathPlunge(BATTLE_EFFECT_PARM *args)
The user runs at the first target, both leap and turn upside down, and on the hit they bounce apart while a ring of flashes bursts out over them.
Abilities: Death Plunge.

References btCameraShake(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), btProjectionPoint(), btResourceLoadAndDecompress(), btUnitGetEffectHeightStub(), fdActorSelectAnimationStub(), fdActorSetMoveTargetStub(), fdActorStartIdleStub(), Sint32, state, syCos(), sySetEvent(), sySin(), sySoundPlayStub() and sySynch().
Referenced by BattleEffectHandlers.
Definition at line 19 of file battle_effect_death_plunge.c.