Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_heavy_divide.c

The body of Heavy Divide and Strong Hit, then Cool, Wyrd Curse, Radiant Fire and Hurricane, and the handlers that play Earth Force's and Thunder Mine's bolt trail. More…

Included by battle_effect.c.

Macros

NameDescription
#defineHEAVY_DIVIDE_SWORD_WIDTH 32GreatSwordSheet's sword, point up, and the HEAVY_DIVIDE_AFTER_IMAGES copies the effect makes after it, each a silhouette in one colour of its own, BG colours HEAVY_DIVIDE_FIRST_AFTER_IMAGE_COLOR on.
#defineHEAVY_DIVIDE_SWORD_HEIGHT 128
#defineHEAVY_DIVIDE_AFTER_IMAGES 4
#defineHEAVY_DIVIDE_FIRST_AFTER_IMAGE_COLOR 60
#defineHEAVY_DIVIDE_TICKS 80
#defineSTRONG_HIT_TICKS 64
#defineHEAVY_DIVIDE_SWING_TICK 16The sword stands over the user until HEAVY_DIVIDE_SWING_TICK, swings down to strike at HEAVY_DIVIDE_STRIKE_TICK (HeavyBlowStrikeTicks' first row), then rebounds up to HEAVY_DIVIDE_REBOUND, a sine's toFIXED(1) being a whole turn.
#defineHEAVY_DIVIDE_STRIKE_TICK 38
#defineHEAVY_DIVIDE_REBOUND (TRIG_TURN / 16)
#defineSTRONG_HIT_FLIGHT_TICKS 32The axe takes STRONG_HIT_FLIGHT_TICKS to cross to the target, turning a sixteenth of a turn each tick.
#defineHEAVY_BLOW_CHIPS 256The chips set out in the map cell buffer; HeavyBlowChipCounts says how many fly.
#defineHEAVY_BLOW_CHIP_SPEED_MIN 128
#defineHEAVY_BLOW_GROUND_Y 104
#defineCOOL_SPIKE_WIDTH 36CrestSheet's two spikes of ice, leaning left: a broad one, then a slim one.
#defineCOOL_SPIKE_HEIGHT 60
#defineCOOL_SLIM_SPIKE_WIDTH 17
#defineCOOL_SLIM_SPIKE_HEIGHT 35
#defineCOOL_SLIM_SPIKE PICTURE_BYTES(COOL_SPIKE)
#defineCOOL_PUFF_PICTURES 12384Where BlastSheet's pictures, the puffs of frost, are decoded.
#defineCOOL_PUFFS 16The puffs set out at tick 0, as many as Megacool draws.
#defineCOOL_PUFF_START 8
#defineCOOL_PUFF_END 28
#defineCOOL_PUFF_LAST_PICTURE 6
#defineCOOL_TICKS 54Cool's ticks; each level adds four.
#defineWYRD_CURSE_TICKS 120
#defineWYRD_CURSE_DROPS 16The drops set out at tick 0, of which the first WYRD_CURSE_SKULL_COUNT fall, one every eight ticks.
#defineWYRD_CURSE_SKULL_COUNT 6
#defineWYRD_CURSE_FIRST_DROP_SHARE 160
#defineWYRD_CURSE_DROP_SHARE_STEP 16
#defineWYRD_CURSE_GROUND_Y 112The drops land, and the glow lies, on WYRD_CURSE_GROUND_Y.
#defineWYRD_CURSE_RISE_TICK 64At WYRD_CURSE_RISE_TICK the drops stop, the glow starts to fade and the skulls start to rise, one every four ticks; each strikes the target 16 ticks after it rises.
#defineWYRD_CURSE_GLOW_SIZE 32The glow, WYRD_CURSE_GLOW_SIZE square, grows an eighth of its full size for each WYRD_CURSE_LEVEL_PER_EIGHTH of its level, and loses WYRD_CURSE_GLOW_FADE a tick as the skulls rise.
#defineWYRD_CURSE_LEVEL_PER_EIGHTH 824
#defineWYRD_CURSE_GLOW_FADE 24
#defineWYRD_CURSE_GLOW 4096Where the glow, mirrored from its shaded disc, and BurningSkullSheet's two skulls are kept in the effect's pictures.
#defineWYRD_CURSE_SKULL_PICTURES 16384
#defineBURNING_SKULL_WIDTH 32
#defineBURNING_SKULL_HEIGHT 32
#defineRADIANT_FIRE_TICKS 66
#defineRADIANT_FIRE_DISCS 32The shaded discs drawn into the map cell buffer, 2 to twice RADIANT_FIRE_DISCS across, smallest first; their offsets are kept in the state's sheet.
#defineRADIANT_FIRE_FLAMES 32The flames placed about the target at tick 0, of which the first RADIANT_FIRE_BURSTS burn, one every four ticks.
#defineRADIANT_FIRE_BURSTS 8
#defineRADIANT_FIRE_BURST_TICKS 32
#defineRADIANT_FIRE_BURST_RADIUS 32
#defineRADIANT_FIRE_RING_TICKS 24
#defineRADIANT_FIRE_RING_FADE 16
#defineRADIANT_FIRE_FIRE_RING 4096Where FireRingTexture is decoded in the effect's pictures.
#defineHURRICANE_TICKS 68
#defineHURRICANE_STREAK_WIDTH 4The streak the effect draws into the state's sprite sheet: one pixel of level HURRICANE_STREAK_LEVEL a row, a pixel further over every 16 rows, slanting as the streaks fall.
#defineHURRICANE_STREAK_HEIGHT 64
#defineHURRICANE_STREAK_LEVEL 24
#defineHURRICANE_STREAKS 32
#defineHURRICANE_GROUND_Y 112
#defineHURRICANE_PUFFS 256The puffs, SmokeSheet's, in the map cell buffer; only the first HURRICANE_STREAKS are ever started.
#defineHURRICANE_PUFF_PICTURES 12800

