src/battle_effect/battle_effect_djinni_charge.c
Core and Cannon, a Mars Djinni charging the target, and Rime and Haze, which hand over to the Djinni sign. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | DJINNI_CHARGE_CORE_TICKS 102 | Core's ticks and Cannon's. |
#define | DJINNI_CHARGE_CANNON_TICKS 50 | |
#define | DJINNI_CHARGE_DJINNI_PICTURE 4096 | Where the small Mars Djinni is decoded in the effect's pictures. |
#define | DJINNI_CHARGE_START 62 | The last two particles: the one that keeps the camera's focus at the start, and the one that holds the Djinni's offset from it and its step toward the target. |
#define | DJINNI_CHARGE_STEP 63 | |
#define | DJINNI_CHARGE_FIRST_BURST 54 | Cannon's eight flash bursts, in the particles after its debris. |
#define | DJINNI_CHARGE_BURST_PICTURES 8192 | Where GlowOrbSheet (Core) or FlashBurstSheet (Cannon) is decoded in the effect's pictures. |
#define | DJINNI_CHARGE_BLAST_WIDTH 60 | Cannon's blast trailing from the Djinni: PetalSheet's four cones of light, decoded into the map cell buffer. |
#define | DJINNI_CHARGE_BLAST_HEIGHT 100 | |
#define | DJINNI_CHARGE_PULL_BACK_SHIFT 10 | While the Djinni pulls back, its step toward the target grows by a 1024th of the way a tick; as it drives in, by a 128th. |
#define | DJINNI_CHARGE_DRIVE_SHIFT 7 | |
#define | DJINNI_CHARGE_STRIKE_DEBRIS 16 | The debris each of Core's strikes throws. |
#define | DJINNI_CHARGE_FIREBALL_RINGS 8 | Core's ball of fire: DustBlobSheet in the orange palette on a sphere of DJINNI_CHARGE_FIREBALL_RINGS rings of DJINNI_CHARGE_FIREBALL_RING_VERTICES, from pole to pole, rolled DJINNI_CHARGE_FIREBALL_TILT one way or the other by the targets' side. |
#define | DJINNI_CHARGE_FIREBALL_RING_VERTICES 8 | |
#define | DJINNI_CHARGE_FIREBALL_VERTICES | |
#define | DJINNI_CHARGE_FIREBALL_RING_TURN | |
#define | DJINNI_CHARGE_FIREBALL_RADIUS 48 | |
#define | DJINNI_CHARGE_FIREBALL_TILT 20576 | |
#define | DJINNI_CHARGE_FIREBALL_PROJECTED (RamMapMetatileBuffer + 8192) | |
#define | DJINNI_CHARGE_FIREBALL_MESH (RamMapMetatileBuffer + 16384) |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunDjinniCharge (BATTLE_EFFECT_PARM *args, Sint32 mode) | The small Mars Djinni charges the target. |
void | btEffectRunRime (BATTLE_EFFECT_PARM *args) | Rime's Djinni rises over the targets while its seal spins and shrinks onto the target (btEffectRunDjinniSign). |
void | btEffectRunHaze (BATTLE_EFFECT_PARM *args) | Haze's Djinni rises over the targets while sixteen stars bloom and fade (btEffectRunDjinniSign). |
Description
Core and Cannon, a Mars Djinni charging the target, and Rime and Haze, which
hand over to the Djinni sign. Part of battle_effect.c.
Macros in detail
DJINNI_CHARGE_CORE_TICKS
#define DJINNI_CHARGE_CORE_TICKS 102
Core's ticks and Cannon's.
Referenced by btEffectRunDjinniCharge().
Definition at line 5 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_CANNON_TICKS
#define DJINNI_CHARGE_CANNON_TICKS 50
Referenced by btEffectRunDjinniCharge().
Definition at line 6 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_DJINNI_PICTURE
#define DJINNI_CHARGE_DJINNI_PICTURE 4096
Where the small Mars Djinni is decoded in the effect's pictures.
Referenced by btEffectRunDjinniCharge().
Definition at line 8 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_START
#define DJINNI_CHARGE_START 62
The last two particles: the one that keeps the camera's focus at the start, and the one that holds the Djinni's offset from it and its step toward the target. The debris are the particles before them.
Referenced by btEffectRunDjinniCharge().
Definition at line 13 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_STEP
#define DJINNI_CHARGE_STEP 63
Referenced by btEffectRunDjinniCharge().
Definition at line 14 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIRST_BURST
#define DJINNI_CHARGE_FIRST_BURST 54
Cannon's eight flash bursts, in the particles after its debris.
Referenced by btEffectRunDjinniCharge().
Definition at line 16 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_BURST_PICTURES
#define DJINNI_CHARGE_BURST_PICTURES 8192
Where GlowOrbSheet (Core) or FlashBurstSheet (Cannon) is decoded in the effect's pictures.
Referenced by btEffectRunDjinniCharge().
Definition at line 19 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_BLAST_WIDTH
#define DJINNI_CHARGE_BLAST_WIDTH 60
Cannon's blast trailing from the Djinni: PetalSheet's four cones of light, decoded into the map cell buffer.
Referenced by btEffectRunDjinniCharge().
Definition at line 22 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_BLAST_HEIGHT
#define DJINNI_CHARGE_BLAST_HEIGHT 100
Referenced by btEffectRunDjinniCharge().
Definition at line 23 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_PULL_BACK_SHIFT
#define DJINNI_CHARGE_PULL_BACK_SHIFT 10
While the Djinni pulls back, its step toward the target grows by a 1024th of the way a tick; as it drives in, by a 128th.
Referenced by btEffectRunDjinniCharge().
Definition at line 27 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_DRIVE_SHIFT
#define DJINNI_CHARGE_DRIVE_SHIFT 7
Referenced by btEffectRunDjinniCharge().
Definition at line 28 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_STRIKE_DEBRIS
#define DJINNI_CHARGE_STRIKE_DEBRIS 16
The debris each of Core's strikes throws.
Referenced by btEffectRunDjinniCharge().
Definition at line 30 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_RINGS
#define DJINNI_CHARGE_FIREBALL_RINGS 8
Core's ball of fire: DustBlobSheet in the orange palette on a sphere of
DJINNI_CHARGE_FIREBALL_RINGS rings of DJINNI_CHARGE_FIREBALL_RING_VERTICES,
from pole to pole, rolled DJINNI_CHARGE_FIREBALL_TILT one way or the other by
the targets' side. Its corners are in the map cell buffer, its projected
corners and its mesh after them.
Referenced by btEffectRunDjinniCharge().
Definition at line 37 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_RING_VERTICES
#define DJINNI_CHARGE_FIREBALL_RING_VERTICES 8
Referenced by btEffectRunDjinniCharge().
Definition at line 38 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_VERTICES
#define DJINNI_CHARGE_FIREBALL_VERTICES
Referenced by btEffectRunDjinniCharge().
Definition at line 39 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_RING_TURN
#define DJINNI_CHARGE_FIREBALL_RING_TURN
Referenced by btEffectRunDjinniCharge().
Definition at line 41 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_RADIUS
#define DJINNI_CHARGE_FIREBALL_RADIUS 48
Referenced by btEffectRunDjinniCharge().
Definition at line 43 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_TILT
#define DJINNI_CHARGE_FIREBALL_TILT 20576
Referenced by btEffectRunDjinniCharge().
Definition at line 44 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_PROJECTED
#define DJINNI_CHARGE_FIREBALL_PROJECTED (RamMapMetatileBuffer + 8192)
Referenced by btEffectRunDjinniCharge().
Definition at line 45 of file battle_effect_djinni_charge.c.
DJINNI_CHARGE_FIREBALL_MESH
#define DJINNI_CHARGE_FIREBALL_MESH (RamMapMetatileBuffer + 16384)
Referenced by btEffectRunDjinniCharge().
Definition at line 46 of file battle_effect_djinni_charge.c.
Functions in detail
btEffectRunDjinniCharge
void btEffectRunDjinniCharge(BATTLE_EFFECT_PARM *args, Sint32 mode)
The small Mars Djinni charges the target. In Core it pulls back over the caster inside a ball of fire, then drives in onto the target as the ball swells, strikes it seven times, throwing debris, and turns into a glowing orb that burns out; in Cannon it shoots straight in, a cone of blast trailing from it, and strikes once in a burst of flame and debris.
Abilities: Core, Cannon.
References BattleEffectMotePictures, btCameraShake(), btEffectEndCanvasLayer(), btEffectPosProjectPoint(), btEffectRunDjinniEntrance(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMeshBuildGrid(), btObjectGetStub(), btParticleAdvanceWithGravity3D(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderProjectVertices(), btResourceLoadAndDecompress(), DjinniChargeDebrisGravity, DjinniChargeEntranceFlags, fdActorSetAnimationSpeedStub(), MapGridMetatileBuffer, ProjectionWork, Sint32, syCloseEvent(), syCos(), syHeapRelease(), syHeapSlotRelease(), syInitMatrix(), syLookAtLoad(), syMatrixScaleUniform(), syMatrixTranslateVector(), syRandom(), syRotZ(), syScale(), sySin(), sySoundPlayStub() and syTranslate().
Referenced by btEffectRunCannon() and btEffectRunCore().
Definition at line 55 of file battle_effect_djinni_charge.c.
btEffectRunRime
void btEffectRunRime(BATTLE_EFFECT_PARM *args)
Rime's Djinni rises over the targets while its seal spins and shrinks onto
the target (btEffectRunDjinniSign).
Abilities: Rime.
References btEffectRunDjinniSign().
Referenced by BattleEffectHandlers.
Definition at line 594 of file battle_effect_djinni_charge.c.
btEffectRunHaze
void btEffectRunHaze(BATTLE_EFFECT_PARM *args)
Haze's Djinni rises over the targets while sixteen stars bloom and fade
(btEffectRunDjinniSign).
Abilities: Haze.
References btEffectRunDjinniSign().
Referenced by BattleEffectHandlers.
Definition at line 603 of file battle_effect_djinni_charge.c.