Alchemy
Loading...
Searching...
No Matches

effect_table.c File Reference

Go to the source code of this file.

Macros

#define FLAME_PUFF_CELLS   {0, 552, 1480, 2590, 3913, 5185}
 The six cells of an erupting flame puff: where each begins in the sheet.
#define FLAME_PUFF_CELL_WIDTHS   {24, 29, 30, 27, 24, 16}
 widths
#define FLAME_PUFF_CELL_HEIGHTS   {23, 32, 37, 49, 53, 52}
 heights
#define FLAME_PUFF_CELL_BIAS_Y   {41, 32, 26, 11, 4, 2}
 How far below its anchor each cell's top goes.
#define BLAST_CELL_SIZES   {16, 32, 48, 48, 48, 48, 48}
 The sides of the seven square pictures of a blast, a puff or a flash.
#define BLAST_CELLS   {0, 256, 1280, 3584, 5888, 8192, 10496}
 Where each blast picture begins.
#define EARTH_WALL_CELL_WIDTHS   {17, 19, 20}
 the earth wall's three widths
#define EARTH_WALL_CELL_HEIGHTS   {49, 55, 64}
 and heights
#define EARTH_WALL_CELLS   {2702, 3535, 4580}
 Where each earth wall picture begins.
#define SLASH_CELL_WIDTHS   {38, 54, 71, 74, 77, 65}
 the six slash widths
#define SLASH_CELL_HEIGHTS   {7, 9, 11, 13, 13, 11}
 and heights
#define SLASH_CELL_REACH   {58, 42, 25, 13, 5, 0}
 Each slash picture's reach from the target.
#define FLASH_FADE_CELLS   {5, 5, 4, 3, 2, 1}
 The flash picture for each three frames at the end of a flash's life.
#define GLINT_FLIPS   {0, COMPOSITE_FLIP_X, COMPOSITE_FLIP_Y, COMPOSITE_FLIP}
 The flips a glint may be drawn in: none, and mirrored each way and both.

Variables

u16 gBattleFx_MoteCells [] = {0, 2, 10, 28, 60, 110, 182, 280, 408, 570}
 Mote cells: particle sheets hold ten, cell n (from 0) n + 1 pixels wide and twice that tall.
u16 gBattleFx_FlareCells []
 Flare cells: the first ten are squares 2x2 to 20x20, cell n (from 0) n + 1 pixels from its centre to each edge (EFFECT_DRAW_FLARE, and Neptune and Bind directly).
u16 gBattleFx_PuffCells [] = {0, 25, 74, 123, 172, 221, 246, 255, 256}
 Nine square puff cells, read by the falling, frost, healing, Djinni heal and Boreas parts.
u8 gBattleFx_PuffSizes [] = {5, 7, 7, 7, 7, 5, 3, 1, 1}
 Each puff cell's side.
u8 gBattleFx_PuffArcCellWidths [] = FLAME_PUFF_CELL_WIDTHS
u8 gBattleFx_PuffArcCellHeights [] = FLAME_PUFF_CELL_HEIGHTS
u8 gBattleFx_PuffArcCellBiasY [] = FLAME_PUFF_CELL_BIAS_Y
u16 gBattleFx_PuffArcCells [] = FLAME_PUFF_CELLS
u16 gBattleFx_GlintCells [] = {0, 589, 1302, 2015, 2414, 2750}
u8 gBattleFx_GlintCellWidths [] = {19, 23, 23, 19, 16, 17}
u8 gBattleFx_GlintCellHeights [] = {31, 31, 31, 21, 21, 24}
u8 gFalling_IceCounts [][2]
 Ice, by variant: shards and frames (ICE_SHARD_COUNT, ICE_FRAMES).
u8 gFalling_Counts [][4]
 Douse, by variant: the FALLING_BOLT_ columns.
s8 gStreaks_Records [][4]
 Each streak style's animation, hit, motion and shake, by the STREAKS_ columns (streaks.c).
s8 gStreaks_Tremble [] = {-1, -1, 1, 1, 1, 1, -1, -1}
 Pixels the target trembles by, frame by frame.
u8 gTargetStrike_Records [][7]
 Each of the twelve target strike styles, by the TARGET_STRIKE_ columns (target_strike.c).
u8 gTargetStrike_Widths [] = SLASH_CELL_WIDTHS
u8 gTargetStrike_Heights [] = SLASH_CELL_HEIGHTS
u16 gTargetStrike_Offsets [] = {3200, 3466, 3952, 4733, 5695, 6696}
u8 gTargetStrike_Reach [] = SLASH_CELL_REACH
u8 gTargetStrike_ColumnStages [] = {0, 1, 2, 3, 2}
 The column stage shown by each picture of a rise.
u8 gTargetStrike_GlintDrawFlags [] = GLINT_FLIPS
 The flips a glint may be drawn in.
u8 gDeathPlunge_CellWidths [] = {20, 21, 22, 25}
u8 gDeathPlunge_CellHeights [] = {32, 31, 27, 24}
u16 gDeathPlunge_Cells [] = {0, 640, 1291, 1885}
u8 gDeathPlunge_PieceWidths []
 The 33 pieces of the TileAnimationMask picture: where each starts on the canvas, its size, and where its pixels begin in the decoded picture.
u8 gDeathPlunge_PieceHeights []
u16 gDeathPlunge_PieceCells []
u8 gDeathPlunge_PieceStartX []
u8 gDeathPlunge_PieceStartY []
s8 gDeathPlunge_X [] = {0, 32, 0, 32}
s8 gDeathPlunge_Y [] = {0, 0, 32, 32}
u8 gDeathPlunge_DrawFlags [] = GLINT_FLIPS
u8 gSpiderWeb_CellWidths [] = {40, 112, 112, 112, 88, 64}
u8 gSpiderWeb_CellHeights [] = {56, 80, 64, 64, 80, 88}
u16 gSpiderWeb_Cells [] = {0, 2240, 11200, 18368, 0, 7040}
u8 gSpiderWeb_CellX [] = {72, 0, 0, 0, 32, 64, 16, 16, 16, 16, 8, 0}
s8 gSpiderWeb_CellBiasY [] = {0, 4, 24, -6, -20, -28, 0, 0}
u8 gGatheringLights_Counts [][2]
 Gathering lights (Demon Night, Rumble, Haunting), by mode: the lights per target and the frames before the targets' turns.
u16 gMirroredWall_Cells [] = EARTH_WALL_CELLS
u8 gMirroredWall_CellWidths [] = EARTH_WALL_CELL_WIDTHS
u8 gMirroredWall_CellHeights [] = EARTH_WALL_CELL_HEIGHTS
u8 gDjinnBeams_MotePictures [] = {2, 1, 0, 1, 2, 3, 4, 3}
 The picture of each step of a mote's eight-step cycle.
u16 gDjinnBeams_HeadOffsets [] = EARTH_WALL_CELLS
u8 gDjinnBeams_HeadWidths [] = EARTH_WALL_CELL_WIDTHS
u8 gDjinnBeams_HeadHeights [] = EARTH_WALL_CELL_HEIGHTS
s8 gLobbedShells_Records []
 Two bytes for each lobbed shell mode.
u8 gLobbedShells_ShardWidths []
 Lobbed shells: nine tumbling images in two sets, the second (cells 9 to 17) smaller.
u8 gLobbedShells_ShardHeights []
u16 gLobbedShells_ShardOffsets []
u8 gCondemn_PanelX [][7]
 Where each stage of the panel is drawn: seven x positions for each side of the field, and seven y positions (above the swing) for both sides.
u8 gCondemn_PanelY [][7]
struct Vector3 gBind_Vertex [] = {{.x = 0, .y = 24, .z = 0}}
 The spinning triangle's first vertex, 24 up from its centre.
struct Vector3 gBind_TriangleStrikeVertex [] = {{.x = 0, .y = 24, .z = 0}}
 The striking triangle's first vertex, the same.
struct Vector3 gStars_Points []
 The two star points, 48 and 28 pixels up (16.16).
u8 gStars_Radii [] = {32, 16}
u8 gProcne_GridX [] = {0, 32, 64, 0, 32, 64, 0, 32, 64}
u8 gProcne_GridY [] = {0, 0, 0, 32, 32, 32, 64, 64, 64}
u16 gProcne_Frames [] = {334, 347, 359, 372}
u8 gProcne_CellWidths [] = {14, 24, 48}
u8 gProcne_CellHeights [] = {14, 19, 24}
u8 gProcne_CellBiasY [] = {8, 12, 17}
u16 gProcne_Cells [] = {13824, 14020, 14476}
u8 gTiamat_DropSpeeds [] = {0, 8, 12, 16}
 Ember speeds, by ember index & 3.
u8 gTiamat_SparkPixels [] = {32, 32}
 A spark's 1x2 picture.
u8 gTiamat_DropSizes [] = {1, 1, 2, 3}
 Ember sizes, by ember index & 3.
u8 gTiamat_StreakWidths [] = FLAME_PUFF_CELL_WIDTHS
u8 gTiamat_StreakHeights [] = FLAME_PUFF_CELL_HEIGHTS
u8 gTiamat_StreakDrops [] = FLAME_PUFF_CELL_BIAS_Y
u16 gTiamat_StreakOffsets [] = FLAME_PUFF_CELLS
u8 gNereid_Columns [][2]
 Nereid's four columns of fire (NEREID_COLUMN_X, NEREID_COLUMN_Y).
s32 gNereid_Gravity [] = {0x8000, 0x4000, 0x4000, 0x2000}
 Ember gravity while falling, by ember index & 3.
u8 gVortices_Counts [][2]
 Froth, by variant: motes and frames.
u8 gVortices_Shapes [][3]
 Whirlwind, by variant: the WHIRLWIND_ columns.
u8 gPrism_ShardStarts [][2]
 Where each of the 16 shards starts in the crystal: x, then y.
u8 gPrism_Counts [][2]
 Prism, by variant: crystals and frames.
u8 gPrism_ShardWidths [] = {5, 10, 11, 14, 12, 11, 19, 18, 23, 12, 22, 22}
u8 gPrism_ShardHeights [] = {14, 10, 7, 13, 14, 14, 32, 30, 24, 38, 20, 20}
s32 gPrism_ShardOffsets []
u16 gPlasma_Sparks [][2]
 Plasma, by variant: sparks per pillar and shake frames.
u8 gPlasma_Columns [][7]
 Each pillar's canvas x, seven for each side.
u8 gPlasma_Counts [] = {1, 3, 7}
 How many pillars strike, by variant.
u16 gPlasma_Shapes [][5]
 The spark groups, by variant: the SPARK_GROUPS_ columns.
u8 gPlasma_FlashCells [] = FLASH_FADE_CELLS
 The flash picture for each three frames at the end of a flash's life.
u8 gVolcano_Counts [] = {1, 2, 4}
 How many pillars stand, by variant.
s8 gVolcano_Depths [][4] = {{0, 0, 0, 0}, {24, -24, 0, 0}, {-20, 20, -60, 60}}
 Each pillar's depth, by variant.
u8 gVolcano_StartFrames [] = {8, 18, 24, 30, 34}
 The frame each pillar starts.
u8 gTargetMotes_GlintFlips [] = GLINT_FLIPS
 Glint orientations: none, and mirrored each way and both.
BattleFxHandler gBattleFx_EffectHandlers [BATTLE_FX_KIND_COUNT - 1]
 The effect handlers, indexed by effect kind minus one, which BattleFx_RunTableEffect calls; kind zero is handled by the dispatcher.
u8 gCybele_ObjectPoses [][2]
 Poses of objects 3 and 4 while they wave, three pairs.