Enumerations

NameDescription
enumanonymous enum { LEAN_LEFT, LEAN_RIGHT, SLIM_LEAN_LEFT, SLIM_LEAN_RIGHT }How a spike leans as it grows (CoolColumnLeans).

Functions

NameDescription
voidbtEffectRunHeavyBlow (BATTLE_EFFECT_PARM *args, Sint32 mode)The body of Heavy Divide and Strong Hit.
voidbtEffectRunCool (BATTLE_EFFECT_PARM *args)Spikes of ice burst up one after another among the targets, leaning as they grow, each striking a target, and sink back; puffs of frost rise and drift away.
voidbtEffectRunWyrdCurse (BATTLE_EFFECT_PARM *args)Drops of red fall one by one at the target's feet and gather in a red glow there; then a burning skull rises from where each fell, drifting aside, and the target is struck six times.
voidbtEffectRunRadiantFire (BATTLE_EFFECT_PARM *args)Eight bursts of fire bloom one after another about the target, each a glowing disc that swells and shrinks under a ring of fire that grows, tumbling, and fades.
voidbtEffectRunHurricane (BATTLE_EFFECT_PARM *args)Rain driven by the wind streaks down over the target, and puffs rise where each streak lands; the target flashes as it is lashed, and the user closes in to strike at tick 46.
voidbtEffectRunEarthForce (BATTLE_EFFECT_PARM *args)Abilities: Earth Force.
voidbtEffectRunThunderMine (BATTLE_EFFECT_PARM *args)Abilities: Thunder Mine.

Description

The body of Heavy Divide and Strong Hit, then Cool, Wyrd Curse, Radiant Fire and Hurricane, and the handlers that play Earth Force's and Thunder Mine's bolt trail. Part of battle_effect.c.

Macros in detail

HEAVY_DIVIDE_SWORD_WIDTH

#define HEAVY_DIVIDE_SWORD_WIDTH 32

GreatSwordSheet's sword, point up, and the HEAVY_DIVIDE_AFTER_IMAGES copies the effect makes after it, each a silhouette in one colour of its own, BG colours HEAVY_DIVIDE_FIRST_AFTER_IMAGE_COLOR on.

Definition at line 8 of file battle_effect_heavy_divide.c.

