Skip to Content
The Alchemy Project

include/battle_effect/battle_effect_table.h

The tables the battle effects read (battle_effect_table.c), in its order: picture offsets, sizes, timings and counts by variant. More…

Included by battle_effect_internal.h and battle_effect_table.c.

Macros

NameDescription
#defineSTRIKE_KIND_SLASH 0The two kinds of target strike (TargetStrikeStyles).
#defineSTRIKE_KIND_BITE 1rows of fangs above and below that close on it
#defineSTRIKE_SMOKE 0x01A target strike style's extras, the bits of its TARGET_STRIKE_FLAGS.
#defineSTRIKE_ABSORB 0x02motes fly out of the target and back into the user
#defineSTRIKE_GLINTS 0x04glints sparkle around the target
#defineSTRIKE_SPARKS 0x08each hit scatters sparks
#defineSTRIKE_HEAVY 0x10one heavy hit: a big shake and the target recoils
#defineSTRIKE_COLOR_BLUE 0The palettes a target strike's background takes (TARGET_STRIKE_COLOR).
#defineSTRIKE_COLOR_LIME 1LimePalette
#defineSTRIKE_COLOR_PINK 2PinkPalette
#defineSTRIKE_COLOR_EMBER 3EmberStreakSheet's
#defineSTRIKE_COLOR_MARS 4MarsDjinnSheet's
#defineSTRIKE_COLOR_LIGHTNING 5LightningBoltSheet's
#defineTHORN_MIRRORED 0x01The bits of a thorn's kind in ThornKinds.
#defineTHORN_SMALL 0x0232 pixels wide, not 48

Enumerations

NameDescription
enumTARGET_STRIKE_STYLE { TARGET_STRIKE_STYLE_BLUE_SPARK_BITES, TARGET_STRIKE_STYLE_LI … }The twelve target strike styles, rows of TargetStrikeStyles.
enumanonymous enum { ICE_SHARD_COUNT, ICE_TICKS }Each Ice variant: its shards and how many ticks it runs.
enumanonymous enum { DOUSE_DROP_COUNT, DOUSE_DROPLETS_PER_DROP, DOUSE_DROP_SPACIN … }Each Douse variant: its drops, the droplets each splash throws, the spacing and the ticks.
enumanonymous enum { GATHERING_LIGHTS_COUNT, GATHERING_LIGHTS_TICKS }Each gathering-lights mode: the lights per target and the ticks before the targets' turns.
enumGATHERING_LIGHTS_MODE { GATHERING_LIGHTS_DEMON_NIGHT, GATHERING_LIGHTS_RUMBLE, GATHE … }The gathering lights' modes (btEffectRunGatheringLights), each named for the effect that plays it, and its row of GatheringLightsCounts.
enumanonymous enum { LOBBED_SHELLS_STYLE_SHATTER, LOBBED_SHELLS_STYLE_UNUSED }Each lobbed shells mode's style (LOBBED_SHELLS_MODE, battle_effect_lobbed_shells.c).
enumanonymous enum { NEREID_COLUMN_X, NEREID_COLUMN_Y }The foot of each of Nereid's columns of fire.
enumanonymous enum { FROTH_BUBBLE_COUNT, FROTH_TICKS }Each Froth variant: its bubbles and ticks.
enumanonymous enum { WHIRLWIND_TORNADOES, WHIRLWIND_SWAY, WHIRLWIND_SHAKE }Each Whirlwind variant: its tornadoes, their sway and the screen shake.
enumanonymous enum { PRISM_SHARD_START_X, PRISM_SHARD_START_Y }Where each Prism shard starts in the crystal.
enumanonymous enum { PRISM_CRYSTAL_COUNT, PRISM_TICKS }Each Prism variant: its crystals and ticks.
enumanonymous enum { PLASMA_SPARKS, PLASMA_SHAKE_TICKS }Each Plasma variant: the sparks per pillar and the ticks of shake.
enumanonymous enum { SPARK_GROUPS_SPARKS, SPARK_GROUPS_BURSTS, SPARK_GROUPS_OFFSE … }Each spark group variant: sparks per burst, bursts, and from SPARK_GROUPS_OFFSET each burst's offset across.
enumanonymous enum { SPARK_GROUPS_SEVERE_BLOW, SPARK_GROUPS_THRASH }The spark groups' variants past the three strengths of Blast and Dynamite (EFFECT_VARIANT), which their callers set before the run.
enumanonymous enum { CYBELE_POSE_FACE_LEFT, CYBELE_POSE_FACE_RIGHT }Cybele's face as she spits the thorns: the animations of sprites 3 and 4, the left and right halves of the middle row of SUMMON_FORMATION_CYBELE, as the cast's recording shows them.
enumanonymous enum { FROST_MOUND_X, FROST_MOUND_FOOT }Where each ice mound of Frost stands: x and the y of its foot.
enumPROJECTILE_VOLLEY_COMET { PROJECTILE_VOLLEY_COMET_SLASH, PROJECTILE_VOLLEY_COMET_WIND_ … }The volley's three comet sheets: Slash, Wind Slash and Sonic Slash fire the one their variant picks.
enumPROJECTILE_VOLLEY_MODE { PROJECTILE_VOLLEY_SLASH, PROJECTILE_VOLLEY_SHURIKEN, PROJECT … }The projectile volley's modes (btEffectRunProjectileVolley), each named for the effect that fires it; the casting impacts fire two of them.
enumanonymous enum { SPIRE_SHARD_X, SPIRE_SHARD_Y }Where each Spire shard starts, before its rock's offset across.
enumFLURRY_MODE { FLURRY_BEAR_CLAW, FLURRY_BACTERIA_RUSH, FLURRY_FREEBITE_RUSH … }The flurry's modes (btEffectRunFlurry), its rows of FlurryStyles: Gust and Flying Attack take one, two or three strikes as a double or triple blow raises their variant.
enumFLURRY_ARC { FLURRY_ARCS_AND_WAVES, FLURRY_ARCS }A flurry's arcs, its FLURRY_ARC_SHEET.
enumFLURRY_PAL { FLURRY_PALETTE_MARS_DJINNI, FLURRY_PALETTE_LIME, FLURRY_PALE … }Whose palette a flurry takes, its FLURRY_PALETTE.

