Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_catastrophe.c

The Catastrophe summon: the chained demon over a red sky, its sword's orb landing far below, and lightning and smoke sweeping over the foes. More…

Included by battle_effect.c.

Structures

NameDescription
structMESH_VERTEXA corner of a strip as an effect builds it, in signed bytes: the smoke band of Catastrophe's last act, Haures's bands.

Macros

NameDescription
#defineCATASTROPHE_FLASH_BURST_PICTURES 6144Where FlashBurstSheet is decoded in the effect's pictures.
#defineCATASTROPHE_JAGGED_STREAKS 8192Where Catastrophe decodes its pictures: JaggedStreakSheet in act one; PentagonSealTexture after TriangleSealTexture, in the pictures in act one and the map cell buffer in act two; SwirlTexture and then FireRingTexture in the map cell buffer; and TornadoSheet (act two) or ClawSlashSheet (act three), whose glints and slash the last acts sweep across.
#defineCATASTROPHE_PENTAGON_SEAL 4096
#defineCATASTROPHE_RING 8192
#defineCATASTROPHE_SWEEP_PICTURES 2048
#defineLIGHTNING_FORK_WIDTH 32LightningTexture's two 32x48 forks, which flash in act one's sky.
#defineLIGHTNING_FORK_HEIGHT 48
#defineJAGGED_STREAK_WIDTH 32JaggedStreakSheet's three streaks, and the four 32x128 textures act two copies LightningBoltSheet's bolts into, each bolt in the middle of its own, after TornadoSheet's glints.
#defineJAGGED_STREAK_HEIGHT 128
#defineBOLT_TEXTURE_WIDTH 32
#defineBOLT_TEXTURE_HEIGHT 128
#defineCATASTROPHE_BOLT_TEXTURES (CATASTROPHE_SWEEP_PICTURES + GLINT_SET_BYTES)
#defineCATASTROPHE_BOLT_TEXTURE_COUNT 4
#defineCATASTROPHE_DEMON 0Catastrophe's sprites, all 32x32: the chained demon (ChainedDemonTiles), its mirrored copy's six, the golden shield, and the eleven of the sword (its hilt's five, then its white blade's six).
#defineCATASTROPHE_DEMON_TILED 24
#defineCATASTROPHE_DEMON_SWAPPED 24
#defineCATASTROPHE_DEMON_SWAPPED_COUNT 4
#defineCATASTROPHE_DEMON_COUNT 28
#defineCATASTROPHE_MIRRORED_DEMON 28
#defineCATASTROPHE_MIRRORED_DEMON_COUNT 6
#defineCATASTROPHE_SHIELD 34
#defineCATASTROPHE_SHIELD_COUNT 5
#defineCATASTROPHE_SWORD 39
#defineCATASTROPHE_HILT_COUNT 5
#defineCATASTROPHE_BLADE 44
#defineCATASTROPHE_BLADE_COUNT 6
#defineCATASTROPHE_SWORD_COUNT
#defineCATASTROPHE_SPRITES 50
#defineCATASTROPHE_DEMON_COLORS 192ChainedDemonTiles' colours, OBJ palette 0 to 191.
#defineCATASTROPHE_DEMON_LOWEST_PICTURESWhere the decoded ChainedDemonTiles keeps its last four pictures in the map cell buffer, and where they are kept again, after the top row's.
#defineCATASTROPHE_DEMON_KEPT_PICTURES
#defineCATASTROPHE_SHIELD_PALETTE 12The OBJ palettes of the shield, the sword's hilt and its blade.
#defineCATASTROPHE_HILT_PALETTE 13
#defineCATASTROPHE_BLADE_PALETTE 14
#defineCATASTROPHE_ACT_ONE_TICKS 637The ticks of act one, unless A or B skips it, and its turns.
#defineCATASTROPHE_BLADE_TICK 106
#defineCATASTROPHE_GLEAM_TICK 154
#defineCATASTROPHE_EMERGE_TICK 226
#defineCATASTROPHE_BLUE_TICK 242
#defineCATASTROPHE_DARKEN_TICK 256
#defineCATASTROPHE_GLIMPSE_TICK 282
#defineCATASTROPHE_REVEAL_TICK 324
#defineCATASTROPHE_REVEAL_FADE_TICK 332
#defineCATASTROPHE_BOB_TICK 370
#defineCATASTROPHE_SINK_TICK 390
#defineCATASTROPHE_DRAW_BACK_TICK 420
#defineCATASTROPHE_SWING_TICK 472
#defineCATASTROPHE_SWING_END_TICK 486
#defineCATASTROPHE_STRIKE_TICK 489
#defineCATASTROPHE_DIVE_TICK 506
#defineCATASTROPHE_FLICKER_TICK 537
#defineCATASTROPHE_SEAL_TICK 552
#defineCATASTROPHE_ORB_TICK 554
#defineCATASTROPHE_LANDING_TICK 602
#defineCATASTROPHE_AFTERFLASH_TICK 630
#defineCATASTROPHE_WITHDRAW_TICK 584From CATASTROPHE_WITHDRAW_TICK the shield and the sword rise out of sight, 8 pixels a tick for CATASTROPHE_WITHDRAW_TICKS, after which no sprite is drawn.
#defineCATASTROPHE_WITHDRAW_TICKS 10
#defineCATASTROPHE_SEAL_Y 230The seal lies CATASTROPHE_SEAL_Y pixels below the demon's sprites, moving with them as the view climbs and dives (cameraZ); the swirl over it, the jagged streak that strikes it and the streaks that burst where the orb lands stand a little higher.
#defineCATASTROPHE_SEAL_FOLD_TICK 580The seal's triangles fold up from CATASTROPHE_SEAL_FOLD_TICK, and the swirl over it swells faster from CATASTROPHE_SWIRL_SWELL_TICK.
#defineCATASTROPHE_SWIRL_SWELL_TICK 590
#defineCATASTROPHE_ROW_SWAP_TICK 339The demon's lowest four sprites show its top row's pictures from CATASTROPHE_ROW_SWAP_TICK until CATASTROPHE_ROW_RESTORE_TICK.
#defineCATASTROPHE_ROW_RESTORE_TICK 450
#defineCATASTROPHE_CANVAS_FRONT_TICK 440From this tick the canvas is drawn in front of the sprites.
#defineCATASTROPHE_LANDING_BURST_SHRINK 61845The jagged streaks that burst where the orb lands start five times their width and narrow by this much a tick from ten ticks on, to their own.
#defineCATASTROPHE_SWING_DRIFT 120000As the demon swings its sword (ticks 472 to 485), the shield moves right and the sword left by CATASTROPHE_SWING_DRIFT a tick, less a sixteenth of a pixel more each tick, and both sink CATASTROPHE_SWING_SINK a tick.
#defineCATASTROPHE_SWING_SINK (toFIXED(1) + 10000)
#defineCATASTROPHE_DIVE_SPEED_START 50768From CATASTROPHE_DIVE_TICK the view dives after the sword's blade, the demon rising out of sight, at twice a speed that starts at CATASTROPHE_DIVE_SPEED_START and grows by CATASTROPHE_DIVE_ACCELERATION a tick to CATASTROPHE_DIVE_SPEED_MAX, ten ticks on.
#defineCATASTROPHE_DIVE_ACCELERATION 7296
#defineCATASTROPHE_DIVE_SPEED_MAX 120000
#defineCATASTROPHE_SAVED_OBJ_PALETTE 20480Where the objects' first 240 colours are kept in the effect's pictures, which the objects fade from.
#defineCATASTROPHE_SAVED_OBJ_COLORS 240
#defineCATASTROPHE_FLASHES 18Act one's claps of thunder, each flashing the backdrop blue, and the ticks after CATASTROPHE_CANVAS_FLASH_START on which the canvas flashes white.
#defineCATASTROPHE_CANVAS_FLASHES 17
#defineCATASTROPHE_CANVAS_FLASH_START 242
#defineCATASTROPHE_FLASH_LEVEL 31The level the canvas flashes to: on those ticks, every other tick from 537 to 592, and at 630 and 634.
#defineCATASTROPHE_STRIKES 3Act one's three strikes, each of up to CATASTROPHE_STRIKE_STEPS steps (their ticks' rows one longer, for the 65535 that ends them), and the sparks each step throws.
#defineCATASTROPHE_STRIKE_STEPS 12
#defineCATASTROPHE_STRIKE_SPARKS 10
#defineCATASTROPHE_STRIKE_TABLE_START 492
#defineCATASTROPHE_FORKS 7The forks of lightning that flash in act one's sky.
#defineCATASTROPHE_SEAL_TRIANGLES 3The seal's three triangles, round its pentagon.
#defineCATASTROPHE_ORB_BRIGHTNESS (toFIXED(1) + 30000)The orb's disc is drawn this much brighter than full, its middle held at the brightest level.
#defineCATASTROPHE_ORB_CENTER 60Act two's orb is centred at this x on the canvas, and at this y as it starts, before it rises and swells; its sparks fly out from (x, y).
#defineCATASTROPHE_SEAL_TILT 18768The seal: the pentagon laid back by CATASTROPHE_SEAL_TILT, its three triangles turned up from its edges by as much as CATASTROPHE_SEAL_SIDE_TILT, and its largest scale.
#defineCATASTROPHE_SEAL_SIDE_TILT 19712
#defineCATASTROPHE_SEAL_SCALE_MAX 140600
#defineCATASTROPHE_SEAL_GROWTH 4424The pentagon swells by CATASTROPHE_SEAL_GROWTH a tick; its triangles fold up by CATASTROPHE_SEAL_FOLD a tick, and the swirl over it swells CATASTROPHE_SWIRL_GROWTH a tick faster still.
#defineCATASTROPHE_SEAL_FOLD 1096
#defineCATASTROPHE_SWIRL_GROWTH 11060
#defineCATASTROPHE_GROUND_FLATTEN 32000The swirl and the rings of fire are drawn squashed to under half their height, as ellipses.
#defineCATASTROPHE_SWIRL_RISE 120000The swirl over the seal rises this much a tick for its first CATASTROPHE_SWIRL_RISE_TICKS ticks.
#defineCATASTROPHE_SWIRL_RISE_TICKS 7
#defineCATASTROPHE_AERIAL_SEAL_SCALE (toFIXED(1) + 20000)The seal's scale as act two opens, under the orb, before it swells.
#defineCATASTROPHE_RING_GROWTH 12192How fast the rings of fire grow, a tick.
#defineCATASTROPHE_AERIAL_TICKS 160Act two, CATASTROPHE_AERIAL_TICKS long: at CATASTROPHE_AERIAL_FLASH_TICK the backdrop shows in negative for three ticks, the canvas flashing white on the third, and rings of fire spread; at CATASTROPHE_AERIAL_LAUNCH_TICK the backdrop's red drains to blue and glints sparkle round the orb; at CATASTROPHE_AERIAL_BURST_TICK the backdrop turns negative again, to gold and green, and bolts shoot out; from CATASTROPHE_AERIAL_WASH_TICK the canvas washes out pale, then white.
#defineCATASTROPHE_AERIAL_FLASH_TICK 80
#defineCATASTROPHE_AERIAL_LAUNCH_TICK 96
#defineCATASTROPHE_AERIAL_BURST_TICK 128
#defineCATASTROPHE_AERIAL_WASH_TICK 140
#defineCATASTROPHE_BOLTS 16Act two's bolts, and the sparks after them in state->particles.
#defineCATASTROPHE_SPARKS 48
#defineCATASTROPHE_WASH_LEVEL 16Late in act two the canvas is cleared each tick to this pale level, the land washing out, and then to the brightest, white.
#defineCATASTROPHE_SWEEP_VERTICES 4096Act three's buffers in the map cell buffer: the smoke band's corners at its start, their transformed vertices, its strip mesh, LightningBoltSheet's four bolts, and the particles: the flash bursts fragment off the band, then the debris; and the ticks each lives.
#defineCATASTROPHE_SWEEP_STRIP 8192
#defineCATASTROPHE_BOLT_PICTURES 16384
#defineCATASTROPHE_PARTICLES
#defineCATASTROPHE_BURSTS 64
#defineCATASTROPHE_DEBRIS 100
#defineCATASTROPHE_BURST_LIFE 12
#defineCATASTROPHE_DEBRIS_LIFE 16
#defineCATASTROPHE_SWEEP_BOLTS 6The bolts that strike as the smoke band sweeps in, one every eight ticks.
#defineCATASTROPHE_TARGET_DEBRIS 16The debris each target throws when struck, and each bolt where it lands.
#defineCATASTROPHE_BOLT_DEBRIS 12
#defineCATASTROPHE_SWEEP_ROWS 12The smoke band's rows of two corners, and its wave's phase a tick.
#defineCATASTROPHE_SWEEP_WAVE 6096
#defineCATASTROPHE_SWEEP_SCALE (toFIXED(1) - 10000)The sweep's scale, the smoke band's and the slash's, and the band's own further scale, turned upright.
#defineCATASTROPHE_BAND_SCALE 274144
#defineCATASTROPHE_SLASH_SCALE_X 135536The claw slash over the band, about twice as wide and half as tall again.
#defineCATASTROPHE_SLASH_SCALE_Y 105536
#defineCATASTROPHE_SWEEP_TICKS 104Act three, CATASTROPHE_SWEEP_TICKS long.
#defineCATASTROPHE_SWEEP_START_TICK 16
#defineCATASTROPHE_SWEEP_PUSH_TICK 48
#defineCATASTROPHE_SWEEP_RUSH_TICK 60
#defineCATASTROPHE_SWEEP_STRIKE_TICK 66
#defineCATASTROPHE_SWEEP_WHITEN_TICK 72
#defineCATASTROPHE_SWEEP_DAMAGE_TICK 88
#defineCATASTROPHE_PAN 1088Act three opens CATASTROPHE_PAN pixels right of the battle and pans back at CATASTROPHE_PAN_SPEED pixels a tick, slowing to a stop from tick 62.
#defineCATASTROPHE_PAN_SPEED 16

