src/battle_effect/battle_effect_judgment.c
The Judgment summon. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | JUDGMENT_GATHER_TICKS 160 | The gathering's length and the sweep's, in ticks. |
#define | JUDGMENT_SWEEP_TICKS 336 | |
#define | JUDGMENT_BEAM_TICK 144 | The gathering's crash: the canvas fills to JUDGMENT_CRASH_LEVEL the tick before, then the beams fall. |
#define | JUDGMENT_CRASH_LEVEL 42 | |
#define | JUDGMENT_SHIELD_SWING_TICK 72 | The gathering's turns: Judgment swings its shield round as the battle background darkens, then holds it forward; the motes start to circle in, the knight brightens, and the glow swells. |
#define | JUDGMENT_SHIELD_FORWARD_TICK 76 | |
#define | JUDGMENT_MOTES_TICK 80 | |
#define | JUDGMENT_BRIGHTEN_TICK 108 | |
#define | JUDGMENT_GLOW_TICK 116 | |
#define | JUDGMENT_FORMATION_OBJECTS 16 | Sprites in the formation, 4x4. |
#define | JUDGMENT_FORMATION_COLUMNS 4 | |
#define | JUDGMENT_FORMATION_SPRITE_SIZE 32 | |
#define | JUDGMENT_SHIELD_FORWARD_OBJECTS 13 | The formation's last pose, its lion shield held before it (WingedKnightCTiles), draws JUDGMENT_SHIELD_FORWARD_OBJECTS of the sprites and leaves the three JUDGMENT_SHIELD_FORWARD_EMPTY says empty. |
#define | JUDGMENT_SHIELD_FORWARD_EMPTY (i) ((i) == 8 || (i) == 12 || (i) == 15) | |
#define | JUDGMENT_DEBRIS_OBJECTS 16 | Debris sprites of the sweep. |
#define | JUDGMENT_BURST_X 60 | Where the motes gather on the canvas, at Judgment's shield: the glow, its shards and the falling beams are drawn about it. |
#define | JUDGMENT_BURST_Y 80 | |
#define | JUDGMENT_SHARD_RADIUS 16 | How far from the burst's centre its shards flicker as the glow swells, out to twice as far. |
#define | JUDGMENT_MOTES_X 56 | The point the gathering's motes circle in to, just below the burst. |
#define | JUDGMENT_MOTES_Y 96 | |
#define | JUDGMENT_MOTE_DEPTH 60 | The gathering motes' depths either side of their centre; a mote is drawn a size larger for each JUDGMENT_MOTE_SIZE_DEPTH nearer, from size 2. |
#define | JUDGMENT_MOTE_SIZE_DEPTH 20 | |
#define | JUDGMENT_BEAM_WIDTH 24 | The pink burst's beam picture, at the sprite sheet's start. |
#define | JUDGMENT_BEAM_HEIGHT 64 | |
#define | JUDGMENT_SHEET_TORNADO PICTURE_BYTES(JUDGMENT_BEAM) | The tornado sprite sheet, after the beam; its six glint pictures are the glow's shards (JudgmentShardPictures counts from the sprite sheet's start). |
#define | JUDGMENT_SHEET_GLOW (JUDGMENT_SHEET_TORNADO + GLINT_SET_BYTES) | The glow, a shaded disc up to JUDGMENT_GLOW_SIZE pixels tall, drawn over the tornado sprite sheet's strips after its six glints. |
#define | JUDGMENT_GLOW_SIZE 80 | |
#define | JUDGMENT_SHEET_EXPLOSION 16384 | The explosion's four pictures, loaded over the flares on the sweep's tick 64. |
#define | JUDGMENT_FLARE_WIDTH 24 | The two flare pictures, from the crescent sprite sheet the sweep loads. |
#define | JUDGMENT_FLARE_HEIGHT 24 | |
#define | JUDGMENT_SHEET_FLARE_A 16384 | |
#define | JUDGMENT_SHEET_FLARE_B | |
#define | JUDGMENT_SHEET_FLASH_SMALL_WIDTH 16 | JudgmentFlashSheet's three flash pictures, a byte a pixel, one after another in the sprite sheet: the small flash, the large flash and the glow. |
#define | JUDGMENT_SHEET_FLASH_SMALL_HEIGHT 17 | |
#define | JUDGMENT_SHEET_FLASH_LARGE_WIDTH 24 | |
#define | JUDGMENT_SHEET_FLASH_LARGE_HEIGHT 41 | |
#define | JUDGMENT_SHEET_FLASH_GLOW_WIDTH 22 | |
#define | JUDGMENT_SHEET_FLASH_GLOW_HEIGHT 44 | |
#define | JUDGMENT_SHEET_FLASH_SMALL 24576 | |
#define | JUDGMENT_SHEET_FLASH_LARGE | |
#define | JUDGMENT_SHEET_FLASH_GLOW | |
#define | JUDGMENT_EXPLOSION_WIDTH 32 | |
#define | JUDGMENT_EXPLOSION_HEIGHT 54 | |
#define | JUDGMENT_EXPLOSION_PICTURE_BYTES PICTURE_BYTES(JUDGMENT_EXPLOSION) | |
#define | JUDGMENT_FIRE_RING 16384 | FireRingTexture, in the map cell buffer: the rings of light that spread over the ground at the crash and at the flare's explosion, tilted JUDGMENT_CRASH_RING_TILT and JUDGMENT_FLASH_RING_TILT. |
#define | JUDGMENT_FIRE_RING_FADE_TICK 152 | The ticks from which the crash's ring and the explosion's ring fade, eight levels a tick. |
#define | JUDGMENT_FLASH_RING_FADE_TICK 80 | |
#define | JUDGMENT_CRASH_RING_TILT 3000 | |
#define | JUDGMENT_FLASH_RING_TILT 5000 | |
#define | JUDGMENT_SWEEP_EXPLOSION 64 | The sweep's scenes, by the tick each opens on: the flare lands on the aerial view and it explodes, the wave crosses the beach, the debris rises in the forest, and the battle returns. |
#define | JUDGMENT_SWEEP_BEACH 150 | |
#define | JUDGMENT_SWEEP_FOREST 214 | |
#define | JUDGMENT_SWEEP_RETURN 280 | |
#define | JUDGMENT_SKIP_DELAY 5 | |
#define | JUDGMENT_WAVE_SIZE 120 | |
#define | JUDGMENT_RING_LEVEL 20 | The level the wave's rings are drawn at. |
#define | JUDGMENT_SWEEP_CANVAS_X ((DISPLAY_WIDTH - JUDGMENT_WAVE_SIZE) / 2) | Where the canvas sits on the screen in the sweep: the wave picture centred. |
#define | JUDGMENT_FLARE_X (JUDGMENT_WAVE_SIZE / 2) | The column of the wave picture the flare falls down and the aerial view's rings spread from, at JUDGMENT_AERIAL_RINGS_Y; the beach's rings spread from further right and higher. |
#define | JUDGMENT_AERIAL_RINGS_Y 44 | |
#define | JUDGMENT_BEACH_RINGS_X 112 | |
#define | JUDGMENT_BEACH_RINGS_Y 32 | |
#define | JUDGMENT_RETURN_BLAST_X (DISPLAY_WIDTH + 32) | Where the blast and its debris sweep back in from as the battle returns, beyond the screen's right edge. |
#define | JUDGMENT_FLARE_LAND_Y 60 | The explosion, on the sweep's clock. |
#define | JUDGMENT_FLASH_LARGE_TICK 66 | |
#define | JUDGMENT_FLASH_GLOWS_TICK 68 | |
#define | JUDGMENT_FLASH_WHITE_TICK 69 | |
#define | JUDGMENT_FLASH_RESTORE_TICK 70 | |
#define | JUDGMENT_FLASH_RING_TICK 72 | |
#define | JUDGMENT_FLASH_RING_TICKS 16 | |
#define | JUDGMENT_FLASH_GLOWS_END 76 | |
#define | JUDGMENT_SECOND_FLASH_TICK 78 | |
#define | JUDGMENT_SECOND_LARGE_TICK 80 | |
#define | JUDGMENT_SECOND_GLOWS_TICK 82 | |
#define | JUDGMENT_WAVE_TICK 86 | |
#define | JUDGMENT_FLASH_LEFT (name) (JUDGMENT_FLARE_X - name##_WIDTH / 2) | The flashes' places, each centred on the flare's landing point, the small one a pixel high. |
#define | JUDGMENT_FLASH_TOP (name) (JUDGMENT_FLARE_LAND_Y - name##_HEIGHT / 2) | |
#define | JUDGMENT_FLASH_SMALL_X JUDGMENT_FLASH_LEFT(JUDGMENT_SHEET_FLASH_SMALL) | |
#define | JUDGMENT_FLASH_SMALL_Y | |
#define | JUDGMENT_FLASH_LARGE_X JUDGMENT_FLASH_LEFT(JUDGMENT_SHEET_FLASH_LARGE) | |
#define | JUDGMENT_FLASH_LARGE_Y JUDGMENT_FLASH_TOP(JUDGMENT_SHEET_FLASH_LARGE) | |
#define | JUDGMENT_FLASH_GLOW_X JUDGMENT_FLASH_LEFT(JUDGMENT_SHEET_FLASH_GLOW) | |
#define | JUDGMENT_FLASH_GLOW_Y JUDGMENT_FLASH_TOP(JUDGMENT_SHEET_FLASH_GLOW) | |
#define | JUDGMENT_DRAIN_SOUND_TICK 88 | The sweep's sounds after the explosion's: SE_WATER_DRAIN over the aerial view, SE_WAVE on the beach and SE_SWITCH_MECHANISM in the forest. |
#define | JUDGMENT_WAVE_SOUND_TICK 155 | |
#define | JUDGMENT_FOREST_SOUND_TICK 217 | |
#define | JUDGMENT_BEACH_FLASH_TICK 182 | The canvas flashes white in the beach and in the forest. |
#define | JUDGMENT_FOREST_FLASH_TICK 238 | |
#define | JUDGMENT_BLAST_TICK 246 | |
#define | JUDGMENT_STRIKE_TICK 300 | |
#define | JUDGMENT_DEBRIS_END_TICK 302 | |
#define | JUDGMENT_END_FLASH_TICK 318 | |
#define | JUDGMENT_PLOT_RING_POINTS (left, right, top, bottom) | Sets a ring's four mirrored points (left or right, top or bottom) of the wave picture to JUDGMENT_RING_LEVEL. |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunJudgment (BATTLE_EFFECT_PARM *args) | The battle wipes away to a violet sky where Judgment, a winged knight with a lion shield, flies forward while motes gather into its shield; a glow swells there and bursts, beams fall and a ring of light spreads below, then a flare falls on the land below and explodes in rings of light, and the blast sweeps over a beach and through a forest, throwing up rocks, before the battle returns. |
Variables
| Name | Description | |
|---|---|---|
extern const SCALE | JudgmentUnitScale | Judgment's sprite scale, one to one. |
Description
The Judgment summon. Part of battle_effect.c.
Macros in detail
JUDGMENT_GATHER_TICKS
#define JUDGMENT_GATHER_TICKS 160
The gathering's length and the sweep's, in ticks.
Referenced by btEffectRunJudgment().
Definition at line 7 of file battle_effect_judgment.c.
JUDGMENT_SWEEP_TICKS
#define JUDGMENT_SWEEP_TICKS 336
Referenced by btEffectRunJudgment().
Definition at line 8 of file battle_effect_judgment.c.
JUDGMENT_BEAM_TICK
#define JUDGMENT_BEAM_TICK 144
The gathering's crash: the canvas fills to JUDGMENT_CRASH_LEVEL the tick
before, then the beams fall.
Referenced by btEffectRunJudgment().
Definition at line 11 of file battle_effect_judgment.c.
JUDGMENT_CRASH_LEVEL
#define JUDGMENT_CRASH_LEVEL 42
Referenced by btEffectRunJudgment().
Definition at line 12 of file battle_effect_judgment.c.
JUDGMENT_SHIELD_SWING_TICK
#define JUDGMENT_SHIELD_SWING_TICK 72
The gathering's turns: Judgment swings its shield round as the battle background darkens, then holds it forward; the motes start to circle in, the knight brightens, and the glow swells.
Referenced by btEffectRunJudgment().
Definition at line 16 of file battle_effect_judgment.c.
JUDGMENT_SHIELD_FORWARD_TICK
#define JUDGMENT_SHIELD_FORWARD_TICK 76
Referenced by btEffectRunJudgment().
Definition at line 17 of file battle_effect_judgment.c.
JUDGMENT_MOTES_TICK
#define JUDGMENT_MOTES_TICK 80
Referenced by btEffectRunJudgment().
Definition at line 18 of file battle_effect_judgment.c.
JUDGMENT_BRIGHTEN_TICK
#define JUDGMENT_BRIGHTEN_TICK 108
Referenced by btEffectRunJudgment().
Definition at line 19 of file battle_effect_judgment.c.
JUDGMENT_GLOW_TICK
#define JUDGMENT_GLOW_TICK 116
Referenced by btEffectRunJudgment().
Definition at line 20 of file battle_effect_judgment.c.
JUDGMENT_FORMATION_OBJECTS
#define JUDGMENT_FORMATION_OBJECTS 16
Sprites in the formation, 4x4.
Referenced by btEffectRunJudgment().
Definition at line 22 of file battle_effect_judgment.c.
JUDGMENT_FORMATION_COLUMNS
#define JUDGMENT_FORMATION_COLUMNS 4
Referenced by btEffectRunJudgment().
Definition at line 23 of file battle_effect_judgment.c.
JUDGMENT_FORMATION_SPRITE_SIZE
#define JUDGMENT_FORMATION_SPRITE_SIZE 32
Referenced by btEffectRunJudgment().
Definition at line 24 of file battle_effect_judgment.c.
JUDGMENT_SHIELD_FORWARD_OBJECTS
#define JUDGMENT_SHIELD_FORWARD_OBJECTS 13
The formation's last pose, its lion shield held before it
(WingedKnightCTiles), draws JUDGMENT_SHIELD_FORWARD_OBJECTS of the sprites
and leaves the three JUDGMENT_SHIELD_FORWARD_EMPTY says empty.
Referenced by btEffectRunJudgment().
Definition at line 28 of file battle_effect_judgment.c.
JUDGMENT_SHIELD_FORWARD_EMPTY
#define JUDGMENT_SHIELD_FORWARD_EMPTY(i) ((i) == 8 || (i) == 12 || (i) == 15)
Referenced by btEffectRunJudgment().
Definition at line 29 of file battle_effect_judgment.c.
JUDGMENT_DEBRIS_OBJECTS
#define JUDGMENT_DEBRIS_OBJECTS 16
Debris sprites of the sweep.
Referenced by btEffectRunJudgment().
Definition at line 31 of file battle_effect_judgment.c.
JUDGMENT_BURST_X
#define JUDGMENT_BURST_X 60
Where the motes gather on the canvas, at Judgment's shield: the glow, its shards and the falling beams are drawn about it.
Referenced by btEffectRunJudgment().
Definition at line 35 of file battle_effect_judgment.c.
JUDGMENT_BURST_Y
#define JUDGMENT_BURST_Y 80
Referenced by btEffectRunJudgment().
Definition at line 36 of file battle_effect_judgment.c.
JUDGMENT_SHARD_RADIUS
#define JUDGMENT_SHARD_RADIUS 16
How far from the burst's centre its shards flicker as the glow swells, out to twice as far.
Referenced by btEffectRunJudgment().
Definition at line 39 of file battle_effect_judgment.c.
JUDGMENT_MOTES_X
#define JUDGMENT_MOTES_X 56
The point the gathering's motes circle in to, just below the burst.
Referenced by btEffectRunJudgment().
Definition at line 41 of file battle_effect_judgment.c.
JUDGMENT_MOTES_Y
#define JUDGMENT_MOTES_Y 96
Referenced by btEffectRunJudgment().
Definition at line 42 of file battle_effect_judgment.c.
JUDGMENT_MOTE_DEPTH
#define JUDGMENT_MOTE_DEPTH 60
The gathering motes' depths either side of their centre; a mote is drawn a
size larger for each JUDGMENT_MOTE_SIZE_DEPTH nearer, from size 2.
Referenced by btEffectRunJudgment().
Definition at line 45 of file battle_effect_judgment.c.
JUDGMENT_MOTE_SIZE_DEPTH
#define JUDGMENT_MOTE_SIZE_DEPTH 20
Referenced by btEffectRunJudgment().
Definition at line 46 of file battle_effect_judgment.c.
JUDGMENT_BEAM_WIDTH
#define JUDGMENT_BEAM_WIDTH 24
The pink burst's beam picture, at the sprite sheet's start.
Referenced by btEffectRunJudgment().
Definition at line 48 of file battle_effect_judgment.c.
JUDGMENT_BEAM_HEIGHT
#define JUDGMENT_BEAM_HEIGHT 64
Referenced by btEffectRunJudgment().
Definition at line 49 of file battle_effect_judgment.c.
JUDGMENT_SHEET_TORNADO
#define JUDGMENT_SHEET_TORNADO PICTURE_BYTES(JUDGMENT_BEAM)
The tornado sprite sheet, after the beam; its six glint pictures are the
glow's shards (JudgmentShardPictures counts from the sprite sheet's start).
Referenced by btEffectRunJudgment().
Definition at line 52 of file battle_effect_judgment.c.
JUDGMENT_SHEET_GLOW
#define JUDGMENT_SHEET_GLOW (JUDGMENT_SHEET_TORNADO + GLINT_SET_BYTES)
The glow, a shaded disc up to JUDGMENT_GLOW_SIZE pixels tall, drawn over the
tornado sprite sheet's strips after its six glints.
Referenced by btEffectRunJudgment().
Definition at line 55 of file battle_effect_judgment.c.
JUDGMENT_GLOW_SIZE
#define JUDGMENT_GLOW_SIZE 80
Referenced by btEffectRunJudgment().
Definition at line 56 of file battle_effect_judgment.c.
JUDGMENT_SHEET_EXPLOSION
#define JUDGMENT_SHEET_EXPLOSION 16384
The explosion's four pictures, loaded over the flares on the sweep's tick 64.
Referenced by btEffectRunJudgment().
Definition at line 58 of file battle_effect_judgment.c.
JUDGMENT_FLARE_WIDTH
#define JUDGMENT_FLARE_WIDTH 24
The two flare pictures, from the crescent sprite sheet the sweep loads.
Referenced by btEffectRunJudgment().
Definition at line 60 of file battle_effect_judgment.c.
JUDGMENT_FLARE_HEIGHT
#define JUDGMENT_FLARE_HEIGHT 24
Referenced by btEffectRunJudgment().
Definition at line 61 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLARE_A
#define JUDGMENT_SHEET_FLARE_A 16384
Referenced by btEffectRunJudgment().
Definition at line 62 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLARE_B
#define JUDGMENT_SHEET_FLARE_B
Referenced by btEffectRunJudgment().
Definition at line 63 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_SMALL_WIDTH
#define JUDGMENT_SHEET_FLASH_SMALL_WIDTH 16
JudgmentFlashSheet's three flash pictures, a byte a pixel, one after another in the sprite sheet: the small flash, the large flash and the glow.
Definition at line 67 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_SMALL_HEIGHT
#define JUDGMENT_SHEET_FLASH_SMALL_HEIGHT 17
Definition at line 68 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_LARGE_WIDTH
#define JUDGMENT_SHEET_FLASH_LARGE_WIDTH 24
Definition at line 69 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_LARGE_HEIGHT
#define JUDGMENT_SHEET_FLASH_LARGE_HEIGHT 41
Definition at line 70 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_GLOW_WIDTH
#define JUDGMENT_SHEET_FLASH_GLOW_WIDTH 22
Definition at line 71 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_GLOW_HEIGHT
#define JUDGMENT_SHEET_FLASH_GLOW_HEIGHT 44
Definition at line 72 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_SMALL
#define JUDGMENT_SHEET_FLASH_SMALL 24576
Referenced by btEffectRunJudgment().
Definition at line 73 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_LARGE
#define JUDGMENT_SHEET_FLASH_LARGE
Referenced by btEffectRunJudgment().
Definition at line 74 of file battle_effect_judgment.c.
JUDGMENT_SHEET_FLASH_GLOW
#define JUDGMENT_SHEET_FLASH_GLOW
Referenced by btEffectRunJudgment().
Definition at line 76 of file battle_effect_judgment.c.
JUDGMENT_EXPLOSION_WIDTH
#define JUDGMENT_EXPLOSION_WIDTH 32
Referenced by btEffectRunJudgment().
Definition at line 78 of file battle_effect_judgment.c.
JUDGMENT_EXPLOSION_HEIGHT
#define JUDGMENT_EXPLOSION_HEIGHT 54
Referenced by btEffectRunJudgment().
Definition at line 79 of file battle_effect_judgment.c.
JUDGMENT_EXPLOSION_PICTURE_BYTES
#define JUDGMENT_EXPLOSION_PICTURE_BYTES PICTURE_BYTES(JUDGMENT_EXPLOSION)
Referenced by btEffectRunJudgment().
Definition at line 80 of file battle_effect_judgment.c.
JUDGMENT_FIRE_RING
#define JUDGMENT_FIRE_RING 16384
FireRingTexture, in the map cell buffer: the rings of light that spread over
the ground at the crash and at the flare's explosion, tilted
JUDGMENT_CRASH_RING_TILT and JUDGMENT_FLASH_RING_TILT.
Referenced by btEffectRunJudgment().
Definition at line 85 of file battle_effect_judgment.c.
JUDGMENT_FIRE_RING_FADE_TICK
#define JUDGMENT_FIRE_RING_FADE_TICK 152
The ticks from which the crash's ring and the explosion's ring fade, eight levels a tick.
Referenced by btEffectRunJudgment().
Definition at line 88 of file battle_effect_judgment.c.
JUDGMENT_FLASH_RING_FADE_TICK
#define JUDGMENT_FLASH_RING_FADE_TICK 80
Referenced by btEffectRunJudgment().
Definition at line 89 of file battle_effect_judgment.c.
JUDGMENT_CRASH_RING_TILT
#define JUDGMENT_CRASH_RING_TILT 3000
Referenced by btEffectRunJudgment().
Definition at line 90 of file battle_effect_judgment.c.
JUDGMENT_FLASH_RING_TILT
#define JUDGMENT_FLASH_RING_TILT 5000
Referenced by btEffectRunJudgment().
Definition at line 91 of file battle_effect_judgment.c.
JUDGMENT_SWEEP_EXPLOSION
#define JUDGMENT_SWEEP_EXPLOSION 64
The sweep's scenes, by the tick each opens on: the flare lands on the aerial view and it explodes, the wave crosses the beach, the debris rises in the forest, and the battle returns. A or B skips to the next scene from five ticks into one.
Referenced by btEffectRunJudgment().
Definition at line 97 of file battle_effect_judgment.c.
JUDGMENT_SWEEP_BEACH
#define JUDGMENT_SWEEP_BEACH 150
Referenced by btEffectRunJudgment().
Definition at line 98 of file battle_effect_judgment.c.
JUDGMENT_SWEEP_FOREST
#define JUDGMENT_SWEEP_FOREST 214
Referenced by btEffectRunJudgment().
Definition at line 99 of file battle_effect_judgment.c.
JUDGMENT_SWEEP_RETURN
#define JUDGMENT_SWEEP_RETURN 280
Referenced by btEffectRunJudgment().
Definition at line 100 of file battle_effect_judgment.c.
JUDGMENT_SKIP_DELAY
#define JUDGMENT_SKIP_DELAY 5
Referenced by btEffectRunJudgment().
Definition at line 101 of file battle_effect_judgment.c.
JUDGMENT_WAVE_SIZE
#define JUDGMENT_WAVE_SIZE 120
Referenced by btEffectRunJudgment().
Definition at line 102 of file battle_effect_judgment.c.
JUDGMENT_RING_LEVEL
#define JUDGMENT_RING_LEVEL 20
The level the wave's rings are drawn at.
Definition at line 104 of file battle_effect_judgment.c.
JUDGMENT_SWEEP_CANVAS_X
#define JUDGMENT_SWEEP_CANVAS_X ((DISPLAY_WIDTH - JUDGMENT_WAVE_SIZE) / 2)
Where the canvas sits on the screen in the sweep: the wave picture centred.
Referenced by btEffectRunJudgment().
Definition at line 106 of file battle_effect_judgment.c.
JUDGMENT_FLARE_X
#define JUDGMENT_FLARE_X (JUDGMENT_WAVE_SIZE / 2)
The column of the wave picture the flare falls down and the aerial view's
rings spread from, at JUDGMENT_AERIAL_RINGS_Y; the beach's rings spread from
further right and higher.
Referenced by btEffectRunJudgment().
Definition at line 110 of file battle_effect_judgment.c.
JUDGMENT_AERIAL_RINGS_Y
#define JUDGMENT_AERIAL_RINGS_Y 44
Referenced by btEffectRunJudgment().
Definition at line 111 of file battle_effect_judgment.c.
JUDGMENT_BEACH_RINGS_X
#define JUDGMENT_BEACH_RINGS_X 112
Referenced by btEffectRunJudgment().
Definition at line 112 of file battle_effect_judgment.c.
JUDGMENT_BEACH_RINGS_Y
#define JUDGMENT_BEACH_RINGS_Y 32
Referenced by btEffectRunJudgment().
Definition at line 113 of file battle_effect_judgment.c.
JUDGMENT_RETURN_BLAST_X
#define JUDGMENT_RETURN_BLAST_X (DISPLAY_WIDTH + 32)
Where the blast and its debris sweep back in from as the battle returns, beyond the screen's right edge.
Referenced by btEffectRunJudgment().
Definition at line 116 of file battle_effect_judgment.c.
JUDGMENT_FLARE_LAND_Y
#define JUDGMENT_FLARE_LAND_Y 60
The explosion, on the sweep's clock. The flare lands at (JUDGMENT_FLARE_X,
JUDGMENT_FLARE_LAND_Y) and flashes there twice: the small flash, then from
JUDGMENT_FLASH_LARGE_TICK the large one, as a sound plays and the
background's colours are inverted, then from JUDGMENT_FLASH_GLOWS_TICK four
glows close in on it until JUDGMENT_FLASH_GLOWS_END. The canvas flashes white
at JUDGMENT_FLASH_WHITE_TICK, and at JUDGMENT_FLASH_RESTORE_TICK the
background's colours come back darker. From JUDGMENT_FLASH_RING_TICK a ring
of light spreads for JUDGMENT_FLASH_RING_TICKS. The second flash starts at
JUDGMENT_SECOND_FLASH_TICK, its large flash at JUDGMENT_SECOND_LARGE_TICK and
its glows, which spread out, at JUDGMENT_SECOND_GLOWS_TICK; at
JUDGMENT_WAVE_TICK the wave's rings and a fan of bursts spread from the
aerial view's rings' centre.
Definition at line 130 of file battle_effect_judgment.c.
JUDGMENT_FLASH_LARGE_TICK
#define JUDGMENT_FLASH_LARGE_TICK 66
Referenced by btEffectRunJudgment().
Definition at line 131 of file battle_effect_judgment.c.
JUDGMENT_FLASH_GLOWS_TICK
#define JUDGMENT_FLASH_GLOWS_TICK 68
Referenced by btEffectRunJudgment().
Definition at line 132 of file battle_effect_judgment.c.
JUDGMENT_FLASH_WHITE_TICK
#define JUDGMENT_FLASH_WHITE_TICK 69
Referenced by btEffectRunJudgment().
Definition at line 133 of file battle_effect_judgment.c.
JUDGMENT_FLASH_RESTORE_TICK
#define JUDGMENT_FLASH_RESTORE_TICK 70
Referenced by btEffectRunJudgment().
Definition at line 134 of file battle_effect_judgment.c.
JUDGMENT_FLASH_RING_TICK
#define JUDGMENT_FLASH_RING_TICK 72
Referenced by btEffectRunJudgment().
Definition at line 135 of file battle_effect_judgment.c.
JUDGMENT_FLASH_RING_TICKS
#define JUDGMENT_FLASH_RING_TICKS 16
Referenced by btEffectRunJudgment().
Definition at line 136 of file battle_effect_judgment.c.
JUDGMENT_FLASH_GLOWS_END
#define JUDGMENT_FLASH_GLOWS_END 76
Referenced by btEffectRunJudgment().
Definition at line 137 of file battle_effect_judgment.c.
JUDGMENT_SECOND_FLASH_TICK
#define JUDGMENT_SECOND_FLASH_TICK 78
Referenced by btEffectRunJudgment().
Definition at line 138 of file battle_effect_judgment.c.
JUDGMENT_SECOND_LARGE_TICK
#define JUDGMENT_SECOND_LARGE_TICK 80
Referenced by btEffectRunJudgment().
Definition at line 139 of file battle_effect_judgment.c.
JUDGMENT_SECOND_GLOWS_TICK
#define JUDGMENT_SECOND_GLOWS_TICK 82
Referenced by btEffectRunJudgment().
Definition at line 140 of file battle_effect_judgment.c.
JUDGMENT_WAVE_TICK
#define JUDGMENT_WAVE_TICK 86
Referenced by btEffectRunJudgment().
Definition at line 141 of file battle_effect_judgment.c.
JUDGMENT_FLASH_LEFT
#define JUDGMENT_FLASH_LEFT(name) (JUDGMENT_FLARE_X - name##_WIDTH / 2)
The flashes' places, each centred on the flare's landing point, the small one a pixel high.
Definition at line 144 of file battle_effect_judgment.c.
JUDGMENT_FLASH_TOP
#define JUDGMENT_FLASH_TOP(name) (JUDGMENT_FLARE_LAND_Y - name##_HEIGHT / 2)
Definition at line 145 of file battle_effect_judgment.c.
JUDGMENT_FLASH_SMALL_X
#define JUDGMENT_FLASH_SMALL_X JUDGMENT_FLASH_LEFT(JUDGMENT_SHEET_FLASH_SMALL)
Referenced by btEffectRunJudgment().
Definition at line 146 of file battle_effect_judgment.c.
JUDGMENT_FLASH_SMALL_Y
#define JUDGMENT_FLASH_SMALL_Y
Referenced by btEffectRunJudgment().
Definition at line 147 of file battle_effect_judgment.c.
JUDGMENT_FLASH_LARGE_X
#define JUDGMENT_FLASH_LARGE_X JUDGMENT_FLASH_LEFT(JUDGMENT_SHEET_FLASH_LARGE)
Referenced by btEffectRunJudgment().
Definition at line 149 of file battle_effect_judgment.c.
JUDGMENT_FLASH_LARGE_Y
#define JUDGMENT_FLASH_LARGE_Y JUDGMENT_FLASH_TOP(JUDGMENT_SHEET_FLASH_LARGE)
Referenced by btEffectRunJudgment().
Definition at line 150 of file battle_effect_judgment.c.
JUDGMENT_FLASH_GLOW_X
#define JUDGMENT_FLASH_GLOW_X JUDGMENT_FLASH_LEFT(JUDGMENT_SHEET_FLASH_GLOW)
Referenced by btEffectRunJudgment().
Definition at line 151 of file battle_effect_judgment.c.
JUDGMENT_FLASH_GLOW_Y
#define JUDGMENT_FLASH_GLOW_Y JUDGMENT_FLASH_TOP(JUDGMENT_SHEET_FLASH_GLOW)
Referenced by btEffectRunJudgment().
Definition at line 152 of file battle_effect_judgment.c.
JUDGMENT_DRAIN_SOUND_TICK
#define JUDGMENT_DRAIN_SOUND_TICK 88
The sweep's sounds after the explosion's: SE_WATER_DRAIN over the aerial
view, SE_WAVE on the beach and SE_SWITCH_MECHANISM in the forest.
Referenced by btEffectRunJudgment().
Definition at line 155 of file battle_effect_judgment.c.
JUDGMENT_WAVE_SOUND_TICK
#define JUDGMENT_WAVE_SOUND_TICK 155
Referenced by btEffectRunJudgment().
Definition at line 156 of file battle_effect_judgment.c.
JUDGMENT_FOREST_SOUND_TICK
#define JUDGMENT_FOREST_SOUND_TICK 217
Referenced by btEffectRunJudgment().
Definition at line 157 of file battle_effect_judgment.c.
JUDGMENT_BEACH_FLASH_TICK
#define JUDGMENT_BEACH_FLASH_TICK 182
The canvas flashes white in the beach and in the forest. From
JUDGMENT_BLAST_TICK the blast sweeps through the forest and each piece of
debris that has risen starts again from the ground. The foes are struck at
JUDGMENT_STRIKE_TICK, and from JUDGMENT_DEBRIS_END_TICK debris that has risen
is put away; at JUDGMENT_END_FLASH_TICK the canvas flashes white and then
darkens away.
Referenced by btEffectRunJudgment().
Definition at line 164 of file battle_effect_judgment.c.
JUDGMENT_FOREST_FLASH_TICK
#define JUDGMENT_FOREST_FLASH_TICK 238
Referenced by btEffectRunJudgment().
Definition at line 165 of file battle_effect_judgment.c.
JUDGMENT_BLAST_TICK
#define JUDGMENT_BLAST_TICK 246
Referenced by btEffectRunJudgment().
Definition at line 166 of file battle_effect_judgment.c.
JUDGMENT_STRIKE_TICK
#define JUDGMENT_STRIKE_TICK 300
Referenced by btEffectRunJudgment().
Definition at line 167 of file battle_effect_judgment.c.
JUDGMENT_DEBRIS_END_TICK
#define JUDGMENT_DEBRIS_END_TICK 302
Referenced by btEffectRunJudgment().
Definition at line 168 of file battle_effect_judgment.c.
JUDGMENT_END_FLASH_TICK
#define JUDGMENT_END_FLASH_TICK 318
Referenced by btEffectRunJudgment().
Definition at line 169 of file battle_effect_judgment.c.
JUDGMENT_PLOT_RING_POINTS
#define JUDGMENT_PLOT_RING_POINTS(left, right, top, bottom)
Sets a ring's four mirrored points (left or right, top or bottom) of the wave
picture to JUDGMENT_RING_LEVEL.
Referenced by btEffectRunJudgment().
Definition at line 173 of file battle_effect_judgment.c.
Functions in detail
btEffectRunJudgment
void btEffectRunJudgment(BATTLE_EFFECT_PARM *args)
The battle wipes away to a violet sky where Judgment, a winged knight with a lion shield, flies forward while motes gather into its shield; a glow swells there and bursts, beams fall and a ring of light spreads below, then a flare falls on the land below and explodes in rings of light, and the blast sweeps over a beach and through a forest, throwing up rocks, before the battle returns.
Abilities: Judgment.
References BattleEffectGroundSquareCorners, BattleEffectLargeSquareMesh, BgScrollWork, btBackgroundLoadStub(), btBackgroundSetModeStub(), btCanvasBlitMirroredQuarters(), btEffectConfigureEffectDisplay(), btEffectDrawShadedDiscQuarter(), btEffectPosProjectPoint(), btEffectSetupBlendedDisplay(), btEffectShowLivingTargets(), btEffectSpriteCreateWithTiles(), btEffectTransferCanvas(), btEffectWipeCanvas(), btGraphicsLoadGreyRamp(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), fdRenderApplyProjectedPlacementStub(), fdSpriteCreateStub(), fdSpriteDestroyStub(), fdSpriteStartAnimationStub(), JudgmentShardHeights, JudgmentShardPictures, JudgmentShardWidths, JudgmentShieldSprites, JudgmentUnitScale, PerWork, ProjectionWork, Sint32, syCos(), syDecompressTaggedLZ(), syDMAXCopy(), syHeapAllocateEWRAM(), syHeapRelease(), syHeapSlotRelease(), syInitMatrix(), syMatrixScaleUniform(), syPaletteLoadBasicSpriteColors(), syRandom(), syResourceGetTableEntry(), syRotX(), syRotY(), syRotZ(), sySetEvent(), sySin(), sySoundPlayStub(), sySpritePlacementValues(), sySynch() and 3 more.
Referenced by btEffectRunSummon().
Definition at line 189 of file battle_effect_judgment.c.