Variables

NameDescription
extern Uint16BattleEffectMotePictures []Where each picture begins in the sprite sheets many effects share: the ten motes and twenty flares of a glow sheet, the nine sparkles, the six flame puffs (size, drop and offset) and the six glints (offset and size).
extern Uint16BattleEffectFlarePictures []Flare pictures: the first ten are squares 2x2 to 20x20, picture n (from 0) n + 1 pixels from its centre to each edge (EFFECT_DRAW_FLARE, and Neptune and Bind directly).
extern Uint16BattleEffectSparklePictures []Nine square sparkle pictures (sparkle_dots_00 to _08), read by the falling, frost, healing, Djinni heal and Boreas parts.
extern Uint8BattleEffectSparkleSizes []Each sparkle picture's side.
extern Uint8BattleEffectPuffArcPictureWidths []The six pictures of an erupting flame puff: width, height, how far below its anchor its top goes (so that all six stand on about the same line) and where each begins in the sprite sheet.
extern Uint8BattleEffectPuffArcPictureHeights []
extern Uint8BattleEffectPuffArcPictureBiasY []
extern Uint16BattleEffectPuffArcPictures []
extern Uint16BattleEffectGlintPictures []Six glint pictures, each BattleEffectGlintPictureWidths by BattleEffectGlintPictureHeights pixels.
extern Uint8BattleEffectGlintPictureWidths []
extern Uint8BattleEffectGlintPictureHeights []
extern Uint8IceCounts [][2]Ice, by variant: shards and ticks (ICE_SHARD_COUNT, ICE_TICKS).
extern Uint8DouseCounts [][4]Douse, by variant: the DOUSE_ columns.
extern Sint8StreakStyles [][4]Each streak style's effect, hit, motion and shake, and the pixels a struck target trembles by, tick by tick.
extern Sint8StreakTremble []Pixels the target trembles by, tick by tick.
extern Uint8TargetStrikeStyles [][7]The target strike: its twelve styles by the TARGET_STRIKE_ columns, the six slash pictures (size, offset and reach), the fang stage of each picture of a bite, and the flips a glint may take.
extern Uint8TargetStrikeWidths []The six slash pictures: size, sprite sheet offset and reach from the target.
extern Uint8TargetStrikeHeights []
extern Uint16TargetStrikePictures []
extern Uint8TargetStrikeReach []
extern Uint8TargetStrikeBiteStages []The fang stage drawn at each picture time of a bite, four to a hit: the first hit closes through stages 0 to 3, and each later hit reads entries 4, 1, 2 and 3 (pictures above 4 wrap back by 4), opening to 2 and 1 and closing again to 3.
extern Uint8TargetStrikeGlintDrawFlags []The flips a glint may be drawn in.
extern Uint8BladeRainSwordWidths []The blade rain's four sword pictures, by how steeply the sword falls.
extern Uint8BladeRainSwordHeights []
extern Uint16BladeRainSwordPictures []
extern Uint8ShatteringOpeningPieceWidths []The 33 pieces the shattering opening's picture breaks into: size, offset in the picture and where each starts on the canvas.
extern Uint8ShatteringOpeningPieceHeights []
extern Uint16ShatteringOpeningPiecePictures []
extern Uint8ShatteringOpeningPieceStartX []
extern Uint8ShatteringOpeningPieceStartY []
extern Sint8ElementBurstSparkX []The element burst's four corner sparks: offsets and flips.
extern Sint8ElementBurstSparkY []
extern Uint8ElementBurstSparkFlips []
extern Uint8SwirlSwipePictureWidths []The swirl swipe's six pictures (Spider Web): size, offset, an x for each side and a y offset.
extern Uint8SwirlSwipePictureHeights []
extern Uint16SwirlSwipePictures []
extern Uint8SwirlSwipePictureX []
extern Sint8SwirlSwipePictureBiasY []
extern Uint8GatheringLightsCounts [][2]Gathering lights, by mode (GATHERING_LIGHTS_MODE): the lights per target and the ticks before the targets' turns.
extern Uint16MirroredWallPictures []The earth wall's three pictures, as the mirrored wall reads them.
extern Uint8MirroredWallPictureWidths []
extern Uint8MirroredWallPictureHeights []
extern Uint8DjinnBeamsMotePictures []Revive's beams: the mote picture of each step of its eight-step cycle, and the three pictures of the glow at a target's feet.
extern Uint16DjinnBeamsHeadPictures []The three pictures of the glow at a target's feet.
extern Uint8DjinnBeamsHeadWidths []
extern Uint8DjinnBeamsHeadHeights []
extern Sint8LobbedShellsStyles [][2]Each lobbed shell style (LOBBED_SHELLS_MODE, battle_effect_lobbed_shells.c): the LOBBED_SHELLS_STYLE_ columns.
extern Uint8LobbedShellsShardWidths []The eighteen pictures of the lobbed shells' tumbling shards, a large set of nine and a small one.
extern Uint8LobbedShellsShardHeights []
extern Uint16LobbedShellsShardPictures []
extern Uint8CondemnPictureX [][7]Where Condemn draws the reaper's seven pictures: an x for each casting side, and a y.
extern Uint8CondemnPictureY [][7]
extern VECTOR3BindVertex []The first vertex of Bind's spinning and striking triangles, 24 pixels up from the centre.
extern VECTOR3BindTriangleStrikeVertex []The striking triangle's first vertex, the same.
extern VECTOR3StarPoints []The stars' two points, 48 and 28 pixels up, and their radii.
extern Uint8StarRadii []
extern Uint8ProcneGridX []Procne's nine sprites on a 3x3 grid, the ticks of its four strikes, and its three comet pictures (size, lift and offset).
extern Uint8ProcneGridY []
extern Uint16ProcneTicks []
extern Uint8ProcnePictureWidths []
extern Uint8ProcnePictureHeights []
extern Uint8ProcnePictureBiasY []
extern Uint16ProcnePictures []
extern Uint8TiamatEmberSpeeds []Tiamat's embers (speed and size by ember index & 3), its sparks' 1x2 picture, and the six flame pictures (size, drop and offset).
extern Uint8TiamatSparkPixels []A spark's 1x2 picture, drawn additively, so a spark adds 32 of the ramp's 63 levels to what it covers.
extern Uint8TiamatEmberSizes []Ember sizes, by ember index & 3: mote pictures 1x2, 1x2, 2x4 and 3x6.
extern Uint8TiamatFlameWidths []The six flame pictures: size, drop below the flame and sprite sheet offset.
extern Uint8TiamatFlameHeights []
extern Uint8TiamatFlameDrops []
extern Uint16TiamatFlamePictures []
extern Uint8NereidColumns [][2]Nereid's four columns of water (NEREID_COLUMN_X, NEREID_COLUMN_Y), drawn from the fire pillar picture in the water spray's colours.
extern Sint32NereidGravity []A falling drop's gravity in 16.16 pixels a tick each tick, by drop index & 3.
extern Uint8VorticesCounts [][2]Froth, by variant: motes and ticks.
extern Uint8VorticesShapes [][3]Whirlwind, by variant: the WHIRLWIND_ columns.
extern Uint8PrismShardStarts [][2]Where each of the 16 shards starts in the crystal: x, then y.
extern Uint8PrismCounts [][2]Prism, by variant: crystals and ticks.
extern Uint8PrismShardWidths []The twelve pictures of Prism's shards.
extern Uint8PrismShardHeights []
extern Sint32PrismShardPictures []
extern Uint16PlasmaSparks [][2]Plasma, by variant: sparks per pillar and shake ticks.
extern Uint8PlasmaColumns [][7]Each Plasma pillar's canvas x, seven for each side, and how many strike by variant.
extern Uint8PlasmaCounts []How many pillars strike, by variant.
extern Uint16SparkGroupsShapes [][5]The spark groups, by variant: the SPARK_GROUPS_ columns.
extern Uint8PlasmaFlashPictures []The flash picture for each three ticks at the end of a flash's life.
extern Uint8VolcanoCounts []Volcano's fire pillars by variant: how many stand, the depth of each and the tick each starts.
extern Sint8VolcanoDepths [][4]Each pillar's depth in pixels, by variant.
extern Uint8VolcanoStartTicks []The tick each pillar starts.
extern Uint8TargetMotesGlintFlips []The flips a glint around a target may take.
extern Uint8CybeleObjectPoses [][2]The poses of the two halves of Cybele's face, three pairs, by CYBELE_POSE_FACE_LEFT and _RIGHT.
extern Uint16CybeleThornPictures []Cybele's pictures, each by offset and size: the five thorns, the three flowers, the five chips (the thorns again), the five of a spark and the seven of the blast sheet, of which she draws only the last.
extern Uint8CybeleThornWidths []
extern Uint8CybeleThornHeights []
extern Uint16CybeleFlowerPictures []The three flower pictures, square.
extern Uint8CybeleFlowerSizes []
extern Uint16CybeleChipPictures []The five chip pictures, the thorn pictures again.
extern Uint8CybeleChipWidths []
extern Uint8CybeleChipHeights []
extern Uint16CybeleSparkPictures []The five pictures of a spark, square.
extern Uint8CybeleSparkSizes []
extern Uint16CybeleBlastPictures []The seven growing pictures of the blast sprite sheet, square.
extern Uint16CybeleBlastSizes []
extern Uint8BoreasPoints [][2]Boreas: where the crystals stand, the background's jolt as the ice block lands, its third sprite's animations as the block sinks, and the pictures of the crystals, the shards thrown as they crumble, the spray, the crystals that rise among the targets and those that fall.
extern Sint8BoreasShakeOffsets []The battle background's jolt on ticks 176 to 179.
extern Uint16BoreasCrystalPictures []The first half's three crystal pictures, drawn standing on their points.
extern Uint8BoreasCrystalWidths []
extern Uint8BoreasCrystalHeights []
extern Uint8BoreasAnimations []The third sprite's animations from tick 209, one every 4 ticks.
extern Uint8BoreasDebrisWidths []Boreas: the shards thrown up as the crystals crumble: four large ones, then from tick 192 seven small ones.
extern Uint8BoreasDebrisHeights []
extern Uint16BoreasDebrisPictures []
extern Uint8BoreasSprayWidths []Boreas: the three 16x16 spray pictures.
extern Uint8BoreasSprayHeights []
extern Uint16BoreasSprayPictures []
extern Uint16BoreasRisingCrystalPictures []The second half's rising crystals (56 pixels left of the first half's points) and the crystals they burst into: the same three pictures.
extern Uint8BoreasRisingCrystalWidths []
extern Uint8BoreasRisingCrystalHeights []
extern Uint8BoreasFallWidths []
extern Uint8BoreasFallHeights []
extern Uint16BoreasFallPictures []
extern Sint32DrainGravities []The gravity of Drain's ice shards, by shard index & 3.
extern Uint16StatChangeShardPictures []The twelve pictures of the stat changes' shards: four shapes, three ticks each.
extern Uint8StatChangeShardWidths []
extern Uint8StatChangeShardHeights []
extern Uint8QuakeTimings [][3]Each Quake variant: the effect's ticks, each pillar's and the shake.
extern Uint8FireCounts []Fire's embers by variant, and the six pictures of its impact flare.
extern Uint8FireFlareWidths []The six impact flare pictures: sizes, y offsets and where each begins.
extern Uint8FireFlareHeights []
extern Uint8FireFlareBiasY []
extern Uint16FireFlarePictures []
extern Uint8FrostMoundSpots [][2]Where each ice mound stands: x, then the y of its foot.
extern Uint8FrostTimings [][3]Frost: its motes, mounds and burst tick by variant, and the pictures of its motes, its three ice mounds and its chips (the motes again).
extern Uint8FrostMoteWidths []The eight mote pictures.
extern Uint8FrostMoteHeights []
extern Uint16FrostMotePictures []
extern Uint16FrostMoundPictures []The three ice mound pictures, 32 wide.
extern Uint8FrostMoundHeights []
extern Uint8FrostChipWidths []The eight chip pictures (the same as the motes).
extern Uint8FrostChipHeights []
extern Uint16FrostChipPictures []
extern Uint8RaySparks [][2]Ray's sparks by variant; [1] is how many each bolt throws a tick.
extern Uint8EruptionCounts [][3]Eruption's motes, puffs and ticks by variant, and its seven puff pictures.
extern Uint16EruptionPuffPictures []The seven puff pictures, square.
extern Uint16EruptionPuffSizes []
extern Uint16UnusedSheetPicturesShort []Unused: picture layouts nothing reads, from 6x6 to 20x20.
extern Uint16UnusedSheetPictures []
extern Uint8UnusedSheetWidths []
extern Uint8UnusedSheetHeights []
extern SPR_SCALEAtalantaUnitScaleThe scale Atalanta's sprites keep throughout, one to one.
extern Uint8GrowthVineWidths []Growth's columns: the three shapes' vine and pillar pictures and height caps, the columns by variant, their roots and the pillars' heights, and the seven pictures of a puff of dust.
extern Uint8GrowthHeightLimits []
extern Uint16GrowthVinePictures []
extern Uint8GrowthPillarWidths []
extern Uint16GrowthPillarPictures []
extern Uint8GrowthColumnCounts []Columns by variant, and where each column's root stands.
extern Uint8GrowthColumnX []
extern Sint8GrowthPillarHeights []
extern Sint8GrowthPuffWidths []The seven pictures of a puff of dust.
extern Uint8GrowthPuffHeights []
extern Uint16GrowthPuffPictures []
extern Sint8VineColumnOffsets []Each of Vine's roots, across from the middle of the targets.
extern Uint8ThornKinds []Thorn: each thorn's kind and root, the thorns by variant, and the seven pictures of a puff of dust.
extern Sint8ThornX []
extern Uint8ThornCounts []Thorns by variant.
extern Sint8ThornPuffWidths []The seven pictures of a puff of dust.
extern Uint8ThornPuffHeights []
extern Uint16ThornPuffPictures []
extern Uint8BoltCounts [][4]Bolt by variant (sparks, glints, their spread and bolts), the flips a glint may take, and the glints' blend mode by variant.
extern Uint8BoltGlintFlips []The flips a glint may be drawn in, and its blend by variant.
extern Uint8BoltGlintModes []The glints' blend mode by variant: the brighter pixel wins for Bolt and Flash Bolt, and Blue Bolt adds the glint to the canvas.
extern Uint8ProjectileVolleyCometHeights []Each comet's picture height.
extern Uint8ProjectileVolleyModes [][5]Each projectile volley mode by its columns, the seven pictures of the hit flash (size, step, rise and offset), and the four ice chip pictures.
extern Uint8ProjectileVolleyFlashWidths []Hit flash pictures, by step (flash tick / 2).
extern Uint8ProjectileVolleyFlashHeights []
extern Uint8ProjectileVolleyFlashSteps []
extern Uint8ProjectileVolleyFlashRises []
extern Uint16ProjectileVolleyFlashPictures []
extern Uint16ProjectileVolleyPelletPictures []Ice chip pictures, by shot index & 3.
extern Uint8DjinnAttacksLaunchTicks []The ticks on which the Mercury Djinni fires each of its five flames.
extern Uint8HailPictureWidths []Hail's four 8x8 ice chip pictures.
extern Uint8HailPictureHeights []
extern Uint16HailPictures []
extern Uint8GroundCrackleFlips []Ground: the flips a crackle may take, and the portal's nine pictures (the portal, its white core and its crackles) by size, offset and place.
extern Uint8GroundPortalWidths []The portal (picture 0), its white core (1 and 2) and its crackles (3 to 8) in the portal sprite sheet: size, where each begins in the sprite sheet, and its offset from the portal's corner.
extern Uint8GroundPortalHeights []
extern Uint16GroundPortalPictures []
extern Uint8GroundPortalX []
extern Uint8GroundPortalY []
extern Uint8ThorTargetPalettes []The colours a target flashes when Thor's bolt strikes it, and the flips of the crackles around Thor.
extern Uint8ThorCrackleFlips []Flip flags for the crackles of lightning around Thor, chosen at random.
extern Uint8SpireShardOffsets [][2]Where each of a rock's 21 shards starts, x then y, before the rock's offset across.
extern Sint8SpireRockX []Spire: each rock's offset across and the tick it appears, the rocks by variant, and its shards' fifteen pictures.
extern Uint8SpireDropTicks []
extern Uint8SpireRockCounts []
extern Uint8SpireShardWidths []Shattering rocks: five shard shapes in three tumbling phases each, decoded after the boulder picture.
extern Uint8SpireShardHeights []
extern Uint16SpireShardPictures []
extern Uint8FlurryStyles [][7]Each flurry mode (FLURRY_MODE), by the FLURRY_ columns (battle_effect_flurry.c).
extern Uint16GaiaRowPictures []Gaia's rising wall: its nine rows, the three flames at its foot, BG2's shift by side and variant, and the columns of the late rocks.
extern Uint8GaiaRowWidths []
extern Uint16GaiaFlamePictures []The three pictures of the flames at the wall's foot, after the rebuilt rows; they share the earth wall's sizes.
extern Uint8GaiaFlameWidths []
extern Uint8GaiaFlameHeights []
extern Sint8GaiaBg2Shifts [][3]BG2's x shift, by side and variant, in canvas pixels written to BG2X: a positive shift moves the canvas left on the screen.
extern Uint8GaiaLateRockColumns []The columns rock particles[16] to particles[21] take.
extern Uint8BeamPictureWidths []The six pictures of the growing beam, and how far each reaches short of the user.
extern Uint8BeamPictureHeights []
extern Uint16BeamPictures []
extern Uint8BeamPictureReaches []
extern Uint8CastingImpactGlintDrawFlags []The casting impacts: the flips a glint may take, where Mortal Danger draws the reaper's pictures, and the four ice chip pictures.
extern Uint8ReaperPictureX [][7]
extern Uint8ReaperPictureY []
extern Uint16CastingImpactIceChipPictures []The four ice chip pictures, 8x8.
extern Uint8HelmSplitterPictureWidths []The seven pictures of Helm Splitter's fire swirl, and where each sits from the user.
extern Uint8HelmSplitterPictureHeights []
extern Uint16HelmSplitterPictures []
extern Sint8HelmSplitterPictureBiasX []
extern Sint8HelmSplitterPictureBiasY []
extern Uint8SummonFormationNereidX []Where the sprites of a summon's formation stand, in pixels, one axis at a time (btEffectPlaceFormationSprites).
extern Uint8SummonFormationNereidZ []
extern Uint8SummonFormationCybeleX []
extern Uint8SummonFormationCybeleZ []
extern Uint8SummonFormationTiamatX []
extern Uint8SummonFormationTiamatZ []
extern Uint8ImpactBurstPictureWidths []The eight pictures of the impact flash.
extern Uint8ImpactBurstPictureHeights []
extern Uint16ImpactBurstPictures []
extern Sint16StarfieldFallOrbitPoints [][3]The starfield fall: the seven sparks that orbit the falling sprite, where the seven fireballs fall, and the blast sheet's seven flash pictures.
extern Sint16StarfieldFallFireballPoints [][2]Where the seven fireballs fall, in pixels.
extern Uint16StarfieldFallFlashPictures []The seven growing flash pictures of the blast sprite sheet, square.
extern Uint16StarfieldFallFlashSizes []
extern Uint8RamsesStatueColumns []Where Ramses's sprites stand from the statue's corner, and the blast sheet's puff pictures.
extern Uint8RamsesStatueRows []
extern Uint16RamsesPuffPictures []The puff pictures of the blast sprite sheet, square; only the last four are used.
extern Uint16RamsesPuffSizes []
extern Uint8RagnarokStrikeColumns [][3]Ragnarok's strike columns, three for each side, and the flash picture for each three ticks at the end of a flash's life.
extern Uint8RagnarokFlashPictures []The flash picture for each three ticks at the end of a flash's life.
extern Uint8TitanBladeFlashPictures []Titan Blade's fading flash pictures and its dust's gravity.
extern Sint32TitanBladeDustGravity []Dust gravity, by particle index & 3, in NereidGravity's steps.
extern Uint8JudgmentBurstHeights []Judgment: its burst's seven quarter pictures (height and offset), and the six shards thrown from it.
extern Uint16JudgmentBurstPictures []
extern Uint16JudgmentShardPictures []The six shard pictures thrown from the burst, from the sprite sheet's start.
extern Uint8JudgmentShardWidths []
extern Uint8JudgmentShardHeights []
extern Uint8KirinColumns []Where Kirin's nine sprites stand, in pixels from its corner.
extern Uint8KirinRows []
extern Uint8NeptuneObjectX []Neptune's eight sprites, offsets in pixels scaled by 1.5 as placed, and its spray's gravity by particle index & 3.
extern Uint8NeptuneObjectY []
extern Sint32NeptuneGravity []Spray gravity, by particle index & 3, in NereidGravity's steps.
extern Uint16UndeadSwordPuffPictures []The seven square pictures of Undead Sword's puffs.
extern Uint16UndeadSwordPuffSizes []