Functions

NameDescription
voidbtEffectRunCatastrophe (BATTLE_EFFECT_PARM *args)Catastrophe: over a red sky the chained demon with its golden shield spreads its wings and drives down a sword of light; the blade's orb falls on the land far below and bursts in a ring and a white flash; then violet lightning and smoke sweep in from the right over the foes.

Description

The Catastrophe summon: the chained demon over a red sky, its sword's orb landing far below, and lightning and smoke sweeping over the foes. Part of battle_effect.c.

Macros in detail

CATASTROPHE_FLASH_BURST_PICTURES

#define CATASTROPHE_FLASH_BURST_PICTURES 6144

Where FlashBurstSheet is decoded in the effect's pictures.

Referenced by btEffectRunCatastrophe().

Definition at line 15 of file battle_effect_catastrophe.c.

CATASTROPHE_JAGGED_STREAKS

#define CATASTROPHE_JAGGED_STREAKS 8192

Where Catastrophe decodes its pictures: JaggedStreakSheet in act one; PentagonSealTexture after TriangleSealTexture, in the pictures in act one and the map cell buffer in act two; SwirlTexture and then FireRingTexture in the map cell buffer; and TornadoSheet (act two) or ClawSlashSheet (act three), whose glints and slash the last acts sweep across.

Referenced by btEffectRunCatastrophe().

