src/battle_effect/battle_effect_planet_diver.c
Planet Diver. More…
Included by battle_effect.c.
Structures
| Name | Description | |
|---|---|---|
struct | IMPACT_CHIP | One chip of Planet Diver's impact. |
Macros
| Name | Description | |
|---|---|---|
#define | PLANET_DIVER_IMPACT_CHIPS ((IMPACT_CHIP *)RamMapGridMetatileBuffer) | RamMapGridMetatileBuffer seen as Planet Diver's chips. |
#define | PLANET_DIVER_TICKS 88 | |
#define | PLANET_DIVER_CLEARED_CHIPS 1024 | map grid buffer slots cleared first |
#define | PLANET_DIVER_CHIPS 256 | chips the fireball bursts into |
#define | PLANET_DIVER_FLASH_BURSTS 16 | the ring of flashes round the user |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunPlanetDiver (BATTLE_EFFECT_PARM *args) | The user flashes and leaps into the air, turns into a ball of fire, falls onto the first target and bursts into chips that bounce on the ground. |
Description
Planet Diver. Part of battle_effect.c.
Macros in detail
PLANET_DIVER_IMPACT_CHIPS
#define PLANET_DIVER_IMPACT_CHIPS ((IMPACT_CHIP *)RamMapGridMetatileBuffer)
RamMapGridMetatileBuffer seen as Planet Diver's chips.
Referenced by btEffectRunPlanetDiver().
Definition at line 17 of file battle_effect_planet_diver.c.
PLANET_DIVER_TICKS
#define PLANET_DIVER_TICKS 88
Referenced by btEffectRunPlanetDiver().
Definition at line 19 of file battle_effect_planet_diver.c.
PLANET_DIVER_CLEARED_CHIPS
#define PLANET_DIVER_CLEARED_CHIPS 1024
map grid buffer slots cleared first
Referenced by btEffectRunPlanetDiver().
Definition at line 20 of file battle_effect_planet_diver.c.
PLANET_DIVER_CHIPS
#define PLANET_DIVER_CHIPS 256
chips the fireball bursts into
Referenced by btEffectRunPlanetDiver().
Definition at line 21 of file battle_effect_planet_diver.c.
PLANET_DIVER_FLASH_BURSTS
#define PLANET_DIVER_FLASH_BURSTS 16
the ring of flashes round the user
Referenced by btEffectRunPlanetDiver().
Definition at line 22 of file battle_effect_planet_diver.c.
Functions in detail
btEffectRunPlanetDiver
void btEffectRunPlanetDiver(BATTLE_EFFECT_PARM *args)
The user flashes and leaps into the air, turns into a ball of fire, falls onto the first target and bursts into chips that bounce on the ground.
Abilities: Planet Diver.

References btCameraShake(), btEffectStartCanvasLayer(), btEffectTintBattler(), btMotionApplyKnockbackStub(), btObjectGetStub(), btProjectionUnit(), fdActorSelectAnimationStub(), fdActorSetMoveTargetStub(), fdActorStartIdleStub(), Sint32, state, syCos(), syDecompressTaggedLZ(), syRandom(), syResourceGetTableEntry(), sySin(), sySoundPlayStub() and syWordsCopy().
Referenced by BattleEffectHandlers.
Definition at line 28 of file battle_effect_planet_diver.c.