Description

The tables the battle effects read (battle_effect_table.c), in its order: picture offsets, sizes, timings and counts by variant. A table read by columns is a two-dimensional array, its columns named by the enum above it.

Macros in detail

STRIKE_KIND_SLASH

#define STRIKE_KIND_SLASH 0

The two kinds of target strike (TargetStrikeStyles).

sideways slashes

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 13 of file battle_effect_table.h.

STRIKE_KIND_BITE

#define STRIKE_KIND_BITE 1

rows of fangs above and below that close on it

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 14 of file battle_effect_table.h.

STRIKE_SMOKE

#define STRIKE_SMOKE 0x01

A target strike style's extras, the bits of its TARGET_STRIKE_FLAGS.

each hit raises smoke puffs from the target's feet

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 17 of file battle_effect_table.h.

STRIKE_ABSORB

#define STRIKE_ABSORB 0x02

motes fly out of the target and back into the user

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 18 of file battle_effect_table.h.

STRIKE_GLINTS

#define STRIKE_GLINTS 0x04

glints sparkle around the target

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 19 of file battle_effect_table.h.

STRIKE_SPARKS

#define STRIKE_SPARKS 0x08

each hit scatters sparks

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 20 of file battle_effect_table.h.

STRIKE_HEAVY

#define STRIKE_HEAVY 0x10

