src/battle_effect/battle_effect_rime.c
Rime and Haze, whose Djinni rises while its sign turns over the target, then the entry points of the abilities btEffectRunGaspFamily plays. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | DJINNI_SIGN_DJINNI_PICTURE 26048 | The Djinni's picture, after the sign's pictures in the state's sprite sheet. |
#define | DJINNI_SIGN_DJINNI_SWAY 32 | How far the Djinni sways either side as it rises, in pixels. |
#define | DJINNI_SIGN_TICKS 48 | |
#define | RIME_SEAL_TEXTURE PICTURE_BYTES(RUNE_HALF) | Rime's seal: the 64x64 texture after RuneSheet's half, which the rune's half and its mirror fill (RUNE_TEXTURE_RUNE); the stretch of the sprite sheet cleared for it is four times the texture. |
#define | RIME_SEAL_CLEARED_BYTES 16384 | |
#define | HAZE_PLACED_STARS 32 | Haze's stars: thirty-two placed, of which the first sixteen bloom, each over sixteen ticks. |
#define | HAZE_STARS 16 | |
#define | HAZE_STAR_TICKS 16 |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunDjinniSign (BATTLE_EFFECT_PARM *args, Sint32 mode) | Rime and Haze: the Djinni rises swaying out of sight over the targets while its sign turns in the air: for Rime a seal that spins in two mirrored copies and shrinks onto the target, for Haze sixteen stars that bloom and fade one after another. |
void | btEffectRunGasp (BATTLE_EFFECT_PARM *args) | Abilities: Gasp. |
void | btEffectRunReflux (BATTLE_EFFECT_PARM *args) | Abilities: Reflux. |
void | btEffectRunDjinnCounter (BATTLE_EFFECT_PARM *args) | Abilities: Djinn Counter. |
void | btEffectRunCounterRush (BATTLE_EFFECT_PARM *args) | Abilities: Counter-rush. |
void | btEffectRunMold (BATTLE_EFFECT_PARM *args) | Abilities: Mold. |
void | btEffectRunMeld (BATTLE_EFFECT_PARM *args) | Abilities: Meld. |
void | btEffectRunShine (BATTLE_EFFECT_PARM *args) | Abilities: Shine. |
void | btEffectRunLull (BATTLE_EFFECT_PARM *args) | Abilities: Lull. |
void | btEffectRunDemonEye (BATTLE_EFFECT_PARM *args) | Abilities: Demon Eye. |
void | btEffectRunEmu (BATTLE_EFFECT_PARM *args) | Abilities: Emu, Call Demon, Claw Slash, Mega Slash, Vital Moon. |
void | btEffectRunCallDullahan (BATTLE_EFFECT_PARM *args) | Abilities: Call Dullahan, Formina Sage. |
void | btEffectRunBeatDance (BATTLE_EFFECT_PARM *args) | Abilities: Beat Dance. |
void | btEffectRunClarionCry (BATTLE_EFFECT_PARM *args) | Abilities: Clarion Cry. |
void | btEffectRunElementSwap (BATTLE_EFFECT_PARM *args) | Abilities: Element Swap. |
void | btEffectRunPsyBoost (BATTLE_EFFECT_PARM *args) | Abilities: Psy Boost. |
void | btEffectRunCage (BATTLE_EFFECT_PARM *args) | Abilities: Cage. |
Description
Rime and Haze, whose Djinni rises while its sign turns over the target, then
the entry points of the abilities btEffectRunGaspFamily plays. Part of
battle_effect.c.
Macros in detail
DJINNI_SIGN_DJINNI_PICTURE
#define DJINNI_SIGN_DJINNI_PICTURE 26048
The Djinni's picture, after the sign's pictures in the state's sprite sheet.
Referenced by btEffectRunDjinniSign().
Definition at line 6 of file battle_effect_rime.c.
DJINNI_SIGN_DJINNI_SWAY
#define DJINNI_SIGN_DJINNI_SWAY 32
How far the Djinni sways either side as it rises, in pixels.
Referenced by btEffectRunDjinniSign().
Definition at line 8 of file battle_effect_rime.c.
DJINNI_SIGN_TICKS
#define DJINNI_SIGN_TICKS 48
Referenced by btEffectRunDjinniSign().
Definition at line 9 of file battle_effect_rime.c.
RIME_SEAL_TEXTURE
#define RIME_SEAL_TEXTURE PICTURE_BYTES(RUNE_HALF)
Rime's seal: the 64x64 texture after RuneSheet's half, which the rune's half
and its mirror fill (RUNE_TEXTURE_RUNE); the stretch of the sprite sheet
cleared for it is four times the texture.
Referenced by btEffectRunDjinniSign().
Definition at line 14 of file battle_effect_rime.c.
RIME_SEAL_CLEARED_BYTES
#define RIME_SEAL_CLEARED_BYTES 16384
Referenced by btEffectRunDjinniSign().
Definition at line 15 of file battle_effect_rime.c.
HAZE_PLACED_STARS
#define HAZE_PLACED_STARS 32
Haze's stars: thirty-two placed, of which the first sixteen bloom, each over sixteen ticks.
Referenced by btEffectRunDjinniSign().
Definition at line 19 of file battle_effect_rime.c.
HAZE_STARS
#define HAZE_STARS 16
Referenced by btEffectRunDjinniSign().
Definition at line 20 of file battle_effect_rime.c.
HAZE_STAR_TICKS
#define HAZE_STAR_TICKS 16
Referenced by btEffectRunDjinniSign().
Definition at line 21 of file battle_effect_rime.c.
Functions in detail
btEffectRunDjinniSign
void btEffectRunDjinniSign(BATTLE_EFFECT_PARM *args, Sint32 mode)
Rime and Haze: the Djinni rises swaying out of sight over the targets while its sign turns in the air: for Rime a seal that spins in two mirrored copies and shrinks onto the target, for Haze sixteen stars that bloom and fade one after another.
References BattleEffectGroundSquareCorners, BattleEffectSquareMesh, btEffectEndCanvasLayer(), btEffectRunDjinniEntrance(), btEffectStartCanvasLayer(), btEffectStepPaletteToResource(), btEffectTintBattler(), btEffectTransferCanvas(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), ProjectionWork, Sint32, syCloseEvent(), syHeapAllocateEWRAM(), syHeapRelease(), syHeapSlotRelease(), syInitMatrix(), syRandom(), syRotX(), syRotY(), syScale(), sySetEvent(), sySin(), sySoundPlayStub() and syTranslate().
Referenced by btEffectRunHaze() and btEffectRunRime().
Definition at line 27 of file battle_effect_rime.c.
btEffectRunGasp
void btEffectRunGasp(BATTLE_EFFECT_PARM *args)
Abilities: Gasp.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 257 of file battle_effect_rime.c.
btEffectRunReflux
void btEffectRunReflux(BATTLE_EFFECT_PARM *args)
Abilities: Reflux.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 263 of file battle_effect_rime.c.
btEffectRunDjinnCounter
void btEffectRunDjinnCounter(BATTLE_EFFECT_PARM *args)
Abilities: Djinn Counter.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 269 of file battle_effect_rime.c.
btEffectRunCounterRush
void btEffectRunCounterRush(BATTLE_EFFECT_PARM *args)
Abilities: Counter-rush.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 275 of file battle_effect_rime.c.
btEffectRunMold
void btEffectRunMold(BATTLE_EFFECT_PARM *args)
Abilities: Mold.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 281 of file battle_effect_rime.c.
btEffectRunMeld
void btEffectRunMeld(BATTLE_EFFECT_PARM *args)
Abilities: Meld.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 287 of file battle_effect_rime.c.
btEffectRunShine
void btEffectRunShine(BATTLE_EFFECT_PARM *args)
Abilities: Shine.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 293 of file battle_effect_rime.c.
btEffectRunLull
void btEffectRunLull(BATTLE_EFFECT_PARM *args)
Abilities: Lull.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 299 of file battle_effect_rime.c.
btEffectRunDemonEye
void btEffectRunDemonEye(BATTLE_EFFECT_PARM *args)
Abilities: Demon Eye.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 305 of file battle_effect_rime.c.
btEffectRunEmu
void btEffectRunEmu(BATTLE_EFFECT_PARM *args)
Abilities: Emu, Call Demon, Claw Slash, Mega Slash, Vital Moon.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 311 of file battle_effect_rime.c.
btEffectRunCallDullahan
void btEffectRunCallDullahan(BATTLE_EFFECT_PARM *args)
Abilities: Call Dullahan, Formina Sage.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 317 of file battle_effect_rime.c.
btEffectRunBeatDance
void btEffectRunBeatDance(BATTLE_EFFECT_PARM *args)
Abilities: Beat Dance.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 323 of file battle_effect_rime.c.
btEffectRunClarionCry
void btEffectRunClarionCry(BATTLE_EFFECT_PARM *args)
Abilities: Clarion Cry.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 329 of file battle_effect_rime.c.
btEffectRunElementSwap
void btEffectRunElementSwap(BATTLE_EFFECT_PARM *args)
Abilities: Element Swap.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 335 of file battle_effect_rime.c.
btEffectRunPsyBoost
void btEffectRunPsyBoost(BATTLE_EFFECT_PARM *args)
Abilities: Psy Boost.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 341 of file battle_effect_rime.c.
btEffectRunCage
void btEffectRunCage(BATTLE_EFFECT_PARM *args)
Abilities: Cage.
References btEffectRunGaspFamily().
Referenced by BattleEffectHandlers.
Definition at line 347 of file battle_effect_rime.c.