Definition at line 22 of file battle_effect_catastrophe.c.

CATASTROPHE_PENTAGON_SEAL

#define CATASTROPHE_PENTAGON_SEAL 4096

Referenced by btEffectRunCatastrophe().

Definition at line 23 of file battle_effect_catastrophe.c.

CATASTROPHE_RING

#define CATASTROPHE_RING 8192

Referenced by btEffectRunCatastrophe().

Definition at line 24 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_PICTURES

#define CATASTROPHE_SWEEP_PICTURES 2048

Referenced by btEffectRunCatastrophe().

Definition at line 25 of file battle_effect_catastrophe.c.

LIGHTNING_FORK_WIDTH

#define LIGHTNING_FORK_WIDTH 32

LightningTexture's two 32x48 forks, which flash in act one's sky.

Definition at line 28 of file battle_effect_catastrophe.c.

LIGHTNING_FORK_HEIGHT

#define LIGHTNING_FORK_HEIGHT 48

Definition at line 29 of file battle_effect_catastrophe.c.

JAGGED_STREAK_WIDTH

#define JAGGED_STREAK_WIDTH 32

JaggedStreakSheet's three streaks, and the four 32x128 textures act two copies LightningBoltSheet's bolts into, each bolt in the middle of its own, after TornadoSheet's glints.

Definition at line 33 of file battle_effect_catastrophe.c.

JAGGED_STREAK_HEIGHT

#define JAGGED_STREAK_HEIGHT 128

Definition at line 34 of file battle_effect_catastrophe.c.

BOLT_TEXTURE_WIDTH

#define BOLT_TEXTURE_WIDTH 32

Referenced by btEffectRunCatastrophe().

Definition at line 35 of file battle_effect_catastrophe.c.

BOLT_TEXTURE_HEIGHT

#define BOLT_TEXTURE_HEIGHT 128

Definition at line 36 of file battle_effect_catastrophe.c.

CATASTROPHE_BOLT_TEXTURES

#define CATASTROPHE_BOLT_TEXTURES (CATASTROPHE_SWEEP_PICTURES + GLINT_SET_BYTES)

Referenced by btEffectRunCatastrophe().

Definition at line 37 of file battle_effect_catastrophe.c.

CATASTROPHE_BOLT_TEXTURE_COUNT

#define CATASTROPHE_BOLT_TEXTURE_COUNT 4

Referenced by btEffectRunCatastrophe().

Definition at line 38 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON

#define CATASTROPHE_DEMON 0

Catastrophe's sprites, all 32x32: the chained demon (ChainedDemonTiles), its mirrored copy's six, the golden shield, and the eleven of the sword (its hilt's five, then its white blade's six). The demon's lowest four are copies of its top row, sharing their tiles: those show the sprite sheet's last four pictures, and the top row's own between CATASTROPHE_ROW_SWAP_TICK and CATASTROPHE_ROW_RESTORE_TICK.

Definition at line 46 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON_TILED

#define CATASTROPHE_DEMON_TILED 24

Referenced by btEffectRunCatastrophe().

Definition at line 47 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON_SWAPPED

#define CATASTROPHE_DEMON_SWAPPED 24

Referenced by btEffectRunCatastrophe().

Definition at line 48 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON_SWAPPED_COUNT

#define CATASTROPHE_DEMON_SWAPPED_COUNT 4

Referenced by btEffectRunCatastrophe().

Definition at line 49 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON_COUNT

#define CATASTROPHE_DEMON_COUNT 28

Referenced by btEffectRunCatastrophe().

Definition at line 50 of file battle_effect_catastrophe.c.

CATASTROPHE_MIRRORED_DEMON

#define CATASTROPHE_MIRRORED_DEMON 28

Referenced by btEffectRunCatastrophe().

Definition at line 51 of file battle_effect_catastrophe.c.

CATASTROPHE_MIRRORED_DEMON_COUNT

#define CATASTROPHE_MIRRORED_DEMON_COUNT 6

Referenced by btEffectRunCatastrophe().

Definition at line 52 of file battle_effect_catastrophe.c.

CATASTROPHE_SHIELD

#define CATASTROPHE_SHIELD 34

Referenced by btEffectRunCatastrophe().

Definition at line 53 of file battle_effect_catastrophe.c.

CATASTROPHE_SHIELD_COUNT

#define CATASTROPHE_SHIELD_COUNT 5

Referenced by btEffectRunCatastrophe().

Definition at line 54 of file battle_effect_catastrophe.c.

CATASTROPHE_SWORD

#define CATASTROPHE_SWORD 39

Referenced by btEffectRunCatastrophe().

Definition at line 55 of file battle_effect_catastrophe.c.

CATASTROPHE_HILT_COUNT

#define CATASTROPHE_HILT_COUNT 5

Referenced by btEffectRunCatastrophe().

Definition at line 56 of file battle_effect_catastrophe.c.

CATASTROPHE_BLADE

#define CATASTROPHE_BLADE 44

Referenced by btEffectRunCatastrophe().

Definition at line 57 of file battle_effect_catastrophe.c.

CATASTROPHE_BLADE_COUNT

#define CATASTROPHE_BLADE_COUNT 6

Referenced by btEffectRunCatastrophe().

Definition at line 58 of file battle_effect_catastrophe.c.

CATASTROPHE_SWORD_COUNT

#define CATASTROPHE_SWORD_COUNT

Referenced by btEffectRunCatastrophe().

Definition at line 59 of file battle_effect_catastrophe.c.

CATASTROPHE_SPRITES

#define CATASTROPHE_SPRITES 50

Referenced by btEffectRunCatastrophe().

Definition at line 61 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON_COLORS

#define CATASTROPHE_DEMON_COLORS 192

ChainedDemonTiles' colours, OBJ palette 0 to 191.

Referenced by btEffectRunCatastrophe().

Definition at line 63 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON_LOWEST_PICTURES

#define CATASTROPHE_DEMON_LOWEST_PICTURES