one heavy hit: a big shake and the target recoils

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 21 of file battle_effect_table.h.

STRIKE_COLOR_BLUE

#define STRIKE_COLOR_BLUE 0

The palettes a target strike's background takes (TARGET_STRIKE_COLOR).

BlueBeamSheet's

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 24 of file battle_effect_table.h.

STRIKE_COLOR_LIME

#define STRIKE_COLOR_LIME 1

LimePalette

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 25 of file battle_effect_table.h.

STRIKE_COLOR_PINK

#define STRIKE_COLOR_PINK 2

PinkPalette

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 26 of file battle_effect_table.h.

STRIKE_COLOR_EMBER

#define STRIKE_COLOR_EMBER 3

EmberStreakSheet's

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 27 of file battle_effect_table.h.

STRIKE_COLOR_MARS

#define STRIKE_COLOR_MARS 4

MarsDjinnSheet's

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 28 of file battle_effect_table.h.

STRIKE_COLOR_LIGHTNING

#define STRIKE_COLOR_LIGHTNING 5

LightningBoltSheet's

Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.

Definition at line 29 of file battle_effect_table.h.

THORN_MIRRORED

#define THORN_MIRRORED 0x01

The bits of a thorn's kind in ThornKinds.

drawn mirrored across

Referenced by btEffectRunThorn() and ThornKinds.