u16 gCybele_ThornOffsets [] = {3920, 3932, 3947, 3955, 3970}
u8 gCybele_ThornWidths [] = {2, 5, 2, 5, 3}
u8 gCybele_ThornHeights [] = {6, 3, 4, 3, 3}
u16 gCybele_LeafOffsets [] = {3456, 3712, 3856}
u8 gCybele_LeafSizes [] = {16, 12, 8}
u16 gCybele_ChipOffsets [] = {3920, 3932, 3947, 3955, 3970}
u8 gCybele_ChipWidths [] = {2, 5, 2, 5, 3}
u8 gCybele_ChipHeights [] = {6, 3, 4, 3, 3}
u16 gCybele_SparkOffsets [] = {3979, 4043, 4268, 4389, 4470}
u8 gCybele_SparkSizes [] = {8, 15, 11, 9, 5}
u16 gCybele_EmberOffsets [] = {5760, 6016, 7040, 9344, 11648, 13952, 16256}
u16 gCybele_EmberSizes [] = {16, 32, 48, 48, 48, 48, 48}
u8 gBoreas_Points [][2]
 Rock and ice scene: where the rocks stand (and later the boulders, 56 pixels further left), by the bottom-left corner.
s8 gBoreas_ShakeOffsets [] = {-4, -3, -2, 0}
 The backdrop's jolt on frames 176 to 179.
u16 gBoreas_RockCells [] = {0, 1152, 2064}
u8 gBoreas_RockWidths [] = {24, 24, 20}
u8 gBoreas_RockHeights [] = {48, 38, 26}
u8 gBoreas_Animations [] = {2, 9, 10, 11}
 The third object's animations from frame 209, one every 4 frames.
u8 gBoreas_DebrisWidths [] = {12, 11, 8, 10, 8, 12, 5, 7, 7, 6, 7}
u8 gBoreas_DebrisHeights [] = {10, 16, 14, 15, 4, 4, 3, 4, 6, 12, 10}
u16 gBoreas_DebrisCells []
u8 gBoreas_SprayWidths [] = {16, 16, 16}
u8 gBoreas_SprayHeights [] = {16, 16, 16}
u16 gBoreas_SprayCells [] = {4294, 4550, 4806}
u16 gBoreas_BoulderCells [] = {0, 1152, 2064}
u8 gBoreas_BoulderWidths [] = {24, 24, 20}
u8 gBoreas_BoulderHeights [] = {48, 38, 26}
u8 gBoreas_FallWidths [] = {24, 24, 20}
u8 gBoreas_FallHeights [] = {48, 38, 26}
u16 gBoreas_FallCells [] = {0, 1152, 2064}
s32 gDrain_Gravities [] = {0x4000, 0x2000, 0x4000, 0x8000}
 Ice shards: shard i falls with gravity i & 3.
u16 gStatChange_ShardCells []
u8 gStatChange_ShardWidths [] = {10, 5, 6, 5, 6, 7, 9, 8, 4, 6, 6, 7}
u8 gStatChange_ShardHeights [] = {12, 12, 13, 8, 9, 8, 7, 12, 10, 4, 5, 5}
u8 gQuake_Timings [][3] = {{80, 32, 2}, {112, 64, 4}, {144, 96, 8}}
 Rock wall timing, by variant: frames in the effect, frames each pillar stands, and how far the screen shakes.
u8 gFire_Counts [] = {16, 32, 64}
 Embers by variant, at most FIRE_EMBERS (fire.c).
u8 gFire_FlareWidths [] = FLAME_PUFF_CELL_WIDTHS
u8 gFire_FlareHeights [] = FLAME_PUFF_CELL_HEIGHTS
u8 gFire_FlareBiasY [] = FLAME_PUFF_CELL_BIAS_Y
u16 gFire_FlareCells [] = FLAME_PUFF_CELLS
u8 gFrost_ColumnSpots [][2]
 Where each ice column stands: x, then the y of its foot.
u8 gFrost_Timings [][3]
 Motes, ice columns and the burst frame, for each variant.
u8 gFrost_MoteWidths [] = {12, 10, 7, 10, 8, 8, 8, 8}
u8 gFrost_MoteHeights [] = {9, 16, 14, 15, 8, 8, 8, 8}
u16 gFrost_MoteCells [] = {1792, 1900, 2060, 2158, 2308, 2372, 2436, 2500}
u16 gFrost_ColumnCells [] = {0, 768, 1280}
u8 gFrost_ColumnHeights [] = {24, 16, 16}
u8 gFrost_ChipWidths [] = {12, 10, 7, 10, 8, 8, 8, 8}
u8 gFrost_ChipHeights [] = {9, 16, 14, 15, 8, 8, 8, 8}
u16 gFrost_ChipCells [] = {1792, 1900, 2060, 2158, 2308, 2372, 2436, 2500}
u8 gRay_Sparks [][2] = {{2, 4}, {2, 6}, {4, 8}}
 Sparks by variant; [1] is how many each bolt throws a frame.
u8 gEruption_Counts [][3] = {{16, 8, 72}, {32, 16, 80}, {128, 32, 88}}
 Motes, puffs of smoke and frames, for each variant.
u16 gEruption_PuffCells [] = BLAST_CELLS
u16 gEruption_PuffSizes [] = BLAST_CELL_SIZES
u16 gUnused_SheetCells6 [] = {0, 36, 100, 200, 344, 540}
u16 gUnused_SheetCells []
u8 gUnused_SheetWidths [] = {6, 8, 10, 12, 14, 16, 18, 20, 19, 20}
u8 gUnused_SheetHeights [] = {6, 8, 10, 12, 14, 16, 18, 20, 20, 20}
struct SpriteScale gAtalanta_UnitScale = {{{0x10000, 0x10000}}}
 Staged particle scale: Atalanta's formation objects keep this scale, one to one, throughout.
u8 gGrowth_VineWidths [] = {21, 28, 19}
u8 gGrowth_HeightLimits [] = {119, 119, 102}
u16 gGrowth_VineCells [] = {0, 2499, 5831}
u8 gGrowth_PillarWidths [] = {10, 8, 9}
u16 gGrowth_PillarCells [] = {0, 1080, 1888}
u8 gGrowth_ColumnCounts [] = {4, 8, 12}
u8 gGrowth_ColumnX []
s8 gGrowth_PillarHeights [] = {100, 60, 88, 96, 64, 104, 82, 98}
s8 gGrowth_PuffWidths [] = {5, 7, 11, 16, 23, 27, 16}
u8 gGrowth_PuffHeights [] = {10, 14, 21, 32, 45, 50, 32}
u16 gGrowth_PuffCells [] = {0, 50, 148, 379, 891, 1926, 3276}
s8 gGrowth_ColumnOffsets []
 Each vine's root, across from the middle of the targets.
u8 gGrowth_Kinds [] = {0, 3, 2, 1, 2, 3, 2, 1}
s8 gGrowth_X [] = {24, 80, 24, 48, 88, 40, 8, 96}
u8 gGrowth_Counts [] = {3, 5, 8}
 Thorns by variant.
s8 gGrowth_ThornPuffWidths [] = {5, 7, 11, 17, 32, 32, 19}
u8 gGrowth_ThornPuffHeights [] = {10, 14, 21, 34, 59, 60, 38}
u16 gGrowth_ThornPuffCells [] = {5888, 5938, 6036, 6267, 6845, 8733, 10653}
u8 gBolt_Counts [][4]
 Bolt, by variant: sparks each bolt throws, glints a frame around each target, how far the glints spread, and bolts drawn over each other.
u8 gBolt_GlintFlips [] = GLINT_FLIPS
u8 gBolt_GlintModes [] = {2, 2, 3}
u8 gProjectiles_CometHeights [] = {24, 36, 48}
 Comet picture heights, by comet kind.
u8 gProjectiles_Modes [][5]
 Each projectile volley mode, by the PROJECTILE_VOLLEY_ columns (projectiles.c).
u8 gProjectiles_FlashWidths [] = {12, 18, 24, 30, 36, 39, 40}
u8 gProjectiles_FlashHeights [] = {10, 15, 18, 22, 27, 28, 30}
u8 gProjectiles_FlashSteps [] = {2, 3, 4, 4, 5, 6, 6}
u8 gProjectiles_FlashRises [] = {0, 3, 5, 7, 10, 12, 12}
u16 gProjectiles_FlashOffsets [] = {8192, 8312, 8582, 9014, 9674, 10646, 11738}
u16 gProjectiles_PelletOffsets [] = {2308, 2372, 2436, 2500}
 Ice chip pictures, by shot index & 3.
u8 gDjinnAttacks_LaunchFrames [] = {4, 7, 10, 21, 34}
 The frames on which the Djinni fires each of its five flames.
u8 gHail_CellWidths [] = {8, 8, 8, 8}
u8 gHail_CellHeights [] = {8, 8, 8, 8}
u16 gHail_Cells [] = {2308, 2372, 2436, 2500}
u8 gHail_ChipFlips [] = {3, 7, 11, 15}
 The composite flips a chip may take.
u8 gHail_ChipWidths [] = {24, 7, 7, 8, 6, 13, 10, 11, 7}
u8 gHail_ChipHeights [] = {48, 13, 14, 24, 24, 17, 20, 14, 20}
u16 gHail_ChipCells [] = {0, 1152, 1243, 1341, 1533, 1677, 1898, 2098, 2252}
u8 gHail_ChipX [] = {0, 9, 9, 11, 10, 0, 3, 13, 7}
u8 gHail_ChipY [] = {0, 18, 18, 0, 24, 20, 5, 22, 26}
u8 gThor_TargetPalettes [] = {7, 14, 10, 4}
 The colours a target flashes when a bolt strikes it, chosen at random: white, black, red, or with its colour channels rotated.
u8 gThor_SmokeFlips [] = GLINT_FLIPS
 Flip flags for the smoke puffs, chosen at random.
u8 gSpire_ShardOffsets [32][2]
 Where each of a rock's 21 shards starts, x then y, before the rock's offset across.
s8 gSpire_RockX [] = {0, -12, 12, -8, 16}
u8 gSpire_DropFrames [] = {8, 16, 20, 24, 32}
u8 gSpire_RockCounts [] = {1, 3, 5}
u8 gSpire_ShardWidths []
u8 gSpire_ShardHeights []
u16 gSpire_ShardCells []
u8 gBurstScene_Records [][7]
 Each burst scene mode, by the BURST_SCENE_ columns (burst_scene.c).
u16 gGaia_RowCells [] = {0, 160, 352, 640, 1024, 1504, 2080, 2752, 3776}
u8 gGaia_RowWidths [] = {5, 6, 9, 12, 15, 18, 21, 32, 40}
u16 gGaia_MoundCells [] = {10672, 11505, 12550}
u8 gGaia_MoundWidths [] = EARTH_WALL_CELL_WIDTHS
u8 gGaia_MoundHeights [] = EARTH_WALL_CELL_HEIGHTS
s8 gGaia_Bg2Shifts [][3] = {{-8, 0, 12}, {-72, -40, -16}}
 BG2's x shift, by side and variant.
u8 gGaia_LateRockColumns [] = {136, 40, 120, 56, 104, 72}
 The columns rock particles[16] to particles[21] take.
u8 gBeams_CellWidths [] = SLASH_CELL_WIDTHS
u8 gBeams_CellHeights [] = SLASH_CELL_HEIGHTS
u16 gBeams_Cells [] = {0, 266, 752, 1533, 2495, 3496}
u8 gBeams_CellReaches [] = SLASH_CELL_REACH
u8 gCastingImpact_GlintDrawFlags [] = GLINT_FLIPS
 The flips a glint may take, picked at random.
u8 gCastingImpact_ImageX [][7]
u8 gCastingImpact_ImageY [] = {0, 20, 2, 2, 34, 64, 68}
u16 gCastingImpact_IceChipCells [] = {2308, 2372, 2436, 2500, 0}
 The four ice chip cells, 8x8.