Where the decoded ChainedDemonTiles keeps its last four pictures in the map cell buffer, and where they are kept again, after the top row's.

Referenced by btEffectRunCatastrophe().

Definition at line 66 of file battle_effect_catastrophe.c.

CATASTROPHE_DEMON_KEPT_PICTURES

#define CATASTROPHE_DEMON_KEPT_PICTURES

Referenced by btEffectRunCatastrophe().

Definition at line 68 of file battle_effect_catastrophe.c.

CATASTROPHE_SHIELD_PALETTE

#define CATASTROPHE_SHIELD_PALETTE 12

The OBJ palettes of the shield, the sword's hilt and its blade.

Referenced by btEffectRunCatastrophe().

Definition at line 71 of file battle_effect_catastrophe.c.

CATASTROPHE_HILT_PALETTE

#define CATASTROPHE_HILT_PALETTE 13

Referenced by btEffectRunCatastrophe().

Definition at line 72 of file battle_effect_catastrophe.c.

CATASTROPHE_BLADE_PALETTE

#define CATASTROPHE_BLADE_PALETTE 14

Referenced by btEffectRunCatastrophe().

Definition at line 73 of file battle_effect_catastrophe.c.

CATASTROPHE_ACT_ONE_TICKS

#define CATASTROPHE_ACT_ONE_TICKS 637

The ticks of act one, unless A or B skips it, and its turns. Out of the dark the sword's blade comes down and shows dark blue (CATASTROPHE_BLADE_TICK), gleams pale and darkens again (CATASTROPHE_GLEAM_TICK); the chained demon comes out of the dark in blue (CATASTROPHE_EMERGE_TICK), is held there from CATASTROPHE_BLUE_TICK and darkens (CATASTROPHE_DARKEN_TICK); it shows in its colours, washed with blue, and darkens to black (CATASTROPHE_GLIMPSE_TICK). Then it flashes white (CATASTROPHE_REVEAL_TICK) and its colours come back out of the white from CATASTROPHE_REVEAL_FADE_TICK, while the view bobs (CATASTROPHE_BOB_TICK) and sinks (CATASTROPHE_SINK_TICK). The shield and the sword draw apart (CATASTROPHE_DRAW_BACK_TICK) and the demon swings (CATASTROPHE_SWING_TICK to CATASTROPHE_SWING_END_TICK), reddening as its three strikes flash from CATASTROPHE_STRIKE_TICK; the canvas flickers white from CATASTROPHE_FLICKER_TICK, the seal opens below (CATASTROPHE_SEAL_TICK) and the orb swells over it as the red haze dims (CATASTROPHE_ORB_TICK), the view dives after the blade (CATASTROPHE_DIVE_TICK), and the blade's orb lands in a white flash and a ring of fire (CATASTROPHE_LANDING_TICK), the canvas flashing twice more from CATASTROPHE_AFTERFLASH_TICK.

Referenced by btEffectRunCatastrophe().

Definition at line 91 of file battle_effect_catastrophe.c.

CATASTROPHE_BLADE_TICK

#define CATASTROPHE_BLADE_TICK 106

Referenced by btEffectRunCatastrophe().

Definition at line 92 of file battle_effect_catastrophe.c.

CATASTROPHE_GLEAM_TICK

#define CATASTROPHE_GLEAM_TICK 154

Referenced by btEffectRunCatastrophe().

Definition at line 93 of file battle_effect_catastrophe.c.

CATASTROPHE_EMERGE_TICK

#define CATASTROPHE_EMERGE_TICK 226

Referenced by btEffectRunCatastrophe().

Definition at line 94 of file battle_effect_catastrophe.c.

CATASTROPHE_BLUE_TICK

#define CATASTROPHE_BLUE_TICK 242

Referenced by btEffectRunCatastrophe().

Definition at line 95 of file battle_effect_catastrophe.c.

CATASTROPHE_DARKEN_TICK

#define CATASTROPHE_DARKEN_TICK 256

Referenced by btEffectRunCatastrophe().

Definition at line 96 of file battle_effect_catastrophe.c.

CATASTROPHE_GLIMPSE_TICK

#define CATASTROPHE_GLIMPSE_TICK 282

Referenced by btEffectRunCatastrophe().

Definition at line 97 of file battle_effect_catastrophe.c.

CATASTROPHE_REVEAL_TICK

#define CATASTROPHE_REVEAL_TICK 324

Referenced by btEffectRunCatastrophe().

Definition at line 98 of file battle_effect_catastrophe.c.

CATASTROPHE_REVEAL_FADE_TICK

#define CATASTROPHE_REVEAL_FADE_TICK 332

Referenced by btEffectRunCatastrophe().

Definition at line 99 of file battle_effect_catastrophe.c.

CATASTROPHE_BOB_TICK

#define CATASTROPHE_BOB_TICK 370

Referenced by btEffectRunCatastrophe().

Definition at line 100 of file battle_effect_catastrophe.c.

CATASTROPHE_SINK_TICK

#define CATASTROPHE_SINK_TICK 390

Referenced by btEffectRunCatastrophe().

Definition at line 101 of file battle_effect_catastrophe.c.

CATASTROPHE_DRAW_BACK_TICK

#define CATASTROPHE_DRAW_BACK_TICK 420

Referenced by btEffectRunCatastrophe().

Definition at line 102 of file battle_effect_catastrophe.c.

CATASTROPHE_SWING_TICK

#define CATASTROPHE_SWING_TICK 472

Referenced by btEffectRunCatastrophe().

Definition at line 103 of file battle_effect_catastrophe.c.

CATASTROPHE_SWING_END_TICK

#define CATASTROPHE_SWING_END_TICK 486

Referenced by btEffectRunCatastrophe().

Definition at line 104 of file battle_effect_catastrophe.c.

CATASTROPHE_STRIKE_TICK

#define CATASTROPHE_STRIKE_TICK 489

Referenced by btEffectRunCatastrophe().

Definition at line 105 of file battle_effect_catastrophe.c.

CATASTROPHE_DIVE_TICK

#define CATASTROPHE_DIVE_TICK 506

Referenced by btEffectRunCatastrophe().

Definition at line 106 of file battle_effect_catastrophe.c.

CATASTROPHE_FLICKER_TICK

#define CATASTROPHE_FLICKER_TICK 537

Referenced by btEffectRunCatastrophe().

Definition at line 107 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_TICK

#define CATASTROPHE_SEAL_TICK 552

Referenced by btEffectRunCatastrophe().

Definition at line 108 of file battle_effect_catastrophe.c.

CATASTROPHE_ORB_TICK

#define CATASTROPHE_ORB_TICK 554

Referenced by btEffectRunCatastrophe().

Definition at line 109 of file battle_effect_catastrophe.c.

CATASTROPHE_LANDING_TICK

#define CATASTROPHE_LANDING_TICK 602

Referenced by btEffectRunCatastrophe().

Definition at line 110 of file battle_effect_catastrophe.c.

CATASTROPHE_AFTERFLASH_TICK

#define CATASTROPHE_AFTERFLASH_TICK 630

Referenced by btEffectRunCatastrophe().