Definition at line 409 of file battle_effect_table.h.

THORN_SMALL

#define THORN_SMALL 0x02

32 pixels wide, not 48

Referenced by btEffectRunThorn() and ThornKinds.

Definition at line 410 of file battle_effect_table.h.

Enumerations in detail

TARGET_STRIKE_STYLE

enum TARGET_STRIKE_STYLE

The twelve target strike styles, rows of TargetStrikeStyles.

EnumeratorValueDescription
TARGET_STRIKE_STYLE_BLUE_SPARK_BITES
TARGET_STRIKE_STYLE_LIME_SMOKE_BITE
TARGET_STRIKE_STYLE_PINK_SMOKE_BITES
TARGET_STRIKE_STYLE_EMBER_DRAIN_BITES
TARGET_STRIKE_STYLE_MARS_DRAIN_BITES
TARGET_STRIKE_STYLE_LIGHTNING_GLINT_BITES
TARGET_STRIKE_STYLE_LIGHTNING_GLINT_SLASH
TARGET_STRIKE_STYLE_LIGHTNING_SPARK_SLASHES
TARGET_STRIKE_STYLE_MARS_HEAVY_SLASH
TARGET_STRIKE_STYLE_LIME_SMOKE_SLASH
TARGET_STRIKE_STYLE_MARS_SMOKE_BITE
TARGET_STRIKE_STYLE_MARS_ADDITIVE_DRAIN_BITES

