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
| Name | Description | |
|---|---|---|
struct | MESH_VERTEX | A corner of a strip as an effect builds it, in signed bytes: the smoke band of Catastrophe's last act, Haures's bands. |
Macros
| Name | Description | |
|---|---|---|
#define | CATASTROPHE_FLASH_BURST_PICTURES 6144 | Where FlashBurstSheet is decoded in the effect's pictures. |
#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. |
#define | CATASTROPHE_PENTAGON_SEAL 4096 | |
#define | CATASTROPHE_RING 8192 | |
#define | CATASTROPHE_SWEEP_PICTURES 2048 | |
#define | LIGHTNING_FORK_WIDTH 32 | LightningTexture's two 32x48 forks, which flash in act one's sky. |
#define | LIGHTNING_FORK_HEIGHT 48 | |
#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. |
#define | JAGGED_STREAK_HEIGHT 128 | |
#define | BOLT_TEXTURE_WIDTH 32 | |
#define | BOLT_TEXTURE_HEIGHT 128 | |
#define | CATASTROPHE_BOLT_TEXTURES (CATASTROPHE_SWEEP_PICTURES + GLINT_SET_BYTES) | |
#define | CATASTROPHE_BOLT_TEXTURE_COUNT 4 | |
#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). |
#define | CATASTROPHE_DEMON_TILED 24 | |
#define | CATASTROPHE_DEMON_SWAPPED 24 | |
#define | CATASTROPHE_DEMON_SWAPPED_COUNT 4 | |
#define | CATASTROPHE_DEMON_COUNT 28 | |
#define | CATASTROPHE_MIRRORED_DEMON 28 | |
#define | CATASTROPHE_MIRRORED_DEMON_COUNT 6 | |
#define | CATASTROPHE_SHIELD 34 | |
#define | CATASTROPHE_SHIELD_COUNT 5 | |
#define | CATASTROPHE_SWORD 39 | |
#define | CATASTROPHE_HILT_COUNT 5 | |
#define | CATASTROPHE_BLADE 44 | |
#define | CATASTROPHE_BLADE_COUNT 6 | |
#define | CATASTROPHE_SWORD_COUNT | |
#define | CATASTROPHE_SPRITES 50 | |
#define | CATASTROPHE_DEMON_COLORS 192 | ChainedDemonTiles' colours, OBJ palette 0 to 191. |
#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. |
#define | CATASTROPHE_DEMON_KEPT_PICTURES | |
#define | CATASTROPHE_SHIELD_PALETTE 12 | The OBJ palettes of the shield, the sword's hilt and its blade. |
#define | CATASTROPHE_HILT_PALETTE 13 | |
#define | CATASTROPHE_BLADE_PALETTE 14 | |
#define | CATASTROPHE_ACT_ONE_TICKS 637 | The ticks of act one, unless A or B skips it, and its turns. |
#define | CATASTROPHE_BLADE_TICK 106 | |
#define | CATASTROPHE_GLEAM_TICK 154 | |
#define | CATASTROPHE_EMERGE_TICK 226 | |
#define | CATASTROPHE_BLUE_TICK 242 | |
#define | CATASTROPHE_DARKEN_TICK 256 | |
#define | CATASTROPHE_GLIMPSE_TICK 282 | |
#define | CATASTROPHE_REVEAL_TICK 324 | |
#define | CATASTROPHE_REVEAL_FADE_TICK 332 | |
#define | CATASTROPHE_BOB_TICK 370 | |
#define | CATASTROPHE_SINK_TICK 390 | |
#define | CATASTROPHE_DRAW_BACK_TICK 420 | |
#define | CATASTROPHE_SWING_TICK 472 | |
#define | CATASTROPHE_SWING_END_TICK 486 | |
#define | CATASTROPHE_STRIKE_TICK 489 | |
#define | CATASTROPHE_DIVE_TICK 506 | |
#define | CATASTROPHE_FLICKER_TICK 537 | |
#define | CATASTROPHE_SEAL_TICK 552 | |
#define | CATASTROPHE_ORB_TICK 554 | |
#define | CATASTROPHE_LANDING_TICK 602 | |
#define | CATASTROPHE_AFTERFLASH_TICK 630 | |
#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. |
#define | CATASTROPHE_WITHDRAW_TICKS 10 | |
#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. |
#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. |
#define | CATASTROPHE_SWIRL_SWELL_TICK 590 | |
#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. |
#define | CATASTROPHE_ROW_RESTORE_TICK 450 | |
#define | CATASTROPHE_CANVAS_FRONT_TICK 440 | From this tick the canvas is drawn in front of the sprites. |
#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. |
#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. |
#define | CATASTROPHE_SWING_SINK (toFIXED(1) + 10000) | |
#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. |
#define | CATASTROPHE_DIVE_ACCELERATION 7296 | |
#define | CATASTROPHE_DIVE_SPEED_MAX 120000 | |
#define | CATASTROPHE_SAVED_OBJ_PALETTE 20480 | Where the objects' first 240 colours are kept in the effect's pictures, which the objects fade from. |
#define | CATASTROPHE_SAVED_OBJ_COLORS 240 | |
#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. |
#define | CATASTROPHE_CANVAS_FLASHES 17 | |
#define | CATASTROPHE_CANVAS_FLASH_START 242 | |
#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. |
#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. |
#define | CATASTROPHE_STRIKE_STEPS 12 | |
#define | CATASTROPHE_STRIKE_SPARKS 10 | |
#define | CATASTROPHE_STRIKE_TABLE_START 492 | |
#define | CATASTROPHE_FORKS 7 | The forks of lightning that flash in act one's sky. |
#define | CATASTROPHE_SEAL_TRIANGLES 3 | The seal's three triangles, round its pentagon. |
#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. |
#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). |
#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. |
#define | CATASTROPHE_SEAL_SIDE_TILT 19712 | |
#define | CATASTROPHE_SEAL_SCALE_MAX 140600 | |
#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. |
#define | CATASTROPHE_SEAL_FOLD 1096 | |
#define | CATASTROPHE_SWIRL_GROWTH 11060 | |
#define | CATASTROPHE_GROUND_FLATTEN 32000 | The swirl and the rings of fire are drawn squashed to under half their height, as ellipses. |
#define | CATASTROPHE_SWIRL_RISE 120000 | The swirl over the seal rises this much a tick for its first CATASTROPHE_SWIRL_RISE_TICKS ticks. |
#define | CATASTROPHE_SWIRL_RISE_TICKS 7 | |
#define | CATASTROPHE_AERIAL_SEAL_SCALE (toFIXED(1) + 20000) | The seal's scale as act two opens, under the orb, before it swells. |
#define | CATASTROPHE_RING_GROWTH 12192 | How fast the rings of fire grow, a tick. |
#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. |
#define | CATASTROPHE_AERIAL_FLASH_TICK 80 | |
#define | CATASTROPHE_AERIAL_LAUNCH_TICK 96 | |
#define | CATASTROPHE_AERIAL_BURST_TICK 128 | |
#define | CATASTROPHE_AERIAL_WASH_TICK 140 | |
#define | CATASTROPHE_BOLTS 16 | Act two's bolts, and the sparks after them in state->particles. |
#define | CATASTROPHE_SPARKS 48 | |
#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. |
#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. |
#define | CATASTROPHE_SWEEP_STRIP 8192 | |
#define | CATASTROPHE_BOLT_PICTURES 16384 | |
#define | CATASTROPHE_PARTICLES | |
#define | CATASTROPHE_BURSTS 64 | |
#define | CATASTROPHE_DEBRIS 100 | |
#define | CATASTROPHE_BURST_LIFE 12 | |
#define | CATASTROPHE_DEBRIS_LIFE 16 | |
#define | CATASTROPHE_SWEEP_BOLTS 6 | The bolts that strike as the smoke band sweeps in, one every eight ticks. |
#define | CATASTROPHE_TARGET_DEBRIS 16 | The debris each target throws when struck, and each bolt where it lands. |
#define | CATASTROPHE_BOLT_DEBRIS 12 | |
#define | CATASTROPHE_SWEEP_ROWS 12 | The smoke band's rows of two corners, and its wave's phase a tick. |
#define | CATASTROPHE_SWEEP_WAVE 6096 | |
#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. |
#define | CATASTROPHE_BAND_SCALE 274144 | |
#define | CATASTROPHE_SLASH_SCALE_X 135536 | The claw slash over the band, about twice as wide and half as tall again. |
#define | CATASTROPHE_SLASH_SCALE_Y 105536 | |
#define | CATASTROPHE_SWEEP_TICKS 104 | Act three, CATASTROPHE_SWEEP_TICKS long. |
#define | CATASTROPHE_SWEEP_START_TICK 16 | |
#define | CATASTROPHE_SWEEP_PUSH_TICK 48 | |
#define | CATASTROPHE_SWEEP_RUSH_TICK 60 | |
#define | CATASTROPHE_SWEEP_STRIKE_TICK 66 | |
#define | CATASTROPHE_SWEEP_WHITEN_TICK 72 | |
#define | CATASTROPHE_SWEEP_DAMAGE_TICK 88 | |
#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. |
#define | CATASTROPHE_PAN_SPEED 16 |
Functions
| Name | Description | |
|---|---|---|
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. |
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.