Definition at line 111 of file battle_effect_catastrophe.c.

CATASTROPHE_WITHDRAW_TICK

#define CATASTROPHE_WITHDRAW_TICK 584

From CATASTROPHE_WITHDRAW_TICK the shield and the sword rise out of sight, 8 pixels a tick for CATASTROPHE_WITHDRAW_TICKS, after which no sprite is drawn.

Referenced by btEffectRunCatastrophe().

Definition at line 114 of file battle_effect_catastrophe.c.

CATASTROPHE_WITHDRAW_TICKS

#define CATASTROPHE_WITHDRAW_TICKS 10

Referenced by btEffectRunCatastrophe().

Definition at line 115 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_Y

#define CATASTROPHE_SEAL_Y 230

The seal lies CATASTROPHE_SEAL_Y pixels below the demon's sprites, moving with them as the view climbs and dives (cameraZ); the swirl over it, the jagged streak that strikes it and the streaks that burst where the orb lands stand a little higher.

Referenced by btEffectRunCatastrophe().

Definition at line 120 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_FOLD_TICK

#define CATASTROPHE_SEAL_FOLD_TICK 580

The seal's triangles fold up from CATASTROPHE_SEAL_FOLD_TICK, and the swirl over it swells faster from CATASTROPHE_SWIRL_SWELL_TICK.

Referenced by btEffectRunCatastrophe().

Definition at line 123 of file battle_effect_catastrophe.c.

CATASTROPHE_SWIRL_SWELL_TICK

#define CATASTROPHE_SWIRL_SWELL_TICK 590

Referenced by btEffectRunCatastrophe().

Definition at line 124 of file battle_effect_catastrophe.c.

CATASTROPHE_ROW_SWAP_TICK

#define CATASTROPHE_ROW_SWAP_TICK 339

The demon's lowest four sprites show its top row's pictures from CATASTROPHE_ROW_SWAP_TICK until CATASTROPHE_ROW_RESTORE_TICK.

Referenced by btEffectRunCatastrophe().

Definition at line 127 of file battle_effect_catastrophe.c.

CATASTROPHE_ROW_RESTORE_TICK

#define CATASTROPHE_ROW_RESTORE_TICK 450

Referenced by btEffectRunCatastrophe().

Definition at line 128 of file battle_effect_catastrophe.c.

CATASTROPHE_CANVAS_FRONT_TICK

#define CATASTROPHE_CANVAS_FRONT_TICK 440

From this tick the canvas is drawn in front of the sprites.

Referenced by btEffectRunCatastrophe().

Definition at line 130 of file battle_effect_catastrophe.c.

CATASTROPHE_LANDING_BURST_SHRINK

#define CATASTROPHE_LANDING_BURST_SHRINK 61845

The jagged streaks that burst where the orb lands start five times their width and narrow by this much a tick from ten ticks on, to their own.

Referenced by btEffectRunCatastrophe().

Definition at line 133 of file battle_effect_catastrophe.c.

CATASTROPHE_SWING_DRIFT

#define CATASTROPHE_SWING_DRIFT 120000

As the demon swings its sword (ticks 472 to 485), the shield moves right and the sword left by CATASTROPHE_SWING_DRIFT a tick, less a sixteenth of a pixel more each tick, and both sink CATASTROPHE_SWING_SINK a tick.

Referenced by btEffectRunCatastrophe().

Definition at line 137 of file battle_effect_catastrophe.c.

CATASTROPHE_SWING_SINK

#define CATASTROPHE_SWING_SINK (toFIXED(1) + 10000)

Referenced by btEffectRunCatastrophe().

Definition at line 138 of file battle_effect_catastrophe.c.

CATASTROPHE_DIVE_SPEED_START

#define CATASTROPHE_DIVE_SPEED_START 50768

From CATASTROPHE_DIVE_TICK the view dives after the sword's blade, the demon rising out of sight, at twice a speed that starts at CATASTROPHE_DIVE_SPEED_START and grows by CATASTROPHE_DIVE_ACCELERATION a tick to CATASTROPHE_DIVE_SPEED_MAX, ten ticks on.

Referenced by btEffectRunCatastrophe().

Definition at line 143 of file battle_effect_catastrophe.c.

CATASTROPHE_DIVE_ACCELERATION

#define CATASTROPHE_DIVE_ACCELERATION 7296

Referenced by btEffectRunCatastrophe().

Definition at line 144 of file battle_effect_catastrophe.c.

CATASTROPHE_DIVE_SPEED_MAX

#define CATASTROPHE_DIVE_SPEED_MAX 120000

Referenced by btEffectRunCatastrophe().

Definition at line 145 of file battle_effect_catastrophe.c.

CATASTROPHE_SAVED_OBJ_PALETTE

#define CATASTROPHE_SAVED_OBJ_PALETTE 20480

Where the objects' first 240 colours are kept in the effect's pictures, which the objects fade from.

Referenced by btEffectRunCatastrophe().

Definition at line 148 of file battle_effect_catastrophe.c.

CATASTROPHE_SAVED_OBJ_COLORS

#define CATASTROPHE_SAVED_OBJ_COLORS 240

Referenced by btEffectRunCatastrophe().

Definition at line 149 of file battle_effect_catastrophe.c.

CATASTROPHE_FLASHES

#define CATASTROPHE_FLASHES 18

Act one's claps of thunder, each flashing the backdrop blue, and the ticks after CATASTROPHE_CANVAS_FLASH_START on which the canvas flashes white.

Referenced by btEffectRunCatastrophe().

Definition at line 152 of file battle_effect_catastrophe.c.

CATASTROPHE_CANVAS_FLASHES

#define CATASTROPHE_CANVAS_FLASHES 17

Referenced by btEffectRunCatastrophe().

Definition at line 153 of file battle_effect_catastrophe.c.

CATASTROPHE_CANVAS_FLASH_START

#define CATASTROPHE_CANVAS_FLASH_START 242

Referenced by btEffectRunCatastrophe().

Definition at line 154 of file battle_effect_catastrophe.c.

CATASTROPHE_FLASH_LEVEL

#define CATASTROPHE_FLASH_LEVEL 31

The level the canvas flashes to: on those ticks, every other tick from 537 to 592, and at 630 and 634.

Referenced by btEffectRunCatastrophe().

Definition at line 157 of file battle_effect_catastrophe.c.

CATASTROPHE_STRIKES

#define CATASTROPHE_STRIKES 3

Act one's three strikes, each of up to CATASTROPHE_STRIKE_STEPS steps (their ticks' rows one longer, for the 65535 that ends them), and the sparks each step throws. The rows count ticks at twice the act's pace from the first strike's first step, CATASTROPHE_STRIKE_TABLE_START.

Referenced by btEffectRunCatastrophe().

Definition at line 162 of file battle_effect_catastrophe.c.

CATASTROPHE_STRIKE_STEPS

#define CATASTROPHE_STRIKE_STEPS 12

Referenced by btEffectRunCatastrophe().

Definition at line 163 of file battle_effect_catastrophe.c.

CATASTROPHE_STRIKE_SPARKS

#define CATASTROPHE_STRIKE_SPARKS 10

Referenced by btEffectRunCatastrophe().