Definition at line 32 of file battle_effect_table.h.

anonymous enum

enum { ICE_SHARD_COUNT, ICE_TICKS }

Each Ice variant: its shards and how many ticks it runs.

EnumeratorValueDescription
ICE_SHARD_COUNTshards that fall
ICE_TICKSthe effect's ticks; the damage shows 16 before

Definition at line 64 of file battle_effect_table.h.

anonymous enum

enum { DOUSE_DROP_COUNT, DOUSE_DROPLETS_PER_DROP, DOUSE_DROP_SPACING, DOUSE_TICKS }

Each Douse variant: its drops, the droplets each splash throws, the spacing and the ticks.

EnumeratorValueDescription
DOUSE_DROP_COUNTdrops that fall, of the 64 placed
DOUSE_DROPLETS_PER_DROPdroplets each landing drop throws up
DOUSE_DROP_SPACINGpixels between drops along the slant
DOUSE_TICKSthe effect's ticks; the damage shows 64 before

Definition at line 74 of file battle_effect_table.h.

anonymous enum

enum { GATHERING_LIGHTS_COUNT, GATHERING_LIGHTS_TICKS }

Each gathering-lights mode: the lights per target and the ticks before the targets' turns.

EnumeratorValueDescription
GATHERING_LIGHTS_COUNTlights for each target
GATHERING_LIGHTS_TICKSticks before the targets' turns

