Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_planet_diver.c

Planet Diver. More…

Included by battle_effect.c.

Structures

NameDescription
structIMPACT_CHIPOne chip of Planet Diver's impact.

Macros

NameDescription
#definePLANET_DIVER_IMPACT_CHIPS ((IMPACT_CHIP *)RamMapGridMetatileBuffer)RamMapGridMetatileBuffer seen as Planet Diver's chips.
#definePLANET_DIVER_TICKS 88
#definePLANET_DIVER_CLEARED_CHIPS 1024map grid buffer slots cleared first
#definePLANET_DIVER_CHIPS 256chips the fireball bursts into
#definePLANET_DIVER_FLASH_BURSTS 16the ring of flashes round the user

Functions

NameDescription
voidbtEffectRunPlanetDiver (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.

Planet Diver
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.