Definition at line 164 of file battle_effect_catastrophe.c.

CATASTROPHE_STRIKE_TABLE_START

#define CATASTROPHE_STRIKE_TABLE_START 492

Referenced by btEffectRunCatastrophe().

Definition at line 165 of file battle_effect_catastrophe.c.

CATASTROPHE_FORKS

#define CATASTROPHE_FORKS 7

The forks of lightning that flash in act one's sky.

Referenced by btEffectRunCatastrophe().

Definition at line 167 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_TRIANGLES

#define CATASTROPHE_SEAL_TRIANGLES 3

The seal's three triangles, round its pentagon.

Referenced by btEffectRunCatastrophe().

Definition at line 169 of file battle_effect_catastrophe.c.

CATASTROPHE_ORB_BRIGHTNESS

#define CATASTROPHE_ORB_BRIGHTNESS (toFIXED(1) + 30000)

The orb's disc is drawn this much brighter than full, its middle held at the brightest level.

Referenced by btEffectRunCatastrophe().

Definition at line 172 of file battle_effect_catastrophe.c.

CATASTROPHE_ORB_CENTER

#define CATASTROPHE_ORB_CENTER 60

Act two's orb is centred at this x on the canvas, and at this y as it starts, before it rises and swells; its sparks fly out from (x, y).

Referenced by btEffectRunCatastrophe().

Definition at line 175 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_TILT

#define CATASTROPHE_SEAL_TILT 18768

The seal: the pentagon laid back by CATASTROPHE_SEAL_TILT, its three triangles turned up from its edges by as much as CATASTROPHE_SEAL_SIDE_TILT, and its largest scale.

Referenced by btEffectRunCatastrophe().

Definition at line 179 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_SIDE_TILT

#define CATASTROPHE_SEAL_SIDE_TILT 19712

Referenced by btEffectRunCatastrophe().

Definition at line 180 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_SCALE_MAX

#define CATASTROPHE_SEAL_SCALE_MAX 140600

Referenced by btEffectRunCatastrophe().

Definition at line 181 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_GROWTH

#define CATASTROPHE_SEAL_GROWTH 4424

The pentagon swells by CATASTROPHE_SEAL_GROWTH a tick; its triangles fold up by CATASTROPHE_SEAL_FOLD a tick, and the swirl over it swells CATASTROPHE_SWIRL_GROWTH a tick faster still.

Referenced by btEffectRunCatastrophe().

Definition at line 185 of file battle_effect_catastrophe.c.

CATASTROPHE_SEAL_FOLD

#define CATASTROPHE_SEAL_FOLD 1096

Referenced by btEffectRunCatastrophe().

Definition at line 186 of file battle_effect_catastrophe.c.

CATASTROPHE_SWIRL_GROWTH

#define CATASTROPHE_SWIRL_GROWTH 11060

Referenced by btEffectRunCatastrophe().

Definition at line 187 of file battle_effect_catastrophe.c.

CATASTROPHE_GROUND_FLATTEN

#define CATASTROPHE_GROUND_FLATTEN 32000

The swirl and the rings of fire are drawn squashed to under half their height, as ellipses.

Referenced by btEffectRunCatastrophe().

Definition at line 190 of file battle_effect_catastrophe.c.

CATASTROPHE_SWIRL_RISE

#define CATASTROPHE_SWIRL_RISE 120000

The swirl over the seal rises this much a tick for its first CATASTROPHE_SWIRL_RISE_TICKS ticks.

Referenced by btEffectRunCatastrophe().

Definition at line 193 of file battle_effect_catastrophe.c.

CATASTROPHE_SWIRL_RISE_TICKS

#define CATASTROPHE_SWIRL_RISE_TICKS 7

Referenced by btEffectRunCatastrophe().

Definition at line 194 of file battle_effect_catastrophe.c.

CATASTROPHE_AERIAL_SEAL_SCALE

#define CATASTROPHE_AERIAL_SEAL_SCALE (toFIXED(1) + 20000)

The seal's scale as act two opens, under the orb, before it swells.

Referenced by btEffectRunCatastrophe().

Definition at line 196 of file battle_effect_catastrophe.c.

CATASTROPHE_RING_GROWTH

#define CATASTROPHE_RING_GROWTH 12192

How fast the rings of fire grow, a tick.

Referenced by btEffectRunCatastrophe().

Definition at line 198 of file battle_effect_catastrophe.c.

CATASTROPHE_AERIAL_TICKS

#define CATASTROPHE_AERIAL_TICKS 160

Act two, CATASTROPHE_AERIAL_TICKS long: at CATASTROPHE_AERIAL_FLASH_TICK the backdrop shows in negative for three ticks, the canvas flashing white on the third, and rings of fire spread; at CATASTROPHE_AERIAL_LAUNCH_TICK the backdrop's red drains to blue and glints sparkle round the orb; at CATASTROPHE_AERIAL_BURST_TICK the backdrop turns negative again, to gold and green, and bolts shoot out; from CATASTROPHE_AERIAL_WASH_TICK the canvas washes out pale, then white.

Referenced by btEffectRunCatastrophe().

Definition at line 206 of file battle_effect_catastrophe.c.

CATASTROPHE_AERIAL_FLASH_TICK

#define CATASTROPHE_AERIAL_FLASH_TICK 80

Referenced by btEffectRunCatastrophe().

Definition at line 207 of file battle_effect_catastrophe.c.

CATASTROPHE_AERIAL_LAUNCH_TICK

#define CATASTROPHE_AERIAL_LAUNCH_TICK 96

Referenced by btEffectRunCatastrophe().

Definition at line 208 of file battle_effect_catastrophe.c.

CATASTROPHE_AERIAL_BURST_TICK

#define CATASTROPHE_AERIAL_BURST_TICK 128

Referenced by btEffectRunCatastrophe().

Definition at line 209 of file battle_effect_catastrophe.c.

CATASTROPHE_AERIAL_WASH_TICK

#define CATASTROPHE_AERIAL_WASH_TICK 140

Referenced by btEffectRunCatastrophe().

Definition at line 210 of file battle_effect_catastrophe.c.

CATASTROPHE_BOLTS

#define CATASTROPHE_BOLTS 16

Act two's bolts, and the sparks after them in state->particles.

Referenced by btEffectRunCatastrophe().

Definition at line 212 of file battle_effect_catastrophe.c.

CATASTROPHE_SPARKS

#define CATASTROPHE_SPARKS 48

Referenced by btEffectRunCatastrophe().

Definition at line 213 of file battle_effect_catastrophe.c.

CATASTROPHE_WASH_LEVEL

#define CATASTROPHE_WASH_LEVEL 16

Late in act two the canvas is cleared each tick to this pale level, the land washing out, and then to the brightest, white.

Referenced by btEffectRunCatastrophe().

Definition at line 216 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_VERTICES

#define CATASTROPHE_SWEEP_VERTICES 4096

Act three's buffers in the map cell buffer: the smoke band's corners at its start, their transformed vertices, its strip mesh, LightningBoltSheet's four bolts, and the particles: the flash bursts fragment off the band, then the debris; and the ticks each lives.

Referenced by btEffectRunCatastrophe().