Definition at line 123 of file battle_effect_table.h.

GATHERING_LIGHTS_MODE

enum GATHERING_LIGHTS_MODE

The gathering lights' modes (btEffectRunGatheringLights), each named for the effect that plays it, and its row of GatheringLightsCounts.

EnumeratorValueDescription
GATHERING_LIGHTS_DEMON_NIGHTpink
GATHERING_LIGHTS_RUMBLEMars Djinn colours
GATHERING_LIGHTS_HAUNTINGMercury Djinn colours

Definition at line 131 of file battle_effect_table.h.

anonymous enum

enum { LOBBED_SHELLS_STYLE_SHATTER, LOBBED_SHELLS_STYLE_UNUSED }

Each lobbed shells mode's style (LOBBED_SHELLS_MODE, battle_effect_lobbed_shells.c).

EnumeratorValueDescription
LOBBED_SHELLS_STYLE_SHATTERnonzero: the shells burst into shards, not smoke
LOBBED_SHELLS_STYLE_UNUSED0 in every row; nothing reads it

Definition at line 153 of file battle_effect_table.h.

anonymous enum

enum { NEREID_COLUMN_X, NEREID_COLUMN_Y }

The foot of each of Nereid's columns of fire.

EnumeratorValueDescription
NEREID_COLUMN_Xcanvas x of the column's middle
NEREID_COLUMN_Ycanvas y of its foot

Definition at line 197 of file battle_effect_table.h.

anonymous enum

enum { FROTH_BUBBLE_COUNT, FROTH_TICKS }

Each Froth variant: its bubbles and ticks.

EnumeratorValueDescription
FROTH_BUBBLE_COUNTbubbles, at most 30 (battle_effect_vortices.c)
FROTH_TICKSthe effect's ticks; the damage shows 16 before

Definition at line 209 of file battle_effect_table.h.

anonymous enum

enum { WHIRLWIND_TORNADOES, WHIRLWIND_SWAY, WHIRLWIND_SHAKE }

Each Whirlwind variant: its tornadoes, their sway and the screen shake.

EnumeratorValueDescription
WHIRLWIND_TORNADOEStornadoes drawn
WHIRLWIND_SWAYhow far each sways across, in pixels
WHIRLWIND_SHAKEbtCameraShake's range

Definition at line 218 of file battle_effect_table.h.

anonymous enum

enum { PRISM_SHARD_START_X, PRISM_SHARD_START_Y }

Where each Prism shard starts in the crystal.

EnumeratorValueDescription
PRISM_SHARD_START_Xpixels from the crystal's left
PRISM_SHARD_START_Ypixels from its top

Definition at line 228 of file battle_effect_table.h.

anonymous enum

enum { PRISM_CRYSTAL_COUNT, PRISM_TICKS }

Each Prism variant: its crystals and ticks.

EnumeratorValueDescription
PRISM_CRYSTAL_COUNTcrystals drawn
PRISM_TICKSthe effect's ticks

Definition at line 237 of file battle_effect_table.h.

anonymous enum

enum { PLASMA_SPARKS, PLASMA_SHAKE_TICKS }

Each Plasma variant: the sparks per pillar and the ticks of shake.

EnumeratorValueDescription
PLASMA_SPARKSsparks each lightning pillar throws
PLASMA_SHAKE_TICKSticks the screen shakes at each strike

Definition at line 251 of file battle_effect_table.h.

anonymous enum

enum { SPARK_GROUPS_SPARKS, SPARK_GROUPS_BURSTS, SPARK_GROUPS_OFFSET }

Each spark group variant: sparks per burst, bursts, and from SPARK_GROUPS_OFFSET each burst's offset across.

EnumeratorValueDescription
SPARK_GROUPS_SPARKSsparks each burst throws
SPARK_GROUPS_BURSTSbursts, 8 ticks apart
SPARK_GROUPS_OFFSETburst i's offset across, in pixels, at [2 + i]

Definition at line 266 of file battle_effect_table.h.

anonymous enum

enum { SPARK_GROUPS_SEVERE_BLOW, SPARK_GROUPS_THRASH }

The spark groups' variants past the three strengths of Blast and Dynamite (EFFECT_VARIANT), which their callers set before the run.

