Skip to Content
The Alchemy Project

include/battle_effect/battle_effect.h

The battle effects as the rest of the battle calls them: a runner for each Psynergy, Djinni, summon and monster ability, and the canvas, palette, particle and model helpers they share.

Included by ability_staging.c, knockback_tables.c, battle_effect_constants.c, battle_effect_internal.h and battle_effect_table.c.

Structures

NameDescription
structTEXTUREA texture as the render jobs take it: 1 << logWidth by 1 << logHeight.
structVECTOR2A two-coordinate vector, x and y: a position or a velocity, 16.16 pixels.
structSCALEA sprite's scale across and down, 16.16, as an effect keeps it in a local (SPR_SCALE is the same pair as a union with an array).
structBATTLE_EFFECT_INDEX_WINDOWThe window btEffectBuildCenteredIndexList builds a list of indices around: its value, radius and limit, and the values it lists.
structROCK_WALL_HEIGHTSThe four rock pillars' heights, in pixels.
structFIVE_WIDTHSThe five widths a rising pillar takes.
structSEVEN_WIDTHSThe seven widths a widening pillar takes.
structFOUR_SPANSWhere a strip's petals start across, by quarter of its rise: the left edge and the width they spread over.
structDUAL_COLUMNA growing column, laid over PARTICLE in state->particles.

Macros

NameDescription
#defineDJINNI_ENTRANCE (element, side, anchor)btEffectRunDjinniEntrance's packed argument: which Djinni (an element, plus DJINNI_ENTRANCE_LONG for the longer entrance), the side whose way it faces, and where it appears (DJINNI_ENTRANCE_ANCHOR).
#defineDJINNI_ENTRANCE_ELEMENT (packed) ((packed) & 7)
#defineDJINNI_ENTRANCE_SIDE (packed) (((packed) >> 4) & 1)
#defineDJINNI_ENTRANCE_ANCHOR_OF (packed) (((packed) >> 5) & 0xf)

Typedefs

NameDescription
typedef DRAW_RECTANGLEBLITTER_PAIR [2];

Enumerations

NameDescription
enumSUMMON_FORMATION { SUMMON_FORMATION_THOR, SUMMON_FORMATION_NEREID, SUMMON_FORMA … }The summons' sprite formations (btEffectPlaceFormationSprites and btEffectRunImpactBurst), each named for the summon that keeps it.
enumEFFECT_VARIANT { EFFECT_VARIANT_BASIC, EFFECT_VARIANT_STRONGER, EFFECT_VARIAN … }An effect's variant (BATTLE_EFFECT_PARM.variant): abilities of one family that share an effect, such as Quake, Earthquake and Quake Sphere, and a double or triple blow adds one or two.
enumBATTLE_KNOCKBACK { KNOCKBACK_NUDGE, KNOCKBACK_HOP, KNOCKBACK_LEAP, KNOCKBACK_LA … }btMotionApplyKnockback's knockbacks, the columns of the BattleKnockback* tables.
enumDJINNI_ENTRANCE_LENGTH { DJINNI_ENTRANCE_LONG }What btEffectRunDjinniEntrance takes added to its element; the element alone plays the 55-tick entrance.
enumDJINNI_ENTRANCE_ANCHOR { DJINNI_ANCHOR_OVER_TARGET, DJINNI_ANCHOR_TARGET_X, DJINNI_AN … }Where btEffectRunDjinniEntrance's Djinni appears; the first five anchors stand it 60 pixels up.
enumanonymous enum { QUAKE_TIMING_TICKS, QUAKE_TIMING_RISE_TICKS, QUAKE_TIMING_SH … }A row of QuakeTimings, one for each variant.
enumanonymous enum { FROST_TIMING_MOTES, FROST_TIMING_COLUMNS, FROST_TIMING_BURST … }A row of FrostTimings, one for each variant.
enumanonymous enum { ERUPTION_COUNT_MOTES, ERUPTION_COUNT_PUFFS, ERUPTION_COUNT_T … }A row of EruptionCounts, one for each variant.

Functions

