Skip to Content
The Alchemy Project

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

NameDescription
#defineTARGET_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.
#defineTARGET_MOTES_CLOSE_IN (mode)Styles whose motes close in on the target; the others rise.
#defineTARGET_MOTES_RIPPLE (mode)Every style but Taint's smokes and Paralyze ripples the canvas.
#defineTARGET_MOTES_GLINT_PICTURES 9600Where Paralyze keeps its glint pictures in state->sheet.
#defineTARGET_MOTES 512Motes scattered at the start.
#defineTARGET_MOTES_SLOTS 64Particles reserved for each target.
#defineTARGET_MOTES_CYCLE 24Ticks of a mote's image cycle.
#defineTARGET_MOTES_PER_TARGET 16The motes about each target: TARGET_MOTES_PER_TARGET, or Demonfire's orbs or Drown's drops.
#defineDEMON_FIRE_ORBS 24
#defineDROWN_DROPS 32
#defineTARGET_MOTES_STAGGER 8The ticks between one target's motes starting and the next's.
#defineTARGET_MOTES_RUN_ON 32The ticks the effect runs on after the last target's motes start.
#defineTARGET_MOTES_WIDE_RUN_ON 64
#defineTARGET_MOTES_DAMAGE_END_TICKS 32The ticks the effect runs on after the damage shows.
#defineDEMON_FIRE_LEAP_TICKS 14
#defineDEMON_FIRE_APPROACH_TICKS 16
#defineDROWN_DROP_WIDTH 12VortexSheet's water drop, after its three 16x64 swirls.
#defineDROWN_DROP_HEIGHT 24
#defineDROWN_DROP_PICTURE (3 * 16 * 64)
#defineSLEEP_TICKS 98
#defineSLEEP_SEEDED 32Particles cleared at the start.
#defineSLEEP_SHEEP 12Sheep dropped.
#defineSHEEP_PICTURES 4SheepCardSheet: the Sleep Card's picture, which Sleep does not draw, then four pictures of a tumbling sheep, drawn flipped for the next four.
#defineSHEEP_TUMBLE_STEP 16A sheep's variant counts its tumble, z a tick: it turns to its next picture every SHEEP_TUMBLE_STEP.
#defineGROUND_Y toFIXED(92)The ground the sheep were meant to bounce off.
#defineCURSE_CANDLE_TICKS 72how long each target's candle burns
#defineCURSE_STAGGER 16The ticks between one target's candle and the next's
#defineCURSE_FLAME_WIDTH 16FlameColumnSheet: the flame's nine pictures, then the candle.
#defineCURSE_FLAME_HEIGHT 12
#defineCURSE_FLAME_PICTURES 9
#defineCURSE_CANDLE_WIDTH 16
#defineCURSE_CANDLE_HEIGHT 20
#defineCURSE_CANDLE_PICTURE (CURSE_FLAME_PICTURES * PICTURE_BYTES(CURSE_FLAME))
#defineDJINN_HEAL_SPARKS 512Sparks in PARTICLES, 64 for each target.
#defineDJINN_HEAL_SPARKS_PER_TARGET 64
#defineDJINN_HEAL_SWIRL_TICKS 98
#defineDJINN_HEAL_SWIRL_MOTES 32Motes swirled in.
#defineDJINN_HEAL_SWIRL_SLOTS 64The motes set out to swirl, of which DJINN_HEAL_SWIRL_MOTES are drawn.
#defineDJINN_HEAL_TRAVEL_TICKS 40The ticks the swirl takes to travel from the user to above the first target, from tick 30.
#defineDJINN_HEAL_MOTE_SIZE_MAX 9A 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.
#defineDJINN_HEAL_MOTE_DEPTH_NEAR 250
#defineDJINN_HEAL_MOTE_DEPTH_STEP 64
#defineDJINN_HEAL_MOTE_DEPTH_FAR 634
#defineDJINN_HEAL_SPARKLE_DEPTH_NEAR 314The depths the sparkles' idle size by depth is worked out over, as the healing sparkles' are: three sizes, DJINN_HEAL_SPARKLE_DEPTH_STEP apart.
#defineDJINN_HEAL_SPARKLE_DEPTH_STEP 128
#defineDJINN_HEAL_SPARKLE_DEPTH_FAR 634
#defineDJINN_HEAL_MOTE_SPIN (i) ((i) * 32 + 256)The angle mote i turns each tick about its axis: each later mote faster.
#defineDJINN_HEAL_SWAY 40How far, in pixels, the Djinni sways each way over the targets.

Enumerations

NameDescription
enumTARGET_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

NameDescription
voidbtEffectRunTaint (BATTLE_EFFECT_PARM *args)Lime smoke swirls in on each target, or pink smoke for a stronger variant.
voidbtEffectRunPoisonGel (BATTLE_EFFECT_PARM *args)Pink smoke swirls in on each target, as Taint shows it for a stronger variant.
voidbtEffectRunDelude (BATTLE_EFFECT_PARM *args)Cyan smoke rises around each target.
voidbtEffectRunParalyze (BATTLE_EFFECT_PARM *args)Smoke rises around each target, and glints sparkle near it.
voidbtEffectRunHeartrender (BATTLE_EFFECT_PARM *args)Hearts close in on each target, turning as they come.
voidbtEffectRunMysticFlame (BATTLE_EFFECT_PARM *args)Glowing orbs spiral in on each target.
voidbtEffectRunDemonFire (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.
voidbtEffectRunDrown (BATTLE_EFFECT_PARM *args)Thirty-two water drops spiral in on each target.
voidbtEffectRunTargetMotes (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.
voidbtEffectRunSleep (BATTLE_EFFECT_PARM *args)Twelve sheep drop onto the targets' side, tumbling, and each target falls asleep in turn.
voidbtEffectRunCurse (BATTLE_EFFECT_PARM *args)A candle stands on each target's head in turn, a small flame burning on it.
voidbtEffectRunDjinnHeal (BATTLE_EFFECT_PARM *args)Unused: nothing reaches it.
voidbtEffectRunBalm (BATTLE_EFFECT_PARM *args)Abilities: Balm.
voidbtEffectRunTinder (BATTLE_EFFECT_PARM *args)Abilities: Tinder.
voidbtEffectRunPhoenix (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.

EnumeratorValueDescription
TARGET_MOTES_TAINTlime smoke closing in
TARGET_MOTES_PINK_SMOKEpink smoke closing in; Taint's stronger variant
TARGET_MOTES_DELUDEcyan smoke rising
TARGET_MOTES_PARALYZEsmoke rising, with glints
TARGET_MOTES_HEARTRENDERhearts closing in
TARGET_MOTES_MYSTIC_FLAMEglowing orbs closing in
TARGET_MOTES_DROWNwater drops closing in
TARGET_MOTES_DEMON_FIREorbs 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.