EnumeratorValueDescription
SPARK_GROUPS_SEVERE_BLOW3340 sparks and a flash: Severe Blow's impact and btEffectRunUnusedSevereBlowLeap.
SPARK_GROUPS_THRASH32 sparks: Thrash.

Definition at line 275 of file battle_effect_table.h.

anonymous enum

enum { CYBELE_POSE_FACE_LEFT, CYBELE_POSE_FACE_RIGHT }

Cybele's face as she spits the thorns: the animations of sprites 3 and 4, the left and right halves of the middle row of SUMMON_FORMATION_CYBELE, as the cast's recording shows them. Her mouth, in the left half, opens and shuts; her far eye, in the right, stays as it is.

EnumeratorValueDescription
CYBELE_POSE_FACE_LEFTsprite 3's animation: the half with her mouth
CYBELE_POSE_FACE_RIGHTsprite 4's animation

Definition at line 298 of file battle_effect_table.h.

anonymous enum

enum { FROST_MOUND_X, FROST_MOUND_FOOT }

Where each ice mound of Frost stands: x and the y of its foot.

EnumeratorValueDescription
FROST_MOUND_Xcanvas x of the mound's left edge
FROST_MOUND_FOOTcanvas y of its foot

Definition at line 360 of file battle_effect_table.h.

PROJECTILE_VOLLEY_COMET

enum PROJECTILE_VOLLEY_COMET

The volley's three comet sheets: Slash, Wind Slash and Sonic Slash fire the one their variant picks.

EnumeratorValueDescription
PROJECTILE_VOLLEY_COMET_SLASHSlashCometSheet, Slash's
PROJECTILE_VOLLEY_COMET_WIND_SLASHWindSlashCometSheet, Wind Slash's
PROJECTILE_VOLLEY_COMET_SONIC_SLASHSonicSlashCometSheet, Sonic Slash's and Cutting Edge's

Definition at line 427 of file battle_effect_table.h.

PROJECTILE_VOLLEY_MODE

enum PROJECTILE_VOLLEY_MODE

The projectile volley's modes (btEffectRunProjectileVolley), each named for the effect that fires it; the casting impacts fire two of them.

EnumeratorValueDescription
PROJECTILE_VOLLEY_SLASHcomets, picked by the variant
PROJECTILE_VOLLEY_SHURIKENspinning shurikens
PROJECTILE_VOLLEY_CRAZY_VOICEbouncing pellets
PROJECTILE_VOLLEY_WING_FLUTTERyellow sparks
PROJECTILE_VOLLEY_WING_BEATsmall yellow sparks
PROJECTILE_VOLLEY_CUTTING_EDGEone large comet in ice colours
PROJECTILE_VOLLEY_HEAT_WAVEfireballs trailing embers
PROJECTILE_VOLLEY_SLEETice chips falling from high above
PROJECTILE_VOLLEY_IMPACT_COMETScomets, after CASTING_IMPACT_UNUSED_COMETS
PROJECTILE_VOLLEY_BLIZZARDscattered ice chips; also CASTING_IMPACT_UNUSED_ICE_CHIPS
PROJECTILE_VOLLEY_ICE_BLESSINGice chips streaming one a tick
PROJECTILE_VOLLEY_WING_STROKElarge yellow sparks, spread up and down

Definition at line 440 of file battle_effect_table.h.

anonymous enum

enum { SPIRE_SHARD_X, SPIRE_SHARD_Y }

Where each Spire shard starts, before its rock's offset across.

EnumeratorValueDescription
SPIRE_SHARD_Xcanvas x
SPIRE_SHARD_Ycanvas y

Definition at line 487 of file battle_effect_table.h.

FLURRY_MODE

enum FLURRY_MODE

The flurry's modes (btEffectRunFlurry), its rows of FlurryStyles: Gust and Flying Attack take one, two or three strikes as a double or triple blow raises their variant.

EnumeratorValueDescription
FLURRY_BEAR_CLAWfive strikes; also Ransack
FLURRY_BACTERIA_RUSHseven strikes, in lime
FLURRY_FREEBITE_RUSHnine strikes, in blue
FLURRY_FLYING_ATTACKone strike, in embers
FLURRY_FLYING_ATTACK_DOUBLEtwo
FLURRY_FLYING_ATTACK_TRIPLEthree
FLURRY_GUSTone strike, each filling the canvas
FLURRY_GUST_DOUBLEtwo
FLURRY_GUST_TRIPLEthree

Definition at line 507 of file battle_effect_table.h.

FLURRY_ARC

enum FLURRY_ARC

A flurry's arcs, its FLURRY_ARC_SHEET.

EnumeratorValueDescription
FLURRY_ARCS_AND_WAVESblue arc A, with a wave for the third and fourth of every four strikes
FLURRY_ARCSblue arc B for every strike

Definition at line 521 of file battle_effect_table.h.

FLURRY_PAL

enum FLURRY_PAL

Whose palette a flurry takes, its FLURRY_PALETTE.

EnumeratorValueDescription
FLURRY_PALETTE_MARS_DJINNIthe Mars Djinni sprite sheet's
FLURRY_PALETTE_LIME
FLURRY_PALETTE_BLUE_ARC
FLURRY_PALETTE_EMBERthe ember streak sprite sheet's

Definition at line 529 of file battle_effect_table.h.