HEAVY_DIVIDE_SWORD_HEIGHT

#define HEAVY_DIVIDE_SWORD_HEIGHT 128

Definition at line 9 of file battle_effect_heavy_divide.c.

HEAVY_DIVIDE_AFTER_IMAGES

#define HEAVY_DIVIDE_AFTER_IMAGES 4

Referenced by btEffectRunHeavyBlow().

Definition at line 10 of file battle_effect_heavy_divide.c.

HEAVY_DIVIDE_FIRST_AFTER_IMAGE_COLOR

#define HEAVY_DIVIDE_FIRST_AFTER_IMAGE_COLOR 60

Referenced by btEffectRunHeavyBlow().

Definition at line 11 of file battle_effect_heavy_divide.c.

HEAVY_DIVIDE_TICKS

#define HEAVY_DIVIDE_TICKS 80

Referenced by btEffectRunHeavyBlow().

Definition at line 12 of file battle_effect_heavy_divide.c.

STRONG_HIT_TICKS

#define STRONG_HIT_TICKS 64

Referenced by btEffectRunHeavyBlow().

Definition at line 13 of file battle_effect_heavy_divide.c.

HEAVY_DIVIDE_SWING_TICK

#define HEAVY_DIVIDE_SWING_TICK 16

The sword stands over the user until HEAVY_DIVIDE_SWING_TICK, swings down to strike at HEAVY_DIVIDE_STRIKE_TICK (HeavyBlowStrikeTicks' first row), then rebounds up to HEAVY_DIVIDE_REBOUND, a sine's toFIXED(1) being a whole turn.

Referenced by btEffectRunHeavyBlow().

Definition at line 17 of file battle_effect_heavy_divide.c.

HEAVY_DIVIDE_STRIKE_TICK

#define HEAVY_DIVIDE_STRIKE_TICK 38

Referenced by btEffectRunHeavyBlow().

Definition at line 18 of file battle_effect_heavy_divide.c.

HEAVY_DIVIDE_REBOUND

#define HEAVY_DIVIDE_REBOUND (TRIG_TURN / 16)

Referenced by btEffectRunHeavyBlow().

Definition at line 19 of file battle_effect_heavy_divide.c.

STRONG_HIT_FLIGHT_TICKS

#define STRONG_HIT_FLIGHT_TICKS 32

The axe takes STRONG_HIT_FLIGHT_TICKS to cross to the target, turning a sixteenth of a turn each tick.

Referenced by btEffectRunHeavyBlow().

Definition at line 22 of file battle_effect_heavy_divide.c.

HEAVY_BLOW_CHIPS

#define HEAVY_BLOW_CHIPS 256

The chips set out in the map cell buffer; HeavyBlowChipCounts says how many fly. Each flies out its own way at HEAVY_BLOW_CHIP_SPEED_MIN 64ths of a pixel a tick and up to 255 more, and bounces when it falls below HEAVY_BLOW_GROUND_Y.

Referenced by btEffectRunHeavyBlow().

Definition at line 28 of file battle_effect_heavy_divide.c.

HEAVY_BLOW_CHIP_SPEED_MIN

#define HEAVY_BLOW_CHIP_SPEED_MIN 128

Referenced by btEffectRunHeavyBlow().

Definition at line 29 of file battle_effect_heavy_divide.c.

HEAVY_BLOW_GROUND_Y

#define HEAVY_BLOW_GROUND_Y 104

Referenced by btEffectRunHeavyBlow().

Definition at line 30 of file battle_effect_heavy_divide.c.

COOL_SPIKE_WIDTH

#define COOL_SPIKE_WIDTH 36

CrestSheet's two spikes of ice, leaning left: a broad one, then a slim one.

Referenced by btEffectRunCool().

Definition at line 357 of file battle_effect_heavy_divide.c.

COOL_SPIKE_HEIGHT

#define COOL_SPIKE_HEIGHT 60

Referenced by btEffectRunCool().

Definition at line 358 of file battle_effect_heavy_divide.c.

COOL_SLIM_SPIKE_WIDTH

#define COOL_SLIM_SPIKE_WIDTH 17

Referenced by btEffectRunCool().

Definition at line 359 of file battle_effect_heavy_divide.c.

COOL_SLIM_SPIKE_HEIGHT

#define COOL_SLIM_SPIKE_HEIGHT 35

Referenced by btEffectRunCool().

Definition at line 360 of file battle_effect_heavy_divide.c.

COOL_SLIM_SPIKE

#define COOL_SLIM_SPIKE PICTURE_BYTES(COOL_SPIKE)

Referenced by btEffectRunCool().

Definition at line 361 of file battle_effect_heavy_divide.c.

COOL_PUFF_PICTURES

#define COOL_PUFF_PICTURES 12384

Where BlastSheet's pictures, the puffs of frost, are decoded.

Referenced by btEffectRunCool().

Definition at line 363 of file battle_effect_heavy_divide.c.

COOL_PUFFS

#define COOL_PUFFS 16

The puffs set out at tick 0, as many as Megacool draws. A puff starts on its third picture, moves on every three ticks and holds the last (COOL_PUFF_LAST_PICTURE) until its life passes COOL_PUFF_END.

Referenced by btEffectRunCool().

Definition at line 367 of file battle_effect_heavy_divide.c.

COOL_PUFF_START

#define COOL_PUFF_START 8

Referenced by btEffectRunCool().

Definition at line 368 of file battle_effect_heavy_divide.c.

COOL_PUFF_END

#define COOL_PUFF_END 28

Referenced by btEffectRunCool().

Definition at line 369 of file battle_effect_heavy_divide.c.

COOL_PUFF_LAST_PICTURE

#define COOL_PUFF_LAST_PICTURE 6

Referenced by btEffectRunCool().

Definition at line 370 of file battle_effect_heavy_divide.c.

COOL_TICKS

#define COOL_TICKS 54

Cool's ticks; each level adds four.

Referenced by btEffectRunCool().

Definition at line 372 of file battle_effect_heavy_divide.c.

WYRD_CURSE_TICKS

#define WYRD_CURSE_TICKS 120

Referenced by btEffectRunWyrdCurse().

Definition at line 559 of file battle_effect_heavy_divide.c.

WYRD_CURSE_DROPS

#define WYRD_CURSE_DROPS 16

The drops set out at tick 0, of which the first WYRD_CURSE_SKULL_COUNT fall, one every eight ticks. A landed drop feeds the glow a share each tick, halving it: the first drop's share starts at WYRD_CURSE_FIRST_DROP_SHARE, each later one's WYRD_CURSE_DROP_SHARE_STEP less.

Referenced by btEffectRunWyrdCurse().

Definition at line 565 of file battle_effect_heavy_divide.c.

WYRD_CURSE_SKULL_COUNT

#define WYRD_CURSE_SKULL_COUNT 6

Referenced by btEffectRunWyrdCurse().

Definition at line 566 of file battle_effect_heavy_divide.c.

WYRD_CURSE_FIRST_DROP_SHARE

#define WYRD_CURSE_FIRST_DROP_SHARE 160

Referenced by btEffectRunWyrdCurse().

Definition at line 567 of file battle_effect_heavy_divide.c.

WYRD_CURSE_DROP_SHARE_STEP

#define WYRD_CURSE_DROP_SHARE_STEP 16

Referenced by btEffectRunWyrdCurse().

Definition at line 568 of file battle_effect_heavy_divide.c.

WYRD_CURSE_GROUND_Y

#define WYRD_CURSE_GROUND_Y 112

The drops land, and the glow lies, on WYRD_CURSE_GROUND_Y.

Referenced by btEffectRunWyrdCurse().

Definition at line 570 of file battle_effect_heavy_divide.c.

WYRD_CURSE_RISE_TICK

#define WYRD_CURSE_RISE_TICK 64

At WYRD_CURSE_RISE_TICK the drops stop, the glow starts to fade and the skulls start to rise, one every four ticks; each strikes the target 16 ticks after it rises.

Referenced by btEffectRunWyrdCurse().

Definition at line 574 of file battle_effect_heavy_divide.c.

WYRD_CURSE_GLOW_SIZE

#define WYRD_CURSE_GLOW_SIZE 32

The glow, WYRD_CURSE_GLOW_SIZE square, grows an eighth of its full size for each WYRD_CURSE_LEVEL_PER_EIGHTH of its level, and loses WYRD_CURSE_GLOW_FADE a tick as the skulls rise.

Referenced by btEffectRunWyrdCurse().

Definition at line 579 of file battle_effect_heavy_divide.c.

WYRD_CURSE_LEVEL_PER_EIGHTH

#define WYRD_CURSE_LEVEL_PER_EIGHTH 824

Referenced by btEffectRunWyrdCurse().

Definition at line 580 of file battle_effect_heavy_divide.c.

WYRD_CURSE_GLOW_FADE

#define WYRD_CURSE_GLOW_FADE 24

Referenced by btEffectRunWyrdCurse().

Definition at line 581 of file battle_effect_heavy_divide.c.

WYRD_CURSE_GLOW

#define WYRD_CURSE_GLOW 4096

Where the glow, mirrored from its shaded disc, and BurningSkullSheet's two skulls are kept in the effect's pictures.

Referenced by btEffectRunWyrdCurse().

Definition at line 585 of file battle_effect_heavy_divide.c.

WYRD_CURSE_SKULL_PICTURES

#define WYRD_CURSE_SKULL_PICTURES 16384

Referenced by btEffectRunWyrdCurse().

Definition at line 586 of file battle_effect_heavy_divide.c.

BURNING_SKULL_WIDTH

#define BURNING_SKULL_WIDTH 32

Definition at line 587 of file battle_effect_heavy_divide.c.

BURNING_SKULL_HEIGHT

#define BURNING_SKULL_HEIGHT 32

Definition at line 588 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_TICKS

#define RADIANT_FIRE_TICKS 66

Referenced by btEffectRunRadiantFire().

Definition at line 876 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_DISCS

#define RADIANT_FIRE_DISCS 32

The shaded discs drawn into the map cell buffer, 2 to twice RADIANT_FIRE_DISCS across, smallest first; their offsets are kept in the state's sheet.

Referenced by btEffectRunRadiantFire().

Definition at line 881 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_FLAMES

#define RADIANT_FIRE_FLAMES 32

The flames placed about the target at tick 0, of which the first RADIANT_FIRE_BURSTS burn, one every four ticks. A burst's disc swells and shrinks over RADIANT_FIRE_BURST_TICKS, to a radius of RADIANT_FIRE_BURST_RADIUS for the first and a pixel less for each after it; its ring of fire grows for RADIANT_FIRE_RING_TICKS, fading from RADIANT_FIRE_RING_FADE.

Referenced by btEffectRunRadiantFire().

Definition at line 888 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_BURSTS

#define RADIANT_FIRE_BURSTS 8

Referenced by btEffectRunRadiantFire().

Definition at line 889 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_BURST_TICKS

#define RADIANT_FIRE_BURST_TICKS 32

Referenced by btEffectRunRadiantFire().

Definition at line 890 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_BURST_RADIUS

#define RADIANT_FIRE_BURST_RADIUS 32

Referenced by btEffectRunRadiantFire().

Definition at line 891 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_RING_TICKS

#define RADIANT_FIRE_RING_TICKS 24

Referenced by btEffectRunRadiantFire().

Definition at line 892 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_RING_FADE

#define RADIANT_FIRE_RING_FADE 16

Referenced by btEffectRunRadiantFire().

Definition at line 893 of file battle_effect_heavy_divide.c.

RADIANT_FIRE_FIRE_RING

#define RADIANT_FIRE_FIRE_RING 4096

Where FireRingTexture is decoded in the effect's pictures.

Referenced by btEffectRunRadiantFire().

Definition at line 896 of file battle_effect_heavy_divide.c.

HURRICANE_TICKS

#define HURRICANE_TICKS 68

Referenced by btEffectRunHurricane().

Definition at line 1094 of file battle_effect_heavy_divide.c.

HURRICANE_STREAK_WIDTH

#define HURRICANE_STREAK_WIDTH 4

The streak the effect draws into the state's sprite sheet: one pixel of level HURRICANE_STREAK_LEVEL a row, a pixel further over every 16 rows, slanting as the streaks fall. The first HURRICANE_STREAKS of the state's particles fall as streaks, one more each tick, and a streak whose foot reaches HURRICANE_GROUND_Y starts a puff there.

Referenced by btEffectRunHurricane().

Definition at line 1101 of file battle_effect_heavy_divide.c.

HURRICANE_STREAK_HEIGHT

#define HURRICANE_STREAK_HEIGHT 64

Referenced by btEffectRunHurricane().

Definition at line 1102 of file battle_effect_heavy_divide.c.

HURRICANE_STREAK_LEVEL

#define HURRICANE_STREAK_LEVEL 24

Referenced by btEffectRunHurricane().

Definition at line 1103 of file battle_effect_heavy_divide.c.

HURRICANE_STREAKS

#define HURRICANE_STREAKS 32

Referenced by btEffectRunHurricane().

Definition at line 1104 of file battle_effect_heavy_divide.c.

HURRICANE_GROUND_Y

#define HURRICANE_GROUND_Y 112

Referenced by btEffectRunHurricane().

Definition at line 1105 of file battle_effect_heavy_divide.c.

HURRICANE_PUFFS

#define HURRICANE_PUFFS 256

The puffs, SmokeSheet's, in the map cell buffer; only the first HURRICANE_STREAKS are ever started.

Referenced by btEffectRunHurricane().

Definition at line 1109 of file battle_effect_heavy_divide.c.

HURRICANE_PUFF_PICTURES

#define HURRICANE_PUFF_PICTURES 12800

Referenced by btEffectRunHurricane().

Definition at line 1110 of file battle_effect_heavy_divide.c.

Enumerations in detail

anonymous enum

enum { LEAN_LEFT, LEAN_RIGHT, SLIM_LEAN_LEFT, SLIM_LEAN_RIGHT }

How a spike leans as it grows (CoolColumnLeans).

EnumeratorValueDescription
LEAN_LEFT
LEAN_RIGHT
SLIM_LEAN_LEFT
SLIM_LEAN_RIGHT

Definition at line 375 of file battle_effect_heavy_divide.c.

Functions in detail

btEffectRunHeavyBlow

void btEffectRunHeavyBlow(BATTLE_EFFECT_PARM *args, Sint32 mode)

The body of Heavy Divide and Strong Hit. Heavy Divide: a great sword rises over the user and swings down onto the target, four blue after-images trailing it, and rebounds. Strong Hit: an axe spins across from the user to the target. Either way chips fly from the target and bounce.

References BattleEffectBeamCorners, BattleEffectSquareCorners, BattleEffectSquareMesh, btCameraShake(), btEffectEndCanvasLayer(), btEffectPosProjectBattler(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btObjectGetStub(), btParticleAdvanceWithGravity2D(), btParticleAdvanceWithGravity3D(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), fdActorSetAnimationSpeedStub(), HeavyBlowChipCounts, HeavyBlowChipPixels, HeavyBlowStrikeTicks, HeavyBlowSwordMesh, Sint32, syCloseEvent(), syCos(), syHeapAllocateEWRAM(), syHeapRelease(), syHeapSlotRelease(), syInitMatrix(), syRandom(), syRotY(), syRotZ(), syScale(), sySetEvent(), sySin(), sySoundPlayStub() and syTranslate().

Referenced by btEffectRunHeavyDivide() and btEffectRunStrongHit().

Definition at line 36 of file battle_effect_heavy_divide.c.

btEffectRunCool

void btEffectRunCool(BATTLE_EFFECT_PARM *args)

Spikes of ice burst up one after another among the targets, leaning as they grow, each striking a target, and sink back; puffs of frost rise and drift away.

Abilities: Cool, Supercool, Megacool.

References btCameraShake(), btEffectBuildCanvasBlitters(), btEffectEndCanvasLayer(), btEffectPosProjectBattler(), btEffectTransferCanvas(), btParticleAdvanceWithGravity2D(), btResourceLoadAndDecompress(), CoolColumnHeights, CoolColumnLeans, CoolColumnStarts, CoolColumnX, CoolSparkPictures, CoolSparkSizes, Sint32, syCloseEvent(), syCos(), syHeapSlotRelease(), syRandom(), syResourceGetTableEntry(), sySin() and sySoundPlayStub().

Referenced by BattleEffectHandlers.

Definition at line 388 of file battle_effect_heavy_divide.c.

btEffectRunWyrdCurse

void btEffectRunWyrdCurse(BATTLE_EFFECT_PARM *args)

Drops of red fall one by one at the target's feet and gather in a red glow there; then a burning skull rises from where each fell, drifting aside, and the target is struck six times.

Abilities: Wyrd Curse.

References BattleEffectGroundSquareCorners, BattleEffectSmallSquareMeshReversed, btCameraShake(), btEffectDrawShadedDiscQuarter(), btEffectEndCanvasLayer(), btEffectPosProjectBattler(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btObjectGetStub(), btParticleAdvanceWithGravity2D(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), fdActorSetAnimationSpeedStub(), Sint32, syCloseEvent(), syHeapAllocateEWRAM(), syHeapRelease(), syHeapSlotRelease(), syInitMatrix(), syRandom(), syRotX(), syScale(), sySoundPlayStub(), syTranslate(), syWordsClear() and WyrdCurseDropBounces.

Referenced by BattleEffectHandlers.

Definition at line 595 of file battle_effect_heavy_divide.c.

btEffectRunRadiantFire

void btEffectRunRadiantFire(BATTLE_EFFECT_PARM *args)

Eight bursts of fire bloom one after another about the target, each a glowing disc that swells and shrinks under a ring of fire that grows, tumbling, and fades. The canvas flashes white as the first comes, and each burst strikes the target.

Abilities: Radiant Fire.

References BattleEffectLargeSquareMesh, BattleEffectSquareCorners, btCameraShake(), btCanvasBlitMirroredQuarters(), btEffectDrawShadedDiscQuarter(), btEffectPosProjectPoint(), btEffectSetApproachMotion(), btEffectStartCanvasLayer(), btEffectTintBattler(), btMotionApplyKnockbackStub(), btObjectGetStub(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), Sint32, syCos(), syHeapAllocateEWRAM(), syHeapRelease(), syInitMatrix(), syLookAtLoad(), syMatrixScaleUniform(), syRandom(), syResourceGetTableEntry(), syRotX(), syRotZ(), sySin(), sySoundPlayStub() and syTranslate().

Referenced by BattleEffectHandlers.

Definition at line 904 of file battle_effect_heavy_divide.c.

btEffectRunHurricane

void btEffectRunHurricane(BATTLE_EFFECT_PARM *args)

Rain driven by the wind streaks down over the target, and puffs rise where each streak lands; the target flashes as it is lashed, and the user closes in to strike at tick 46. Then the canvas is cleared and Dull's effect follows.

Abilities: Hurricane.

References btCameraShake(), btEffectDarkenBackgroundStep(), btEffectPosProjectBattler(), btEffectRunDull(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btMotionApproachTargetStub(), btParticleAdvanceWithGravity2D(), btResourceLoadAndDecompress(), Sint32, syCloseEvent(), syHeapSlotRelease(), syRandom(), syResourceGetTableEntry() and sySoundPlayStub().

Referenced by BattleEffectHandlers.

Definition at line 1117 of file battle_effect_heavy_divide.c.

btEffectRunEarthForce

void btEffectRunEarthForce(BATTLE_EFFECT_PARM *args)

Abilities: Earth Force.

References btEffectRunBallLightning().

Referenced by BattleEffectHandlers.

Definition at line 1282 of file battle_effect_heavy_divide.c.

btEffectRunThunderMine

void btEffectRunThunderMine(BATTLE_EFFECT_PARM *args)

Abilities: Thunder Mine.

References btEffectRunBallLightning().

Referenced by BattleEffectHandlers.

Definition at line 1288 of file battle_effect_heavy_divide.c.