Definition at line 221 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_STRIP

#define CATASTROPHE_SWEEP_STRIP 8192

Referenced by btEffectRunCatastrophe().

Definition at line 222 of file battle_effect_catastrophe.c.

CATASTROPHE_BOLT_PICTURES

#define CATASTROPHE_BOLT_PICTURES 16384

Referenced by btEffectRunCatastrophe().

Definition at line 223 of file battle_effect_catastrophe.c.

CATASTROPHE_PARTICLES

#define CATASTROPHE_PARTICLES

Referenced by btEffectRunCatastrophe().

Definition at line 224 of file battle_effect_catastrophe.c.

CATASTROPHE_BURSTS

#define CATASTROPHE_BURSTS 64

Referenced by btEffectRunCatastrophe().

Definition at line 227 of file battle_effect_catastrophe.c.

CATASTROPHE_DEBRIS

#define CATASTROPHE_DEBRIS 100

Referenced by btEffectRunCatastrophe().

Definition at line 228 of file battle_effect_catastrophe.c.

CATASTROPHE_BURST_LIFE

#define CATASTROPHE_BURST_LIFE 12

Referenced by btEffectRunCatastrophe().

Definition at line 229 of file battle_effect_catastrophe.c.

CATASTROPHE_DEBRIS_LIFE

#define CATASTROPHE_DEBRIS_LIFE 16

Referenced by btEffectRunCatastrophe().

Definition at line 230 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_BOLTS

#define CATASTROPHE_SWEEP_BOLTS 6

The bolts that strike as the smoke band sweeps in, one every eight ticks.

Referenced by btEffectRunCatastrophe().

Definition at line 232 of file battle_effect_catastrophe.c.

CATASTROPHE_TARGET_DEBRIS

#define CATASTROPHE_TARGET_DEBRIS 16

The debris each target throws when struck, and each bolt where it lands.

Referenced by btEffectRunCatastrophe().

Definition at line 234 of file battle_effect_catastrophe.c.

CATASTROPHE_BOLT_DEBRIS

#define CATASTROPHE_BOLT_DEBRIS 12

Referenced by btEffectRunCatastrophe().

Definition at line 235 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_ROWS

#define CATASTROPHE_SWEEP_ROWS 12

The smoke band's rows of two corners, and its wave's phase a tick.

Referenced by btEffectRunCatastrophe().

Definition at line 237 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_WAVE

#define CATASTROPHE_SWEEP_WAVE 6096

Referenced by btEffectRunCatastrophe().

Definition at line 238 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_SCALE

#define CATASTROPHE_SWEEP_SCALE (toFIXED(1) - 10000)

The sweep's scale, the smoke band's and the slash's, and the band's own further scale, turned upright.

Referenced by btEffectRunCatastrophe().

Definition at line 241 of file battle_effect_catastrophe.c.

CATASTROPHE_BAND_SCALE

#define CATASTROPHE_BAND_SCALE 274144

Referenced by btEffectRunCatastrophe().

Definition at line 242 of file battle_effect_catastrophe.c.

CATASTROPHE_SLASH_SCALE_X

#define CATASTROPHE_SLASH_SCALE_X 135536

The claw slash over the band, about twice as wide and half as tall again.

Referenced by btEffectRunCatastrophe().

Definition at line 244 of file battle_effect_catastrophe.c.

CATASTROPHE_SLASH_SCALE_Y

#define CATASTROPHE_SLASH_SCALE_Y 105536

Referenced by btEffectRunCatastrophe().

Definition at line 245 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_TICKS

#define CATASTROPHE_SWEEP_TICKS 104

Act three, CATASTROPHE_SWEEP_TICKS long. From CATASTROPHE_SWEEP_START_TICK the smoke band sweeps in from the right and the bolts strike; it is pushed back for six ticks from CATASTROPHE_SWEEP_PUSH_TICK and from CATASTROPHE_SWEEP_RUSH_TICK rushes left over the foes, who are struck at CATASTROPHE_SWEEP_STRIKE_TICK; from CATASTROPHE_SWEEP_WHITEN_TICK the screen brightens to white, and at CATASTROPHE_SWEEP_DAMAGE_TICK the damage shows, where A or B skips to.

Referenced by btEffectRunCatastrophe().

Definition at line 253 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_START_TICK

#define CATASTROPHE_SWEEP_START_TICK 16

Referenced by btEffectRunCatastrophe().

Definition at line 254 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_PUSH_TICK

#define CATASTROPHE_SWEEP_PUSH_TICK 48

Referenced by btEffectRunCatastrophe().

Definition at line 255 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_RUSH_TICK

#define CATASTROPHE_SWEEP_RUSH_TICK 60

Referenced by btEffectRunCatastrophe().

Definition at line 256 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_STRIKE_TICK

#define CATASTROPHE_SWEEP_STRIKE_TICK 66

Referenced by btEffectRunCatastrophe().

Definition at line 257 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_WHITEN_TICK

#define CATASTROPHE_SWEEP_WHITEN_TICK 72

Referenced by btEffectRunCatastrophe().

Definition at line 258 of file battle_effect_catastrophe.c.

CATASTROPHE_SWEEP_DAMAGE_TICK

#define CATASTROPHE_SWEEP_DAMAGE_TICK 88

Referenced by btEffectRunCatastrophe().

Definition at line 259 of file battle_effect_catastrophe.c.

CATASTROPHE_PAN

#define CATASTROPHE_PAN 1088

Act three opens CATASTROPHE_PAN pixels right of the battle and pans back at CATASTROPHE_PAN_SPEED pixels a tick, slowing to a stop from tick 62.

Referenced by btEffectRunCatastrophe().

Definition at line 262 of file battle_effect_catastrophe.c.

CATASTROPHE_PAN_SPEED

#define CATASTROPHE_PAN_SPEED 16

Referenced by btEffectRunCatastrophe().

Definition at line 263 of file battle_effect_catastrophe.c.

Functions in detail

btEffectRunCatastrophe

void btEffectRunCatastrophe(BATTLE_EFFECT_PARM *args)

Catastrophe: over a red sky the chained demon with its golden shield spreads its wings and drives down a sword of light; the blade's orb falls on the land far below and bursts in a ring and a white flash; then violet lightning and smoke sweep in from the right over the foes. Holding A or B shortens each act.

Abilities: Catastrophe.

