src/battle_effect/battle_effect_target_motes.c
The status motes of Taint, Delude, Paralyze, Heartrender, Mystic Flame, Demonfire and Drown, then Sleep's sheep, Curse's candles, an unused Mercury Djinni heal, and Balm, Tinder and Phoenix. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | TARGET_MOTES_START_WIDE (mode) | Styles whose motes start in a wide ball, and run on TARGET_MOTES_WIDE_RUN_ON ticks after the last target's motes start. |
#define | TARGET_MOTES_CLOSE_IN (mode) | Styles whose motes close in on the target; the others rise. |
#define | TARGET_MOTES_RIPPLE (mode) | Every style but Taint's smokes and Paralyze ripples the canvas. |
#define | TARGET_MOTES_GLINT_PICTURES 9600 | Where Paralyze keeps its glint pictures in state->sheet. |
#define | TARGET_MOTES 512 | Motes scattered at the start. |
#define | TARGET_MOTES_SLOTS 64 | Particles reserved for each target. |
#define | TARGET_MOTES_CYCLE 24 | Ticks of a mote's image cycle. |
#define | TARGET_MOTES_PER_TARGET 16 | The motes about each target: TARGET_MOTES_PER_TARGET, or Demonfire's orbs or Drown's drops. |
#define | DEMON_FIRE_ORBS 24 | |
#define | DROWN_DROPS 32 | |
#define | TARGET_MOTES_STAGGER 8 | The ticks between one target's motes starting and the next's. |
#define | TARGET_MOTES_RUN_ON 32 | The ticks the effect runs on after the last target's motes start. |
#define | TARGET_MOTES_WIDE_RUN_ON 64 | |
#define | TARGET_MOTES_DAMAGE_END_TICKS 32 | The ticks the effect runs on after the damage shows. |
#define | DEMON_FIRE_LEAP_TICKS 14 | |
#define | DEMON_FIRE_APPROACH_TICKS 16 | |
#define | DROWN_DROP_WIDTH 12 | VortexSheet's water drop, after its three 16x64 swirls. |
#define | DROWN_DROP_HEIGHT 24 | |
#define | DROWN_DROP_PICTURE (3 * 16 * 64) | |
#define | SLEEP_TICKS 98 | |
#define | SLEEP_SEEDED 32 | Particles cleared at the start. |
#define | SLEEP_SHEEP 12 | Sheep dropped. |
#define | SHEEP_PICTURES 4 | SheepCardSheet: the Sleep Card's picture, which Sleep does not draw, then four pictures of a tumbling sheep, drawn flipped for the next four. |
#define | SHEEP_TUMBLE_STEP 16 | A sheep's variant counts its tumble, z a tick: it turns to its next picture every SHEEP_TUMBLE_STEP. |
#define | GROUND_Y toFIXED(92) | The ground the sheep were meant to bounce off. |
#define | CURSE_CANDLE_TICKS 72 | how long each target's candle burns |
#define | CURSE_STAGGER 16 | The ticks between one target's candle and the next's |
#define | CURSE_FLAME_WIDTH 16 | FlameColumnSheet: the flame's nine pictures, then the candle. |
#define | CURSE_FLAME_HEIGHT 12 | |
#define | CURSE_FLAME_PICTURES 9 | |
#define | CURSE_CANDLE_WIDTH 16 | |
#define | CURSE_CANDLE_HEIGHT 20 | |
#define | CURSE_CANDLE_PICTURE (CURSE_FLAME_PICTURES * PICTURE_BYTES(CURSE_FLAME)) | |
#define | DJINN_HEAL_SPARKS 512 | Sparks in PARTICLES, 64 for each target. |
#define | DJINN_HEAL_SPARKS_PER_TARGET 64 | |
#define | DJINN_HEAL_SWIRL_TICKS 98 | |
#define | DJINN_HEAL_SWIRL_MOTES 32 | Motes swirled in. |
#define | DJINN_HEAL_SWIRL_SLOTS 64 | The motes set out to swirl, of which DJINN_HEAL_SWIRL_MOTES are drawn. |
#define | DJINN_HEAL_TRAVEL_TICKS 40 | The ticks the swirl takes to travel from the user to above the first target, from tick 30. |
#define | DJINN_HEAL_MOTE_SIZE_MAX 9 | A swirling mote is drawn at size DJINN_HEAL_MOTE_SIZE_MAX at depth DJINN_HEAL_MOTE_DEPTH_NEAR or nearer, one size smaller every DJINN_HEAL_MOTE_DEPTH_STEP farther, its depth held below DJINN_HEAL_MOTE_DEPTH_FAR. |
#define | DJINN_HEAL_MOTE_DEPTH_NEAR 250 | |
#define | DJINN_HEAL_MOTE_DEPTH_STEP 64 | |
#define | DJINN_HEAL_MOTE_DEPTH_FAR 634 | |
#define | DJINN_HEAL_SPARKLE_DEPTH_NEAR 314 | The depths the sparkles' idle size by depth is worked out over, as the healing sparkles' are: three sizes, DJINN_HEAL_SPARKLE_DEPTH_STEP apart. |
#define | DJINN_HEAL_SPARKLE_DEPTH_STEP 128 | |
#define | DJINN_HEAL_SPARKLE_DEPTH_FAR 634 | |
#define | DJINN_HEAL_MOTE_SPIN (i) ((i) * 32 + 256) | The angle mote i turns each tick about its axis: each later mote faster. |
#define | DJINN_HEAL_SWAY 40 | How far, in pixels, the Djinni sways each way over the targets. |
Enumerations
| Name | Description | |
|---|---|---|
enum | TARGET_MOTES_MODE { TARGET_MOTES_TAINT, TARGET_MOTES_PINK_SMOKE, TARGET_MOTES_DE … } | The target motes' styles (btEffectRunTargetMotes), each named for the effect that plays it. |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunTaint (BATTLE_EFFECT_PARM *args) | Lime smoke swirls in on each target, or pink smoke for a stronger variant. |
void | btEffectRunPoisonGel (BATTLE_EFFECT_PARM *args) | Pink smoke swirls in on each target, as Taint shows it for a stronger variant. |
void | btEffectRunDelude (BATTLE_EFFECT_PARM *args) | Cyan smoke rises around each target. |
void | btEffectRunParalyze (BATTLE_EFFECT_PARM *args) | Smoke rises around each target, and glints sparkle near it. |
void | btEffectRunHeartrender (BATTLE_EFFECT_PARM *args) | Hearts close in on each target, turning as they come. |
void | btEffectRunMysticFlame (BATTLE_EFFECT_PARM *args) | Glowing orbs spiral in on each target. |
void | btEffectRunDemonFire (BATTLE_EFFECT_PARM *args) | Glowing orbs in Mars Djinn colours rise around each target, and then the user steps up to the first target and strikes it. |
void | btEffectRunDrown (BATTLE_EFFECT_PARM *args) | Thirty-two water drops spiral in on each target. |
void | btEffectRunTargetMotes (BATTLE_EFFECT_PARM *args, Uint32 mode) | Around each target in turn, motes (smoke, hearts, orbs) close in on it or rise, and the target flashes. |
void | btEffectRunSleep (BATTLE_EFFECT_PARM *args) | Twelve sheep drop onto the targets' side, tumbling, and each target falls asleep in turn. |
void | btEffectRunCurse (BATTLE_EFFECT_PARM *args) | A candle stands on each target's head in turn, a small flame burning on it. |
void | btEffectRunDjinnHeal (BATTLE_EFFECT_PARM *args) | Unused: nothing reaches it. |
void | btEffectRunBalm (BATTLE_EFFECT_PARM *args) | Abilities: Balm. |
void | btEffectRunTinder (BATTLE_EFFECT_PARM *args) | Abilities: Tinder. |
void | btEffectRunPhoenix (BATTLE_EFFECT_PARM *args) | Abilities: Phoenix, Regen Dance. |
Description
The status motes of Taint, Delude, Paralyze, Heartrender, Mystic Flame,
Demonfire and Drown, then Sleep's sheep, Curse's candles, an unused Mercury
Djinni heal, and Balm, Tinder and Phoenix. Part of battle_effect.c.
Macros in detail
TARGET_MOTES_START_WIDE
#define TARGET_MOTES_START_WIDE(mode)
Styles whose motes start in a wide ball, and run on TARGET_MOTES_WIDE_RUN_ON
ticks after the last target's motes start.
Referenced by btEffectRunTargetMotes().
Definition at line 98 of file battle_effect_target_motes.c.
TARGET_MOTES_CLOSE_IN
#define TARGET_MOTES_CLOSE_IN(mode)
Styles whose motes close in on the target; the others rise.
Referenced by btEffectRunTargetMotes().
Definition at line 103 of file battle_effect_target_motes.c.
TARGET_MOTES_RIPPLE
#define TARGET_MOTES_RIPPLE(mode)
Every style but Taint's smokes and Paralyze ripples the canvas.
Referenced by btEffectRunTargetMotes().
Definition at line 107 of file battle_effect_target_motes.c.
TARGET_MOTES_GLINT_PICTURES
#define TARGET_MOTES_GLINT_PICTURES 9600
Where Paralyze keeps its glint pictures in state->sheet.
Referenced by btEffectRunTargetMotes().
Definition at line 111 of file battle_effect_target_motes.c.
TARGET_MOTES
#define TARGET_MOTES 512
Motes scattered at the start.
Referenced by btEffectRunTargetMotes().
Definition at line 114 of file battle_effect_target_motes.c.
TARGET_MOTES_SLOTS
#define TARGET_MOTES_SLOTS 64
Particles reserved for each target.
Referenced by btEffectRunTargetMotes().
Definition at line 116 of file battle_effect_target_motes.c.
TARGET_MOTES_CYCLE
#define TARGET_MOTES_CYCLE 24
Ticks of a mote's image cycle.
Referenced by btEffectRunTargetMotes().
Definition at line 118 of file battle_effect_target_motes.c.
TARGET_MOTES_PER_TARGET
#define TARGET_MOTES_PER_TARGET 16
The motes about each target: TARGET_MOTES_PER_TARGET, or Demonfire's orbs or
Drown's drops.
Referenced by btEffectRunTargetMotes().
Definition at line 121 of file battle_effect_target_motes.c.
DEMON_FIRE_ORBS
#define DEMON_FIRE_ORBS 24
Referenced by btEffectRunTargetMotes().
Definition at line 122 of file battle_effect_target_motes.c.
DROWN_DROPS
#define DROWN_DROPS 32
Referenced by btEffectRunTargetMotes().
Definition at line 123 of file battle_effect_target_motes.c.
TARGET_MOTES_STAGGER
#define TARGET_MOTES_STAGGER 8
The ticks between one target's motes starting and the next's.
Referenced by btEffectRunTargetMotes().
Definition at line 125 of file battle_effect_target_motes.c.
TARGET_MOTES_RUN_ON
#define TARGET_MOTES_RUN_ON 32
The ticks the effect runs on after the last target's motes start.
Referenced by btEffectRunTargetMotes().
Definition at line 127 of file battle_effect_target_motes.c.
TARGET_MOTES_WIDE_RUN_ON
#define TARGET_MOTES_WIDE_RUN_ON 64
Referenced by btEffectRunTargetMotes().
Definition at line 128 of file battle_effect_target_motes.c.
TARGET_MOTES_DAMAGE_END_TICKS
#define TARGET_MOTES_DAMAGE_END_TICKS 32
The ticks the effect runs on after the damage shows. Demonfire's user sets
off DEMON_FIRE_LEAP_TICKS before then and reaches the first target over
DEMON_FIRE_APPROACH_TICKS, striking it as the damage shows.
Referenced by btEffectRunTargetMotes().
Definition at line 132 of file battle_effect_target_motes.c.
DEMON_FIRE_LEAP_TICKS
#define DEMON_FIRE_LEAP_TICKS 14
Referenced by btEffectRunTargetMotes().
Definition at line 133 of file battle_effect_target_motes.c.
DEMON_FIRE_APPROACH_TICKS
#define DEMON_FIRE_APPROACH_TICKS 16
Referenced by btEffectRunTargetMotes().
Definition at line 134 of file battle_effect_target_motes.c.
DROWN_DROP_WIDTH
#define DROWN_DROP_WIDTH 12
VortexSheet's water drop, after its three 16x64 swirls.
Referenced by btEffectRunTargetMotes().
Definition at line 136 of file battle_effect_target_motes.c.
DROWN_DROP_HEIGHT
#define DROWN_DROP_HEIGHT 24
Referenced by btEffectRunTargetMotes().
Definition at line 137 of file battle_effect_target_motes.c.
DROWN_DROP_PICTURE
#define DROWN_DROP_PICTURE (3 * 16 * 64)
Referenced by btEffectRunTargetMotes().
Definition at line 138 of file battle_effect_target_motes.c.
SLEEP_TICKS
#define SLEEP_TICKS 98
Referenced by btEffectRunSleep().
Definition at line 440 of file battle_effect_target_motes.c.
SLEEP_SEEDED
#define SLEEP_SEEDED 32
Particles cleared at the start.
Referenced by btEffectRunSleep().
Definition at line 442 of file battle_effect_target_motes.c.
SLEEP_SHEEP
#define SLEEP_SHEEP 12
Sheep dropped.
Referenced by btEffectRunSleep().
Definition at line 444 of file battle_effect_target_motes.c.
SHEEP_PICTURES
#define SHEEP_PICTURES 4
SheepCardSheet: the Sleep Card's picture, which Sleep does not draw, then four pictures of a tumbling sheep, drawn flipped for the next four.
Referenced by btEffectRunSleep().
Definition at line 447 of file battle_effect_target_motes.c.
SHEEP_TUMBLE_STEP
#define SHEEP_TUMBLE_STEP 16
A sheep's variant counts its tumble, z a tick: it turns to its next picture
every SHEEP_TUMBLE_STEP.
Referenced by btEffectRunSleep().
Definition at line 450 of file battle_effect_target_motes.c.
GROUND_Y
#define GROUND_Y toFIXED(92)
The ground the sheep were meant to bounce off.
Referenced by btEffectRunSleep().
Definition at line 452 of file battle_effect_target_motes.c.
CURSE_CANDLE_TICKS
#define CURSE_CANDLE_TICKS 72
how long each target's candle burns
Referenced by btEffectRunCurse().
Definition at line 599 of file battle_effect_target_motes.c.
CURSE_STAGGER
#define CURSE_STAGGER 16
The ticks between one target's candle and the next's
Referenced by btEffectRunCurse().
Definition at line 600 of file battle_effect_target_motes.c.
CURSE_FLAME_WIDTH
#define CURSE_FLAME_WIDTH 16
FlameColumnSheet: the flame's nine pictures, then the candle.
Referenced by btEffectRunCurse().
Definition at line 603 of file battle_effect_target_motes.c.
CURSE_FLAME_HEIGHT
#define CURSE_FLAME_HEIGHT 12
Referenced by btEffectRunCurse().
Definition at line 604 of file battle_effect_target_motes.c.
CURSE_FLAME_PICTURES
#define CURSE_FLAME_PICTURES 9
Referenced by btEffectRunCurse().
Definition at line 605 of file battle_effect_target_motes.c.
CURSE_CANDLE_WIDTH
#define CURSE_CANDLE_WIDTH 16
Referenced by btEffectRunCurse().
Definition at line 606 of file battle_effect_target_motes.c.
CURSE_CANDLE_HEIGHT
#define CURSE_CANDLE_HEIGHT 20
Referenced by btEffectRunCurse().
Definition at line 607 of file battle_effect_target_motes.c.
CURSE_CANDLE_PICTURE
#define CURSE_CANDLE_PICTURE (CURSE_FLAME_PICTURES * PICTURE_BYTES(CURSE_FLAME))
Referenced by btEffectRunCurse().
Definition at line 608 of file battle_effect_target_motes.c.
DJINN_HEAL_SPARKS
#define DJINN_HEAL_SPARKS 512
Sparks in PARTICLES, 64 for each target.
Referenced by btEffectRunDjinnHeal().
Definition at line 706 of file battle_effect_target_motes.c.
DJINN_HEAL_SPARKS_PER_TARGET
#define DJINN_HEAL_SPARKS_PER_TARGET 64
Referenced by btEffectRunDjinnHeal().
Definition at line 707 of file battle_effect_target_motes.c.
DJINN_HEAL_SWIRL_TICKS
#define DJINN_HEAL_SWIRL_TICKS 98
Referenced by btEffectRunDjinnHeal().
Definition at line 709 of file battle_effect_target_motes.c.
DJINN_HEAL_SWIRL_MOTES
#define DJINN_HEAL_SWIRL_MOTES 32
Motes swirled in.
Referenced by btEffectRunDjinnHeal().
Definition at line 711 of file battle_effect_target_motes.c.
DJINN_HEAL_SWIRL_SLOTS
#define DJINN_HEAL_SWIRL_SLOTS 64
The motes set out to swirl, of which DJINN_HEAL_SWIRL_MOTES are drawn.
Referenced by btEffectRunDjinnHeal().
Definition at line 713 of file battle_effect_target_motes.c.
DJINN_HEAL_TRAVEL_TICKS
#define DJINN_HEAL_TRAVEL_TICKS 40
The ticks the swirl takes to travel from the user to above the first target, from tick 30.
Referenced by btEffectRunDjinnHeal().
Definition at line 716 of file battle_effect_target_motes.c.
DJINN_HEAL_MOTE_SIZE_MAX
#define DJINN_HEAL_MOTE_SIZE_MAX 9
A swirling mote is drawn at size DJINN_HEAL_MOTE_SIZE_MAX at depth
DJINN_HEAL_MOTE_DEPTH_NEAR or nearer, one size smaller every
DJINN_HEAL_MOTE_DEPTH_STEP farther, its depth held below
DJINN_HEAL_MOTE_DEPTH_FAR.
Referenced by btEffectRunDjinnHeal().
Definition at line 721 of file battle_effect_target_motes.c.
DJINN_HEAL_MOTE_DEPTH_NEAR
#define DJINN_HEAL_MOTE_DEPTH_NEAR 250
Referenced by btEffectRunDjinnHeal().
Definition at line 722 of file battle_effect_target_motes.c.
DJINN_HEAL_MOTE_DEPTH_STEP
#define DJINN_HEAL_MOTE_DEPTH_STEP 64
Referenced by btEffectRunDjinnHeal().
Definition at line 723 of file battle_effect_target_motes.c.
DJINN_HEAL_MOTE_DEPTH_FAR
#define DJINN_HEAL_MOTE_DEPTH_FAR 634
Referenced by btEffectRunDjinnHeal().
Definition at line 724 of file battle_effect_target_motes.c.
DJINN_HEAL_SPARKLE_DEPTH_NEAR
#define DJINN_HEAL_SPARKLE_DEPTH_NEAR 314
The depths the sparkles' idle size by depth is worked out over, as the
healing sparkles' are: three sizes, DJINN_HEAL_SPARKLE_DEPTH_STEP apart.
Referenced by btEffectRunDjinnHeal().
Definition at line 727 of file battle_effect_target_motes.c.
DJINN_HEAL_SPARKLE_DEPTH_STEP
#define DJINN_HEAL_SPARKLE_DEPTH_STEP 128
Referenced by btEffectRunDjinnHeal().
Definition at line 728 of file battle_effect_target_motes.c.
DJINN_HEAL_SPARKLE_DEPTH_FAR
#define DJINN_HEAL_SPARKLE_DEPTH_FAR 634
Referenced by btEffectRunDjinnHeal().
Definition at line 729 of file battle_effect_target_motes.c.
DJINN_HEAL_MOTE_SPIN
#define DJINN_HEAL_MOTE_SPIN(i) ((i) * 32 + 256)
The angle mote i turns each tick about its axis: each later mote faster.
Referenced by btEffectRunDjinnHeal().
Definition at line 731 of file battle_effect_target_motes.c.
DJINN_HEAL_SWAY
#define DJINN_HEAL_SWAY 40
How far, in pixels, the Djinni sways each way over the targets.
Referenced by btEffectRunDjinnHeal().
Definition at line 733 of file battle_effect_target_motes.c.
Enumerations in detail
TARGET_MOTES_MODE
enum TARGET_MOTES_MODE
The target motes' styles (btEffectRunTargetMotes), each named for the effect
that plays it.
| Enumerator | Value | Description |
|---|---|---|
TARGET_MOTES_TAINT | lime smoke closing in | |
TARGET_MOTES_PINK_SMOKE | pink smoke closing in; Taint's stronger variant | |
TARGET_MOTES_DELUDE | cyan smoke rising | |
TARGET_MOTES_PARALYZE | smoke rising, with glints | |
TARGET_MOTES_HEARTRENDER | hearts closing in | |
TARGET_MOTES_MYSTIC_FLAME | glowing orbs closing in | |
TARGET_MOTES_DROWN | water drops closing in | |
TARGET_MOTES_DEMON_FIRE | orbs in Mars Djinn colours rising, then a strike |
Definition at line 7 of file battle_effect_target_motes.c.
Functions in detail
btEffectRunTaint
void btEffectRunTaint(BATTLE_EFFECT_PARM *args)
Lime smoke swirls in on each target, or pink smoke for a stronger variant.
Abilities: Taint, Poison.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers.
Definition at line 28 of file battle_effect_target_motes.c.
btEffectRunPoisonGel
void btEffectRunPoisonGel(BATTLE_EFFECT_PARM *args)
Pink smoke swirls in on each target, as Taint shows it for a stronger variant.
Abilities: Poison Gel.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers.
Definition at line 42 of file battle_effect_target_motes.c.
btEffectRunDelude
void btEffectRunDelude(BATTLE_EFFECT_PARM *args)
Cyan smoke rises around each target.
Abilities: Delude, Confuse, Mist, Mucous Gel.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers.
Definition at line 50 of file battle_effect_target_motes.c.
btEffectRunParalyze
void btEffectRunParalyze(BATTLE_EFFECT_PARM *args)
Smoke rises around each target, and glints sparkle near it.
Abilities: Paralyze.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers.
Definition at line 58 of file battle_effect_target_motes.c.
btEffectRunHeartrender
void btEffectRunHeartrender(BATTLE_EFFECT_PARM *args)
Hearts close in on each target, turning as they come.
Abilities: Heartrender.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers.
Definition at line 66 of file battle_effect_target_motes.c.
btEffectRunMysticFlame
void btEffectRunMysticFlame(BATTLE_EFFECT_PARM *args)
Glowing orbs spiral in on each target.
Abilities: Mystic Flame.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers and btEffectRunCastingImpact().
Definition at line 74 of file battle_effect_target_motes.c.
btEffectRunDemonFire
void btEffectRunDemonFire(BATTLE_EFFECT_PARM *args)
Glowing orbs in Mars Djinn colours rise around each target, and then the user steps up to the first target and strikes it.
Abilities: Demonfire.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers.
Definition at line 83 of file battle_effect_target_motes.c.
btEffectRunDrown
void btEffectRunDrown(BATTLE_EFFECT_PARM *args)
Thirty-two water drops spiral in on each target.
Abilities: Drown.
References btEffectRunTargetMotes().
Referenced by BattleEffectHandlers.
Definition at line 91 of file battle_effect_target_motes.c.
btEffectRunTargetMotes
void btEffectRunTargetMotes(BATTLE_EFFECT_PARM *args, Uint32 mode)
Around each target in turn, motes (smoke, hearts, orbs) close in on it or rise, and the target flashes.
References BattleEffectGlintPictureHeights, BattleEffectGlintPictures, BattleEffectGlintPictureWidths, btCameraShake(), btEffectArmBg2AffineHBlankDMA(), btEffectEndCanvasLayer(), btEffectPosProjectPoint(), btEffectPosProjectScaledBattler(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btMotionApproachTargetStub(), btObjectGetStub(), btResourceLoadAndDecompress(), Sint32, syCloseEvent(), syCos(), syHeapSlotRelease(), syInitMatrix(), syLookAtLoad(), syMatrixTranslateVector(), syRandom(), syResourceGetTableEntry(), syRotX(), syRotY(), sySetEvent(), sySin(), sySoundPlayStub(), sySquartIWRAM(), syWordsCopy() and TargetMotesGlintFlips.
Referenced by btEffectRunDelude(), btEffectRunDemonFire(), btEffectRunDrown(), btEffectRunHeartrender(), btEffectRunMysticFlame(), btEffectRunParalyze(), btEffectRunPoisonGel() and btEffectRunTaint().
Definition at line 142 of file battle_effect_target_motes.c.
btEffectRunSleep
void btEffectRunSleep(BATTLE_EFFECT_PARM *args)
Twelve sheep drop onto the targets' side, tumbling, and each target falls asleep in turn.
Abilities: Sleep.
References btEffectGetTargetsMidpoint(), btEffectTintBattler(), btObjectGetStub(), btResourceLoadAndDecompress(), Sint32, syInitMatrix(), syLookAtLoad(), syMatrixTranslateVector(), syRandom() and sySoundPlayStub().
Referenced by BattleEffectHandlers.
Definition at line 458 of file battle_effect_target_motes.c.
btEffectRunCurse
void btEffectRunCurse(BATTLE_EFFECT_PARM *args)
A candle stands on each target's head in turn, a small flame burning on it.
Abilities: Curse; Lucid Prophecy.
References btEffectPosProjectScaledBattler(), btEffectTransferCanvas(), btResourceLoadAndDecompress(), Sint32, syRandom(), sySetEvent() and sySoundPlayStub().
Referenced by BattleEffectHandlers.
Definition at line 613 of file battle_effect_target_motes.c.
btEffectRunDjinnHeal
void btEffectRunDjinnHeal(BATTLE_EFFECT_PARM *args)
Unused: nothing reaches it. A small Mercury Djinni heals the party: motes swirl up from the user and over the first target, the Djinni appears where they gather, and sparkles spiral in on each target in turn.
References BattleEffectSparklePictures, BattleEffectSparkleSizes, btEffectBuildCanvasBlitters(), btEffectPosProjectPoint(), btEffectStartCanvasLayer(), btEffectTintBattler(), btObjectGetStub(), btParticleAdvanceWithGravity3D(), btResourceLoadAndDecompress(), Sint32, syCos(), syInitMatrix(), syLookAtLoad(), syMatrixTranslateVector(), syPopMatrix(), syPushMatrix(), syRandom(), syRotX(), syRotY(), syRotZ(), sySin(), sySoundPlayStub() and sySquartIWRAM().
Definition at line 738 of file battle_effect_target_motes.c.
btEffectRunBalm
void btEffectRunBalm(BATTLE_EFFECT_PARM *args)
Abilities: Balm.
References btEffectRunTumblingQuads().
Referenced by BattleEffectHandlers.
Definition at line 1017 of file battle_effect_target_motes.c.
btEffectRunTinder
void btEffectRunTinder(BATTLE_EFFECT_PARM *args)
Abilities: Tinder.
References btEffectRunTumblingQuads().
Referenced by BattleEffectHandlers.
Definition at line 1023 of file battle_effect_target_motes.c.
btEffectRunPhoenix
void btEffectRunPhoenix(BATTLE_EFFECT_PARM *args)
Abilities: Phoenix, Regen Dance.
References btEffectRunTumblingQuads().
Referenced by BattleEffectHandlers.
Definition at line 1029 of file battle_effect_target_motes.c.