u8 gHelmSplitter_CellWidths [] = {26, 46, 63, 77, 60, 39, 32}
u8 gHelmSplitter_CellHeights [] = {11, 20, 37, 65, 65, 54, 39}
u16 gHelmSplitter_Cells [] = {0, 286, 1206, 3537, 8542, 12442, 14548}
s8 gHelmSplitter_CellBiasX [] = {53, 36, 16, 2, 2, 2, 2}
s8 gHelmSplitter_CellBiasY [] = {2, 3, 3, 3, 4, 14, 29}
u8 gHelmSplitter_TwelveX [] = {52, 25, 57, 89, 7, 39, 71, 103, 21, 53, 85, 117}
u8 gHelmSplitter_TwelveZ [] = {0, 32, 32, 32, 64, 64, 64, 64, 96, 96, 96, 96}
u8 gHelmSplitter_RightEightX [] = {0, 32, 64, 16, 48, 0, 32, 64}
u8 gHelmSplitter_RightEightZ [] = {0, 0, 0, 32, 32, 64, 64, 64}
u8 gHelmSplitter_SmallEightX [] = {0, 40, 80, 0, 40, 80, 40, 80}
u8 gHelmSplitter_SmallEightZ [] = {13, 0, 0, 53, 40, 40, 80, 80}
u8 gHelmSplitter_ImpactBurstCellWidths [] = {48, 48, 46, 36, 36, 32, 26, 6}
u8 gHelmSplitter_ImpactBurstCellHeights [] = {96, 96, 90, 74, 74, 62, 52, 12}
u16 gHelmSplitter_ImpactBurstCells []
s16 gParticleStreams_OrbitPoints [][3]
 The seven sparks that orbit the rising formation.
s16 gParticleStreams_DropPoints [][2]
 Where the seven drops fall, in pixels.
u16 gParticleStreams_FlashCells [] = BLAST_CELLS
u16 gParticleStreams_FlashSizes [] = BLAST_CELL_SIZES
u8 gRamses_ObjectColumns [] = {12, 44, 28, 60, 0, 32, 64, 0, 32}
u8 gRamses_ObjectRows [] = {0, 0, 32, 32, 64, 64, 64, 32, 32}
u16 gRamses_PuffCells [] = BLAST_CELLS
u16 gRamses_PuffSizes [] = BLAST_CELL_SIZES
u8 gRagnarok_StrikeColumns [][3]
 The canvas x of each strike column, three for each side.
u8 gRagnarok_FlashCells [] = FLASH_FADE_CELLS
 The flash picture for each three frames at the end of a flash's life.
u8 gTitanBlade_FlashCells [] = FLASH_FADE_CELLS
 The flash picture for each three frames at the end of a flash's life.
s32 gTitanBlade_DustGravity [] = {0x8000, 0x4000, 0x4000, 0x2000}
 Dust gravity, by particle index & 3.
u8 gJudgment_BurstHeights [] = {2, 3, 4, 6, 10, 11, 12}
u16 gJudgment_BurstCells [] = {0, 8, 26, 58, 130, 330, 572}
u16 gJudgment_ShardCells [] = {2396, 2985, 3698, 4411, 4810, 5146}
u8 gJudgment_ShardWidths [] = {19, 23, 23, 19, 16, 17}
u8 gJudgment_ShardHeights [] = {31, 31, 31, 21, 21, 24}
u8 gKirin_Columns [] = {8, 40, 72, 104, 8, 40, 72, 104, 0}
u8 gKirin_Rows [] = {0, 0, 0, 24, 32, 32, 32, 56, 64}
u8 gNeptune_ObjectX [] = {0, 32, 64, 0, 32, 64, 96, 96}
u8 gNeptune_ObjectY [] = {0, 0, 0, 32, 32, 32, 0, 32}
s32 gNeptune_Gravity [] = {0x8000, 0x4000, 0x4000, 0x2000}
 Spray gravity, by particle index & 3.
u16 gUndeadSword_SparkCells [] = BLAST_CELLS
u16 gUndeadSword_SparkSizes [] = BLAST_CELL_SIZES

Macro Definition Documentation

◆ FLAME_PUFF_CELLS

#define FLAME_PUFF_CELLS   {0, 552, 1480, 2590, 3913, 5185}

The six cells of an erupting flame puff: where each begins in the sheet.

Definition at line 24 of file effect_table.c.

◆ FLAME_PUFF_CELL_WIDTHS

#define FLAME_PUFF_CELL_WIDTHS   {24, 29, 30, 27, 24, 16}

widths

Definition at line 25 of file effect_table.c.

◆ FLAME_PUFF_CELL_HEIGHTS

#define FLAME_PUFF_CELL_HEIGHTS   {23, 32, 37, 49, 53, 52}

heights

Definition at line 26 of file effect_table.c.

◆ FLAME_PUFF_CELL_BIAS_Y

#define FLAME_PUFF_CELL_BIAS_Y   {41, 32, 26, 11, 4, 2}

How far below its anchor each cell's top goes.

Definition at line 28 of file effect_table.c.

◆ BLAST_CELL_SIZES

#define BLAST_CELL_SIZES   {16, 32, 48, 48, 48, 48, 48}

The sides of the seven square pictures of a blast, a puff or a flash.

Definition at line 30 of file effect_table.c.

◆ BLAST_CELLS

#define BLAST_CELLS   {0, 256, 1280, 3584, 5888, 8192, 10496}

Where each blast picture begins.

Definition at line 32 of file effect_table.c.

◆ EARTH_WALL_CELL_WIDTHS

#define EARTH_WALL_CELL_WIDTHS   {17, 19, 20}

the earth wall's three widths

Definition at line 33 of file effect_table.c.

◆ EARTH_WALL_CELL_HEIGHTS

#define EARTH_WALL_CELL_HEIGHTS   {49, 55, 64}

and heights

Definition at line 34 of file effect_table.c.

◆ EARTH_WALL_CELLS

#define EARTH_WALL_CELLS   {2702, 3535, 4580}

Where each earth wall picture begins.

Definition at line 36 of file effect_table.c.

◆ SLASH_CELL_WIDTHS

#define SLASH_CELL_WIDTHS   {38, 54, 71, 74, 77, 65}

the six slash widths

Definition at line 37 of file effect_table.c.

◆ SLASH_CELL_HEIGHTS

#define SLASH_CELL_HEIGHTS   {7, 9, 11, 13, 13, 11}

and heights

Definition at line 38 of file effect_table.c.

◆ SLASH_CELL_REACH

#define SLASH_CELL_REACH   {58, 42, 25, 13, 5, 0}

Each slash picture's reach from the target.

Definition at line 40 of file effect_table.c.

◆ FLASH_FADE_CELLS

#define FLASH_FADE_CELLS   {5, 5, 4, 3, 2, 1}

The flash picture for each three frames at the end of a flash's life.

Definition at line 42 of file effect_table.c.

◆ GLINT_FLIPS

#define GLINT_FLIPS   {0, COMPOSITE_FLIP_X, COMPOSITE_FLIP_Y, COMPOSITE_FLIP}

The flips a glint may be drawn in: none, and mirrored each way and both.

Definition at line 44 of file effect_table.c.

Variable Documentation

◆ gBattleFx_MoteCells

u16 gBattleFx_MoteCells[] = {0, 2, 10, 28, 60, 110, 182, 280, 408, 570}

Mote cells: particle sheets hold ten, cell n (from 0) n + 1 pixels wide and twice that tall.

EFFECT_DRAW_MOTE and many parts read it. It stays the first table: BattleFx_BuildBlitter (parts/blitter.c) checks that a walk of the blitter template ended at its address.

Definition at line 52 of file effect_table.c.