References BattleEffectColumnMesh, BattleEffectGlintPictureHeights, BattleEffectGlintPictures, BattleEffectGlintPictureWidths, BattleEffectLargeSquareMesh, BattleEffectLongBeamCorners, BattleEffectMotePictures, BattleEffectSquareCorners, BattleEffectSquareMesh, BattleEffectStandingSquareCorners, BattleEffectTaperedBeamCorners, BgScrollWork, btActorSpawnObjectsForListStub(), btBackgroundLoadStub(), btCameraApplyVerticalShake(), btCanvasBlitMirroredQuarters(), btColorBufferScaleStub(), btEffectConfigureEffectDisplay(), btEffectCountDownBattlerTints(), btEffectDrawShadedDiscQuarter(), btEffectPosProjectBattler(), btEffectSetupBlendedDisplay(), btEffectShowLivingTargets(), btEffectSpriteAcquire(), btEffectSpriteCreateWithTiles(), btEffectStartActorMotion(), btEffectStepPaletteToResource(), btEffectTintBattler(), btEffectTransferCanvas(), btEffectWipeCanvas(), btGraphicsLoadGreyRamp(), btPaletteBrightenBgEntries(), btPaletteBrightenSavedBattleBg(), btParticleAdvanceWithGravity2D(), btRenderAllocateModelList(), btRenderBuildQuadStrip(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), CatastropheArmourX, CatastropheArmourZ, CatastropheBoltRolls, CatastropheCanvasFlashTicks, CatastropheDemonX, CatastropheDemonZ, CatastropheFlashLengths, CatastropheFlashTicks, CatastropheForkMesh, CatastropheForkPictures, CatastropheForkStarts and 44 more.

Referenced by btEffectRunSummon().

Definition at line 272 of file battle_effect_catastrophe.c.

On this page

StructuresMacrosFunctionsDescriptionMacros in detailCATASTROPHE_FLASH_BURST_PICTURESCATASTROPHE_JAGGED_STREAKSCATASTROPHE_PENTAGON_SEALCATASTROPHE_RINGCATASTROPHE_SWEEP_PICTURESLIGHTNING_FORK_WIDTHLIGHTNING_FORK_HEIGHTJAGGED_STREAK_WIDTHJAGGED_STREAK_HEIGHTBOLT_TEXTURE_WIDTHBOLT_TEXTURE_HEIGHTCATASTROPHE_BOLT_TEXTURESCATASTROPHE_BOLT_TEXTURE_COUNTCATASTROPHE_DEMONCATASTROPHE_DEMON_TILEDCATASTROPHE_DEMON_SWAPPEDCATASTROPHE_DEMON_SWAPPED_COUNTCATASTROPHE_DEMON_COUNTCATASTROPHE_MIRRORED_DEMONCATASTROPHE_MIRRORED_DEMON_COUNTCATASTROPHE_SHIELDCATASTROPHE_SHIELD_COUNTCATASTROPHE_SWORDCATASTROPHE_HILT_COUNTCATASTROPHE_BLADECATASTROPHE_BLADE_COUNTCATASTROPHE_SWORD_COUNTCATASTROPHE_SPRITESCATASTROPHE_DEMON_COLORSCATASTROPHE_DEMON_LOWEST_PICTURESCATASTROPHE_DEMON_KEPT_PICTURESCATASTROPHE_SHIELD_PALETTECATASTROPHE_HILT_PALETTECATASTROPHE_BLADE_PALETTECATASTROPHE_ACT_ONE_TICKSCATASTROPHE_BLADE_TICKCATASTROPHE_GLEAM_TICKCATASTROPHE_EMERGE_TICKCATASTROPHE_BLUE_TICKCATASTROPHE_DARKEN_TICKCATASTROPHE_GLIMPSE_TICKCATASTROPHE_REVEAL_TICKCATASTROPHE_REVEAL_FADE_TICKCATASTROPHE_BOB_TICKCATASTROPHE_SINK_TICKCATASTROPHE_DRAW_BACK_TICKCATASTROPHE_SWING_TICKCATASTROPHE_SWING_END_TICKCATASTROPHE_STRIKE_TICKCATASTROPHE_DIVE_TICKCATASTROPHE_FLICKER_TICKCATASTROPHE_SEAL_TICKCATASTROPHE_ORB_TICKCATASTROPHE_LANDING_TICKCATASTROPHE_AFTERFLASH_TICKCATASTROPHE_WITHDRAW_TICKCATASTROPHE_WITHDRAW_TICKSCATASTROPHE_SEAL_YCATASTROPHE_SEAL_FOLD_TICKCATASTROPHE_SWIRL_SWELL_TICKCATASTROPHE_ROW_SWAP_TICKCATASTROPHE_ROW_RESTORE_TICKCATASTROPHE_CANVAS_FRONT_TICKCATASTROPHE_LANDING_BURST_SHRINKCATASTROPHE_SWING_DRIFTCATASTROPHE_SWING_SINKCATASTROPHE_DIVE_SPEED_STARTCATASTROPHE_DIVE_ACCELERATIONCATASTROPHE_DIVE_SPEED_MAXCATASTROPHE_SAVED_OBJ_PALETTECATASTROPHE_SAVED_OBJ_COLORSCATASTROPHE_FLASHESCATASTROPHE_CANVAS_FLASHESCATASTROPHE_CANVAS_FLASH_STARTCATASTROPHE_FLASH_LEVELCATASTROPHE_STRIKESCATASTROPHE_STRIKE_STEPSCATASTROPHE_STRIKE_SPARKSCATASTROPHE_STRIKE_TABLE_STARTCATASTROPHE_FORKSCATASTROPHE_SEAL_TRIANGLESCATASTROPHE_ORB_BRIGHTNESSCATASTROPHE_ORB_CENTERCATASTROPHE_SEAL_TILTCATASTROPHE_SEAL_SIDE_TILTCATASTROPHE_SEAL_SCALE_MAXCATASTROPHE_SEAL_GROWTHCATASTROPHE_SEAL_FOLDCATASTROPHE_SWIRL_GROWTHCATASTROPHE_GROUND_FLATTENCATASTROPHE_SWIRL_RISECATASTROPHE_SWIRL_RISE_TICKSCATASTROPHE_AERIAL_SEAL_SCALECATASTROPHE_RING_GROWTHCATASTROPHE_AERIAL_TICKSCATASTROPHE_AERIAL_FLASH_TICKCATASTROPHE_AERIAL_LAUNCH_TICKCATASTROPHE_AERIAL_BURST_TICKCATASTROPHE_AERIAL_WASH_TICKCATASTROPHE_BOLTSCATASTROPHE_SPARKSCATASTROPHE_WASH_LEVELCATASTROPHE_SWEEP_VERTICESCATASTROPHE_SWEEP_STRIPCATASTROPHE_BOLT_PICTURESCATASTROPHE_PARTICLESCATASTROPHE_BURSTSCATASTROPHE_DEBRISCATASTROPHE_BURST_LIFECATASTROPHE_DEBRIS_LIFECATASTROPHE_SWEEP_BOLTSCATASTROPHE_TARGET_DEBRISCATASTROPHE_BOLT_DEBRISCATASTROPHE_SWEEP_ROWSCATASTROPHE_SWEEP_WAVECATASTROPHE_SWEEP_SCALECATASTROPHE_BAND_SCALECATASTROPHE_SLASH_SCALE_XCATASTROPHE_SLASH_SCALE_YCATASTROPHE_SWEEP_TICKSCATASTROPHE_SWEEP_START_TICKCATASTROPHE_SWEEP_PUSH_TICKCATASTROPHE_SWEEP_RUSH_TICKCATASTROPHE_SWEEP_STRIKE_TICKCATASTROPHE_SWEEP_WHITEN_TICKCATASTROPHE_SWEEP_DAMAGE_TICKCATASTROPHE_PANCATASTROPHE_PAN_SPEEDFunctions in detailbtEffectRunCatastrophe