NameDescription
Sint32btEffectBuildBlitter (Sint32 slot, Sint32 widthShift, Sint32 heightShift, Sint32 flags, Uint32 mode)Writes a drawing function for the canvas into heap slot slot, built from BlitterTemplate for one clip, mirroring and blend mode.
voidbtEffectRunByIdRange (struct BATTLE_EFFECT_PARM *args)Runs a battle effect from the second range of kinds: the casting impacts, the plain attacks' beams and their critical hits' ring and sparks, and the canvas burst.
voidbtEffectRunSummon (struct BATTLE_EFFECT_PARM *args)Runs one of the large battle effects, the summons and the scenes of a few abilities: takes the effect's sprite sheet, state and canvas, runs the effect of args->kind (SUMMON_EFFECT_ID) and frees them again.
voidbtEffectRunFromTable (struct BATTLE_EFFECT_PARM *args)Runs an ordinary battle effect from BattleEffectHandlers, with the sprite sheet, state and canvas it lends.
voidbtEffectRunElementPillar (struct BATTLE_EFFECT_PARM *args)A pillar of light in an element's colours stands at a unit's feet while motes spiral up around it.
voidbtEffectRunShatteringOpening (struct BATTLE_EFFECT_PARM *args)As the battle with the Doom Dragon opens over the Serpent's stars, the screen turns white and breaks into pieces that fly apart and fall, while a grey disc grows over it and the battle background's colours return.
voidbtEffectRunElementBurst (struct BATTLE_EFFECT_PARM *args)Sparks in an element's colours flare at four corners around a unit and motes spiral in, then a burst of light plays over it.
voidbtEffectStartElementStreaks (Sint32 kind)Starts the element streaks, which then draw by themselves while the battle runs on.
voidbtEffectEndElementStreaks (void)Ends the element streaks: removes their three events, clears the canvas in VRAM and frees what they took.
Sint32btEffectLoadBlitter (Sint32 slot, Sint32 modeAndFlags)btEffectBuildBlitter for a 128 by 128 canvas, its mode and flags packed as mode << 4 | flags.
voidbtEffectRunFormChange (struct BATTLE_EFFECT_PARM *args, Sint32 kind)The Doom Dragon's change of form, played over the dragon once a form is beaten.
voidbtEffectUpdatePhasePalette (Sint32 frame, Sint32 redPhase, Sint32 greenPhase, Sint32 bluePhase)Rebuilds the background palette's first ramp as a grey whose channels sway with the tick, each at its own phase, so the effect shimmers through colours.
voidbtEffectStartCanvasLayer (Sint32 bgControl)Opens the canvas layer over the battle, darkening the battle background behind it.
voidbtEffectEndCanvasLayer (void)Closes the canvas layer and brings the battle background's colours back.
voidbtEffectCountDownBattlerTints (void)Counts down each target's flash timer and gives it its own palette back when one runs out.
voidbtEffectTintBattler (Sint32 actor, Sint32 palette, Sint32 pose, Sint32 timerSlot, Sint32 timerTicks)Tints a unit's battle object, sets its pose and starts its flash timer.
voidbtPictureMirrorIntoQuadrants (Uint8 *src, Uint8 *dest, Sint32 width, Sint32 height)Copies a width by height picture into one twice its size, mirrored into all four quadrants.
voidbtEffectRunDjinniEntrance (struct BATTLE_EFFECT_PARM *effect, Uint32 packed, Sint32 *screen, Sint32 *world)A Djinni gathers out of sparks at an anchor, sways and bursts into motes (DJINNI_ENTRANCE packs which, its side and where); the anchor's screen and world points are returned.
voidbtCanvasBlitMirroredQuarters (void *src, Sint32 x, Sint32 y, Sint32 size)Draws a quarter picture four times into the canvas, mirrored about (x, y), keeping the brighter pixel: a whole glow centred there.
struct RENDER_MODEL *btRenderAllocateModelList (Sint32 count)Allocates count model entries and a cleared one that ends the list.
voidbtRenderTransformVertices (const void *corners, void *vertices, Sint32 count)Runs count packed vertices through the current transform into screen coordinates, with the ARM kernel copied into the heap.
voidbtEffectPosProjectBattler (Sint32 id, SCREEN_POINT *pos)Projects a unit's place onto the screen, 16 pixels higher.
voidbtEffectCreateSprites (Sint32 count, Sint32 spriteId, Uint32 priority)Creates count sprites of spriteId in the effect's state, the nth showing its animation n.
voidbtEffectShowLivingTargets (struct BATTLE_EFFECT_PARM *args)Shows the battle objects of every target with HP left.
voidbtEffectStartActorMotion (Sint32 id, Sint32 force, Sint32 acceleration, Sint32 speedLimit, Sint32 velocityY, Sint32 percent)Knocks a unit back in its damage pose with the caller's acceleration, top speed, hop and reach in percent, as btMotionApplyKnockback does from its tables.
voidbtEffectBuildCanvasBlitters (Sint32 flip, DRAW_RECTANGLE *out)Builds the two usual canvas blitters, mirrored when flip is set: out[0] keeps the brighter level, out[1] adds the levels.
voidbtCameraShake (Sint32 rangeX, Uint32 rangeY)Shakes the battle view by random offsets in the two ranges, powers of two.
voidbtParticleAdvanceWithGravity2D (PARTICLE *step, Sint32 damping, Sint32 gravity)Moves a particle one tick on the screen: its velocity scaled by damping sixty-fourths, then gravity added to its y speed.
voidbtRenderBuildQuadStrip (struct STRIP_QUAD *quad, Sint32 width, Sint32 height, Sint32 count)Builds count quads of a vertex strip, each width by height texels, and ends the list with an empty triangle.
voidbtParticleAdvanceWithGravity3D (PARTICLE *step, Sint32 damping, Sint32 gravity)Moves a particle one tick in three dimensions: its velocity scaled by damping sixty-fourths, then gravity added to its y speed.
voidbtEffectStartTiledCanvas (Sint32 bgControl)Opens the canvas layer with the canvas repeated across a wrapping map.
voidbtEffectStartTiledCanvasFilled (Sint32 bgControl)As btEffectStartTiledCanvas, the rest of each row showing the canvas's top right tile.
voidbtEffectFillWhiteBand (void)Fills the canvas with a white band, its edges fading, that the summons sweep in from the right to white the battle out.
voidbtEffectAdvanceScrollOnInterval (void)Scrolls BG1 a step every few frames.
voidbtPaletteBrightenBattleBg (Sint32 redDelta, Sint32 greenDelta, Sint32 blueDelta)Brightens the battle background's colours by a step in each channel, or darkens them by a negative one.
voidbtPaletteBrightenSavedBattleBg (Sint32 redDelta, Sint32 greenDelta, Sint32 blueDelta)As btPaletteBrightenBattleBg, from the background's own colours as the battle keeps them.
voidbtMeshBuildCylinderBand (struct MESH_VERTEX *vertices, struct MESH_TRIANGLE *triangles, Sint32 segments)Builds the mesh of an open cylinder of segments sides, the band Coatlicue shows.
voidbtGraphicsLoadGreyRamp (void)Loads a grey ramp into the background colours from colour 1.
voidbtMeshBuildGrid (struct MESH_TRIANGLE *triangles, Sint32 columns, Sint32 rows, Sint32 cellWidth, Sint32 cellHeight)Fills a grid of columns by rows vertices with two triangles a cell, each cellWidth by cellHeight texels, and ends the list.
voidbtPaletteBrightenBgEntries (Sint32 blueDelta, Sint32 greenDelta, Sint32 redDelta)Brightens background colours 1 to 63 by a step in each channel, or darkens them by a negative one.
voidbtEffectConfigureEffectDisplay (void)Puts the battle screen back into the display state every effect starts from and ends with.
voidbtEffectClearTintTimers (void)Clears every target's flash timer.
voidbtEffectDrawClippedCanvasLine ( Sint32 x0, Sint32 y0, Sint32 x1, Sint32 y1, Sint32 color)Draws a line on the canvas, keeping the brighter colour where it crosses what is drawn.
voidbtEffectSetupCanvasWindows (void)Sets the registers that show the canvas on BG2.
voidbtEffectRunRamses (struct BATTLE_EFFECT_PARM *effect)The effects with a runner of their own: the summons, Daedalus's second strike, and Trident, Cruel Ruin and Meteor Blow.
voidbtEffectRunNereid (struct BATTLE_EFFECT_PARM *effect)Nereid rides in on her turtle over rising waves, columns of water and spray rise over the targets, and she bursts away.
voidbtEffectRunKirin (struct BATTLE_EFFECT_PARM *effect)Over a scrolling forest Kirin bounds in through a hoop of light, trailing fire; then it charges in from the right across the targets, each bursting into motes as it passes, and a wall of fire sweeps over them and leaves them black.
voidbtEffectRunAtalanta (struct BATTLE_EFFECT_PARM *effect)Under a violet sky Atalanta flies across the screen while sixteen shafts of light gather trails of motes, flash and fly off; then 24 shafts rain down diagonally on the targets and burst in light, hitting each target as they land.
voidbtEffectRunNeptune (struct BATTLE_EFFECT_PARM *effect)Under storm clouds Neptune leaps out of the sea in a burst of spray, light gathers at its head and a beam of light joins its head to the sky, with a splash there; then five columns of water crash down on the targets, throwing up drops.
voidbtEffectRunProcne (struct BATTLE_EFFECT_PARM *effect)A whirlwind lifts the targets and spins them while dust swirls up it; then Procne, a great bird in a violet sky, gathers sparks and strikes them with four comets, each throwing out a burst of sparks.
voidbtEffectRunJudgment (struct BATTLE_EFFECT_PARM *effect)The battle wipes away to a violet sky where Judgment, a winged knight with a lion shield, flies forward while motes gather into its shield; a glow swells there and bursts, beams fall and a ring of light spreads below, then a flare falls on the land below and explodes in rings of light, and the blast sweeps over a beach and through a forest, throwing up rocks, before the battle returns.
voidbtEffectRunBoreas (struct BATTLE_EFFECT_PARM *effect)The screen opens on Boreas standing in a mass of ice crystals over the violet sky; the crystals break away, a big ice block drops onto its head and a spray of ice streams out to the left.
voidbtEffectRunThor (struct BATTLE_EFFECT_PARM *effect)Over scrolling dusk clouds a ring with a triangle across it draws itself and turns, its colours cycling, then tips flat, sinks into the sky and sends down a beam of light; then a pillar of lightning strikes the targets, Thor appears in a spray of sparks, bolts of lightning from his hammer strike the targets again and again, and Thor drifts back in crackling lightning.
voidbtEffectRunMegaera (struct BATTLE_EFFECT_PARM *effect)Megaera: two swords fall point down among the foes, each with a flash, a bolt of lightning and a burst of sparks; then the field bursts into flame, and Megaera swoops in across the foes in a trail of sparkles, and bursts on them.
voidbtEffectRunFlora (struct BATTLE_EFFECT_PARM *effect)Flora: the battle flashes away to a violet sky where petals blow by.
voidbtEffectRunMoloch (struct BATTLE_EFFECT_PARM *effect)Snow falls over the battle and, from tick 91, drifts toward the middle; from tick 97 a white cloud of snow billows up, and at tick 136 it parts on Moloch, a great white horned beast, as rings spread out about it.
voidbtEffectRunUlysses (struct BATTLE_EFFECT_PARM *effect)A white flake drifts down, a flame bursts and a ring of red runes opens with the mage's silhouette glowing violet in it; the mage appears, and six times violet flames gather at the mage's hand and a crescent of light sweeps round the foes and strikes; then fire flares over the mage, who fades, and a white flake flutters away.
voidbtEffectRunHaures (struct BATTLE_EFFECT_PARM *effect)Haures: in a blue cavern four drops fall and burst into violet flames, a red swirl opens on the ground and a dark pool on it heaves up into a mound; the beast's claw rises from it in violet flame, a rune flashes as the claw slashes, and the dark breaks into shards to show him circling in a reddened cave; then he charges through the foes three times in streaks of fire that end in a flash of light.
voidbtEffectRunEclipse (struct BATTLE_EFFECT_PARM *effect)Eclipse: after a flash the golden dragon looms over the horizon while rays of light spin out from its head; it opens its jaws, gathers an orb of light and breathes it as a blast that whites out the field, and the blast lands on the land far below as a dome that spreads in rings before a last white flash.
voidbtEffectRunCoatlicue (struct BATTLE_EFFECT_PARM *effect)Coatlicue: the battle gives way to deep blue, where two coils of scaled water turn and a ring of light flashes.
voidbtEffectRunDaedalus (struct BATTLE_EFFECT_PARM *args)Daedalus: the battle flashes away to a cloudy blue sky over a forest.
voidbtEffectRunAzul (struct BATTLE_EFFECT_PARM *effect)Azul: the serpent plunges down and the battlefield shatters behind it, bubbles rise round the foes, the serpent swims in from the right and closes them in a great sphere of water, and the sphere bursts over the field in foam and falling drops.
voidbtEffectRunCatastrophe (struct BATTLE_EFFECT_PARM *effect)Catastrophe: over a red sky the chained demon with its golden shield spreads its wings and drives down a sword of light; the blade's orb falls on the land far below and bursts in a ring and a white flash; then violet lightning and smoke sweep in from the right over the foes.
voidbtEffectRunCharon (struct BATTLE_EFFECT_PARM *effect)Charon: over a red wasteland a violet whirlpool turns about a red dome that rises out of it; in a white flash among dark shards Charon appears and slashes across the vortex.
voidbtEffectRunIris (struct BATTLE_EFFECT_PARM *effect)Iris: a circle of light opens over a dark field while fifteen streaks swirl up out of it; Iris herself appears, a 4 x 4 grid of sprites, amid two bursts of pink petals and later rises away; drops fall and splash in rings; pillars of light climb, the scene fills with rising motes, rays turn about the centre, and the screen whitens as she heals the party.
voidbtEffectRunDaedalusStrike (struct BATTLE_EFFECT_PARM *effect)Daedalus's second strike, at the end of the turn after the summon: its rocket (SPRITE_DAEDALUS_ROCKET) dives from above the screen and settles while, from DAEDALUS_STRIKE_GLOW_START, a disc of light swells beneath it and rays of light spin out.
voidbtEffectRunTrident (struct BATTLE_EFFECT_PARM *effect)The Trident drops into place over the targets as rings spread out from them; seven jagged bolts spin in, shaded discs are thrown up from a disc growing on the ground, and then the strike lands on every target with flashes and a burst of sparks, and more rings spread.
voidbtEffectRunCruelRuin (struct BATTLE_EFFECT_PARM *effect)Cruel Ruin: light swells at the caster's feet as the caster rises out of sight; under a sky of sunbeams a glow gathers into an orb amid a turning circle of runes, rings of fire fly out from it, rays burst and a ball of light falls; then in a sky clearing to gold over a forest rushing by, six blasts go off, streaks rain and two ribbons of light sway past; last the ball falls on the foes, who darken to silhouettes, and a wall of light sweeps over them.
voidbtEffectRunMeteorBlow (struct BATTLE_EFFECT_PARM *effect)Meteor Blow: the screen goes black and the view flies through a sky of stars as a burning meteor comes in, growing, and plunges in a cone of flame; then it lands on the foes, rings of fire and billows spread from it and sparks fly up as every foe is thrown back.
voidbtEffectRunDjinnBeams (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Effects several abilities share, told apart by mode.
voidbtEffectRunLobbedShells (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Lobs shells from the user at each target in turn, eight ticks apart, one each or Mud's four; they tumble as they fly, and when one lands the target flashes and the shell bursts into smoke that drifts up or shards that fly up and fall.
voidbtEffectRunGatheringLights (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)For each target in turn, spirits burst out of the user every way and from 30 ticks on are pulled toward the middle of the target's body, vanishing once they have crossed it, in the mode's colours.
voidbtEffectArmBg1HBlankDMA (void)Arms the HBlank DMA that scrolls BG1 line by line.
voidbtPaletteMirrorBgColors (void)Reverses the first 64 background colours, keeping the backdrop colour.
voidbtEffectSetupBlendedDisplay (void)Shows the battle background, as dark as the canvas's fade left it, behind a cleared canvas, and fades out the action's sound effects.
voidbtEffectRunDragonFire (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Fireballs rain on the targets and burn where they land, then a blast of fire sweeps across them.
voidbtEffectPlaceFormationSprites (Sint32 formation, Sint32 x, Sint32 y)Arranges the effect's sprites in a formation (SUMMON_FORMATION) about (x, y), 16.16 pixels.
voidbtEffectRunImpactBurst (Sint32 formation, Sint32 x, FIXED y)Opens an impact flash and scatters sparks and fragments, keeping the effect's sprites in formation for the first 36 ticks.
voidbtEffectRunStreakVolley (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Fires streaks at each target in turn from above the user.
voidbtEffectRunMoteFountain (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Motes burst out of the user and float upwards, and each target reacts.
voidbtEffectGetTargetsMidpoint (SCREEN_POINT *midpoint)The screen point midway between the first and last targets.
voidbtEffectRunTumblingQuads (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)The revival of Balm, Tinder and Phoenix: comets or feathers tumble round the targets, and every target flashes.
voidbtEffectRunTargetStrike (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)The user strikes each target with the extras its mode's style chooses.
voidbtEffectSetApproachMotion (Sint32 actor, Sint32 target, Sint32 ticks, Sint32 percent)Moves a unit's object percent percent of the way to the target's in ticks ticks.
voidbtEffectRunCloudSwirl (struct BATTLE_EFFECT_PARM *effect)Unused: a turning cloud swirl on BG2 until A is pressed.
voidbtCameraApplyPhasedDelta (void)Turns the battle camera's yaw by the effect's delta, at least half of it every VBlank.
voidbtEffectStepPaletteToResource (Sint32 resourceId)Steps background colours 0 to 63 one level towards a palette resource.
voidbtEffectWipeCanvas (Sint32 direction, Sint32 fill)Wipes the canvas across or down, leaving it as fill says (enum CANVAS_FILL).
voidbtEffectPosProjectSprite (Sint32 id, SCREEN_POINT *pos)Projects a unit's sprite onto the screen, raised by half its height and 16 pixels more.
voidbtEffectBuildWindowEdgeTable (void)Builds window 0's right edge for every line and restarts the DMA that writes it.
voidbtEffectRunDrainMotes (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Motes burst out of each target in turn and are pulled into the user, who glows white as they arrive.
voidbtEffectRunStatBoost (struct BATTLE_EFFECT_PARM *effect, Uint32 mode)Flares of light swirl in to each target in turn and burst, and the mode's picture plays over it.
voidbtEffectRunEruption (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)A fountain of motes and smoke bursts up beside the targets and falls back on them one after another.
voidbtEffectRunGrowingColumns (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Vines or green pillars grow one after another, alternately mirrored, each flaring at its root.
voidbtEffectRunQuake (struct BATTLE_EFFECT_PARM *args)Three rock pillars rise from the left, 4 ticks apart, and sink again, throwing the targets standing on them into the air.
voidbtEffectRunSpire (struct BATTLE_EFFECT_PARM *args)Boulders drop along the row of targets, centred on it, and shatter into tumbling shards, hitting every target as each lands.
voidbtEffectRunGaia (struct BATTLE_EFFECT_PARM *args)Flames flicker at the targets' feet under a narrow shaft of orange light, which widens into a glowing wall and stands while rocks tumble up through it and the targets are battered, then narrows away again.
voidbtEffectRunGrowth (struct BATTLE_EFFECT_PARM *args)Vines grow from the ground, flaring at each root.
voidbtEffectRunThorn (struct BATTLE_EFFECT_PARM *args)Thorns burst from the ground one after another, flaring at their roots.
voidbtEffectRunFrost (struct BATTLE_EFFECT_PARM *args)Motes of ice spiral down and in while mounds of ice spring up; at the burst the motes spread and rise, chips fly up and sparkles rise.
voidbtEffectRunIce (struct BATTLE_EFFECT_PARM *args)Ice shards rain down diagonally onto the targets' side of the field and shatter into puffs of sparkle, flashing and shaking each target as they land.
voidbtEffectRunPrism (struct BATTLE_EFFECT_PARM *args)Crystals drop out of the sky onto the targets' side and shatter on the ground into spinning shards, flashing the targets and shaking the screen.
voidbtEffectRunDouse (struct BATTLE_EFFECT_PARM *args)Drops of water fall diagonally onto the targets' side of the field, 8 pixels down and 4 across a tick, each bursting in a splash that throws up droplets where it lands, while the targets flash; Deluge throws them higher.
voidbtEffectRunFroth (struct BATTLE_EFFECT_PARM *args)Bubbles fly out of the top of the user, hang, and home in on the targets; each that lands bursts into a swirling vortex, knocking back its target, while the camera swings round.
voidbtEffectRunFlare (struct BATTLE_EFFECT_PARM *args)Nine flames rise one after another along half an ellipse.
voidbtEffectRunFire (struct BATTLE_EFFECT_PARM *args)Embers burst from the top of the user and home in on the targets, and each that lands shows an impact flare as its target flinches.
voidbtEffectRunVolcano (struct BATTLE_EFFECT_PARM *args)One, two or four columns of fire rise among the targets, each erupting in a fountain of sparks and knocking the targets back.
voidbtEffectRunBlast (struct BATTLE_EFFECT_PARM *args)A fountain of fire-coloured motes and puffs of smoke bursts up beside the targets and falls back, flashing each target and making it recoil.
voidbtEffectRunNova (struct BATTLE_EFFECT_PARM *args)Bursts go off behind the battle's first layer.
voidbtEffectRunBolt (struct BATTLE_EFFECT_PARM *args)A bolt of lightning strikes each target in turn, and sparks fly up from where it lands while glints flicker there.
voidbtEffectRunRay (struct BATTLE_EFFECT_PARM *args)Four bolts close in, turning towards the centre and scattering sparks from their roots, while the canvas flashes.
voidbtEffectRunPlasma (struct BATTLE_EFFECT_PARM *args)Pillars of lightning strike one after another, each with a flash, throwing sparks up from the ground and knocking the targets back.
voidbtEffectRunSlash (struct BATTLE_EFFECT_PARM *args)Six comets fly at each target, three ticks apart, and burst into a flash and sparks; the effect's variant picks one of three comets.
voidbtEffectRunWhirlwind (struct BATTLE_EFFECT_PARM *args)Tornadoes sweep across the targets, sparkling with glints, and the targets reel again and again.
voidbtEffectRunCure (struct BATTLE_EFFECT_PARM *args)A ring of healing motes below each target closes in on it, in the blast sprite sheet's colours.
voidbtEffectRunPly (struct BATTLE_EFFECT_PARM *args)Sparkles of light swirl around each target and close in on it, in the ice shard's or ice block's colours, with the canvas shown at its own width and centred on the first target.
voidbtEffectRunWish (struct BATTLE_EFFECT_PARM *args)Healing motes tumble in on each target from all around it.
voidbtEffectRunCurePoison (struct BATTLE_EFFECT_PARM *args)Sparkles twinkle around each target, four more a tick, and go out one by one instead of closing in.
voidbtEffectRunRevive (struct BATTLE_EFFECT_PARM *args)Motes drift down over each target and a column of light falls on it, in the Venus Djinni's colours; with a prelude, a Venus Djinni appears first.
voidbtEffectRunImpact (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a dagger appears in Mars colours.
voidbtEffectRunDull (struct BATTLE_EFFECT_PARM *args)A dagger appears over each target and breaks into shards that fade through darker copies, in the glow orb's colours.
voidbtEffectRunGuard (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a shield appears in Mars colours.
voidbtEffectRunImpair (struct BATTLE_EFFECT_PARM *args)A shield appears over each target and breaks into shards that fade through darker copies, in the glow orb's colours.
voidbtEffectRunWard (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a shield appears in Jupiter colours.
voidbtEffectRunWeaken (struct BATTLE_EFFECT_PARM *args)A shield appears over each target and breaks into fading shards, in the pink burst's colours.
voidbtEffectRunTaint (struct BATTLE_EFFECT_PARM *args)Lime smoke swirls in on each target, or pink smoke for a stronger variant.
voidbtEffectRunDelude (struct BATTLE_EFFECT_PARM *args)Cyan smoke rises around each target.
voidbtEffectRunUnusedOrbitingSpirals (struct BATTLE_EFFECT_PARM *args)Unused: no row of AbilityBattleEffects in either game names its kind, and the handler table is reached with no other kind (btEffectRunFromTable), so the player never sees it.
voidbtEffectRunHeartrender (struct BATTLE_EFFECT_PARM *args)Hearts close in on each target, turning as they come.
voidbtEffectRunParalyze (struct BATTLE_EFFECT_PARM *args)Smoke rises around each target, and glints sparkle near it.
voidbtEffectRunSleep (struct BATTLE_EFFECT_PARM *args)Twelve sheep drop onto the targets' side, tumbling, and each target falls asleep in turn.
voidbtEffectRunBind (struct BATTLE_EFFECT_PARM *args)A triangle of light spins and shrinks onto the first target, changing colour and leaving a fading trail, then a rune stands on the target.
voidbtEffectRunHaunt (struct BATTLE_EFFECT_PARM *args)Evil spirits (SkullSheet's skulls, smeared pink by the ripple) close in on each target in turn.
voidbtEffectRunCondemn (struct BATTLE_EFFECT_PARM *args)A hooded reaper with a scythe circles in, fading out through a ripple as it jumps closer twice, the second time onto the first target; the screen flashes white, the reaper swings, and the red crescent its scythe leaves fades while the target is knocked back and the screen shakes.
voidbtEffectRunCurse (struct BATTLE_EFFECT_PARM *args)A candle stands on each target's head in turn, a small flame burning on it.
voidbtEffectRunDrain (struct BATTLE_EFFECT_PARM *args)Motes of light burst from each target in turn, and are pulled into the centre of the user's body: white for the basic variant, golden for the stronger.
voidbtEffectRunBreak (struct BATTLE_EFFECT_PARM *args)Ice shards burst up from each target in turn, tinting it, and fall away.
voidbtEffectRunDragonCloud (struct BATTLE_EFFECT_PARM *args)A flame leaves the user along a stored path with a fading trail behind it, strikes the first target and bursts into embers and flashes.
voidbtEffectRunDemonNight (struct BATTLE_EFFECT_PARM *args)Sixteen pink spirits burst out of the user and are pulled into each target.
voidbtEffectRunHelmSplitter (struct BATTLE_EFFECT_PARM *args)The user leaps at the first target and strikes through a fire swirl; the target reels and sparks scatter, bouncing off the ground: stars for Helm Splitter, and for Skull Splitter twice as many skulls from a swirl of blue flame.
voidbtEffectRunQuickStrike (struct BATTLE_EFFECT_PARM *args)The user leaps at the first target, four pictures flash across the effect layer, then it fills with one colour as the target is struck.
voidbtEffectRunDeathPlunge (struct BATTLE_EFFECT_PARM *args)The user runs at the first target, both leap and turn upside down, and on the hit they bounce apart in a white flash while a ring of flashes swells into a ball of fire over them.
voidbtEffectRunShuriken (struct BATTLE_EFFECT_PARM *args)Four spinning shurikens fly at each target, five ticks apart, and vanish once past it.
voidbtEffectRunAnnihilation (struct BATTLE_EFFECT_PARM *args)The user closes on the first target and fire bursts from it in a shower of shards.
voidbtEffectRunPunji (struct BATTLE_EFFECT_PARM *args)Green pillars grow from the ground, flaring at each root.
voidbtEffectRunCuttingEdge (struct BATTLE_EFFECT_PARM *args)From the user's leap pose, one large comet in ice colours flies at each target and bursts into 80 sparks.
voidbtEffectRunRagnarok (struct BATTLE_EFFECT_PARM *args)A huge flaming blade swings down over the targets, holds and creeps on, while two columns of light burst over them eight ticks apart, each in a ring of flashes and a spray of sparks that bounce on the ground; the targets flash as each column strikes and are struck six ticks later.
voidbtEffectRunHeatWave (struct BATTLE_EFFECT_PARM *args)From the user's leap pose, seven fireballs trailing embers fly at each target, two ticks apart, each bursting into 40 sparks.
voidbtEffectRunPlanetDiver (struct BATTLE_EFFECT_PARM *args)Abilities: Planet Diver.
voidbtEffectRunTitanBlade (struct BATTLE_EFFECT_PARM *args)Abilities: Titan Blade.
voidbtEffectRunShiningStar (struct BATTLE_EFFECT_PARM *args)Eight spinning star outlines fall from above the user and bounce on the ground near the first target, each bounce flashing the targets.
voidbtEffectRunBlizzard (struct BATTLE_EFFECT_PARM *args)From the user's leap pose, sixty ice chips stream at each target, one a tick, scattered up and down, without knocking it back.
voidbtEffectRunDemonFire (struct 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.
voidbtEffectRunVorpalSlash (struct BATTLE_EFFECT_PARM *args)The user steps up to the first target, four pictures flash across the effect layer, then it fills with one colour as the target is struck.
voidbtEffectRunDrown (struct BATTLE_EFFECT_PARM *args)Thirty-two water drops spiral in on each target.
voidbtEffectRunUnusedTriangleStrike (struct BATTLE_EFFECT_PARM *args)Unused: no row of AbilityBattleEffects in either game names its kind, and the handler table is reached with no other kind (btEffectRunFromTable), so the player never sees it.
voidbtEffectRunAstralBlast (struct BATTLE_EFFECT_PARM *args)Three pink stars of light fly from above the user at the first target, growing and spinning, while the camera swings round; each knocks the target back.
voidbtEffectRunHeartbreak (struct BATTLE_EFFECT_PARM *args)A great cloaked figure with a horned skull for a head sweeps down on the target from above the far side, swaying and fading in through the blend, its clawed hand reaching out.
voidbtEffectRunAura (struct BATTLE_EFFECT_PARM *args)Sparkles from a wide cloud around each target close in on it without turning, in orange.
voidbtEffectRunFume (struct BATTLE_EFFECT_PARM *args)A plume of flames rises from the caster and arcs over onto the target, a dragon's head of fire at its front.
voidbtEffectRunBeam (struct BATTLE_EFFECT_PARM *args)Motes of fire gather on the user and a beam of fire shoots from it across the targets, a ring of light flying along it.
voidbtEffectRunRagingHeat (struct BATTLE_EFFECT_PARM *args)A circle of runes spins over the targets' middle and swells; from tick 56 a pillar of flame (two mirrored halves) falls from it onto them and bursts into fire and embers where it lands, under a ring of fire that spreads and fades.
voidbtEffectRunCool (struct 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.
voidbtEffectRunSabreDance (struct BATTLE_EFFECT_PARM *args)Dancing blades.
voidbtEffectRunBackstab (struct BATTLE_EFFECT_PARM *args)A pink star burst.
voidbtEffectRunJuggle (struct BATTLE_EFFECT_PARM *args)A ring of small flames.
voidbtEffectRunFlameCard (struct BATTLE_EFFECT_PARM *args)Abilities: Flame Card.
voidbtEffectRunWhiplash (struct BATTLE_EFFECT_PARM *args)A lash of violet light swings out from the caster and cracks down on the target, which is thrown up and flashes, and motes spray from where the lash struck, half of them rising and half falling as they burn down.
voidbtEffectRunPoisonFlow (struct BATTLE_EFFECT_PARM *args)Abilities: Poison Flow.
voidbtEffectRunFirePuppet (struct BATTLE_EFFECT_PARM *args)The caster kneels, grey, and its ghost rises from it: a trail of blue streaks that curls up and over the battle with a skull at its head.
voidbtEffectRunDiamondDust (struct BATTLE_EFFECT_PARM *args)From the user's leap pose, thirty turning ice crystals stream at each target, two ticks apart, scattered up and down.
voidbtEffectRunDiamondBerg (struct BATTLE_EFFECT_PARM *args)An iceberg drops onto the target and is driven down in eight blows (every eighth tick from 31), each throwing eight shards and flaring a ring; the last shatters it in a flash.
voidbtEffectRunPlumeEdge (struct BATTLE_EFFECT_PARM *args)A geyser of water erupts under the target in billows of foam and lifts it; the user dashes in, and the geyser bursts into a spray of drops as the canvas flashes white.
voidbtEffectRunThunderMine (struct BATTLE_EFFECT_PARM *args)Abilities: Thunder Mine.
voidbtEffectRunFrostCard (struct BATTLE_EFFECT_PARM *args)Abilities: Frost Card.
voidbtEffectRunBrambleCard (struct BATTLE_EFFECT_PARM *args)Abilities: Bramble Card.
voidbtEffectRunThunderCard (struct BATTLE_EFFECT_PARM *args)Abilities: Thunder Card.
voidbtEffectRunBaffleCard (struct BATTLE_EFFECT_PARM *args)Abilities: Baffle Card.
voidbtEffectRunSwordCard (struct BATTLE_EFFECT_PARM *args)Abilities: Sword Card.
voidbtEffectRunSleepCard (struct BATTLE_EFFECT_PARM *args)Abilities: Sleep Card.
voidbtEffectRunDeathCard (struct BATTLE_EFFECT_PARM *args)Abilities: Death Card.
voidbtEffectRunStoneJustice (struct BATTLE_EFFECT_PARM *args)Themis' Axe's unleash: rocks rise in a column beside the user and spin as they fly; then they are hurled across the screen into the target while the battle background slides after them, and every rock that reaches the target shakes the screen and knocks it back.
voidbtEffectRunHeavyDivide (struct BATTLE_EFFECT_PARM *args)A great sword swings down onto the target, trailing blue after-images.
voidbtEffectRunWyrdCurse (struct 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.
voidbtEffectRunAcheronsGrief (struct BATTLE_EFFECT_PARM *args)Abilities: Acheron's Grief.
voidbtEffectRunHurricane (struct 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.
voidbtEffectRunDreamtide (struct BATTLE_EFFECT_PARM *args)Abilities: Dreamtide.
voidbtEffectRunLetheAlbion (struct BATTLE_EFFECT_PARM *args)Abilities: Lethe Albion.
voidbtEffectRunRisingDragon (struct BATTLE_EFFECT_PARM *args)A dragon of blue flame (two at the next variant) rises from the caster and arcs onto the target: a scrolling band of flame of DRAGON_SEGMENTS segments, widening to its head, a dragon's head of flame.
voidbtEffectRunBoostHack (struct BATTLE_EFFECT_PARM *args)The user takes its leap pose, Vorpal Slash's four pictures flash over the battle in other colours, then the effect layer fills with one colour as the target is struck.
voidbtEffectRunRadiantFire (struct 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.
voidbtEffectRunFireDance (struct BATTLE_EFFECT_PARM *args)The user takes its leap pose and animates fast while the burst shower plays.
voidbtEffectRunBlazeRush (struct BATTLE_EFFECT_PARM *args)From the user's leap pose, seven fireballs trailing smoke fly level at each target, two ticks apart, scattered up and down, each bursting into 40 sparks.
voidbtEffectRunShred (struct BATTLE_EFFECT_PARM *args)A glow grows on the first target as sixteen rays of motes close on it, and it bursts into flames and sparks; Impair follows.
voidbtEffectRunPurgatory (struct BATTLE_EFFECT_PARM *args)Abilities: Purgatory.
voidbtEffectRunSoulShatter (struct BATTLE_EFFECT_PARM *args)The Soul Brand's unleash: a column bursts up under the target in a spray of sparks and throws it into the air; the user glows, and from tick 32 motes of the target's soul fly out and are drawn back into the user, who flashes white.
voidbtEffectRunAgingGas (struct BATTLE_EFFECT_PARM *args)The user takes its leap pose and animates fast while the burst shower plays.
voidbtEffectRunMadZephyr (struct BATTLE_EFFECT_PARM *args)The user lunges a fifth of the way at the first target, then four slashes strike it, throwing sparks, in lightning colours; eight in its stronger variant.
voidbtEffectRunLunarSlash (struct BATTLE_EFFECT_PARM *args)The user leaps where it stands, four pictures flash over the battle, then the effect layer fills with one colour as the target is struck and Weaken follows.
voidbtEffectRunNirvana (struct BATTLE_EFFECT_PARM *args)The Meditation Rod's unleash: an orb leaves the first target, drawn as rings of sparks turning about it, and is pulled back into the user, who flashes white.
voidbtEffectRunLightSurge (struct BATTLE_EFFECT_PARM *args)The camera swings around the target while SURGE_BOLTS bolts of light rain onto it, SURGE_BOLT_INTERVAL ticks apart; each lands with a flash and leaves a glow, and SURGE_RINGS rings of light swell about the target and sway.
voidbtEffectRunVoidBeam (struct BATTLE_EFFECT_PARM *args)A hexagon of motes is traced, side by side, around the caster while a ring of motes gathers behind; at VOID_BEAM_FIRE_TICK a beam, the comet's head and a 32-line gradient repeated nine times, shoots from the caster toward the targets' side, fading out from VOID_BEAM_FADE_TICK.
voidbtEffectRunLegend (struct BATTLE_EFFECT_PARM *args)Legend, Excalibur's unleash: a fan of flames opens over the target until the first sword falls, while a rune, mirrored from one corner, rises and turns behind it.
voidbtEffectRunLiquifier (struct BATTLE_EFFECT_PARM *args)Sparks fall into the user as two rings of fire swell about it (ticks 0 to 15); then the sparks burst from it and eight flames fan out above it and sink back.
voidbtEffectRunMegiddo (struct BATTLE_EFFECT_PARM *args)Megiddo: the caster leaps and hangs in the air before a red haze, rings of light flashing round them, rays fanning out about them and sparks rising; a burning sun sweeps down across the sky, then falls onto the target wrapped in flames and bursts in rings of light.
voidbtEffectRunOdyssey (struct BATTLE_EFFECT_PARM *args)"Pierce a foe with a colossal sword." The red haze, turned blue, scrolls behind the caster and the target alone; two rings of light flash out from the caster, and two swords plunge onto the target, one from above and one from below, each with a ring and a burst of sparks.
voidbtEffectRunVengeance (struct BATTLE_EFFECT_PARM *args)An archer slides in from the far side on a window of her own, her bow drawn, and from tick 26 looses a flaming arrow every twelve ticks; seven fly across, and those the level picks strike the target, the last one hardest.
voidbtEffectRunThornyGrave (struct BATTLE_EFFECT_PARM *args)Sixteen dark spirits edged in white burst out of the user, are pulled into each target and push it back as they arrive.
voidbtEffectRunPlanetary (struct BATTLE_EFFECT_PARM *args)Abilities: Planetary.
voidbtEffectRunLifeShear (struct BATTLE_EFFECT_PARM *args)A woman (a tiled background picture) glides in from the far side and strikes from tick 24: a pair of shears (two blade models turning about their pivot) swings back and into the target at tick 32, opens, and snaps shut through it at tick 50 in a flash of four flames.
voidbtEffectRunCrucibleFire (struct BATTLE_EFFECT_PARM *args)The stat boost's burst with no swirling flares (STAT_BOOST_FLARES), with no prelude Djinni and the fade step cleared.
voidbtEffectRunReverseStar (struct BATTLE_EFFECT_PARM *args)Motes of light scattered around each target swirl in towards it.
voidbtEffectRunGranite (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a pane of light appears in Venus colours.
voidbtEffectRunVine (struct BATTLE_EFFECT_PARM *args)Sixteen green vines grow from the middle of the row of targets, 2 ticks apart, and shrink back.
voidbtEffectRunGround (struct BATTLE_EFFECT_PARM *args)After a Venus Djinni enters, six glowing portals leave the user, swirl and close in on the first target, each striking it as it arrives.
voidbtEffectRunSleet (struct BATTLE_EFFECT_PARM *args)Thirty ice chips fall from high above the user onto each target.
voidbtEffectRunHail (struct BATTLE_EFFECT_PARM *args)After a Mercury Djinni enters, ice chips burst out of the first target and waves of water rise along the bottom of the screen.
voidbtEffectRunTonic (struct BATTLE_EFFECT_PARM *args)Sparkles twinkle around each target, turning on two axes, and go out one by one; the runner plays HEALING_MODE_TONIC exactly as HEALING_MODE_RESTORE.
voidbtEffectRunDew (struct BATTLE_EFFECT_PARM *args)Dew plays Revive's beams of light in the Mercury Djinni's colours, and with a prelude a Mercury Djinni appears first.
voidbtEffectRunPsyCrystal (struct BATTLE_EFFECT_PARM *args)Healing motes gather around each target in orange; with a prelude, a Mars Djinni appears first.
voidbtEffectRunFlash (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a pane of light appears in Mars colours.
voidbtEffectRunTorch (struct BATTLE_EFFECT_PARM *args)A fiery disc fades in over the battle, its rings running outward while every line of the display ripples; the target is struck, the disc fades out.
voidbtEffectRunZephyr (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a gust of wind sweeps across it in the colours already loaded, as this is the one boost that keeps the palette.
voidbtEffectRunKite (struct BATTLE_EFFECT_PARM *args)The long Jupiter Djinni entrance over the first target is the whole effect.
voidbtEffectRunGust (struct BATTLE_EFFECT_PARM *args)
voidbtEffectRunIron (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a shield appears in Venus colours as the backdrop turns grey.
voidbtEffectRunSteam (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a shield appears in Mercury colours as the backdrop turns to Jupiter's colours.
voidbtEffectRunShade (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a pane of light appears in Mercury colours.
voidbtEffectRunCoal (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a gust of wind sweeps across it in Mars colours.
voidbtEffectRunSalt (struct BATTLE_EFFECT_PARM *args)After a Venus Djinni appears, sparkles burst up and out from each target's feet, their colours turning from the blast sprite sheet's to cyan, and go out one by one.
voidbtEffectRunSpring (struct BATTLE_EFFECT_PARM *args)After a Mercury Djinni appears, Ply's sparkles, twice as many, swirl in on each target.
voidbtEffectRunBreath (struct BATTLE_EFFECT_PARM *args)After a Jupiter Djinni appears, sparkles in the Jupiter Djinn's colours whirl fast around each target and close in on it.
voidbtEffectRunEther (struct BATTLE_EFFECT_PARM *args)After a Jupiter Djinni appears, motes in the Jupiter Djinn's colours swirl in on each target.
voidbtEffectRunBalm (struct BATTLE_EFFECT_PARM *args)Abilities: Balm.
voidbtEffectRunTinder (struct BATTLE_EFFECT_PARM *args)Abilities: Tinder.
voidbtEffectRunWhorl (struct BATTLE_EFFECT_PARM *args)Abilities: Whorl.
voidbtEffectRunGale (struct BATTLE_EFFECT_PARM *args)Abilities: Gale.
voidbtEffectRunWaft (struct BATTLE_EFFECT_PARM *args)Abilities: Waft.
voidbtEffectRunCore (struct BATTLE_EFFECT_PARM *args)Abilities: Core.
voidbtEffectRunMud (struct BATTLE_EFFECT_PARM *args)A Venus Djinni appears, then four gold shells arc onto each target and burst into shards.
voidbtEffectRunHaze (struct BATTLE_EFFECT_PARM *args)Haze's Djinni rises over the targets while sixteen stars bloom and fade (btEffectRunDjinniSign).
voidbtEffectRunPetra (struct BATTLE_EFFECT_PARM *args)Abilities: Petra.
voidbtEffectRunRime (struct BATTLE_EFFECT_PARM *args)Rime's Djinni rises over the targets while its seal spins and shrinks onto the target (btEffectRunDjinniSign).
voidbtEffectRunLull (struct BATTLE_EFFECT_PARM *args)Abilities: Lull.
voidbtEffectRunGasp (struct BATTLE_EFFECT_PARM *args)Abilities: Gasp.
voidbtEffectRunFugue (struct BATTLE_EFFECT_PARM *args)Abilities: Fugue.
voidbtEffectRunCrystal (struct BATTLE_EFFECT_PARM *args)A Venus Djinni appears and its small sprite dives onto the target; a glowing cog spins and grows flat on the ground under the targets while orbs of light rise around them, pulsing, and each target flashes white as it is healed.
voidbtEffectRunEddy (struct BATTLE_EFFECT_PARM *args)After a Mercury Djinni appears, blue bubbles swirl in on each target.
voidbtEffectRunCannon (struct BATTLE_EFFECT_PARM *args)Abilities: Cannon.
voidbtEffectRunAroma (struct BATTLE_EFFECT_PARM *args)Abilities: Aroma.
voidbtEffectRunReflux (struct BATTLE_EFFECT_PARM *args)Abilities: Reflux.
voidbtEffectRunDjinnCounter (struct BATTLE_EFFECT_PARM *args)Abilities: Djinn Counter.
voidbtEffectRunMold (struct BATTLE_EFFECT_PARM *args)Abilities: Mold.
voidbtEffectRunMeld (struct BATTLE_EFFECT_PARM *args)Abilities: Meld.
voidbtEffectRunShine (struct BATTLE_EFFECT_PARM *args)Abilities: Shine.
voidbtEffectRunGeode (struct BATTLE_EFFECT_PARM *args)The battlefield itself rolls up into a clod of earth over the caster, spinning and tumbling, and flies onto the target with the Venus Djinni streaking behind it in fire; it lands in a white flash, billows of fire burst up and the screen shakes, and the backdrop comes back.
voidbtEffectRunSerac (struct BATTLE_EFFECT_PARM *args)"Strike a chilling finishing blow." The Mercury Djinni drops onto the target, dust bursting where it lands; a spire of ice (its mesh built on the first tick) grows up around the target in rings of mist while the camera circles, the caster closes in at tick 56, and at 64 the spire shatters into 64 tumbling shards.
voidbtEffectRunSpark (struct BATTLE_EFFECT_PARM *args)Spark plays Revive's beams of light in the Mars Djinni's colours, and with a prelude a Mars Djinni appears first.
voidbtEffectRunFury (struct BATTLE_EFFECT_PARM *args)Abilities: Fury.
voidbtEffectRunChar (struct BATTLE_EFFECT_PARM *args)Abilities: Char.
voidbtEffectRunVenus (struct BATTLE_EFFECT_PARM *args)The Venus Djinni drops in from above the targets, swaying and trailing yellow, while ten columns of yellow fire shoot up from the ground beneath them one after another, each bursting into motes and hitting every target.
voidbtEffectRunMercury (struct BATTLE_EFFECT_PARM *args)The Mercury Djinni rises from below on the caster's side and whirls there, washed white, firing five blue flames to the left; trailing like comets, each bursts into a spray of motes over the targets and hits them all.
voidbtEffectRunMars (struct BATTLE_EFFECT_PARM *args)A fireball blooms high over the targets and burns out, the Mars Djinni appears where it was and dives onto them, nine flames erupt in a row along the ground beneath them and embers stream up.
voidbtEffectRunJupiter (struct BATTLE_EFFECT_PARM *args)The Jupiter Djinni whirls by the caster, trailing pink, while eight pink flameballs fall from the top right onto the targets, 4 ticks apart; each bursts into 32 motes and hits every target.
voidbtEffectRunSonicWave (struct BATTLE_EFFECT_PARM *args)Three streaks of ember light fly from the user at each target in turn; each target flashes and recoils.
voidbtEffectRunShriek (struct BATTLE_EFFECT_PARM *args)Three streaks of lime light fly from the user at each target in turn; each target flashes and recoils.
voidbtEffectRunBansheeHowl (struct BATTLE_EFFECT_PARM *args)Three streaks of violet light fly from the user at each target in turn; each target flashes and trembles.
voidbtEffectRunCrazyVoice (struct BATTLE_EFFECT_PARM *args)Ten musical notes fly slowly at each target and bounce off it, up or down at random.
voidbtEffectRunWarCry (struct BATTLE_EFFECT_PARM *args)Three flickering cyan streaks fly from the user at each target in turn; each target flashes and recoils.
voidbtEffectRunWickedHowl (struct BATTLE_EFFECT_PARM *args)Three flickering red streaks fly from the user at each target in turn; each target flashes and trembles.
voidbtEffectRunWingBeat (struct BATTLE_EFFECT_PARM *args)Ten small yellow sparks stream level at each target, one a tick.
voidbtEffectRunWingFlutter (struct BATTLE_EFFECT_PARM *args)Five yellow sparks fly level at each target, five ticks apart.
voidbtEffectRunRumble (struct BATTLE_EFFECT_PARM *args)Eight spirits in Mars Djinn colours burst out of the user and are pulled into each target.
voidbtEffectRunBoneChiller (struct BATTLE_EFFECT_PARM *args)Blue shells arc from the user onto each target in turn and burst into smoke.
voidbtEffectRunBoneCharge (struct BATTLE_EFFECT_PARM *args)Abilities: Bone Charge.
voidbtEffectRunMysticFlame (struct BATTLE_EFFECT_PARM *args)Glowing orbs spiral in on each target.
voidbtEffectRunNumbingSting (struct BATTLE_EFFECT_PARM *args)One slash, a beam thrust out across the first target, strikes it among glints, in lightning colours.
voidbtEffectRunBruteForce (struct BATTLE_EFFECT_PARM *args)Abilities: Brute Force, Troll.
voidbtEffectRunStickyGoo (struct BATTLE_EFFECT_PARM *args)Shells in the spider web's colours arc from the user onto each target in turn and burst into smoke.
voidbtEffectRunCannibalFang (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target three times while motes stream out of it and back into the user.
voidbtEffectRunBearClaw (struct BATTLE_EFFECT_PARM *args)The user strikes the first target five times.
voidbtEffectRunPoisonousBite (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target once, in lime, with smoke.
voidbtEffectRunFlyingAttack (struct BATTLE_EFFECT_PARM *args)
voidbtEffectRunUndeadSword (struct BATTLE_EFFECT_PARM *args)Two mirrored columns of light rise at the first target's feet and sink again, scattering sparks that drift upward.
voidbtEffectRunRansack (struct BATTLE_EFFECT_PARM *args)Ransack plays the same five strikes as Bear Claw.
voidbtEffectRunStickyPoison (struct BATTLE_EFFECT_PARM *args)Lime shells arc from the user onto each target in turn and burst into smoke.
voidbtEffectRunElectricBite (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target three times among glints, in lightning colours.
voidbtEffectRunPoisonTail (struct BATTLE_EFFECT_PARM *args)One lime slash strikes the first target, with smoke.
voidbtEffectRunOnslaught (struct BATTLE_EFFECT_PARM *args)Abilities: Onslaught.
voidbtEffectRunVampiricFang (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target three times, draining motes back into the user, in Mars Djinn colours.
voidbtEffectRunBacteriaRush (struct BATTLE_EFFECT_PARM *args)Seven strikes land on the first target in the lime palette.
voidbtEffectRunRottenBlood (struct BATTLE_EFFECT_PARM *args)Green shells arc from the user onto each target in turn and burst into shards, then Impair's effect plays.
voidbtEffectRunDoubleFang (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target twice, in blue, with sparks.
voidbtEffectRunMortalBlow (struct BATTLE_EFFECT_PARM *args)One heavy slash strikes the first target in Mars Djinn colours, throwing sparks.
voidbtEffectRunFreebiteRush (struct BATTLE_EFFECT_PARM *args)Nine strikes land on the first target in the blue palette.
voidbtEffectRunTwinBeaks (struct BATTLE_EFFECT_PARM *args)Two slashes strike the first target, throwing sparks, in lightning colours.
voidbtEffectRunRabidFang (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target once, with smoke, in Mars Djinn colours.
voidbtEffectRunAcidBite (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target three times, in pink, with smoke.
voidbtEffectRunDynamite (struct BATTLE_EFFECT_PARM *args)Orange bursts go off in front of the battle, which darkens behind them.
voidbtEffectRunHeadbutt (struct BATTLE_EFFECT_PARM *args)Abilities: Headbutt.
voidbtEffectRunPoisonInk (struct BATTLE_EFFECT_PARM *args)Shells in Mars Djinn colours arc from the user onto each target in turn and burst into smoke.
voidbtEffectRunSoothingStar (struct BATTLE_EFFECT_PARM *args)Orange healing motes burst out of the user and float up close to it, and each target glows in turn with the recovery sound.
voidbtEffectRunSpiderWeb (struct BATTLE_EFFECT_PARM *args)A spider web spreads over the targets in four mirrored quarters, fades, and Impair's effect follows.
voidbtEffectRunMadSpatter (struct BATTLE_EFFECT_PARM *args)Abilities: Mad Spatter.
voidbtEffectRunSpasm (struct BATTLE_EFFECT_PARM *args)Abilities: Spasm.
voidbtEffectRunSleepStar (struct BATTLE_EFFECT_PARM *args)Motes burst out of the user and float up, wobbling, as they drift across the field onto the targets, and each target flinches in turn.
voidbtEffectRunDecompose (struct BATTLE_EFFECT_PARM *args)Green shells arc from the user onto each target in turn and burst into smoke, then Dull's effect plays.
voidbtEffectRunHaunting (struct BATTLE_EFFECT_PARM *args)Twelve spirits in Mercury Djinn colours burst out of the user and are pulled into each target.
voidbtEffectRunBerserk (struct BATTLE_EFFECT_PARM *args)Abilities: Berserk.
voidbtEffectRunSmokeBomb (struct BATTLE_EFFECT_PARM *args)A fountain of grey motes and puffs of smoke bursts up beside the targets and falls back, flashing each target.
voidbtEffectRunWingStroke (struct BATTLE_EFFECT_PARM *args)Ten large yellow sparks stream level at each target, one a tick, spread up and down.
voidbtEffectRunPoisonBeat (struct BATTLE_EFFECT_PARM *args)A lime swirl sweeps across the first target and knocks it back.
voidbtEffectRunSpinningBeat (struct BATTLE_EFFECT_PARM *args)A magenta swirl sweeps across the first target and throws it into the air.
voidbtEffectRunDragonDriver (struct BATTLE_EFFECT_PARM *args)Fireballs rain on the targets and a blast of fire sweeps across them, in the LightningBolt colours.
voidbtEffectRunDrainFang (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target three times, draining motes back into the user, drawn additively in Mars Djinn colours.
voidbtEffectRunSevereBlow (struct BATTLE_EFFECT_PARM *args)The user leaps at the first target, then sparks burst beneath it and the canvas flashes.
voidbtEffectRunThrash (struct BATTLE_EFFECT_PARM *args)The user leaps high at the first target, then sparks burst beneath it.
voidbtEffectRunRecovery (struct BATTLE_EFFECT_PARM *args)Abilities: Recovery.
voidbtEffectRunEchoCut (struct BATTLE_EFFECT_PARM *args)Abilities: Echo Cut.
voidbtEffectRunWateryGrave (struct BATTLE_EFFECT_PARM *args)Abilities: Watery Grave.
voidbtEffectRunRagingFlood (struct BATTLE_EFFECT_PARM *args)Abilities: Raging Flood.
voidbtEffectRunHydroSlash (struct BATTLE_EFFECT_PARM *args)From the user's leap pose, twenty blue bubbles stream at each target, one a tick, scattered up and down, each bursting into 40 drops of spray.
voidbtEffectRunMightyPress (struct BATTLE_EFFECT_PARM *args)The user leaps high at the first target, as in Thrash, then sparks burst beneath it, many more than Thrash's.
voidbtEffectRunSlaver (struct BATTLE_EFFECT_PARM *args)Green drops are flung up from the user in a half-circle fan and fall, bouncing off the ground, then Impair plays on the targets.
voidbtEffectRunCounterRush (struct BATTLE_EFFECT_PARM *args)Abilities: Counter-rush.
voidbtEffectRunDjinnfest (struct BATTLE_EFFECT_PARM *args)Abilities: Djinnfest.
voidbtEffectRunHeatKiss (struct BATTLE_EFFECT_PARM *args)Abilities: Heat Kiss.
voidbtEffectRunAngleSpike (struct BATTLE_EFFECT_PARM *args)One orange slash strikes the first target with a flash and sparks.
voidbtEffectRunFireBreath (struct BATTLE_EFFECT_PARM *args)Abilities: Fire Breath, Salamander, Cerberus, Wyvern, Chimera, Macetail, Fire Dragon, Flame Breath.
voidbtEffectRunWaterBreath (struct BATTLE_EFFECT_PARM *args)Abilities: Water Breath, Aqua Breath.
voidbtEffectRunIceBlessing (struct BATTLE_EFFECT_PARM *args)Sixty ice chips stream at each target, one a tick, without knocking it back.
voidbtEffectRunDarkBreath (struct BATTLE_EFFECT_PARM *args)Abilities: Dark Breath.
voidbtEffectRunAcidBreath (struct BATTLE_EFFECT_PARM *args)Abilities: Acid Breath.
voidbtEffectRunStormBreath (struct BATTLE_EFFECT_PARM *args)Abilities: Storm Breath.
voidbtEffectRunEvilBlessing (struct BATTLE_EFFECT_PARM *args)Abilities: Evil Blessing.
voidbtEffectRunDeadlyGas (struct BATTLE_EFFECT_PARM *args)Abilities: Deadly Gas.
voidbtEffectRunSandBreath (struct BATTLE_EFFECT_PARM *args)Abilities: Sand Breath.
voidbtEffectRunDesertGasp (struct BATTLE_EFFECT_PARM *args)Abilities: Desert Gasp.
voidbtEffectRunBlackIce (struct BATTLE_EFFECT_PARM *args)Abilities: Black Ice.
voidbtEffectRunTyphoonBlow (struct BATTLE_EFFECT_PARM *args)Abilities: Typhoon Blow.
voidbtEffectRunToxicBreath (struct BATTLE_EFFECT_PARM *args)Abilities: Toxic Breath.
voidbtEffectRunGravelBlow (struct BATTLE_EFFECT_PARM *args)Abilities: Gravel Blow.
voidbtEffectRunBlastBreath (struct BATTLE_EFFECT_PARM *args)A jet of fire streams from the user onto the targets, crossed rings of fire flaring where it lands.
voidbtEffectRunDarksolGasp (struct BATTLE_EFFECT_PARM *args)Abilities: Darksol Gasp.
voidbtEffectRunManeater (struct BATTLE_EFFECT_PARM *args)Fangs bite the first target three times, draining motes back into the user, drawn additively in Mars Djinn colours.
voidbtEffectRunUrFlash (struct BATTLE_EFFECT_PARM *args)Three strikes land on the first target in the Mars Djinni's colours.
voidbtEffectRunCrusherGrip (struct BATTLE_EFFECT_PARM *args)One strike lands on the first target while glints flicker around it.
voidbtEffectRunVanishClaw (struct BATTLE_EFFECT_PARM *args)One strike lands on the first target while the battle ripples and smoke rises from its feet.
voidbtEffectRunTwinShear (struct BATTLE_EFFECT_PARM *args)The user leaps at the first target and a slash sweeps over the battle in four pictures, each the slash's top half with its reflection below it, then the effect layer fills with one colour as the target is struck.
voidbtEffectRunTripleChomp (struct BATTLE_EFFECT_PARM *args)The user lunges most of the way to the target, and three bites close on it, TripleChompBiteTicks apart.
voidbtEffectRunDoublestep (struct BATTLE_EFFECT_PARM *args)
voidbtEffectRunPoisonGel (struct BATTLE_EFFECT_PARM *args)Pink smoke swirls in on each target, as Taint shows it for a stronger variant.
voidbtEffectRunRisingVenom (struct BATTLE_EFFECT_PARM *args)Glowing lime shells arc from the user onto each target in turn and burst into smoke.
voidbtEffectRunSack (struct BATTLE_EFFECT_PARM *args)Abilities: Sack.
voidbtEffectRunFireDancePhoenix (struct BATTLE_EFFECT_PARM *args)Fire Dance as the Phoenix, the Fire Bird and the Wonder Bird use it (ABILITY_FIRE_DANCE_PHOENIX).
voidbtEffectRunStunMuscle (struct BATTLE_EFFECT_PARM *args)Abilities: Stun Muscle.
voidbtEffectRunRollingFlame (struct BATTLE_EFFECT_PARM *args)A ball of flame rolls from the user onto the targets and fire billows over them, always at the strongest variant.
voidbtEffectRunCage (struct BATTLE_EFFECT_PARM *args)Abilities: Cage.
voidbtEffectRunPhoenix (struct BATTLE_EFFECT_PARM *args)Abilities: Phoenix, Regen Dance.
voidbtEffectRunHumanHunt (struct BATTLE_EFFECT_PARM *args)Abilities: Human Hunt.
voidbtEffectRunUnusedHeavyBite (struct BATTLE_EFFECT_PARM *args)Unused: no ability plays it.
voidbtEffectRunUnusedFlashBite (struct BATTLE_EFFECT_PARM *args)Unused: no ability plays it.
voidbtEffectRunKillSting (struct BATTLE_EFFECT_PARM *args)One slash strikes the first target while a star swells on it, in Mars Djinn colours.
voidbtEffectRunBeastNeedle (struct BATTLE_EFFECT_PARM *args)Thirty white needles stream at each target, one a tick.
voidbtEffectRunPoisonSting (struct BATTLE_EFFECT_PARM *args)Thirty lime needles stream at each target, one a tick, and lime smoke billows where they land.
voidbtEffectRunStunSting (struct BATTLE_EFFECT_PARM *args)Thirty blue needles stream at each target, one a tick, and blue glints flash about it where they land.
voidbtEffectRunDemonEye (struct BATTLE_EFFECT_PARM *args)Abilities: Demon Eye.
voidbtEffectRunEmu (struct BATTLE_EFFECT_PARM *args)Abilities: Emu, Call Demon, Claw Slash, Mega Slash, Vital Moon.
voidbtEffectRunOceanFist (struct BATTLE_EFFECT_PARM *args)A swirling blue torrent rises from the ground at the target, spray bursting at its foot, while drops shoot up through it and a fountain of them bursts at once.
voidbtEffectRunCallDullahan (struct BATTLE_EFFECT_PARM *args)Abilities: Call Dullahan, Formina Sage.
voidbtEffectRunGhostSoldier (struct BATTLE_EFFECT_PARM *args)A ghostly soldier with a pike appears in the user's stead, gathers violet light and fires a blast of blue light and a ring at the target, always at the strongest variant.
voidbtEffectRunRisingDragonEnemy (struct BATTLE_EFFECT_PARM *args)A dragon of flame bursts up under the target in a shower of sparks and carries it off in its jaws, into a teal sky (the red haze, its colours turned) that scrolls past as it climbs, swaying.
voidbtEffectRunTrueCollide (struct BATTLE_EFFECT_PARM *args)Large violet orbs burst from each target in turn, and are pulled into the centre of the user's body.
voidbtEffectRunStarMine (struct BATTLE_EFFECT_PARM *args)Six twinkling stars (a 24 by 48 picture mirrored both ways from the sprite sheet's two halves) are thrown up from the caster, each at a target in turn; from tick 8 * i + 11 each is pulled toward its target and bursts once it has passed it, into four flash bursts and 32 sparks, knocking the target back.
voidbtEffectRunFormicAcid (struct BATTLE_EFFECT_PARM *args)Pink shells arc from the user onto each target in turn and burst into smoke.
voidbtEffectRunClawAttack (struct BATTLE_EFFECT_PARM *args)The user lunges further at the first target and strikes once, in the embers' colours.
voidbtEffectRunBeatDance (struct BATTLE_EFFECT_PARM *args)Abilities: Beat Dance.
voidbtEffectRunUnusedSparkBite (struct BATTLE_EFFECT_PARM *args)Unused: no ability plays it.
voidbtEffectRunLivingArmor (struct BATTLE_EFFECT_PARM *args)Abilities: Living Armor, Minotaur, Power Crush.
voidbtEffectRunHeatStun (struct BATTLE_EFFECT_PARM *args)One orange slash strikes the first target with a flash, glints and sparks.
voidbtEffectRunEarthForce (struct BATTLE_EFFECT_PARM *args)Abilities: Earth Force.
voidbtEffectRunGuardAura (struct BATTLE_EFFECT_PARM *args)Light swirls into each target and bursts, then a pane of light appears in grey.
voidbtEffectRunDjinnBlast (struct BATTLE_EFFECT_PARM *args)Abilities: Djinn Blast.
voidbtEffectRunDjinnStorm (struct BATTLE_EFFECT_PARM *args)Abilities: Djinn Storm.
voidbtEffectRunMineBall (struct BATTLE_EFFECT_PARM *args)From the user's leap pose, a glowing ball in BlueFlameSheet's colours flies to the targets' midpoint and bursts into flames and sparks.
voidbtEffectRunElementSwap (struct BATTLE_EFFECT_PARM *args)Abilities: Element Swap.
voidbtEffectRunDjinnStun (struct BATTLE_EFFECT_PARM *args)Abilities: Djinn Stun.
voidbtEffectRunMysticCall (struct BATTLE_EFFECT_PARM *args)Abilities: Mystic Call.
voidbtEffectRunClarionCry (struct BATTLE_EFFECT_PARM *args)Abilities: Clarion Cry.
voidbtEffectRunPsyBoost (struct BATTLE_EFFECT_PARM *args)Abilities: Psy Boost.
voidbtEffectRunStrongHit (struct BATTLE_EFFECT_PARM *args)An axe spins across from the user to the target.
voidbtEffectRunChillBreath (struct BATTLE_EFFECT_PARM *args)Sixty ice chips stream at each target, one a tick, from the user's breath.
voidbtEffectRunStormBreathStrong (struct BATTLE_EFFECT_PARM *args)Storm Breath as its second, stronger row (power 220 against 190) casts it.
voidbtEffectRunStarfieldFall (struct BATTLE_EFFECT_PARM *effect, Sint32 mode)Meteor's and Outer Space's fall through the starfield, then the burst; mode says which.
voidbtEffectRunMeteor (struct BATTLE_EFFECT_PARM *effect)The battle dissolves into darkness and a sun climbs over a ring of orbs while burning drops rain, then the scene bursts in embers and flashes.
voidbtEffectRunOuterSpace (struct BATTLE_EFFECT_PARM *effect)Abilities: Outer Space.
voidbtEffectRunCybele (struct BATTLE_EFFECT_PARM *effect)Cybele drops in at the right and thorns fly from her mouth; flowering vines grow out of the ground, lifting the targets while sparks flash around them; then the canvas greys and dissolves pixel by pixel, the targets drop, each landing on a spreading ring in a cloud of dust, and Cybele bursts away in a flash.
voidbtEffectDrawShadedDiscQuarter (Uint8 *map, Sint32 size, FIXED scale)Draws the upper left quarter of a shaded disc into a map size / 2 bytes wide and size rows tall, each ring shaded by the cosine of its radius times scale (16.16).
voidbtEffectDrawShadedDisc (Uint8 *map, Sint32 size, Sint32 scale)The whole disc btEffectDrawShadedDiscQuarter draws a quarter of, mirrored into the four quarters of a map size bytes wide and twice size rows tall.
voidbtResourceLoadAndDecompress (Sint32 resourceId, void *target, Sint32 unpack, Sint32 wait)Decompresses a resource that may open with a palette.

Variables

NameDescription
extern const SCALEBoreasUnitScaleBoreas's scale, copied each tick before his sprites are placed.
extern const ROCK_WALL_HEIGHTSRockWallHeightsEach of the four rock pillars' heights in pixels.

Description

The battle effects as the rest of the battle calls them: a runner for each Psynergy, Djinni, summon and monster ability, and the canvas, palette, particle and model helpers they share.

Macros in detail

DJINNI_ENTRANCE

#define DJINNI_ENTRANCE(element, side, anchor)

btEffectRunDjinniEntrance's packed argument: which Djinni (an element, plus DJINNI_ENTRANCE_LONG for the longer entrance), the side whose way it faces, and where it appears (DJINNI_ENTRANCE_ANCHOR).

Referenced by btEffectRunBind(), btEffectRunBurstShower(), btEffectRunCrystal(), btEffectRunDjinnBeams(), btEffectRunDjinniCharge(), btEffectRunDjinniSign(), btEffectRunFlurry(), btEffectRunGaspFamily(), btEffectRunGeode(), btEffectRunGround(), btEffectRunHail(), btEffectRunHealingMotes(), btEffectRunKite(), btEffectRunLobbedShells(), btEffectRunProjectileVolley(), btEffectRunSerac(), btEffectRunStatBoost(), btEffectRunTorch(), btEffectRunTumblingQuads(), btEffectRunTwistingColumn(), btEffectRunVine() and btEffectRunWindFunnel().

Definition at line 397 of file battle_effect.h.

DJINNI_ENTRANCE_ELEMENT

#define DJINNI_ENTRANCE_ELEMENT(packed) ((packed) & 7)

Referenced by btEffectRunDjinniEntrance().

Definition at line 399 of file battle_effect.h.

DJINNI_ENTRANCE_SIDE

#define DJINNI_ENTRANCE_SIDE(packed) (((packed) >> 4) & 1)

Referenced by btEffectRunDjinniEntrance().

Definition at line 400 of file battle_effect.h.

DJINNI_ENTRANCE_ANCHOR_OF

#define DJINNI_ENTRANCE_ANCHOR_OF(packed) (((packed) >> 5) & 0xf)

Referenced by btEffectRunDjinniEntrance().

Definition at line 401 of file battle_effect.h.

Typedefs in detail

BLITTER_PAIR

typedef DRAW_RECTANGLE BLITTER_PAIR[2];

Referenced by btEffectRunAstralBlast(), btEffectRunBind(), btEffectRunBladeRain(), btEffectRunBolt(), btEffectRunCastingImpact(), btEffectRunCloudSwirl(), btEffectRunCondemn(), btEffectRunDeathPlunge(), btEffectRunDjinniCharge(), btEffectRunDragonFire(), btEffectRunElementBurst(), btEffectRunElementPillar(), btEffectRunEruption(), btEffectRunFroth(), btEffectRunGaia(), btEffectRunGround(), btEffectRunGrowingColumns(), btEffectRunHail(), btEffectRunJupiter(), btEffectRunMars(), btEffectRunMercury(), btEffectRunMoteFountain(), btEffectRunOceanFist(), btEffectRunPrism(), btEffectRunProcne(), btEffectRunRagingHeat(), btEffectRunRay(), btEffectRunShatteringOpening(), btEffectRunShiningStar(), btEffectRunTargetStrike(), btEffectRunTripleChomp(), btEffectRunUlysses(), btEffectRunUnusedTriangleStrike(), btEffectRunVenus(), btEffectRunVine() and btEffectRunWhirlwind().

Definition at line 92 of file battle_effect.h.

Enumerations in detail

SUMMON_FORMATION

enum SUMMON_FORMATION

The summons' sprite formations (btEffectPlaceFormationSprites and btEffectRunImpactBurst), each named for the summon that keeps it.

EnumeratorValueDescription
SUMMON_FORMATION_THORnine in a 3x3 grid at 32-pixel spacing
SUMMON_FORMATION_NEREIDtwelve in rows of 1, 3, 4 and 4
SUMMON_FORMATION_CYBELEeight in rows of 3, 2 and 3
SUMMON_FORMATION_TIAMATeight drawn at 1.25 times their size
SUMMON_FORMATION_MEGAERAeleven from signed columns
SUMMON_FORMATION_MOLOCHtwelve in a 4x3 grid
SUMMON_FORMATION_TIAMAT_ALTERNATETiamat's eight when the first target's animation kind is 2

Definition at line 80 of file battle_effect.h.

EFFECT_VARIANT

enum EFFECT_VARIANT

An effect's variant (BATTLE_EFFECT_PARM.variant): abilities of one family that share an effect, such as Quake, Earthquake and Quake Sphere, and a double or triple blow adds one or two. A runner that sets its own variants names them beside it.

EnumeratorValueDescription
EFFECT_VARIANT_BASICQuake, Douse, Bolt
EFFECT_VARIANT_STRONGEREarthquake, Drench, Flash Bolt
EFFECT_VARIANT_STRONGESTQuake Sphere, Deluge, Blue Bolt

Definition at line 122 of file battle_effect.h.

BATTLE_KNOCKBACK

enum BATTLE_KNOCKBACK

btMotionApplyKnockback's knockbacks, the columns of the BattleKnockback* tables. Each is named by how far and how high it sends the unit, as percent of its spot's distance from the centre and its hop in pixels a tick; all but KNOCKBACK_HURL and KNOCKBACK_HURL_FAR accelerate by 1 pixel a tick to at most 4.

EnumeratorValueDescription
KNOCKBACK_NUDGE140 percent, a hop of 3.
KNOCKBACK_HOP140 percent, a hop of 6.
KNOCKBACK_LEAP150 percent, a hop of 7.
KNOCKBACK_LAUNCH200 percent, a hop of 10.
KNOCKBACK_HURLThe hardest: 200 percent at 8 pixels a tick more each tick, to at most 20, with a hop of 5.
KNOCKBACK_SKID150 percent, a hop of 2. From here on a unit already in the air takes the new hop too.
KNOCKBACK_BOUNCEThe spot itself, a hop of 3.
KNOCKBACK_JOLTThe spot itself, a hop of 5.5.
KNOCKBACK_LIFTUnused: the spot itself, a hop of 10; no knockback names it.
KNOCKBACK_HURL_FARUnused: 300 percent, as KNOCKBACK_HURL otherwise; no knockback names it.

Definition at line 134 of file battle_effect.h.

DJINNI_ENTRANCE_LENGTH

enum DJINNI_ENTRANCE_LENGTH

What btEffectRunDjinniEntrance takes added to its element; the element alone plays the 55-tick entrance.

EnumeratorValueDescription
DJINNI_ENTRANCE_LONGELEMENT_COUNTThe long entrance: 84 ticks instead of 55.

Definition at line 370 of file battle_effect.h.

DJINNI_ENTRANCE_ANCHOR

enum DJINNI_ENTRANCE_ANCHOR

Where btEffectRunDjinniEntrance's Djinni appears; the first five anchors stand it 60 pixels up.

EnumeratorValueDescription
DJINNI_ANCHOR_OVER_TARGETover the first target
DJINNI_ANCHOR_TARGET_Xat the first target's x, at depth 0
DJINNI_ANCHOR_OVER_USERover the user
DJINNI_ANCHOR_USER_Xat the user's x, at depth 0
DJINNI_ANCHOR_CENTREin the centre of the field
DJINNI_ANCHOR_HIGH_USER_Xat the user's x, 80 pixels up
DJINNI_ANCHOR_CENTRE_BRIGHTENINGcentre, 40 ticks, no fade; backdrop brightens from tick 24
DJINNI_ANCHOR_LOW_CENTREin the centre, 20 pixels up
DJINNI_ANCHOR_OVER_TARGET_SHORTover the first target (54 ticks)
DJINNI_ANCHOR_HIGH_TARGET_Xat the first target's x, 120 pixels up
DJINNI_ANCHOR_LOW_USER_Xat the user's x, 30 pixels up

Definition at line 378 of file battle_effect.h.

anonymous enum

enum { QUAKE_TIMING_TICKS, QUAKE_TIMING_RISE_TICKS, QUAKE_TIMING_SHAKE }

A row of QuakeTimings, one for each variant.

EnumeratorValueDescription
QUAKE_TIMING_TICKSthe whole effect
QUAKE_TIMING_RISE_TICKShow long each pillar stands
QUAKE_TIMING_SHAKEthe camera shake

Definition at line 404 of file battle_effect.h.

anonymous enum

enum { FROST_TIMING_MOTES, FROST_TIMING_COLUMNS, FROST_TIMING_BURST_TICK }

A row of FrostTimings, one for each variant.

EnumeratorValueDescription
FROST_TIMING_MOTESthe rising motes
FROST_TIMING_COLUMNSthe pillars
FROST_TIMING_BURST_TICKthe tick they burst

Definition at line 441 of file battle_effect.h.

anonymous enum

enum { ERUPTION_COUNT_MOTES, ERUPTION_COUNT_PUFFS, ERUPTION_COUNT_TICKS }

A row of EruptionCounts, one for each variant.

EnumeratorValueDescription
ERUPTION_COUNT_MOTES
ERUPTION_COUNT_PUFFS
ERUPTION_COUNT_TICKS

Definition at line 449 of file battle_effect.h.

Functions in detail

btParticleAdvanceWithGravity2D

void btParticleAdvanceWithGravity2D(PARTICLE *step, Sint32 damping, Sint32 gravity)

Moves a particle one tick on the screen: its velocity scaled by damping sixty-fourths, then gravity added to its y speed.

Referenced by btEffectRunAzul(), btEffectRunBackstab(), btEffectRunBallLightning(), btEffectRunBolt(), btEffectRunBoreas(), btEffectRunBreak(), btEffectRunBreaths(), btEffectRunBubbleColumn(), btEffectRunCanvasBurst(), btEffectRunCards(), btEffectRunCastingImpact(), btEffectRunCatastrophe(), btEffectRunCharon(), btEffectRunCool(), btEffectRunCybele(), btEffectRunDaedalus(), btEffectRunDaedalusStrike(), btEffectRunDeathPlunge(), btEffectRunDiamondBerg(), btEffectRunDjinniEntrance(), btEffectRunDouse(), btEffectRunDragonCloud(), btEffectRunEclipse(), btEffectRunElementCards(), btEffectRunFallingSword(), btEffectRunFlora(), btEffectRunFlurry(), btEffectRunFormChange(), btEffectRunFume(), btEffectRunGaspFamily(), btEffectRunGeyser(), btEffectRunHaures(), btEffectRunHeartbreak(), btEffectRunHeavyBlow(), btEffectRunHelmSplitter(), btEffectRunHurricane(), btEffectRunImpactBurst(), btEffectRunJuggle(), btEffectRunJupiter(), btEffectRunLeapingStrike(), btEffectRunLegend(), btEffectRunLiquifier(), btEffectRunMars(), btEffectRunMegaera(), btEffectRunMercury(), btEffectRunMeteorBlow(), btEffectRunNeptune(), btEffectRunOceanFist(), btEffectRunOdyssey(), btEffectRunPlasma() and 25 more.

Definition at line 219 of file battle_effect.h.

btEffectRunGust

void btEffectRunGust(struct BATTLE_EFFECT_PARM *args)

Referenced by BattleEffectHandlers.

Definition at line 628 of file battle_effect.h.

btEffectRunFlyingAttack

void btEffectRunFlyingAttack(struct BATTLE_EFFECT_PARM *args)

Referenced by BattleEffectHandlers.

Definition at line 686 of file battle_effect.h.

btEffectRunDoublestep

void btEffectRunDoublestep(struct BATTLE_EFFECT_PARM *args)

Referenced by BattleEffectHandlers.

Definition at line 754 of file battle_effect.h.