Referenced by BattleFx_BuildBlitter(), BattleFx_RunAtalanta(), BattleFx_RunCastingImpact(), BattleFx_RunEruption(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunMars(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunProcne(), BattleFx_RunRagnarok(), BattleFx_RunSwirlingStars(), BattleFx_RunTargetStrike(), BattleFx_RunThor(), and BattleFx_RunTitanBlade().

◆ gBattleFx_FlareCells

u16 gBattleFx_FlareCells[]
Initial value:
= {0, 4, 20, 56, 120, 220, 364, 560, 816, 1140,
0, 8, 40, 112, 240, 440, 728, 1120, 1632, 2280}

Flare cells: the first ten are squares 2x2 to 20x20, cell n (from 0) n + 1 pixels from its centre to each edge (EFFECT_DRAW_FLARE, and Neptune and Bind directly).

The second ten begin at twice those offsets.

Definition at line 56 of file effect_table.c.

Referenced by BattleFx_RunBind(), BattleFx_RunNeptune(), and BattleFx_RunTriangleStrike().

◆ gBattleFx_PuffCells

u16 gBattleFx_PuffCells[] = {0, 25, 74, 123, 172, 221, 246, 255, 256}

Nine square puff cells, read by the falling, frost, healing, Djinni heal and Boreas parts.

Definition at line 60 of file effect_table.c.

Referenced by BattleFx_RunBoreas(), BattleFx_RunDjinnHeal(), BattleFx_RunFrost(), BattleFx_RunHealingMotes(), and BattleFx_RunIce().

◆ gBattleFx_PuffSizes

u8 gBattleFx_PuffSizes[] = {5, 7, 7, 7, 7, 5, 3, 1, 1}

Each puff cell's side.

Definition at line 62 of file effect_table.c.

Referenced by BattleFx_RunBoreas(), BattleFx_RunDjinnHeal(), BattleFx_RunFrost(), BattleFx_RunHealingMotes(), and BattleFx_RunIce().

◆ gBattleFx_PuffArcCellWidths

◆ gBattleFx_PuffArcCellHeights

u8 gBattleFx_PuffArcCellHeights[] = FLAME_PUFF_CELL_HEIGHTS

◆ gBattleFx_PuffArcCellBiasY

◆ gBattleFx_PuffArcCells

u16 gBattleFx_PuffArcCells[] = FLAME_PUFF_CELLS

◆ gBattleFx_GlintCells

u16 gBattleFx_GlintCells[] = {0, 589, 1302, 2015, 2414, 2750}

◆ gBattleFx_GlintCellWidths

u8 gBattleFx_GlintCellWidths[] = {19, 23, 23, 19, 16, 17}

◆ gBattleFx_GlintCellHeights

u8 gBattleFx_GlintCellHeights[] = {31, 31, 31, 21, 21, 24}

◆ gFalling_IceCounts

u8 gFalling_IceCounts[][2]
Initial value:
= {
{16, 46},
{20, 52},
{32, 80},
}

Ice, by variant: shards and frames (ICE_SHARD_COUNT, ICE_FRAMES).

Definition at line 82 of file effect_table.c.

Referenced by BattleFx_RunIce().

◆ gFalling_Counts

u8 gFalling_Counts[][4]
Initial value:
= {
{6, 8, 32, 80},
{8, 16, 24, 80},
{32, 4, 8, 80},
}

Douse, by variant: the FALLING_BOLT_ columns.

Definition at line 89 of file effect_table.c.

Referenced by BattleFx_RunDouse().

◆ gStreaks_Records

s8 gStreaks_Records[][4]
Initial value:
= {
{0, 1, 0, 0},
{0, 1, 4, 0},
{0, 1, -1, 1},
{1, 1, -1, 1},
{1, 1, 4, 0},
}

Each streak style's animation, hit, motion and shake, by the STREAKS_ columns (streaks.c).

Definition at line 100 of file effect_table.c.

◆ gStreaks_Tremble

s8 gStreaks_Tremble[] = {-1, -1, 1, 1, 1, 1, -1, -1}

Pixels the target trembles by, frame by frame.

Definition at line 109 of file effect_table.c.

Referenced by BattleFx_RunStreakVolley().

◆ gTargetStrike_Records

u8 gTargetStrike_Records[][7]
Initial value:
= {
}
@ COMPOSITE_ADDITIVE
@ COMPOSITE_MAX
#define STRIKE_KIND_SLASH
sideways slashes
Definition effect_table.h:9
#define STRIKE_HEAVY
one heavy hit: a big shake and the target recoils
#define STRIKE_GLINTS
glints sparkle around the target
#define STRIKE_SMOKE
each hit raises smoke puffs from the target's feet
#define STRIKE_ABSORB
motes fly out of the target and back into the user
#define STRIKE_SPARKS
each hit scatters sparks
#define STRIKE_KIND_COLUMN
columns of light

Each of the twelve target strike styles, by the TARGET_STRIKE_ columns (target_strike.c).

Definition at line 116 of file effect_table.c.

◆ gTargetStrike_Widths

u8 gTargetStrike_Widths[] = SLASH_CELL_WIDTHS

Definition at line 133 of file effect_table.c.

Referenced by BattleFx_RunTargetStrike().

◆ gTargetStrike_Heights

u8 gTargetStrike_Heights[] = SLASH_CELL_HEIGHTS

Definition at line 134 of file effect_table.c.

Referenced by BattleFx_RunTargetStrike().

◆ gTargetStrike_Offsets

u16 gTargetStrike_Offsets[] = {3200, 3466, 3952, 4733, 5695, 6696}

Definition at line 135 of file effect_table.c.

Referenced by BattleFx_RunTargetStrike().

◆ gTargetStrike_Reach

u8 gTargetStrike_Reach[] = SLASH_CELL_REACH

Definition at line 136 of file effect_table.c.

Referenced by BattleFx_RunTargetStrike().

◆ gTargetStrike_ColumnStages

u8 gTargetStrike_ColumnStages[] = {0, 1, 2, 3, 2}

The column stage shown by each picture of a rise.

Definition at line 138 of file effect_table.c.

Referenced by BattleFx_RunTargetStrike().

◆ gTargetStrike_GlintDrawFlags

u8 gTargetStrike_GlintDrawFlags[] = GLINT_FLIPS

The flips a glint may be drawn in.

Definition at line 140 of file effect_table.c.

Referenced by BattleFx_RunTargetStrike().

◆ gDeathPlunge_CellWidths

u8 gDeathPlunge_CellWidths[] = {20, 21, 22, 25}

Definition at line 145 of file effect_table.c.

Referenced by BattleFx_RunBladeRain().

◆ gDeathPlunge_CellHeights

u8 gDeathPlunge_CellHeights[] = {32, 31, 27, 24}

Definition at line 146 of file effect_table.c.

Referenced by BattleFx_RunBladeRain().

◆ gDeathPlunge_Cells

u16 gDeathPlunge_Cells[] = {0, 640, 1291, 1885}

Definition at line 147 of file effect_table.c.

Referenced by BattleFx_RunBladeRain().

◆ gDeathPlunge_PieceWidths

u8 gDeathPlunge_PieceWidths[]
Initial value:
= {21, 20, 24, 30, 35, 69, 19, 23, 9, 22, 33,
10, 18, 9, 7, 9, 17, 55, 30, 25, 40, 29,
10, 28, 14, 5, 32, 23, 19, 32, 8, 43, 15}

The 33 pieces of the TileAnimationMask picture: where each starts on the canvas, its size, and where its pixels begin in the decoded picture.

The offsets carry one more entry, where the last piece ends.

Definition at line 151 of file effect_table.c.

Referenced by BattleFx_RunShatteringOpening().

◆ gDeathPlunge_PieceHeights

u8 gDeathPlunge_PieceHeights[]
Initial value:
= {23, 47, 25, 40, 20, 53, 28, 29, 23, 14, 35,
17, 18, 14, 15, 12, 13, 37, 38, 41, 60, 41,
15, 45, 59, 41, 26, 50, 21, 35, 12, 57, 11}

Definition at line 154 of file effect_table.c.

Referenced by BattleFx_RunShatteringOpening().

◆ gDeathPlunge_PieceCells

u16 gDeathPlunge_PieceCells[]
Initial value:
= {
0, 483, 1423, 2023, 3223, 3923, 7580, 8112, 8779,
8986, 9294, 10449, 10619, 10943, 11069, 11174, 11282, 11503,
13538, 14678, 15703, 18103, 19292, 19442, 20702, 21528, 21733,
22565, 23715, 24114, 25234, 25330, 27781, 27946}

Definition at line 157 of file effect_table.c.

Referenced by BattleFx_RunShatteringOpening().

◆ gDeathPlunge_PieceStartX

u8 gDeathPlunge_PieceStartX[]
Initial value:
= {0, 21, 28, 46, 70, 51, 0, 13, 37, 77, 87,
19, 25, 35, 44, 45, 48, 65, 0, 0, 0, 5,
33, 15, 36, 46, 47, 50, 53, 65, 72, 77, 105}

Definition at line 162 of file effect_table.c.

Referenced by BattleFx_RunShatteringOpening().

◆ gDeathPlunge_PieceStartY

u8 gDeathPlunge_PieceStartY[]
Initial value:
= {0, 0, 0, 0, 0, 0, 19, 17, 23, 28, 8,
36, 43, 43, 40, 47, 48, 37, 42, 67, 60, 79,
62, 75, 61, 62, 60, 70, 74, 85, 108, 63, 74}

Definition at line 165 of file effect_table.c.

Referenced by BattleFx_RunShatteringOpening().

◆ gDeathPlunge_X

s8 gDeathPlunge_X[] = {0, 32, 0, 32}

Definition at line 173 of file effect_table.c.

Referenced by BattleFx_RunElementBurst().

◆ gDeathPlunge_Y

s8 gDeathPlunge_Y[] = {0, 0, 32, 32}

Definition at line 174 of file effect_table.c.

Referenced by BattleFx_RunElementBurst().

◆ gDeathPlunge_DrawFlags

u8 gDeathPlunge_DrawFlags[] = GLINT_FLIPS

Definition at line 175 of file effect_table.c.

Referenced by BattleFx_RunElementBurst().

◆ gSpiderWeb_CellWidths

u8 gSpiderWeb_CellWidths[] = {40, 112, 112, 112, 88, 64}

Definition at line 178 of file effect_table.c.

Referenced by BattleFx_RunSwirlSwipe().

◆ gSpiderWeb_CellHeights

u8 gSpiderWeb_CellHeights[] = {56, 80, 64, 64, 80, 88}

Definition at line 179 of file effect_table.c.

Referenced by BattleFx_RunSwirlSwipe().

◆ gSpiderWeb_Cells

u16 gSpiderWeb_Cells[] = {0, 2240, 11200, 18368, 0, 7040}

Definition at line 180 of file effect_table.c.

Referenced by BattleFx_RunSwirlSwipe().

◆ gSpiderWeb_CellX

u8 gSpiderWeb_CellX[] = {72, 0, 0, 0, 32, 64, 16, 16, 16, 16, 8, 0}

Definition at line 181 of file effect_table.c.

Referenced by BattleFx_RunSwirlSwipe().

◆ gSpiderWeb_CellBiasY

s8 gSpiderWeb_CellBiasY[] = {0, 4, 24, -6, -20, -28, 0, 0}

Definition at line 182 of file effect_table.c.

Referenced by BattleFx_RunSwirlSwipe().

◆ gGatheringLights_Counts

u8 gGatheringLights_Counts[][2]
Initial value:
= {
{16, 88},
{8, 72},
{12, 80},
}

Gathering lights (Demon Night, Rumble, Haunting), by mode: the lights per target and the frames before the targets' turns.

Definition at line 188 of file effect_table.c.

Referenced by BattleFx_RunGatheringLights().

◆ gMirroredWall_Cells

u16 gMirroredWall_Cells[] = EARTH_WALL_CELLS

Definition at line 199 of file effect_table.c.

Referenced by BattleFx_RunMirroredWall().

◆ gMirroredWall_CellWidths

u8 gMirroredWall_CellWidths[] = EARTH_WALL_CELL_WIDTHS

Definition at line 200 of file effect_table.c.

Referenced by BattleFx_RunMirroredWall().

◆ gMirroredWall_CellHeights

u8 gMirroredWall_CellHeights[] = EARTH_WALL_CELL_HEIGHTS

Definition at line 201 of file effect_table.c.

Referenced by BattleFx_RunMirroredWall().

◆ gDjinnBeams_MotePictures

u8 gDjinnBeams_MotePictures[] = {2, 1, 0, 1, 2, 3, 4, 3}

The picture of each step of a mote's eight-step cycle.

Definition at line 206 of file effect_table.c.

Referenced by BattleFx_RunDjinnBeams().

◆ gDjinnBeams_HeadOffsets

u16 gDjinnBeams_HeadOffsets[] = EARTH_WALL_CELLS

Definition at line 208 of file effect_table.c.

Referenced by BattleFx_RunDjinnBeams().

◆ gDjinnBeams_HeadWidths

u8 gDjinnBeams_HeadWidths[] = EARTH_WALL_CELL_WIDTHS

Definition at line 209 of file effect_table.c.

Referenced by BattleFx_RunDjinnBeams().

◆ gDjinnBeams_HeadHeights

u8 gDjinnBeams_HeadHeights[] = EARTH_WALL_CELL_HEIGHTS

Definition at line 210 of file effect_table.c.

Referenced by BattleFx_RunDjinnBeams().

◆ gLobbedShells_Records

s8 gLobbedShells_Records[]
Initial value:
= {
0, 0,
0, 0,
0, 0,
1, 0,
1, 0,
0, 0,
0, 0,
}

Two bytes for each lobbed shell mode.

Definition at line 215 of file effect_table.c.

Referenced by BattleFx_RunLobbedShells().

◆ gLobbedShells_ShardWidths

u8 gLobbedShells_ShardWidths[]
Initial value:
= {9, 10, 9, 9, 9, 11, 11, 11, 12,
6, 7, 7, 7, 6, 6, 8, 8, 8}

Lobbed shells: nine tumbling images in two sets, the second (cells 9 to 17) smaller.

Definition at line 227 of file effect_table.c.

Referenced by BattleFx_RunLobbedShells().

◆ gLobbedShells_ShardHeights

u8 gLobbedShells_ShardHeights[]
Initial value:
= {12, 12, 12, 12, 12, 12, 12, 12, 12,
8, 7, 6, 6, 8, 6, 4, 3, 3}

Definition at line 229 of file effect_table.c.

Referenced by BattleFx_RunLobbedShells().

◆ gLobbedShells_ShardOffsets

u16 gLobbedShells_ShardOffsets[]
Initial value:
= {0, 108, 228, 336, 444, 552,
684, 816, 948, 1092, 1140, 1189,
1231, 1273, 1321, 1357, 1389, 1413}

Definition at line 231 of file effect_table.c.

Referenced by BattleFx_RunLobbedShells().

◆ gCondemn_PanelX

u8 gCondemn_PanelX[][7]
Initial value:
= {
{10, 30, 0, 0, 0, 6, 52},
{60, 0, 0, 0, 0, 0, 0},
}

Where each stage of the panel is drawn: seven x positions for each side of the field, and seven y positions (above the swing) for both sides.

Definition at line 239 of file effect_table.c.

◆ gCondemn_PanelY

u8 gCondemn_PanelY[][7]
Initial value:
= {
{0, 20, 2, 2, 34, 64, 68},
{0, 9, 4, 4, 4, 4, 4},
}

Definition at line 243 of file effect_table.c.

◆ gBind_Vertex

struct Vector3 gBind_Vertex[] = {{.x = 0, .y = 24, .z = 0}}

The spinning triangle's first vertex, 24 up from its centre.

Definition at line 251 of file effect_table.c.

Referenced by BattleFx_RunBind().

◆ gBind_TriangleStrikeVertex

struct Vector3 gBind_TriangleStrikeVertex[] = {{.x = 0, .y = 24, .z = 0}}

The striking triangle's first vertex, the same.

Definition at line 253 of file effect_table.c.

Referenced by BattleFx_RunTriangleStrike().

◆ gStars_Points

struct Vector3 gStars_Points[]
Initial value:
= {{.x = 0, .y = 48 << 16, .z = 0},
{.x = 0, .y = 28 << 16, .z = 0}}

The two star points, 48 and 28 pixels up (16.16).

Definition at line 258 of file effect_table.c.

Referenced by BattleFx_RunAstralBlast().

◆ gStars_Radii

u8 gStars_Radii[] = {32, 16}

Definition at line 260 of file effect_table.c.

Referenced by BattleFx_RunShiningStar().

◆ gProcne_GridX

u8 gProcne_GridX[] = {0, 32, 64, 0, 32, 64, 0, 32, 64}

Definition at line 261 of file effect_table.c.

Referenced by BattleFx_RunProcne().

◆ gProcne_GridY

u8 gProcne_GridY[] = {0, 0, 0, 32, 32, 32, 64, 64, 64}

Definition at line 262 of file effect_table.c.

Referenced by BattleFx_RunProcne().

◆ gProcne_Frames

u16 gProcne_Frames[] = {334, 347, 359, 372}

Definition at line 263 of file effect_table.c.

Referenced by BattleFx_RunProcne().

◆ gProcne_CellWidths

u8 gProcne_CellWidths[] = {14, 24, 48}

Definition at line 264 of file effect_table.c.

Referenced by BattleFx_RunProcne().

◆ gProcne_CellHeights

u8 gProcne_CellHeights[] = {14, 19, 24}

Definition at line 265 of file effect_table.c.

Referenced by BattleFx_RunProcne().

◆ gProcne_CellBiasY

u8 gProcne_CellBiasY[] = {8, 12, 17}

Definition at line 266 of file effect_table.c.

Referenced by BattleFx_RunProcne().

◆ gProcne_Cells

u16 gProcne_Cells[] = {13824, 14020, 14476}

Definition at line 267 of file effect_table.c.

Referenced by BattleFx_RunProcne().

◆ gTiamat_DropSpeeds

u8 gTiamat_DropSpeeds[] = {0, 8, 12, 16}

Ember speeds, by ember index & 3.

Definition at line 272 of file effect_table.c.

Referenced by BattleFx_RunPaletteParticles().

◆ gTiamat_SparkPixels

u8 gTiamat_SparkPixels[] = {32, 32}

A spark's 1x2 picture.

Definition at line 274 of file effect_table.c.

Referenced by BattleFx_RunPaletteParticles().

◆ gTiamat_DropSizes

u8 gTiamat_DropSizes[] = {1, 1, 2, 3}

Ember sizes, by ember index & 3.

Definition at line 276 of file effect_table.c.

Referenced by BattleFx_RunPaletteParticles().

◆ gTiamat_StreakWidths

u8 gTiamat_StreakWidths[] = FLAME_PUFF_CELL_WIDTHS

Definition at line 278 of file effect_table.c.

Referenced by BattleFx_RunPaletteParticles().

◆ gTiamat_StreakHeights

u8 gTiamat_StreakHeights[] = FLAME_PUFF_CELL_HEIGHTS

Definition at line 279 of file effect_table.c.

Referenced by BattleFx_RunPaletteParticles().

◆ gTiamat_StreakDrops

u8 gTiamat_StreakDrops[] = FLAME_PUFF_CELL_BIAS_Y

Definition at line 280 of file effect_table.c.

Referenced by BattleFx_RunPaletteParticles().

◆ gTiamat_StreakOffsets

u16 gTiamat_StreakOffsets[] = FLAME_PUFF_CELLS

Definition at line 281 of file effect_table.c.

Referenced by BattleFx_RunPaletteParticles().

◆ gNereid_Columns

u8 gNereid_Columns[][2]
Initial value:
= {
{16, 104},
{32, 104},
{48, 104},
{64, 104},
}

Nereid's four columns of fire (NEREID_COLUMN_X, NEREID_COLUMN_Y).

Definition at line 283 of file effect_table.c.

Referenced by BattleFx_RunNereid().

◆ gNereid_Gravity

s32 gNereid_Gravity[] = {0x8000, 0x4000, 0x4000, 0x2000}

Ember gravity while falling, by ember index & 3.

Definition at line 291 of file effect_table.c.

Referenced by BattleFx_RunNereid().

◆ gVortices_Counts

u8 gVortices_Counts[][2]
Initial value:
= {
{6, 140},
{12, 160},
{30, 200},
}

Froth, by variant: motes and frames.

Definition at line 296 of file effect_table.c.

Referenced by BattleFx_RunFroth().

◆ gVortices_Shapes

u8 gVortices_Shapes[][3]
Initial value:
= {
{1, 16, 2},
{2, 24, 2},
{4, 32, 4},
}

Whirlwind, by variant: the WHIRLWIND_ columns.

Definition at line 303 of file effect_table.c.

Referenced by BattleFx_RunWhirlwind().

◆ gPrism_ShardStarts

u8 gPrism_ShardStarts[][2]
Initial value:
= {
{32, 60}, {33, 82}, {49, 94}, {41, 89}, {49, 76}, {32, 99},
{54, 69}, {34, 82}, {45, 71}, {31, 91}, {32, 69}, {26, 80},
{40, 68}, {41, 60}, {46, 60}, {36, 63}, {0, 0},
}

Where each of the 16 shards starts in the crystal: x, then y.

Definition at line 313 of file effect_table.c.

Referenced by BattleFx_RunPrism().

◆ gPrism_Counts

u8 gPrism_Counts[][2]
Initial value:
= {
{1, 110},
{4, 134},
{12, 166},
}

Prism, by variant: crystals and frames.

Definition at line 319 of file effect_table.c.

Referenced by BattleFx_RunPrism().

◆ gPrism_ShardWidths

u8 gPrism_ShardWidths[] = {5, 10, 11, 14, 12, 11, 19, 18, 23, 12, 22, 22}

Definition at line 326 of file effect_table.c.

Referenced by BattleFx_RunPrism().

◆ gPrism_ShardHeights

u8 gPrism_ShardHeights[] = {14, 10, 7, 13, 14, 14, 32, 30, 24, 38, 20, 20}

Definition at line 327 of file effect_table.c.

Referenced by BattleFx_RunPrism().

◆ gPrism_ShardOffsets

s32 gPrism_ShardOffsets[]
Initial value:
= {0, 70, 170, 247, 429, 597,
751, 1359, 1899, 2451, 2907, 3347}

Definition at line 328 of file effect_table.c.

Referenced by BattleFx_RunPrism().

◆ gPlasma_Sparks

u16 gPlasma_Sparks[][2]
Initial value:
= {
{384, 2},
{256, 3},
{192, 4},
}

Plasma, by variant: sparks per pillar and shake frames.

Definition at line 334 of file effect_table.c.

Referenced by BattleFx_RunPlasma().

◆ gPlasma_Columns

u8 gPlasma_Columns[][7]
Initial value:
= {
{32, 64, 16, 48, 72, 96, 64},
{88, 56, 104, 72, 48, 24, 56},
}

Each pillar's canvas x, seven for each side.

Definition at line 341 of file effect_table.c.

◆ gPlasma_Counts

u8 gPlasma_Counts[] = {1, 3, 7}

How many pillars strike, by variant.

Definition at line 346 of file effect_table.c.

Referenced by BattleFx_RunPlasma().

◆ gPlasma_Shapes

u16 gPlasma_Shapes[][5]
Initial value:
= {
{128, 1, 16, 0, 0},
{255, 1, 16, 0, 0},
{192, 3, 0, 24, 48},
{340, 1, 16, 24, 48},
{32, 1, 16, 0, 0},
}

The spark groups, by variant: the SPARK_GROUPS_ columns.

Definition at line 351 of file effect_table.c.

Referenced by BattleFx_RunSparkGroups().

◆ gPlasma_FlashCells

u8 gPlasma_FlashCells[] = FLASH_FADE_CELLS

The flash picture for each three frames at the end of a flash's life.

Definition at line 360 of file effect_table.c.

Referenced by BattleFx_RunSparkGroups().

◆ gVolcano_Counts

u8 gVolcano_Counts[] = {1, 2, 4}

How many pillars stand, by variant.

Definition at line 365 of file effect_table.c.

Referenced by BattleFx_RunVolcano().

◆ gVolcano_Depths

s8 gVolcano_Depths[][4] = {{0, 0, 0, 0}, {24, -24, 0, 0}, {-20, 20, -60, 60}}

Each pillar's depth, by variant.

Definition at line 367 of file effect_table.c.

Referenced by BattleFx_RunVolcano().

◆ gVolcano_StartFrames

u8 gVolcano_StartFrames[] = {8, 18, 24, 30, 34}

The frame each pillar starts.

Definition at line 369 of file effect_table.c.

Referenced by BattleFx_RunVolcano().

◆ gTargetMotes_GlintFlips

u8 gTargetMotes_GlintFlips[] = GLINT_FLIPS

Glint orientations: none, and mirrored each way and both.

Definition at line 374 of file effect_table.c.

Referenced by BattleFx_RunTargetMotes().

◆ gBattleFx_EffectHandlers

BattleFxHandler gBattleFx_EffectHandlers[BATTLE_FX_KIND_COUNT - 1]

The effect handlers, indexed by effect kind minus one, which BattleFx_RunTableEffect calls; kind zero is handled by the dispatcher.

The handlers by kind less one (effect_table.c); BattleFx_RunTableEffect calls the one an effect's kind selects.

Each handler is named for the first ability, by ability id, whose entry in gBattle_ActionFlags (battle/actflags.tsv) selects its kind, with that ability's English name (MsgAbilityName + id): kind 1 is Quake, Earthquake and Quake Sphere, so BattleFx_RunQuake. A handler several kinds share takes the name of its lowest kind's first ability, and a name another handler has already taken passes to the next ability (kind 15 is BattleFx_RunNova, as its first ability is a second Blast). Kinds that no ability uses keep descriptive names. Each row gives the kind's name, the part of effect.c that defines its handler and its first ability; the handler's own comment there lists every ability that reaches it.

The effect handlers, indexed by effect kind minus one, which BattleFx_RunTableEffect calls; kind zero is handled by the dispatcher.

Definition at line 389 of file effect_table.c.

Referenced by BattleFx_RunTableEffect().

◆ gCybele_ObjectPoses

u8 gCybele_ObjectPoses[][2]
Initial value:
= {
{8, 10},
{9, 11},
{3, 4},
}

Poses of objects 3 and 4 while they wave, three pairs.

Definition at line 632 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_ThornOffsets

u16 gCybele_ThornOffsets[] = {3920, 3932, 3947, 3955, 3970}

Definition at line 638 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_ThornWidths

u8 gCybele_ThornWidths[] = {2, 5, 2, 5, 3}

Definition at line 639 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_ThornHeights

u8 gCybele_ThornHeights[] = {6, 3, 4, 3, 3}

Definition at line 640 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_LeafOffsets

u16 gCybele_LeafOffsets[] = {3456, 3712, 3856}

Definition at line 642 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_LeafSizes

u8 gCybele_LeafSizes[] = {16, 12, 8}

Definition at line 643 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_ChipOffsets

u16 gCybele_ChipOffsets[] = {3920, 3932, 3947, 3955, 3970}

Definition at line 645 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_ChipWidths

u8 gCybele_ChipWidths[] = {2, 5, 2, 5, 3}

Definition at line 646 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_ChipHeights

u8 gCybele_ChipHeights[] = {6, 3, 4, 3, 3}

Definition at line 647 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_SparkOffsets

u16 gCybele_SparkOffsets[] = {3979, 4043, 4268, 4389, 4470}

Definition at line 649 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_SparkSizes

u8 gCybele_SparkSizes[] = {8, 15, 11, 9, 5}

Definition at line 650 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_EmberOffsets

u16 gCybele_EmberOffsets[] = {5760, 6016, 7040, 9344, 11648, 13952, 16256}

Definition at line 653 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gCybele_EmberSizes

u16 gCybele_EmberSizes[] = {16, 32, 48, 48, 48, 48, 48}

Definition at line 654 of file effect_table.c.

Referenced by BattleFx_RunCybele().

◆ gBoreas_Points

u8 gBoreas_Points[][2]
Initial value:
= {{57, 130}, {75, 128}, {71, 104}, {101, 130},
{86, 126}, {85, 98}, {64, 98}, {98, 96},
{77, 87}, {84, 88}, {68, 67}, {81, 49},
{94, 70}, {70, 51}, {93, 36}, {81, 50}}

Rock and ice scene: where the rocks stand (and later the boulders, 56 pixels further left), by the bottom-left corner.

Definition at line 657 of file effect_table.c.

◆ gBoreas_ShakeOffsets

s8 gBoreas_ShakeOffsets[] = {-4, -3, -2, 0}

The backdrop's jolt on frames 176 to 179.

Definition at line 662 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_RockCells

u16 gBoreas_RockCells[] = {0, 1152, 2064}

Definition at line 664 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_RockWidths

u8 gBoreas_RockWidths[] = {24, 24, 20}

Definition at line 665 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_RockHeights

u8 gBoreas_RockHeights[] = {48, 38, 26}

Definition at line 666 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_Animations

u8 gBoreas_Animations[] = {2, 9, 10, 11}

The third object's animations from frame 209, one every 4 frames.

Definition at line 668 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_DebrisWidths

u8 gBoreas_DebrisWidths[] = {12, 11, 8, 10, 8, 12, 5, 7, 7, 6, 7}

Definition at line 671 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_DebrisHeights

u8 gBoreas_DebrisHeights[] = {10, 16, 14, 15, 4, 4, 3, 4, 6, 12, 10}

Definition at line 672 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_DebrisCells

u16 gBoreas_DebrisCells[]
Initial value:
= {2584, 2704, 2880, 2992, 5062, 5094,
5142, 5157, 5185, 5227, 5299}

Definition at line 673 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_SprayWidths

u8 gBoreas_SprayWidths[] = {16, 16, 16}

Definition at line 676 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_SprayHeights

u8 gBoreas_SprayHeights[] = {16, 16, 16}

Definition at line 677 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_SprayCells

u16 gBoreas_SprayCells[] = {4294, 4550, 4806}

Definition at line 678 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_BoulderCells

u16 gBoreas_BoulderCells[] = {0, 1152, 2064}

Definition at line 681 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_BoulderWidths

u8 gBoreas_BoulderWidths[] = {24, 24, 20}

Definition at line 682 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_BoulderHeights

u8 gBoreas_BoulderHeights[] = {48, 38, 26}

Definition at line 683 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_FallWidths

u8 gBoreas_FallWidths[] = {24, 24, 20}

Definition at line 684 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_FallHeights

u8 gBoreas_FallHeights[] = {48, 38, 26}

Definition at line 685 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gBoreas_FallCells

u16 gBoreas_FallCells[] = {0, 1152, 2064}

Definition at line 686 of file effect_table.c.

Referenced by BattleFx_RunBoreas().

◆ gDrain_Gravities

s32 gDrain_Gravities[] = {0x4000, 0x2000, 0x4000, 0x8000}

Ice shards: shard i falls with gravity i & 3.

Definition at line 688 of file effect_table.c.

Referenced by BattleFx_RunBreak().

◆ gStatChange_ShardCells

u16 gStatChange_ShardCells[]
Initial value:
= {0, 120, 180, 258, 298, 352,
408, 471, 567, 607, 631, 661}

Definition at line 693 of file effect_table.c.

Referenced by BattleFx_RunStatReduction().

◆ gStatChange_ShardWidths

u8 gStatChange_ShardWidths[] = {10, 5, 6, 5, 6, 7, 9, 8, 4, 6, 6, 7}

Definition at line 695 of file effect_table.c.

Referenced by BattleFx_RunStatReduction().

◆ gStatChange_ShardHeights

u8 gStatChange_ShardHeights[] = {12, 12, 13, 8, 9, 8, 7, 12, 10, 4, 5, 5}

Definition at line 696 of file effect_table.c.

Referenced by BattleFx_RunStatReduction().

◆ gQuake_Timings

u8 gQuake_Timings[][3] = {{80, 32, 2}, {112, 64, 4}, {144, 96, 8}}

Rock wall timing, by variant: frames in the effect, frames each pillar stands, and how far the screen shakes.

Definition at line 702 of file effect_table.c.

Referenced by BattleFx_RunQuake().

◆ gFire_Counts

u8 gFire_Counts[] = {16, 32, 64}

Embers by variant, at most FIRE_EMBERS (fire.c).

Definition at line 707 of file effect_table.c.

Referenced by BattleFx_RunFire().

◆ gFire_FlareWidths

u8 gFire_FlareWidths[] = FLAME_PUFF_CELL_WIDTHS

Definition at line 709 of file effect_table.c.

Referenced by BattleFx_RunFire().

◆ gFire_FlareHeights

u8 gFire_FlareHeights[] = FLAME_PUFF_CELL_HEIGHTS

Definition at line 710 of file effect_table.c.

Referenced by BattleFx_RunFire().

◆ gFire_FlareBiasY

u8 gFire_FlareBiasY[] = FLAME_PUFF_CELL_BIAS_Y

Definition at line 711 of file effect_table.c.

Referenced by BattleFx_RunFire().

◆ gFire_FlareCells

u16 gFire_FlareCells[] = FLAME_PUFF_CELLS

Definition at line 712 of file effect_table.c.

Referenced by BattleFx_RunFire().

◆ gFrost_ColumnSpots

u8 gFrost_ColumnSpots[][2]
Initial value:
= {
{53, 108}, {73, 110}, {29, 110}, {73, 108}, {33, 104}, {96, 106}, {8, 109},
{62, 98}, {33, 100}, {87, 100}, {21, 95}, {53, 90}, {33, 90}, {72, 91},
{82, 91}, {77, 86}, {52, 84}, {18, 92}, {56, 81},
}

Where each ice column stands: x, then the y of its foot.

Definition at line 717 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_Timings

u8 gFrost_Timings[][3]
Initial value:
= {
{32, 8, 85},
{48, 12, 97},
{64, 19, 109},
}

Motes, ice columns and the burst frame, for each variant.

Definition at line 723 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_MoteWidths

u8 gFrost_MoteWidths[] = {12, 10, 7, 10, 8, 8, 8, 8}

Definition at line 729 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_MoteHeights

u8 gFrost_MoteHeights[] = {9, 16, 14, 15, 8, 8, 8, 8}

Definition at line 730 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_MoteCells

u16 gFrost_MoteCells[] = {1792, 1900, 2060, 2158, 2308, 2372, 2436, 2500}

Definition at line 731 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_ColumnCells

u16 gFrost_ColumnCells[] = {0, 768, 1280}

Definition at line 733 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_ColumnHeights

u8 gFrost_ColumnHeights[] = {24, 16, 16}

Definition at line 734 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_ChipWidths

u8 gFrost_ChipWidths[] = {12, 10, 7, 10, 8, 8, 8, 8}

Definition at line 736 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_ChipHeights

u8 gFrost_ChipHeights[] = {9, 16, 14, 15, 8, 8, 8, 8}

Definition at line 737 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gFrost_ChipCells

u16 gFrost_ChipCells[] = {1792, 1900, 2060, 2158, 2308, 2372, 2436, 2500}

Definition at line 738 of file effect_table.c.

Referenced by BattleFx_RunFrost().

◆ gRay_Sparks

u8 gRay_Sparks[][2] = {{2, 4}, {2, 6}, {4, 8}}

Sparks by variant; [1] is how many each bolt throws a frame.

Definition at line 743 of file effect_table.c.

Referenced by BattleFx_RunRay().

◆ gEruption_Counts

u8 gEruption_Counts[][3] = {{16, 8, 72}, {32, 16, 80}, {128, 32, 88}}

Motes, puffs of smoke and frames, for each variant.

Definition at line 748 of file effect_table.c.

Referenced by BattleFx_RunEruption().

◆ gEruption_PuffCells

u16 gEruption_PuffCells[] = BLAST_CELLS

Definition at line 750 of file effect_table.c.

Referenced by BattleFx_RunEruption().

◆ gEruption_PuffSizes

u16 gEruption_PuffSizes[] = BLAST_CELL_SIZES

Definition at line 751 of file effect_table.c.

Referenced by BattleFx_RunEruption().

◆ gUnused_SheetCells6

u16 gUnused_SheetCells6[] = {0, 36, 100, 200, 344, 540}

Definition at line 754 of file effect_table.c.

◆ gUnused_SheetCells

u16 gUnused_SheetCells[]
Initial value:
= {0, 36, 100, 200, 344, 540,
796, 1120, 1520, 1900, 2300}

Definition at line 755 of file effect_table.c.

◆ gUnused_SheetWidths

u8 gUnused_SheetWidths[] = {6, 8, 10, 12, 14, 16, 18, 20, 19, 20}

Definition at line 757 of file effect_table.c.

◆ gUnused_SheetHeights

u8 gUnused_SheetHeights[] = {6, 8, 10, 12, 14, 16, 18, 20, 20, 20}

Definition at line 758 of file effect_table.c.

◆ gAtalanta_UnitScale

struct SpriteScale gAtalanta_UnitScale = {{{0x10000, 0x10000}}}

Staged particle scale: Atalanta's formation objects keep this scale, one to one, throughout.

Definition at line 764 of file effect_table.c.

Referenced by BattleFx_RunAtalanta().

◆ gGrowth_VineWidths

u8 gGrowth_VineWidths[] = {21, 28, 19}

Definition at line 769 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_HeightLimits

u8 gGrowth_HeightLimits[] = {119, 119, 102}

Definition at line 770 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_VineCells

u16 gGrowth_VineCells[] = {0, 2499, 5831}

Definition at line 771 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_PillarWidths

u8 gGrowth_PillarWidths[] = {10, 8, 9}

Definition at line 772 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_PillarCells

u16 gGrowth_PillarCells[] = {0, 1080, 1888}

Definition at line 773 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_ColumnCounts

u8 gGrowth_ColumnCounts[] = {4, 8, 12}

Definition at line 775 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_ColumnX

u8 gGrowth_ColumnX[]
Initial value:
= {64, 72, 56, 80, 48, 88, 40, 96,
32, 104, 24, 72, 56, 80, 48, 88}

Definition at line 776 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_PillarHeights

s8 gGrowth_PillarHeights[] = {100, 60, 88, 96, 64, 104, 82, 98}

Definition at line 778 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_PuffWidths

s8 gGrowth_PuffWidths[] = {5, 7, 11, 16, 23, 27, 16}

Definition at line 780 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_PuffHeights

u8 gGrowth_PuffHeights[] = {10, 14, 21, 32, 45, 50, 32}

Definition at line 781 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_PuffCells

u16 gGrowth_PuffCells[] = {0, 50, 148, 379, 891, 1926, 3276}

Definition at line 782 of file effect_table.c.

Referenced by BattleFx_RunGrowingColumns().

◆ gGrowth_ColumnOffsets

s8 gGrowth_ColumnOffsets[]
Initial value:
= {0, 14, -32, 8, 32, -48, 4, 12,
-24, 24, -12, -40, -4, -16, -32, 12}

Each vine's root, across from the middle of the targets.

Definition at line 784 of file effect_table.c.

Referenced by BattleFx_RunVine().

◆ gGrowth_Kinds

u8 gGrowth_Kinds[] = {0, 3, 2, 1, 2, 3, 2, 1}

Definition at line 787 of file effect_table.c.

Referenced by BattleFx_RunThorn().

◆ gGrowth_X

s8 gGrowth_X[] = {24, 80, 24, 48, 88, 40, 8, 96}

Definition at line 788 of file effect_table.c.

Referenced by BattleFx_RunThorn().

◆ gGrowth_Counts

u8 gGrowth_Counts[] = {3, 5, 8}

Thorns by variant.

Definition at line 790 of file effect_table.c.

Referenced by BattleFx_RunThorn().

◆ gGrowth_ThornPuffWidths

s8 gGrowth_ThornPuffWidths[] = {5, 7, 11, 17, 32, 32, 19}

Definition at line 792 of file effect_table.c.

Referenced by BattleFx_RunThorn().

◆ gGrowth_ThornPuffHeights

u8 gGrowth_ThornPuffHeights[] = {10, 14, 21, 34, 59, 60, 38}

Definition at line 793 of file effect_table.c.

Referenced by BattleFx_RunThorn().

◆ gGrowth_ThornPuffCells

u16 gGrowth_ThornPuffCells[] = {5888, 5938, 6036, 6267, 6845, 8733, 10653}

Definition at line 794 of file effect_table.c.

Referenced by BattleFx_RunThorn().

◆ gBolt_Counts

u8 gBolt_Counts[][4]
Initial value:
= {
{16, 0, 15, 1},
{32, 3, 31, 1},
{128, 5, 48, 3},
}

Bolt, by variant: sparks each bolt throws, glints a frame around each target, how far the glints spread, and bolts drawn over each other.

Definition at line 800 of file effect_table.c.

Referenced by BattleFx_RunBolt().

◆ gBolt_GlintFlips

u8 gBolt_GlintFlips[] = GLINT_FLIPS

Definition at line 806 of file effect_table.c.

Referenced by BattleFx_RunBolt().

◆ gBolt_GlintModes

u8 gBolt_GlintModes[] = {2, 2, 3}

Definition at line 807 of file effect_table.c.

Referenced by BattleFx_RunBolt().

◆ gProjectiles_CometHeights

u8 gProjectiles_CometHeights[] = {24, 36, 48}

Comet picture heights, by comet kind.

Definition at line 812 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gProjectiles_Modes

u8 gProjectiles_Modes[][5]
Initial value:
= {
{6, 10, 3, 32, 4},
{4, 10, 5, 32, 8},
{10, 32, 3, 32, 4},
{5, 10, 5, 32, 4},
{10, 10, 1, 32, 4},
{1, 5, 0, 32, 80},
{7, 8, 2, 32, 40},
{30, 24, 1, 32, 4},
{6, 2, 3, 32, 4},
{60, 10, 1, 32, 4},
{60, 10, 1, 32, 4},
{10, 10, 1, 32, 4},
}

Each projectile volley mode, by the PROJECTILE_VOLLEY_ columns (projectiles.c).

Definition at line 815 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gProjectiles_FlashWidths

u8 gProjectiles_FlashWidths[] = {12, 18, 24, 30, 36, 39, 40}

Definition at line 831 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gProjectiles_FlashHeights

u8 gProjectiles_FlashHeights[] = {10, 15, 18, 22, 27, 28, 30}

Definition at line 832 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gProjectiles_FlashSteps

u8 gProjectiles_FlashSteps[] = {2, 3, 4, 4, 5, 6, 6}

Definition at line 833 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gProjectiles_FlashRises

u8 gProjectiles_FlashRises[] = {0, 3, 5, 7, 10, 12, 12}

Definition at line 834 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gProjectiles_FlashOffsets

u16 gProjectiles_FlashOffsets[] = {8192, 8312, 8582, 9014, 9674, 10646, 11738}

Definition at line 835 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gProjectiles_PelletOffsets

u16 gProjectiles_PelletOffsets[] = {2308, 2372, 2436, 2500}

Ice chip pictures, by shot index & 3.

Definition at line 837 of file effect_table.c.

Referenced by BattleFx_RunProjectileVolley().

◆ gDjinnAttacks_LaunchFrames

u8 gDjinnAttacks_LaunchFrames[] = {4, 7, 10, 21, 34}

The frames on which the Djinni fires each of its five flames.

Definition at line 842 of file effect_table.c.

Referenced by BattleFx_RunMercury().

◆ gHail_CellWidths

u8 gHail_CellWidths[] = {8, 8, 8, 8}

Definition at line 847 of file effect_table.c.

Referenced by BattleFx_RunHail().

◆ gHail_CellHeights

u8 gHail_CellHeights[] = {8, 8, 8, 8}

Definition at line 848 of file effect_table.c.

Referenced by BattleFx_RunHail().

◆ gHail_Cells

u16 gHail_Cells[] = {2308, 2372, 2436, 2500}

Definition at line 849 of file effect_table.c.

Referenced by BattleFx_RunHail().

◆ gHail_ChipFlips

u8 gHail_ChipFlips[] = {3, 7, 11, 15}

The composite flips a chip may take.

Definition at line 851 of file effect_table.c.

Referenced by BattleFx_RunGround().

◆ gHail_ChipWidths

u8 gHail_ChipWidths[] = {24, 7, 7, 8, 6, 13, 10, 11, 7}

Definition at line 854 of file effect_table.c.

Referenced by BattleFx_RunGround().

◆ gHail_ChipHeights

u8 gHail_ChipHeights[] = {48, 13, 14, 24, 24, 17, 20, 14, 20}

Definition at line 855 of file effect_table.c.

Referenced by BattleFx_RunGround().

◆ gHail_ChipCells

u16 gHail_ChipCells[] = {0, 1152, 1243, 1341, 1533, 1677, 1898, 2098, 2252}

Definition at line 856 of file effect_table.c.

Referenced by BattleFx_RunGround().

◆ gHail_ChipX

u8 gHail_ChipX[] = {0, 9, 9, 11, 10, 0, 3, 13, 7}

Definition at line 857 of file effect_table.c.

Referenced by BattleFx_RunGround().

◆ gHail_ChipY

u8 gHail_ChipY[] = {0, 18, 18, 0, 24, 20, 5, 22, 26}

Definition at line 858 of file effect_table.c.

Referenced by BattleFx_RunGround().

◆ gThor_TargetPalettes

u8 gThor_TargetPalettes[] = {7, 14, 10, 4}

The colours a target flashes when a bolt strikes it, chosen at random: white, black, red, or with its colour channels rotated.

Definition at line 864 of file effect_table.c.

Referenced by BattleFx_RunThor().

◆ gThor_SmokeFlips

u8 gThor_SmokeFlips[] = GLINT_FLIPS

Flip flags for the smoke puffs, chosen at random.

Definition at line 866 of file effect_table.c.

Referenced by BattleFx_RunThor().

◆ gSpire_ShardOffsets

u8 gSpire_ShardOffsets[32][2]
Initial value:
= {
{65, 104}, {68, 95}, {64, 93}, {61, 93}, {64, 87}, {72, 85}, {56, 88},
{51, 80}, {61, 75}, {72, 81}, {69, 71}, {66, 70}, {71, 64}, {49, 71},
{59, 69}, {53, 68}, {78, 73}, {55, 67}, {75, 62}, {61, 65}, {53, 61},
}

Where each of a rock's 21 shards starts, x then y, before the rock's offset across.

Definition at line 869 of file effect_table.c.

Referenced by BattleFx_RunSpire().

◆ gSpire_RockX

s8 gSpire_RockX[] = {0, -12, 12, -8, 16}

Definition at line 876 of file effect_table.c.

Referenced by BattleFx_RunSpire().

◆ gSpire_DropFrames

u8 gSpire_DropFrames[] = {8, 16, 20, 24, 32}

Definition at line 877 of file effect_table.c.

Referenced by BattleFx_RunSpire().

◆ gSpire_RockCounts

u8 gSpire_RockCounts[] = {1, 3, 5}

Definition at line 878 of file effect_table.c.

Referenced by BattleFx_RunSpire().

◆ gSpire_ShardWidths

u8 gSpire_ShardWidths[]
Initial value:
= {5, 11, 10, 7, 7, 12, 13, 9,
19, 12, 17, 22, 15, 16, 14}

Definition at line 881 of file effect_table.c.

Referenced by BattleFx_RunSpire().

◆ gSpire_ShardHeights

u8 gSpire_ShardHeights[]
Initial value:
= {11, 6, 10, 11, 10, 7, 17, 21,
12, 21, 17, 13, 16, 16, 15}

Definition at line 883 of file effect_table.c.

Referenced by BattleFx_RunSpire().

◆ gSpire_ShardCells

u16 gSpire_ShardCells[]
Initial value:
= {0, 55, 121, 221, 298, 368, 452, 673,
862, 1090, 1342, 1631, 1917, 2157, 2413, 2623}

Definition at line 885 of file effect_table.c.

Referenced by BattleFx_RunSpire().

◆ gBurstScene_Records

u8 gBurstScene_Records[][7]
Initial value:
= {
{1, 0, 5, 16, 12, 80, 0},
{1, 1, 7, 16, 12, 104, 0},
{1, 2, 9, 16, 12, 128, 0},
{1, 3, 1, 16, 16, 36, 0},
{1, 3, 2, 20, 16, 52, 0},
{1, 3, 3, 24, 16, 68, 0},
{0, 2, 1, 32, 12, 28, 1},
{0, 2, 2, 32, 12, 40, 1},
{0, 2, 3, 32, 12, 52, 1},
}

Each burst scene mode, by the BURST_SCENE_ columns (burst_scene.c).

Definition at line 891 of file effect_table.c.

Referenced by BattleFx_RunBurstScene().

◆ gGaia_RowCells

u16 gGaia_RowCells[] = {0, 160, 352, 640, 1024, 1504, 2080, 2752, 3776}

Definition at line 904 of file effect_table.c.

Referenced by BattleFx_RunGaia().

◆ gGaia_RowWidths

u8 gGaia_RowWidths[] = {5, 6, 9, 12, 15, 18, 21, 32, 40}

Definition at line 905 of file effect_table.c.

Referenced by BattleFx_RunGaia().

◆ gGaia_MoundCells

u16 gGaia_MoundCells[] = {10672, 11505, 12550}

Definition at line 908 of file effect_table.c.

Referenced by BattleFx_RunGaia().

◆ gGaia_MoundWidths

u8 gGaia_MoundWidths[] = EARTH_WALL_CELL_WIDTHS

Definition at line 909 of file effect_table.c.

Referenced by BattleFx_RunGaia().

◆ gGaia_MoundHeights

u8 gGaia_MoundHeights[] = EARTH_WALL_CELL_HEIGHTS

Definition at line 910 of file effect_table.c.

Referenced by BattleFx_RunGaia().

◆ gGaia_Bg2Shifts

s8 gGaia_Bg2Shifts[][3] = {{-8, 0, 12}, {-72, -40, -16}}

BG2's x shift, by side and variant.

Definition at line 912 of file effect_table.c.

Referenced by BattleFx_RunGaia().

◆ gGaia_LateRockColumns

u8 gGaia_LateRockColumns[] = {136, 40, 120, 56, 104, 72}

The columns rock particles[16] to particles[21] take.

Definition at line 914 of file effect_table.c.

Referenced by BattleFx_RunGaia().

◆ gBeams_CellWidths

u8 gBeams_CellWidths[] = SLASH_CELL_WIDTHS

Definition at line 920 of file effect_table.c.

Referenced by BattleFx_RunBeamSequence().

◆ gBeams_CellHeights

u8 gBeams_CellHeights[] = SLASH_CELL_HEIGHTS

Definition at line 921 of file effect_table.c.

Referenced by BattleFx_RunBeamSequence().

◆ gBeams_Cells

u16 gBeams_Cells[] = {0, 266, 752, 1533, 2495, 3496}

Definition at line 922 of file effect_table.c.

Referenced by BattleFx_RunBeamSequence().

◆ gBeams_CellReaches

u8 gBeams_CellReaches[] = SLASH_CELL_REACH

Definition at line 923 of file effect_table.c.

Referenced by BattleFx_RunBeamSequence().

◆ gCastingImpact_GlintDrawFlags

u8 gCastingImpact_GlintDrawFlags[] = GLINT_FLIPS

The flips a glint may take, picked at random.

Definition at line 928 of file effect_table.c.

Referenced by BattleFx_RunCastingImpact().

◆ gCastingImpact_ImageX

u8 gCastingImpact_ImageX[][7]
Initial value:
= {
{10, 30, 0, 0, 0, 6, 52},
{60, 0, 0, 0, 0, 0, 0},
}

Definition at line 932 of file effect_table.c.

◆ gCastingImpact_ImageY

u8 gCastingImpact_ImageY[] = {0, 20, 2, 2, 34, 64, 68}

Definition at line 936 of file effect_table.c.

Referenced by BattleFx_RunCastingImpact().

◆ gCastingImpact_IceChipCells

u16 gCastingImpact_IceChipCells[] = {2308, 2372, 2436, 2500, 0}

The four ice chip cells, 8x8.

Definition at line 938 of file effect_table.c.

Referenced by BattleFx_RunCastingImpact().

◆ gHelmSplitter_CellWidths

u8 gHelmSplitter_CellWidths[] = {26, 46, 63, 77, 60, 39, 32}

Definition at line 943 of file effect_table.c.

Referenced by BattleFx_RunHelmSplitter().

◆ gHelmSplitter_CellHeights

u8 gHelmSplitter_CellHeights[] = {11, 20, 37, 65, 65, 54, 39}

Definition at line 944 of file effect_table.c.

Referenced by BattleFx_RunHelmSplitter().

◆ gHelmSplitter_Cells

u16 gHelmSplitter_Cells[] = {0, 286, 1206, 3537, 8542, 12442, 14548}

Definition at line 945 of file effect_table.c.

Referenced by BattleFx_RunHelmSplitter().

◆ gHelmSplitter_CellBiasX

s8 gHelmSplitter_CellBiasX[] = {53, 36, 16, 2, 2, 2, 2}

Definition at line 946 of file effect_table.c.

Referenced by BattleFx_RunHelmSplitter().

◆ gHelmSplitter_CellBiasY

s8 gHelmSplitter_CellBiasY[] = {2, 3, 3, 3, 4, 14, 29}

Definition at line 947 of file effect_table.c.

Referenced by BattleFx_RunHelmSplitter().

◆ gHelmSplitter_TwelveX

u8 gHelmSplitter_TwelveX[] = {52, 25, 57, 89, 7, 39, 71, 103, 21, 53, 85, 117}

Definition at line 955 of file effect_table.c.

Referenced by BattleFx_PlaceFormationObjects().

◆ gHelmSplitter_TwelveZ

u8 gHelmSplitter_TwelveZ[] = {0, 32, 32, 32, 64, 64, 64, 64, 96, 96, 96, 96}

Definition at line 956 of file effect_table.c.

Referenced by BattleFx_PlaceFormationObjects().

◆ gHelmSplitter_RightEightX

u8 gHelmSplitter_RightEightX[] = {0, 32, 64, 16, 48, 0, 32, 64}

Definition at line 957 of file effect_table.c.

Referenced by BattleFx_PlaceFormationObjects().

◆ gHelmSplitter_RightEightZ

u8 gHelmSplitter_RightEightZ[] = {0, 0, 0, 32, 32, 64, 64, 64}

Definition at line 958 of file effect_table.c.

Referenced by BattleFx_PlaceFormationObjects().

◆ gHelmSplitter_SmallEightX

u8 gHelmSplitter_SmallEightX[] = {0, 40, 80, 0, 40, 80, 40, 80}

Definition at line 959 of file effect_table.c.

Referenced by BattleFx_PlaceFormationObjects().

◆ gHelmSplitter_SmallEightZ

u8 gHelmSplitter_SmallEightZ[] = {13, 0, 0, 53, 40, 40, 80, 80}

Definition at line 960 of file effect_table.c.

Referenced by BattleFx_PlaceFormationObjects().

◆ gHelmSplitter_ImpactBurstCellWidths

u8 gHelmSplitter_ImpactBurstCellWidths[] = {48, 48, 46, 36, 36, 32, 26, 6}

Definition at line 962 of file effect_table.c.

Referenced by BattleFx_RunImpactBurst().

◆ gHelmSplitter_ImpactBurstCellHeights

u8 gHelmSplitter_ImpactBurstCellHeights[] = {96, 96, 90, 74, 74, 62, 52, 12}

Definition at line 963 of file effect_table.c.

Referenced by BattleFx_RunImpactBurst().

◆ gHelmSplitter_ImpactBurstCells

u16 gHelmSplitter_ImpactBurstCells[]
Initial value:
= {0, 4608, 9216, 13356,
16020, 18684, 20668, 22020}

Definition at line 964 of file effect_table.c.

Referenced by BattleFx_RunImpactBurst().

◆ gParticleStreams_OrbitPoints

s16 gParticleStreams_OrbitPoints[][3]
Initial value:
= {
{-64, -96, 24}, {-48, -120, 32}, {-32, -80, -48}, {-16, -72, -24},
{16, -80, 16}, {32, -112, -32}, {48, -96, 56}}

The seven sparks that orbit the rising formation.

Definition at line 971 of file effect_table.c.

Referenced by BattleFx_RunParticleStreams().

◆ gParticleStreams_DropPoints

s16 gParticleStreams_DropPoints[][2]
Initial value:
= {
{32, 32}, {48, 96}, {80, 80}, {112, 100}, {176, 80}, {196, 64}, {204, 96}}

Where the seven drops fall, in pixels.

Definition at line 975 of file effect_table.c.

Referenced by BattleFx_RunParticleStreams().

◆ gParticleStreams_FlashCells

u16 gParticleStreams_FlashCells[] = BLAST_CELLS

Definition at line 978 of file effect_table.c.

Referenced by BattleFx_RunParticleStreams().

◆ gParticleStreams_FlashSizes

u16 gParticleStreams_FlashSizes[] = BLAST_CELL_SIZES

Definition at line 979 of file effect_table.c.

Referenced by BattleFx_RunParticleStreams().

◆ gRamses_ObjectColumns

u8 gRamses_ObjectColumns[] = {12, 44, 28, 60, 0, 32, 64, 0, 32}

Definition at line 981 of file effect_table.c.

Referenced by BattleFx_RunRamses().

◆ gRamses_ObjectRows

u8 gRamses_ObjectRows[] = {0, 0, 32, 32, 64, 64, 64, 32, 32}

Definition at line 982 of file effect_table.c.

Referenced by BattleFx_RunRamses().

◆ gRamses_PuffCells

u16 gRamses_PuffCells[] = BLAST_CELLS

Definition at line 984 of file effect_table.c.

Referenced by BattleFx_RunRamses().

◆ gRamses_PuffSizes

u16 gRamses_PuffSizes[] = BLAST_CELL_SIZES

Definition at line 985 of file effect_table.c.

Referenced by BattleFx_RunRamses().

◆ gRagnarok_StrikeColumns

u8 gRagnarok_StrikeColumns[][3]
Initial value:
= {
{32, 24, 0},
{96, 104, 128},
}

The canvas x of each strike column, three for each side.

Definition at line 990 of file effect_table.c.

◆ gRagnarok_FlashCells

u8 gRagnarok_FlashCells[] = FLASH_FADE_CELLS

The flash picture for each three frames at the end of a flash's life.

Definition at line 995 of file effect_table.c.

Referenced by BattleFx_RunRagnarok().

◆ gTitanBlade_FlashCells

u8 gTitanBlade_FlashCells[] = FLASH_FADE_CELLS

The flash picture for each three frames at the end of a flash's life.

Definition at line 1001 of file effect_table.c.

Referenced by BattleFx_RunTitanBlade().

◆ gTitanBlade_DustGravity

s32 gTitanBlade_DustGravity[] = {0x8000, 0x4000, 0x4000, 0x2000}

Dust gravity, by particle index & 3.

Definition at line 1003 of file effect_table.c.

Referenced by BattleFx_RunTitanBlade().

◆ gJudgment_BurstHeights

u8 gJudgment_BurstHeights[] = {2, 3, 4, 6, 10, 11, 12}

Definition at line 1006 of file effect_table.c.

Referenced by BattleFx_RunJudgment().

◆ gJudgment_BurstCells

u16 gJudgment_BurstCells[] = {0, 8, 26, 58, 130, 330, 572}

Definition at line 1007 of file effect_table.c.

Referenced by BattleFx_RunJudgment().

◆ gJudgment_ShardCells

u16 gJudgment_ShardCells[] = {2396, 2985, 3698, 4411, 4810, 5146}

Definition at line 1009 of file effect_table.c.

Referenced by BattleFx_RunJudgment().

◆ gJudgment_ShardWidths

u8 gJudgment_ShardWidths[] = {19, 23, 23, 19, 16, 17}

Definition at line 1010 of file effect_table.c.

Referenced by BattleFx_RunJudgment().

◆ gJudgment_ShardHeights

u8 gJudgment_ShardHeights[] = {31, 31, 31, 21, 21, 24}

Definition at line 1011 of file effect_table.c.

Referenced by BattleFx_RunJudgment().

◆ gKirin_Columns

u8 gKirin_Columns[] = {8, 40, 72, 104, 8, 40, 72, 104, 0}

Definition at line 1016 of file effect_table.c.

Referenced by BattleFx_RunKirin().

◆ gKirin_Rows

u8 gKirin_Rows[] = {0, 0, 0, 24, 32, 32, 32, 56, 64}

Definition at line 1017 of file effect_table.c.

Referenced by BattleFx_RunKirin().

◆ gNeptune_ObjectX

u8 gNeptune_ObjectX[] = {0, 32, 64, 0, 32, 64, 96, 96}

Definition at line 1022 of file effect_table.c.

Referenced by BattleFx_RunNeptune().

◆ gNeptune_ObjectY

u8 gNeptune_ObjectY[] = {0, 0, 0, 32, 32, 32, 0, 32}

Definition at line 1023 of file effect_table.c.

Referenced by BattleFx_RunNeptune().

◆ gNeptune_Gravity

s32 gNeptune_Gravity[] = {0x8000, 0x4000, 0x4000, 0x2000}

Spray gravity, by particle index & 3.

Definition at line 1025 of file effect_table.c.

Referenced by BattleFx_RunNeptune().

◆ gUndeadSword_SparkCells

u16 gUndeadSword_SparkCells[] = BLAST_CELLS

Definition at line 1030 of file effect_table.c.

Referenced by BattleFx_RunUndeadSword().

◆ gUndeadSword_SparkSizes

u16 gUndeadSword_SparkSizes[] = BLAST_CELL_SIZES

Definition at line 1031 of file effect_table.c.

Referenced by BattleFx_RunUndeadSword().