src/battle_effect/battle_effect_vengeance.c
Vengeance and Life Shear, a geyser, swarms of stars and a column of bubbles, and the Coatlicue summon. More…
Included by battle_effect.c.
Structures
| Name | Description | |
|---|---|---|
struct | SHEARS | The shears, in the state's first particle: roll is its z, snip its velocityZ and timer its variant. |
Macros
| Name | Description | |
|---|---|---|
#define | VENGEANCE_TICKS 124 | |
#define | VENGEANCE_ARROWS 7 | Arrows shot, one every VENGEANCE_SHOT_INTERVAL ticks. |
#define | VENGEANCE_FIRST_SHOT 22 | The first arrow's turn. |
#define | VENGEANCE_SHOT_INTERVAL 12 | Ticks between one arrow's turn and the next. |
#define | VENGEANCE_NOCK_TICKS 4 | The ticks from an arrow's turn to its flight, while it rests on the drawn bow (the first rests there from the start); then the string is at rest until the next arrow's turn. |
#define | VENGEANCE_STUCK_TICKS 4 | The ticks a struck arrow stays in the target, its flame out. |
#define | VENGEANCE_ARCHER_WIDTH 88 | Vengeance's sprite sheet: the archer twice, her bow drawn and its string at rest after a shot, then the flame around an arrow's head, the arrow, and her shoulder, drawn again over a nocked arrow so that its end passes behind it. |
#define | VENGEANCE_ARCHER_HEIGHT 96 | |
#define | VENGEANCE_ARCHER_LOOSED PICTURE_BYTES(VENGEANCE_ARCHER) | |
#define | VENGEANCE_FLAME_TIP (2 * PICTURE_BYTES(VENGEANCE_ARCHER)) | |
#define | VENGEANCE_FLAME_TIP_WIDTH 17 | |
#define | VENGEANCE_FLAME_TIP_HEIGHT 12 | |
#define | VENGEANCE_ARROW | |
#define | VENGEANCE_ARROW_WIDTH 51 | |
#define | VENGEANCE_ARROW_HEIGHT 12 | |
#define | VENGEANCE_SHOULDER (VENGEANCE_ARROW + PICTURE_BYTES(VENGEANCE_ARROW)) | |
#define | VENGEANCE_SHOULDER_WIDTH 14 | |
#define | VENGEANCE_SHOULDER_HEIGHT 13 | |
#define | VENGEANCE_ARCHER_X 32 | Where the archer stands on the canvas on the enemies' side, and her shoulder over her picture; on the party's side both are mirrored. |
#define | VENGEANCE_SHOULDER_X (VENGEANCE_ARCHER_X + 56) | |
#define | VENGEANCE_SHOULDER_Y 29 | |
#define | VENGEANCE_TOP 40 | The screen line the archer's picture starts on: her windows cover her height from it. |
#define | VENGEANCE_ARROW_Y 24 | The arrows fly this far down the canvas, plus their own y, level with her bow. |
#define | VENGEANCE_STRIP_Y VENGEANCE_ARCHER_HEIGHT | |
#define | VENGEANCE_CAMERA_TURN (TRIG_TURN / 512) | The camera turns this far a tick while she slides in. |
#define | VENGEANCE_WINDOW_LEFT 120 | On the enemies' side, while she slides in, her windows open this far right of the background's place. |
#define | LIFE_SHEAR_TICKS 90 | |
#define | LIFE_SHEAR_SNIP_TICK 50 | the shears snap shut through the target |
#define | LIFE_SHEAR_WOMAN_WIDTH 55 | Life Shear's sprite sheet, decoded into the map cell buffer: a woman leaping and the same woman striking, then the shears' two blades, each with its pivot ring and handle loop (a pale one 128 by 64 and an orange one 128 by 32), and the flame the flash is made of, 32 by 32. |
#define | LIFE_SHEAR_WOMAN_HEIGHT 88 | |
#define | LIFE_SHEAR_STRIKING | |
#define | LIFE_SHEAR_STRIKING_WIDTH 59 | |
#define | LIFE_SHEAR_STRIKING_HEIGHT 89 | |
#define | LIFE_SHEAR_PALE_BLADE | |
#define | LIFE_SHEAR_PALE_BLADE_WIDTH 128 | |
#define | LIFE_SHEAR_PALE_BLADE_HEIGHT 64 | |
#define | LIFE_SHEAR_ORANGE_BLADE | |
#define | LIFE_SHEAR_ORANGE_BLADE_WIDTH 128 | |
#define | LIFE_SHEAR_ORANGE_BLADE_HEIGHT 32 | |
#define | LIFE_SHEAR_FLAME | |
#define | LIFE_SHEAR_STRIKE_X 64 | Where her striking picture stands on the canvas on the enemies' side; on the party's side it is mirrored. |
#define | LIFE_SHEAR_SHEARS_SCALE 45536 | The shears' scale until they tumble away, and the flash's as it starts. |
#define | LIFE_SHEAR_FLASH_SCALE 85536 | |
#define | LIFE_SHEAR_START_ROLL (-7216) | The shears' roll as they wait above the target, about 40 degrees. |
#define | LIFE_SHEAR_FLASH_ANGLE 22096 | How far the flash's four flames are turned, beyond their quarter turns. |
#define | GEYSER_TICKS 54 | |
#define | GEYSER_DRAW_TICKS 40 | The column shows for GEYSER_DRAW_TICKS; at GEYSER_PEAK_TICK the target hops back and the battle shows the damage. |
#define | GEYSER_PEAK_TICK 20 | |
#define | GEYSER_DROP_COUNT 512 | Drops in PARTICLES, used in a ring. |
#define | GEYSER_BURST 200 | The drops that burst on the first tick, and Djinn Storm's that follow each tick to tick 23; Djinn Blast's are fewer. |
#define | GEYSER_STREAM 16 | |
#define | DJINN_BLAST_BURST 100 | |
#define | DJINN_BLAST_STREAM 2 | |
#define | GEYSER_DROP_SHRUNK_LIFE 16 | A drop's picture is a size for every eight ticks of its life past these, no smaller than its mode's smallest. |
#define | GEYSER_TILT 2000 | How far the column leans back. |
#define | STARS_PER_TARGET 64 | Each target's slice of PARTICLES. |
#define | STAR_TOTAL (6 * STARS_PER_TARGET) | Six targets' slices. |
#define | DJINN_STUN_STARS 16 | The stars of each target's swarm. |
#define | MYSTIC_CALL_STARS 48 | |
#define | STAR_LARGEST 9 | A star is drawn STAR_LARGEST pixels wide at STAR_NEAR_DEPTH or nearer, a pixel less for every STAR_DEPTH_STEP deeper, down to 3. |
#define | STAR_NEAR_DEPTH 250 | |
#define | STAR_DEPTH_STEP 64 | |
#define | STAR_FAR_DEPTH (STAR_NEAR_DEPTH + 6 * STAR_DEPTH_STEP) | |
#define | STAR_SPEED_MIN 128 | A star's speed: STAR_SPEED_MIN and a random part, masked by STAR_SPEED_RANDOM. |
#define | STAR_SPEED_RANDOM 255 | |
#define | BUBBLE_COLUMN_BUBBLES 256 | |
#define | BUBBLE_TICKS 60 | |
#define | BUBBLES ((PARTICLE *)(RamMapMetatileBuffer + 20480)) | The bubbles, in the map cell buffer: each keeps its picture in z and its life in variant, -1 once it has left the top of the canvas. |
#define | BUBBLE_FLOATING 32 | A bubble's variant while it floats: any value from 0 up. |
#define | GRADIENT_BLUE_LIFT 32 | The backdrop's colour on each screen line, which DMA writes in the HBlank before the line: from BATTLE_VIEW_TOP - 1 a gradient over the battle view, each channel a level darker every so many lines, blue and green starting above red, all lifted by lift; black below it. |
#define | GRADIENT_GREEN_LIFT 16 | |
#define | FILL_GRADIENT (table, i, lift, c) | |
#define | BLIT_BUBBLE (base, n, x, y) | Draws bubble picture n of the copy at base, centred on (x, y). |
#define | DRAW_BUBBLE (p) | Draws a rising bubble, moves it on, and drops it once it has left the top of the canvas. |
#define | COATLICUE_COG 0 | Coatlicue's pictures in the effect's sprite sheet: CogTexture's quarter mirrored into a whole cog, 128 by 128; ScaleTexture, 128 by 16; then BubbleAnimationSheet's fifteen pictures and a copy of them at half brightness. |
#define | COATLICUE_SCALES (128 * 128) | |
#define | COATLICUE_BUBBLE_PICTURES (COATLICUE_SCALES + 128 * 16) | |
#define | BUBBLE_SHEET_BYTES 3000 | |
#define | BUBBLE_PICTURE_COUNT 15 | |
#define | COATLICUE_DIM_BUBBLE_PICTURES | |
#define | COATLICUE_COIL_CORNERS (RamMapMetatileBuffer + 17408) | The coils' band in the map cell buffer, past the fire ring's texture: its corners, two for each of its segments, and its mesh. |
#define | COATLICUE_COIL_MESH (RamMapMetatileBuffer + 18432) | |
#define | COATLICUE_COIL_SEGMENTS 32 | |
#define | COATLICUE_SPRITES 12 | Coatlicue's figure, CoatlicueTiles: twelve 32x32 sprites, three across. |
#define | COATLICUE_COLUMNS 3 | |
#define | COATLICUE_SPRITE_SIZE 32 | |
#define | COATLICUE_BUBBLE_COUNT 384 | |
#define | COATLICUE_CLOUD_BUBBLES 80 | The bubbles of the cloud scattered at COATLICUE_SCATTER_TICK, the only ones drawn once the cloud forms, and after them those of the stream from the cog's swell, one a tick. |
#define | COATLICUE_STREAM_BUBBLES 24 | |
#define | COATLICUE_CLOUD_NEAR_DEPTH 228 | A bubble of the cloud is drawn at its kind's own picture at this depth, six pictures smaller for every COATLICUE_CLOUD_DEPTH_STEP deeper. |
#define | COATLICUE_CLOUD_DEPTH_STEP 50 | |
#define | COATLICUE_BURSTS 9 | The bursts, columns of bubbles rising from the floor, each tick in CoatlicueBurstTicks, in the state's particles. |
#define | COATLICUE_BURST_BUBBLES 7 | |
#define | COATLICUE_SKIP_TICKS 18 | Pressing A or B up to COATLICUE_LAST_SKIP_TICK whitens the canvas over COATLICUE_SKIP_TICKS and ends the summon. |
#define | COATLICUE_LAST_SKIP_TICK 581 | |
#define | COATLICUE_FLASH_LEVEL 47 | The canvas's level as it flashes. |
#define | COATLICUE_SILHOUETTE_TICK 282 | Coatlicue comes in: a white flash the tick before the cog swells, her cyan silhouette from COATLICUE_SILHOUETTE_TICK and her figure placed from COATLICUE_FIGURE_TICK. |
#define | COATLICUE_FIGURE_TICK 292 | |
#define | COATLICUE_FLARE_TICK 300 | |
#define | COATLICUE_SCATTER_TICK COATLICUE_COG_FADE_TICK | |
#define | COATLICUE_SETTLE_TICK 312 | |
#define | COATLICUE_PALE_TICK 316 | |
#define | COATLICUE_OWN_COLORS_TICK 338 | |
#define | COATLICUE_DRIFT_TICK 396 | |
#define | COATLICUE_DRIFT_TICKS 112 | |
#define | COATLICUE_BRIGHTEN_TICK 520 | |
#define | COATLICUE_BACKDROP_FLARE 14 | |
#define | COATLICUE_TILT 4000 | How far the cog and the fire ring lean back, the cog at last COATLICUE_TILT_MIN; and how far the cog is rolled while it spins up. |
#define | COATLICUE_TILT_MIN 3000 | |
#define | COATLICUE_COG_ROLL 74752 | |
#define | COATLICUE_COG_TICK 210 | The cog of light appears at COATLICUE_COG_TICK, fading in over eight ticks and growing over 64 from a quarter of its size to COATLICUE_COG_SCALE; at COATLICUE_COG_SWELL_TICK it swells over 16 more to COATLICUE_COG_SCALE_MAX, leaning back to COATLICUE_TILT_MIN a 1024th of a turn a tick, and from COATLICUE_COG_FADE_TICK it fades away. |
#define | COATLICUE_COG_SWELL_TICK 274 | |
#define | COATLICUE_COG_FADE_TICK 310 | |
#define | COATLICUE_COG_SCALE 55536 | |
#define | COATLICUE_COG_SCALE_MAX 85536 | |
#define | COATLICUE_COG_GROWTH ((COATLICUE_COG_SCALE - toFIXED(1) / 4) / 64) | |
#define | COATLICUE_COG_SWELL | |
#define | COATLICUE_GLOW_GROWTH (toFIXED(1) / 22) | The cog's glows about her each grow to full size over 22 ticks. |
#define | COATLICUE_CLOUD_WIDTH_SCALE 55536 | The cloud of bubbles is drawn squashed: about 0.85 of its size across, 0.69 high and 0.42 deep. |
#define | COATLICUE_CLOUD_HEIGHT_SCALE 45536 | |
#define | COATLICUE_CLOUD_DEPTH_SCALE 27768 | |
#define | COATLICUE_CLOUD_TICK 360 | |
#define | COATLICUE_SPIN_TICK 454 | |
#define | COATLICUE_SWIRL_TICK (COATLICUE_SPIN_TICK + 12) | |
#define | COATLICUE_NARROW_TICK 486 | |
#define | COATLICUE_FLIP_TICK 518 | |
#define | COATLICUE_FLING_TICK 540 | |
#define | COATLICUE_FLING_STRETCH 1500 | |
#define | COATLICUE_CLOUD_DROP 80 | The cloud hangs this many pixels below its place until it spins, and once flipped 16. |
#define | COATLICUE_FLIPPED_DROP 16 | |
#define | COATLICUE_FLASH_TICK 498 | The fire ring's flashes at CoatlicueRingTicks, as it shines at CoatlicueFlashTicks (the ticks COATLICUE_FLASH_TICK, COATLICUE_FLASH_GAP apart, each with its sound), the cog's glows at CoatlicueGlowTicks, and the two coils of scaled water. |
#define | COATLICUE_FLASH_GAP 5 | |
#define | COATLICUE_FIRST_RING_TICK 81 | Nothing of the fire ring or the glows comes before its first flash, CoatlicueRingTicks' first; each flash or shine lasts COATLICUE_RING_TICKS, each glow COATLICUE_GLOW_TICKS. |
#define | COATLICUE_RING_TICKS 10 | |
#define | COATLICUE_GLOW_TICKS 100 | |
#define | COATLICUE_RINGS 4 | |
#define | COATLICUE_FLASHES 3 | |
#define | COATLICUE_GLOWS 3 | |
#define | COATLICUE_FLASH_SHADE (-56) | As it shines the fire ring brightens COATLICUE_FLASH_SHADE_STEP a tick from COATLICUE_FLASH_SHADE, to its full light from its fourth tick. |
#define | COATLICUE_FLASH_SHADE_STEP 16 | |
#define | COATLICUE_COILS 2 | |
#define | COATLICUE_COIL_TILT 3000 | Each coil leans forward by COATLICUE_COIL_TILT as it starts, the second at COATLICUE_SECOND_COIL_START, and leans back COATLICUE_COIL_TILT_SPEED a tick. |
#define | COATLICUE_COIL_TILT_SPEED 22 | |
#define | COATLICUE_SECOND_COIL_START 82 | |
#define | COATLICUE_COIL_SWEEP_TICK 128 | |
#define | COATLICUE_COIL_SHRINK_TICK 294 | From COATLICUE_COIL_SHRINK_TICK the coils shrink away a 16th a tick from COATLICUE_COIL_SHRINK_SCALE, the second from COATLICUE_SECOND_COIL_EXTRA more, each gone below a quarter. |
#define | COATLICUE_COIL_SHRINK_SCALE 75536 | |
#define | COATLICUE_SECOND_COIL_EXTRA 26384 | |
#define | COATLICUE_WASH_TICKS 60 | The healing's ticks after the summon, and how far toward blue it lifts the battle background. |
#define | COATLICUE_WASH_COGS 3 | |
#define | COATLICUE_WASH_BLUE 11 | |
#define | COATLICUE_TICKS 602 | ticks of the summon after its opening |
Enumerations
| Name | Description | |
|---|---|---|
enum | STAR_SWARM_MODE { STAR_SWARM_DJINN_STUN, STAR_SWARM_MYSTIC_CALL } | The star swarm's modes (btEffectRunStarSwarm). |
enum | GEYSER_MODE { GEYSER_PURGATORY, GEYSER_DJINN_STORM, GEYSER_DJINN_BLAST } | The geyser's modes (btEffectRunGeyser), each named for the effect that plays it. |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunVengeance (BATTLE_EFFECT_PARM *args) | An archer slides in from the far side on a window of her own, her bow drawn, and from tick 26 looses a flaming arrow every twelve ticks; seven fly across, and those the level picks strike the target, the last one hardest. |
void | btEffectRunLifeShear (BATTLE_EFFECT_PARM *args) | A woman (a tiled background picture) glides in from the far side and strikes from tick 24: a pair of shears (two blade models turning about their pivot) swings back and into the target at tick 32, opens, and snaps shut through it at tick 50 in a flash of four flames. |
void | btEffectRunPurgatory (BATTLE_EFFECT_PARM *args) | Abilities: Purgatory. |
void | btEffectRunDjinnBlast (BATTLE_EFFECT_PARM *args) | Abilities: Djinn Blast. |
void | btEffectRunDjinnStorm (BATTLE_EFFECT_PARM *args) | Abilities: Djinn Storm. |
static inline void | btGeyserCopyPalette (const void *palette) | Copies a sheet's 64 colours into the background palette. |
void | btEffectRunGeyser (BATTLE_EFFECT_PARM *args, Sint32 mode) | A geyser between the targets. |
void | btEffectRunDjinnStun (BATTLE_EFFECT_PARM *args) | Abilities: Djinn Stun. |
void | btEffectRunMysticCall (BATTLE_EFFECT_PARM *args) | Abilities: Mystic Call. |
void | btEffectRunStarSwarm (BATTLE_EFFECT_PARM *args, Sint32 mode) | Swarms of stars over the targets. |
void | btEffectStartBubbleColumn (BATTLE_EFFECT_PARM *args) | Unused: nothing calls it. |
void | btEffectRunBubbleColumn (BATTLE_EFFECT_PARM *args) | Unused: only btEffectStartBubbleColumn plays it. |
void | btEffectRunCoatlicue (BATTLE_EFFECT_PARM *args) | Coatlicue: the battle gives way to deep blue, where two coils of scaled water turn and a ring of light flashes. |
Description
Vengeance and Life Shear, a geyser, swarms of stars and a column of bubbles,
and the Coatlicue summon. Part of battle_effect.c.
Macros in detail
VENGEANCE_TICKS
#define VENGEANCE_TICKS 124
Referenced by btEffectRunVengeance().
Definition at line 22 of file battle_effect_vengeance.c.
VENGEANCE_ARROWS
#define VENGEANCE_ARROWS 7
Arrows shot, one every VENGEANCE_SHOT_INTERVAL ticks.
Referenced by btEffectRunVengeance().
Definition at line 24 of file battle_effect_vengeance.c.
VENGEANCE_FIRST_SHOT
#define VENGEANCE_FIRST_SHOT 22
The first arrow's turn.
Referenced by btEffectRunVengeance().
Definition at line 26 of file battle_effect_vengeance.c.
VENGEANCE_SHOT_INTERVAL
#define VENGEANCE_SHOT_INTERVAL 12
Ticks between one arrow's turn and the next.
Referenced by btEffectRunVengeance().
Definition at line 28 of file battle_effect_vengeance.c.
VENGEANCE_NOCK_TICKS
#define VENGEANCE_NOCK_TICKS 4
The ticks from an arrow's turn to its flight, while it rests on the drawn bow (the first rests there from the start); then the string is at rest until the next arrow's turn.
Referenced by btEffectRunVengeance().
Definition at line 32 of file battle_effect_vengeance.c.
VENGEANCE_STUCK_TICKS
#define VENGEANCE_STUCK_TICKS 4
The ticks a struck arrow stays in the target, its flame out.
Referenced by btEffectRunVengeance().
Definition at line 34 of file battle_effect_vengeance.c.
VENGEANCE_ARCHER_WIDTH
#define VENGEANCE_ARCHER_WIDTH 88
Vengeance's sprite sheet: the archer twice, her bow drawn and its string at rest after a shot, then the flame around an arrow's head, the arrow, and her shoulder, drawn again over a nocked arrow so that its end passes behind it.
Referenced by btEffectRunVengeance().
Definition at line 38 of file battle_effect_vengeance.c.
VENGEANCE_ARCHER_HEIGHT
#define VENGEANCE_ARCHER_HEIGHT 96
Referenced by btEffectRunVengeance().
Definition at line 39 of file battle_effect_vengeance.c.
VENGEANCE_ARCHER_LOOSED
#define VENGEANCE_ARCHER_LOOSED PICTURE_BYTES(VENGEANCE_ARCHER)
Referenced by btEffectRunVengeance().
Definition at line 40 of file battle_effect_vengeance.c.
VENGEANCE_FLAME_TIP
#define VENGEANCE_FLAME_TIP (2 * PICTURE_BYTES(VENGEANCE_ARCHER))
Referenced by btEffectRunVengeance().
Definition at line 41 of file battle_effect_vengeance.c.
VENGEANCE_FLAME_TIP_WIDTH
#define VENGEANCE_FLAME_TIP_WIDTH 17
Referenced by btEffectRunVengeance().
Definition at line 42 of file battle_effect_vengeance.c.
VENGEANCE_FLAME_TIP_HEIGHT
#define VENGEANCE_FLAME_TIP_HEIGHT 12
Referenced by btEffectRunVengeance().
Definition at line 43 of file battle_effect_vengeance.c.
VENGEANCE_ARROW
#define VENGEANCE_ARROW
Referenced by btEffectRunVengeance().
Definition at line 44 of file battle_effect_vengeance.c.
VENGEANCE_ARROW_WIDTH
#define VENGEANCE_ARROW_WIDTH 51
Referenced by btEffectRunVengeance().
Definition at line 46 of file battle_effect_vengeance.c.
VENGEANCE_ARROW_HEIGHT
#define VENGEANCE_ARROW_HEIGHT 12
Referenced by btEffectRunVengeance().
Definition at line 47 of file battle_effect_vengeance.c.
VENGEANCE_SHOULDER
#define VENGEANCE_SHOULDER (VENGEANCE_ARROW + PICTURE_BYTES(VENGEANCE_ARROW))
Referenced by btEffectRunVengeance().
Definition at line 48 of file battle_effect_vengeance.c.
VENGEANCE_SHOULDER_WIDTH
#define VENGEANCE_SHOULDER_WIDTH 14
Referenced by btEffectRunVengeance().
Definition at line 49 of file battle_effect_vengeance.c.
VENGEANCE_SHOULDER_HEIGHT
#define VENGEANCE_SHOULDER_HEIGHT 13
Definition at line 50 of file battle_effect_vengeance.c.
VENGEANCE_ARCHER_X
#define VENGEANCE_ARCHER_X 32
Where the archer stands on the canvas on the enemies' side, and her shoulder over her picture; on the party's side both are mirrored.
Referenced by btEffectRunVengeance().
Definition at line 53 of file battle_effect_vengeance.c.
VENGEANCE_SHOULDER_X
#define VENGEANCE_SHOULDER_X (VENGEANCE_ARCHER_X + 56)
Referenced by btEffectRunVengeance().
Definition at line 54 of file battle_effect_vengeance.c.
VENGEANCE_SHOULDER_Y
#define VENGEANCE_SHOULDER_Y 29
Referenced by btEffectRunVengeance().
Definition at line 55 of file battle_effect_vengeance.c.
VENGEANCE_TOP
#define VENGEANCE_TOP 40
The screen line the archer's picture starts on: her windows cover her height from it.
Referenced by btEffectRunVengeance().
Definition at line 58 of file battle_effect_vengeance.c.
VENGEANCE_ARROW_Y
#define VENGEANCE_ARROW_Y 24
The arrows fly this far down the canvas, plus their own y, level with her bow. The canvas below her picture is a strip the far half of the map shows level with them, in its tile rows 3 to 6, and each arrow is drawn there again, to fly on across that half.
Referenced by btEffectRunVengeance().
Definition at line 63 of file battle_effect_vengeance.c.
VENGEANCE_STRIP_Y
#define VENGEANCE_STRIP_Y VENGEANCE_ARCHER_HEIGHT
Referenced by btEffectRunVengeance().
Definition at line 64 of file battle_effect_vengeance.c.
VENGEANCE_CAMERA_TURN
#define VENGEANCE_CAMERA_TURN (TRIG_TURN / 512)
The camera turns this far a tick while she slides in.
Referenced by btEffectRunVengeance().
Definition at line 66 of file battle_effect_vengeance.c.
VENGEANCE_WINDOW_LEFT
#define VENGEANCE_WINDOW_LEFT 120
On the enemies' side, while she slides in, her windows open this far right of the background's place.
Referenced by btEffectRunVengeance().
Definition at line 69 of file battle_effect_vengeance.c.
LIFE_SHEAR_TICKS
#define LIFE_SHEAR_TICKS 90
Referenced by btEffectRunLifeShear().
Definition at line 544 of file battle_effect_vengeance.c.
LIFE_SHEAR_SNIP_TICK
#define LIFE_SHEAR_SNIP_TICK 50
the shears snap shut through the target
Referenced by btEffectRunLifeShear().
Definition at line 545 of file battle_effect_vengeance.c.
LIFE_SHEAR_WOMAN_WIDTH
#define LIFE_SHEAR_WOMAN_WIDTH 55
Life Shear's sprite sheet, decoded into the map cell buffer: a woman leaping and the same woman striking, then the shears' two blades, each with its pivot ring and handle loop (a pale one 128 by 64 and an orange one 128 by 32), and the flame the flash is made of, 32 by 32.
Referenced by btEffectRunLifeShear().
Definition at line 550 of file battle_effect_vengeance.c.
LIFE_SHEAR_WOMAN_HEIGHT
#define LIFE_SHEAR_WOMAN_HEIGHT 88
Referenced by btEffectRunLifeShear().
Definition at line 551 of file battle_effect_vengeance.c.
LIFE_SHEAR_STRIKING
#define LIFE_SHEAR_STRIKING
Referenced by btEffectRunLifeShear().
Definition at line 552 of file battle_effect_vengeance.c.
LIFE_SHEAR_STRIKING_WIDTH
#define LIFE_SHEAR_STRIKING_WIDTH 59
Referenced by btEffectRunLifeShear().
Definition at line 554 of file battle_effect_vengeance.c.
LIFE_SHEAR_STRIKING_HEIGHT
#define LIFE_SHEAR_STRIKING_HEIGHT 89
Referenced by btEffectRunLifeShear().
Definition at line 555 of file battle_effect_vengeance.c.
LIFE_SHEAR_PALE_BLADE
#define LIFE_SHEAR_PALE_BLADE
Referenced by btEffectRunLifeShear().
Definition at line 556 of file battle_effect_vengeance.c.
LIFE_SHEAR_PALE_BLADE_WIDTH
#define LIFE_SHEAR_PALE_BLADE_WIDTH 128
Definition at line 558 of file battle_effect_vengeance.c.
LIFE_SHEAR_PALE_BLADE_HEIGHT
#define LIFE_SHEAR_PALE_BLADE_HEIGHT 64
Definition at line 559 of file battle_effect_vengeance.c.
LIFE_SHEAR_ORANGE_BLADE
#define LIFE_SHEAR_ORANGE_BLADE
Referenced by btEffectRunLifeShear().
Definition at line 560 of file battle_effect_vengeance.c.
LIFE_SHEAR_ORANGE_BLADE_WIDTH
#define LIFE_SHEAR_ORANGE_BLADE_WIDTH 128
Definition at line 562 of file battle_effect_vengeance.c.
LIFE_SHEAR_ORANGE_BLADE_HEIGHT
#define LIFE_SHEAR_ORANGE_BLADE_HEIGHT 32
Definition at line 563 of file battle_effect_vengeance.c.
LIFE_SHEAR_FLAME
#define LIFE_SHEAR_FLAME
Referenced by btEffectRunLifeShear().
Definition at line 564 of file battle_effect_vengeance.c.
LIFE_SHEAR_STRIKE_X
#define LIFE_SHEAR_STRIKE_X 64
Where her striking picture stands on the canvas on the enemies' side; on the party's side it is mirrored.
Referenced by btEffectRunLifeShear().
Definition at line 568 of file battle_effect_vengeance.c.
LIFE_SHEAR_SHEARS_SCALE
#define LIFE_SHEAR_SHEARS_SCALE 45536
The shears' scale until they tumble away, and the flash's as it starts.
Referenced by btEffectRunLifeShear().
Definition at line 570 of file battle_effect_vengeance.c.
LIFE_SHEAR_FLASH_SCALE
#define LIFE_SHEAR_FLASH_SCALE 85536
Referenced by btEffectRunLifeShear().
Definition at line 571 of file battle_effect_vengeance.c.
LIFE_SHEAR_START_ROLL
#define LIFE_SHEAR_START_ROLL (-7216)
The shears' roll as they wait above the target, about 40 degrees.
Referenced by btEffectRunLifeShear().
Definition at line 573 of file battle_effect_vengeance.c.
LIFE_SHEAR_FLASH_ANGLE
#define LIFE_SHEAR_FLASH_ANGLE 22096
How far the flash's four flames are turned, beyond their quarter turns.
Referenced by btEffectRunLifeShear().
Definition at line 575 of file battle_effect_vengeance.c.
GEYSER_TICKS
#define GEYSER_TICKS 54
Referenced by btEffectRunGeyser().
Definition at line 942 of file battle_effect_vengeance.c.
GEYSER_DRAW_TICKS
#define GEYSER_DRAW_TICKS 40
The column shows for GEYSER_DRAW_TICKS; at GEYSER_PEAK_TICK the target hops
back and the battle shows the damage.
Referenced by btEffectRunGeyser().
Definition at line 945 of file battle_effect_vengeance.c.
GEYSER_PEAK_TICK
#define GEYSER_PEAK_TICK 20
Referenced by btEffectRunGeyser().
Definition at line 946 of file battle_effect_vengeance.c.
GEYSER_DROP_COUNT
#define GEYSER_DROP_COUNT 512
Drops in PARTICLES, used in a ring.
Referenced by btEffectRunGeyser().
Definition at line 948 of file battle_effect_vengeance.c.
GEYSER_BURST
#define GEYSER_BURST 200
The drops that burst on the first tick, and Djinn Storm's that follow each tick to tick 23; Djinn Blast's are fewer.
Referenced by btEffectRunGeyser().
Definition at line 951 of file battle_effect_vengeance.c.
GEYSER_STREAM
#define GEYSER_STREAM 16
Referenced by btEffectRunGeyser().
Definition at line 952 of file battle_effect_vengeance.c.
DJINN_BLAST_BURST
#define DJINN_BLAST_BURST 100
Referenced by btEffectRunGeyser().
Definition at line 953 of file battle_effect_vengeance.c.
DJINN_BLAST_STREAM
#define DJINN_BLAST_STREAM 2
Referenced by btEffectRunGeyser().
Definition at line 954 of file battle_effect_vengeance.c.
GEYSER_DROP_SHRUNK_LIFE
#define GEYSER_DROP_SHRUNK_LIFE 16
A drop's picture is a size for every eight ticks of its life past these, no smaller than its mode's smallest.
Referenced by btEffectRunGeyser().
Definition at line 957 of file battle_effect_vengeance.c.
GEYSER_TILT
#define GEYSER_TILT 2000
How far the column leans back.
Referenced by btEffectRunGeyser().
Definition at line 959 of file battle_effect_vengeance.c.
STARS_PER_TARGET
#define STARS_PER_TARGET 64
Each target's slice of PARTICLES.
Referenced by btEffectRunStarSwarm().
Definition at line 1236 of file battle_effect_vengeance.c.
STAR_TOTAL
#define STAR_TOTAL (6 * STARS_PER_TARGET)
Six targets' slices.
Referenced by btEffectRunStarSwarm().
Definition at line 1238 of file battle_effect_vengeance.c.
DJINN_STUN_STARS
#define DJINN_STUN_STARS 16
The stars of each target's swarm.
Referenced by btEffectRunStarSwarm().
Definition at line 1240 of file battle_effect_vengeance.c.
MYSTIC_CALL_STARS
#define MYSTIC_CALL_STARS 48
Referenced by btEffectRunStarSwarm().
Definition at line 1241 of file battle_effect_vengeance.c.
STAR_LARGEST
#define STAR_LARGEST 9
A star is drawn STAR_LARGEST pixels wide at STAR_NEAR_DEPTH or nearer, a
pixel less for every STAR_DEPTH_STEP deeper, down to 3.
Referenced by btEffectRunStarSwarm().
Definition at line 1244 of file battle_effect_vengeance.c.
STAR_NEAR_DEPTH
#define STAR_NEAR_DEPTH 250
Referenced by btEffectRunStarSwarm().
Definition at line 1245 of file battle_effect_vengeance.c.
STAR_DEPTH_STEP
#define STAR_DEPTH_STEP 64
Referenced by btEffectRunStarSwarm().
Definition at line 1246 of file battle_effect_vengeance.c.
STAR_FAR_DEPTH
#define STAR_FAR_DEPTH (STAR_NEAR_DEPTH + 6 * STAR_DEPTH_STEP)
Referenced by btEffectRunStarSwarm().
Definition at line 1247 of file battle_effect_vengeance.c.
STAR_SPEED_MIN
#define STAR_SPEED_MIN 128
A star's speed: STAR_SPEED_MIN and a random part, masked by
STAR_SPEED_RANDOM.
Referenced by btEffectRunStarSwarm().
Definition at line 1250 of file battle_effect_vengeance.c.
STAR_SPEED_RANDOM
#define STAR_SPEED_RANDOM 255
Referenced by btEffectRunStarSwarm().
Definition at line 1251 of file battle_effect_vengeance.c.
BUBBLE_COLUMN_BUBBLES
#define BUBBLE_COLUMN_BUBBLES 256
Referenced by btEffectRunBubbleColumn() and btEffectRunCoatlicue().
Definition at line 1479 of file battle_effect_vengeance.c.
BUBBLE_TICKS
#define BUBBLE_TICKS 60
Referenced by btEffectRunBubbleColumn().
Definition at line 1480 of file battle_effect_vengeance.c.
BUBBLES
#define BUBBLES ((PARTICLE *)(RamMapMetatileBuffer + 20480))
The bubbles, in the map cell buffer: each keeps its picture in z and its life in variant, -1 once it has left the top of the canvas.
Referenced by btEffectRunBubbleColumn(), btEffectRunCharon() and btEffectRunCoatlicue().
Definition at line 1483 of file battle_effect_vengeance.c.
BUBBLE_FLOATING
#define BUBBLE_FLOATING 32
A bubble's variant while it floats: any value from 0 up.
Referenced by btEffectRunBubbleColumn() and btEffectRunCoatlicue().
Definition at line 1485 of file battle_effect_vengeance.c.
GRADIENT_BLUE_LIFT
#define GRADIENT_BLUE_LIFT 32
The backdrop's colour on each screen line, which DMA writes in the HBlank
before the line: from BATTLE_VIEW_TOP - 1 a gradient over the battle view,
each channel a level darker every so many lines, blue and green starting
above red, all lifted by lift; black below it.
Definition at line 1596 of file battle_effect_vengeance.c.
GRADIENT_GREEN_LIFT
#define GRADIENT_GREEN_LIFT 16
Definition at line 1597 of file battle_effect_vengeance.c.
FILL_GRADIENT
#define FILL_GRADIENT(table, i, lift, c)
Referenced by btEffectRunCoatlicue().
Definition at line 1598 of file battle_effect_vengeance.c.
BLIT_BUBBLE
#define BLIT_BUBBLE(base, n, x, y)
Draws bubble picture n of the copy at base, centred on (x, y).
Referenced by btEffectRunCoatlicue().
Definition at line 1631 of file battle_effect_vengeance.c.
DRAW_BUBBLE
#define DRAW_BUBBLE(p)
Draws a rising bubble, moves it on, and drops it once it has left the top of the canvas.
Referenced by btEffectRunCoatlicue().
Definition at line 1643 of file battle_effect_vengeance.c.
COATLICUE_COG
#define COATLICUE_COG 0
Coatlicue's pictures in the effect's sprite sheet: CogTexture's quarter mirrored into a whole cog, 128 by 128; ScaleTexture, 128 by 16; then BubbleAnimationSheet's fifteen pictures and a copy of them at half brightness.
Referenced by btEffectRunCoatlicue().
Definition at line 1668 of file battle_effect_vengeance.c.
COATLICUE_SCALES
#define COATLICUE_SCALES (128 * 128)
Referenced by btEffectRunCoatlicue().
Definition at line 1669 of file battle_effect_vengeance.c.
COATLICUE_BUBBLE_PICTURES
#define COATLICUE_BUBBLE_PICTURES (COATLICUE_SCALES + 128 * 16)
Referenced by btEffectRunCoatlicue().
Definition at line 1670 of file battle_effect_vengeance.c.
BUBBLE_SHEET_BYTES
#define BUBBLE_SHEET_BYTES 3000
Referenced by btEffectRunCoatlicue().
Definition at line 1671 of file battle_effect_vengeance.c.
BUBBLE_PICTURE_COUNT
#define BUBBLE_PICTURE_COUNT 15
Referenced by btEffectRunCoatlicue().
Definition at line 1672 of file battle_effect_vengeance.c.
COATLICUE_DIM_BUBBLE_PICTURES
#define COATLICUE_DIM_BUBBLE_PICTURES
Referenced by btEffectRunCoatlicue().
Definition at line 1673 of file battle_effect_vengeance.c.
COATLICUE_COIL_CORNERS
#define COATLICUE_COIL_CORNERS (RamMapMetatileBuffer + 17408)
The coils' band in the map cell buffer, past the fire ring's texture: its corners, two for each of its segments, and its mesh.
Referenced by btEffectRunCoatlicue().
Definition at line 1677 of file battle_effect_vengeance.c.
COATLICUE_COIL_MESH
#define COATLICUE_COIL_MESH (RamMapMetatileBuffer + 18432)
Referenced by btEffectRunCoatlicue().
Definition at line 1678 of file battle_effect_vengeance.c.
COATLICUE_COIL_SEGMENTS
#define COATLICUE_COIL_SEGMENTS 32
Referenced by btEffectRunCoatlicue().
Definition at line 1679 of file battle_effect_vengeance.c.
COATLICUE_SPRITES
#define COATLICUE_SPRITES 12
Coatlicue's figure, CoatlicueTiles: twelve 32x32 sprites, three across.
Referenced by btEffectRunCoatlicue().
Definition at line 1681 of file battle_effect_vengeance.c.
COATLICUE_COLUMNS
#define COATLICUE_COLUMNS 3
Referenced by btEffectRunCoatlicue().
Definition at line 1682 of file battle_effect_vengeance.c.
COATLICUE_SPRITE_SIZE
#define COATLICUE_SPRITE_SIZE 32
Referenced by btEffectRunCoatlicue().
Definition at line 1683 of file battle_effect_vengeance.c.
COATLICUE_BUBBLE_COUNT
#define COATLICUE_BUBBLE_COUNT 384
Referenced by btEffectRunCoatlicue().
Definition at line 1684 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_BUBBLES
#define COATLICUE_CLOUD_BUBBLES 80
The bubbles of the cloud scattered at COATLICUE_SCATTER_TICK, the only ones
drawn once the cloud forms, and after them those of the stream from the cog's
swell, one a tick.
Referenced by btEffectRunCoatlicue().
Definition at line 1688 of file battle_effect_vengeance.c.
COATLICUE_STREAM_BUBBLES
#define COATLICUE_STREAM_BUBBLES 24
Referenced by btEffectRunCoatlicue().
Definition at line 1689 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_NEAR_DEPTH
#define COATLICUE_CLOUD_NEAR_DEPTH 228
A bubble of the cloud is drawn at its kind's own picture at this depth, six
pictures smaller for every COATLICUE_CLOUD_DEPTH_STEP deeper.
Referenced by btEffectRunCoatlicue().
Definition at line 1692 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_DEPTH_STEP
#define COATLICUE_CLOUD_DEPTH_STEP 50
Referenced by btEffectRunCoatlicue().
Definition at line 1693 of file battle_effect_vengeance.c.
COATLICUE_BURSTS
#define COATLICUE_BURSTS 9
The bursts, columns of bubbles rising from the floor, each tick in
CoatlicueBurstTicks, in the state's particles.
Referenced by btEffectRunCoatlicue().
Definition at line 1696 of file battle_effect_vengeance.c.
COATLICUE_BURST_BUBBLES
#define COATLICUE_BURST_BUBBLES 7
Referenced by btEffectRunCoatlicue().
Definition at line 1697 of file battle_effect_vengeance.c.
COATLICUE_SKIP_TICKS
#define COATLICUE_SKIP_TICKS 18
Pressing A or B up to COATLICUE_LAST_SKIP_TICK whitens the canvas over
COATLICUE_SKIP_TICKS and ends the summon.
Referenced by btEffectRunCoatlicue().
Definition at line 1700 of file battle_effect_vengeance.c.
COATLICUE_LAST_SKIP_TICK
#define COATLICUE_LAST_SKIP_TICK 581
Referenced by btEffectRunCoatlicue().
Definition at line 1701 of file battle_effect_vengeance.c.
COATLICUE_FLASH_LEVEL
#define COATLICUE_FLASH_LEVEL 47
The canvas's level as it flashes.
Referenced by btEffectRunCoatlicue().
Definition at line 1703 of file battle_effect_vengeance.c.
COATLICUE_SILHOUETTE_TICK
#define COATLICUE_SILHOUETTE_TICK 282
Coatlicue comes in: a white flash the tick before the cog swells, her cyan
silhouette from COATLICUE_SILHOUETTE_TICK and her figure placed from
COATLICUE_FIGURE_TICK. From COATLICUE_FLARE_TICK the backdrop flares to
COATLICUE_BACKDROP_FLARE, settling back from COATLICUE_SETTLE_TICK, while her
colours go white, pale cyan from COATLICUE_PALE_TICK and her own from
COATLICUE_OWN_COLORS_TICK. She drifts down for COATLICUE_DRIFT_TICKS from
COATLICUE_DRIFT_TICK, and her colours brighten from COATLICUE_BRIGHTEN_TICK.
Referenced by btEffectRunCoatlicue().
Definition at line 1711 of file battle_effect_vengeance.c.
COATLICUE_FIGURE_TICK
#define COATLICUE_FIGURE_TICK 292
Referenced by btEffectRunCoatlicue().
Definition at line 1712 of file battle_effect_vengeance.c.
COATLICUE_FLARE_TICK
#define COATLICUE_FLARE_TICK 300
Referenced by btEffectRunCoatlicue().
Definition at line 1713 of file battle_effect_vengeance.c.
COATLICUE_SCATTER_TICK
#define COATLICUE_SCATTER_TICK COATLICUE_COG_FADE_TICK
Referenced by btEffectRunCoatlicue().
Definition at line 1714 of file battle_effect_vengeance.c.
COATLICUE_SETTLE_TICK
#define COATLICUE_SETTLE_TICK 312
Referenced by btEffectRunCoatlicue().
Definition at line 1715 of file battle_effect_vengeance.c.
COATLICUE_PALE_TICK
#define COATLICUE_PALE_TICK 316
Referenced by btEffectRunCoatlicue().
Definition at line 1716 of file battle_effect_vengeance.c.
COATLICUE_OWN_COLORS_TICK
#define COATLICUE_OWN_COLORS_TICK 338
Referenced by btEffectRunCoatlicue().
Definition at line 1717 of file battle_effect_vengeance.c.
COATLICUE_DRIFT_TICK
#define COATLICUE_DRIFT_TICK 396
Referenced by btEffectRunCoatlicue().
Definition at line 1718 of file battle_effect_vengeance.c.
COATLICUE_DRIFT_TICKS
#define COATLICUE_DRIFT_TICKS 112
Referenced by btEffectRunCoatlicue().
Definition at line 1719 of file battle_effect_vengeance.c.
COATLICUE_BRIGHTEN_TICK
#define COATLICUE_BRIGHTEN_TICK 520
Referenced by btEffectRunCoatlicue().
Definition at line 1720 of file battle_effect_vengeance.c.
COATLICUE_BACKDROP_FLARE
#define COATLICUE_BACKDROP_FLARE 14
Referenced by btEffectRunCoatlicue().
Definition at line 1721 of file battle_effect_vengeance.c.
COATLICUE_TILT
#define COATLICUE_TILT 4000
How far the cog and the fire ring lean back, the cog at last
COATLICUE_TILT_MIN; and how far the cog is rolled while it spins up.
Referenced by btEffectRunCoatlicue().
Definition at line 1724 of file battle_effect_vengeance.c.
COATLICUE_TILT_MIN
#define COATLICUE_TILT_MIN 3000
Referenced by btEffectRunCoatlicue().
Definition at line 1725 of file battle_effect_vengeance.c.
COATLICUE_COG_ROLL
#define COATLICUE_COG_ROLL 74752
Referenced by btEffectRunCoatlicue().
Definition at line 1726 of file battle_effect_vengeance.c.
COATLICUE_COG_TICK
#define COATLICUE_COG_TICK 210
The cog of light appears at COATLICUE_COG_TICK, fading in over eight ticks
and growing over 64 from a quarter of its size to COATLICUE_COG_SCALE; at
COATLICUE_COG_SWELL_TICK it swells over 16 more to COATLICUE_COG_SCALE_MAX,
leaning back to COATLICUE_TILT_MIN a 1024th of a turn a tick, and from
COATLICUE_COG_FADE_TICK it fades away.
Referenced by btEffectRunCoatlicue().
Definition at line 1732 of file battle_effect_vengeance.c.
COATLICUE_COG_SWELL_TICK
#define COATLICUE_COG_SWELL_TICK 274
Referenced by btEffectRunCoatlicue().
Definition at line 1733 of file battle_effect_vengeance.c.
COATLICUE_COG_FADE_TICK
#define COATLICUE_COG_FADE_TICK 310
Referenced by btEffectRunCoatlicue().
Definition at line 1734 of file battle_effect_vengeance.c.
COATLICUE_COG_SCALE
#define COATLICUE_COG_SCALE 55536
Referenced by btEffectRunCoatlicue().
Definition at line 1735 of file battle_effect_vengeance.c.
COATLICUE_COG_SCALE_MAX
#define COATLICUE_COG_SCALE_MAX 85536
Referenced by btEffectRunCoatlicue().
Definition at line 1736 of file battle_effect_vengeance.c.
COATLICUE_COG_GROWTH
#define COATLICUE_COG_GROWTH ((COATLICUE_COG_SCALE - toFIXED(1) / 4) / 64)
Referenced by btEffectRunCoatlicue().
Definition at line 1737 of file battle_effect_vengeance.c.
COATLICUE_COG_SWELL
#define COATLICUE_COG_SWELL
Referenced by btEffectRunCoatlicue().
Definition at line 1738 of file battle_effect_vengeance.c.
COATLICUE_GLOW_GROWTH
#define COATLICUE_GLOW_GROWTH (toFIXED(1) / 22)
The cog's glows about her each grow to full size over 22 ticks.
Referenced by btEffectRunCoatlicue().
Definition at line 1741 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_WIDTH_SCALE
#define COATLICUE_CLOUD_WIDTH_SCALE 55536
The cloud of bubbles is drawn squashed: about 0.85 of its size across, 0.69
high and 0.42 deep. The bubbles gather into it at COATLICUE_CLOUD_TICK; it
spins from COATLICUE_SPIN_TICK, narrows from COATLICUE_NARROW_TICK to nothing
across at COATLICUE_FLIP_TICK, where it flips over as the fire ring flashes
about her, and at COATLICUE_FLING_TICK she leaves and it is flung away,
stretching across from a 16th of its width by COATLICUE_FLING_STRETCH a tick.
Referenced by btEffectRunCoatlicue().
Definition at line 1748 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_HEIGHT_SCALE
#define COATLICUE_CLOUD_HEIGHT_SCALE 45536
Referenced by btEffectRunCoatlicue().
Definition at line 1749 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_DEPTH_SCALE
#define COATLICUE_CLOUD_DEPTH_SCALE 27768
Referenced by btEffectRunCoatlicue().
Definition at line 1750 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_TICK
#define COATLICUE_CLOUD_TICK 360
Referenced by btEffectRunCoatlicue().
Definition at line 1751 of file battle_effect_vengeance.c.
COATLICUE_SPIN_TICK
#define COATLICUE_SPIN_TICK 454
Referenced by btEffectRunCoatlicue().
Definition at line 1752 of file battle_effect_vengeance.c.
COATLICUE_SWIRL_TICK
#define COATLICUE_SWIRL_TICK (COATLICUE_SPIN_TICK + 12)
Referenced by btEffectRunCoatlicue().
Definition at line 1753 of file battle_effect_vengeance.c.
COATLICUE_NARROW_TICK
#define COATLICUE_NARROW_TICK 486
Referenced by btEffectRunCoatlicue().
Definition at line 1754 of file battle_effect_vengeance.c.
COATLICUE_FLIP_TICK
#define COATLICUE_FLIP_TICK 518
Referenced by btEffectRunCoatlicue().
Definition at line 1755 of file battle_effect_vengeance.c.
COATLICUE_FLING_TICK
#define COATLICUE_FLING_TICK 540
Referenced by btEffectRunCoatlicue().
Definition at line 1756 of file battle_effect_vengeance.c.
COATLICUE_FLING_STRETCH
#define COATLICUE_FLING_STRETCH 1500
Referenced by btEffectRunCoatlicue().
Definition at line 1757 of file battle_effect_vengeance.c.
COATLICUE_CLOUD_DROP
#define COATLICUE_CLOUD_DROP 80
The cloud hangs this many pixels below its place until it spins, and once flipped 16.
Referenced by btEffectRunCoatlicue().
Definition at line 1760 of file battle_effect_vengeance.c.
COATLICUE_FLIPPED_DROP
#define COATLICUE_FLIPPED_DROP 16
Referenced by btEffectRunCoatlicue().
Definition at line 1761 of file battle_effect_vengeance.c.
COATLICUE_FLASH_TICK
#define COATLICUE_FLASH_TICK 498
The fire ring's flashes at CoatlicueRingTicks, as it shines at
CoatlicueFlashTicks (the ticks COATLICUE_FLASH_TICK, COATLICUE_FLASH_GAP
apart, each with its sound), the cog's glows at CoatlicueGlowTicks, and the
two coils of scaled water.
Referenced by btEffectRunCoatlicue().
Definition at line 1766 of file battle_effect_vengeance.c.
COATLICUE_FLASH_GAP
#define COATLICUE_FLASH_GAP 5
Referenced by btEffectRunCoatlicue().
Definition at line 1767 of file battle_effect_vengeance.c.
COATLICUE_FIRST_RING_TICK
#define COATLICUE_FIRST_RING_TICK 81
Nothing of the fire ring or the glows comes before its first flash,
CoatlicueRingTicks' first; each flash or shine lasts COATLICUE_RING_TICKS,
each glow COATLICUE_GLOW_TICKS.
Referenced by btEffectRunCoatlicue().
Definition at line 1771 of file battle_effect_vengeance.c.
COATLICUE_RING_TICKS
#define COATLICUE_RING_TICKS 10
Referenced by btEffectRunCoatlicue().
Definition at line 1772 of file battle_effect_vengeance.c.
COATLICUE_GLOW_TICKS
#define COATLICUE_GLOW_TICKS 100
Referenced by btEffectRunCoatlicue().
Definition at line 1773 of file battle_effect_vengeance.c.
COATLICUE_RINGS
#define COATLICUE_RINGS 4
Referenced by btEffectRunCoatlicue().
Definition at line 1774 of file battle_effect_vengeance.c.
COATLICUE_FLASHES
#define COATLICUE_FLASHES 3
Referenced by btEffectRunCoatlicue().
Definition at line 1775 of file battle_effect_vengeance.c.
COATLICUE_GLOWS
#define COATLICUE_GLOWS 3
Definition at line 1776 of file battle_effect_vengeance.c.
COATLICUE_FLASH_SHADE
#define COATLICUE_FLASH_SHADE (-56)
As it shines the fire ring brightens COATLICUE_FLASH_SHADE_STEP a tick from
COATLICUE_FLASH_SHADE, to its full light from its fourth tick.
Referenced by btEffectRunCoatlicue().
Definition at line 1779 of file battle_effect_vengeance.c.
COATLICUE_FLASH_SHADE_STEP
#define COATLICUE_FLASH_SHADE_STEP 16
Referenced by btEffectRunCoatlicue().
Definition at line 1780 of file battle_effect_vengeance.c.
COATLICUE_COILS
#define COATLICUE_COILS 2
Referenced by btEffectRunCoatlicue().
Definition at line 1781 of file battle_effect_vengeance.c.
COATLICUE_COIL_TILT
#define COATLICUE_COIL_TILT 3000
Each coil leans forward by COATLICUE_COIL_TILT as it starts, the second at
COATLICUE_SECOND_COIL_START, and leans back COATLICUE_COIL_TILT_SPEED a tick.
The second sweeps in from 48 pixels left a pixel a tick from
COATLICUE_COIL_SWEEP_TICK, to 16 pixels left.
Referenced by btEffectRunCoatlicue().
Definition at line 1786 of file battle_effect_vengeance.c.
COATLICUE_COIL_TILT_SPEED
#define COATLICUE_COIL_TILT_SPEED 22
Referenced by btEffectRunCoatlicue().
Definition at line 1787 of file battle_effect_vengeance.c.
COATLICUE_SECOND_COIL_START
#define COATLICUE_SECOND_COIL_START 82
Referenced by btEffectRunCoatlicue().
Definition at line 1788 of file battle_effect_vengeance.c.
COATLICUE_COIL_SWEEP_TICK
#define COATLICUE_COIL_SWEEP_TICK 128
Referenced by btEffectRunCoatlicue().
Definition at line 1789 of file battle_effect_vengeance.c.
COATLICUE_COIL_SHRINK_TICK
#define COATLICUE_COIL_SHRINK_TICK 294
From COATLICUE_COIL_SHRINK_TICK the coils shrink away a 16th a tick from
COATLICUE_COIL_SHRINK_SCALE, the second from COATLICUE_SECOND_COIL_EXTRA
more, each gone below a quarter.
Referenced by btEffectRunCoatlicue().
Definition at line 1793 of file battle_effect_vengeance.c.
COATLICUE_COIL_SHRINK_SCALE
#define COATLICUE_COIL_SHRINK_SCALE 75536
Referenced by btEffectRunCoatlicue().
Definition at line 1794 of file battle_effect_vengeance.c.
COATLICUE_SECOND_COIL_EXTRA
#define COATLICUE_SECOND_COIL_EXTRA 26384
Referenced by btEffectRunCoatlicue().
Definition at line 1795 of file battle_effect_vengeance.c.
COATLICUE_WASH_TICKS
#define COATLICUE_WASH_TICKS 60
The healing's ticks after the summon, and how far toward blue it lifts the battle background.
Referenced by btEffectRunCoatlicue().
Definition at line 1798 of file battle_effect_vengeance.c.
COATLICUE_WASH_COGS
#define COATLICUE_WASH_COGS 3
Referenced by btEffectRunCoatlicue().
Definition at line 1799 of file battle_effect_vengeance.c.
COATLICUE_WASH_BLUE
#define COATLICUE_WASH_BLUE 11
Referenced by btEffectRunCoatlicue().
Definition at line 1800 of file battle_effect_vengeance.c.
COATLICUE_TICKS
#define COATLICUE_TICKS 602
ticks of the summon after its opening
Referenced by btEffectRunCoatlicue().
Definition at line 1802 of file battle_effect_vengeance.c.
Enumerations in detail
STAR_SWARM_MODE
enum STAR_SWARM_MODE
The star swarm's modes (btEffectRunStarSwarm).
| Enumerator | Value | Description |
|---|---|---|
STAR_SWARM_DJINN_STUN | ||
STAR_SWARM_MYSTIC_CALL |
Definition at line 5 of file battle_effect_vengeance.c.
GEYSER_MODE
enum GEYSER_MODE
The geyser's modes (btEffectRunGeyser), each named for the effect that plays
it.
| Enumerator | Value | Description |
|---|---|---|
GEYSER_PURGATORY | ||
GEYSER_DJINN_STORM | ||
GEYSER_DJINN_BLAST |
Definition at line 13 of file battle_effect_vengeance.c.
Functions in detail
btEffectRunVengeance
void btEffectRunVengeance(BATTLE_EFFECT_PARM *args)
An archer slides in from the far side on a window of her own, her bow drawn, and from tick 26 looses a flaming arrow every twelve ticks; seven fly across, and those the level picks strike the target, the last one hardest. Everything is mirrored on the party's side.
Abilities: Vengeance.
References btCameraShake(), btEffectCountDownBattlerTints(), btEffectPosProjectScaledBattler(), btEffectStartActorMotion(), btEffectStartTiledCanvas(), btEffectTintBattler(), btMotionApplyKnockbackStub(), btResourceLoadAndDecompress(), Sint32, syRandom(), sySoundPlayStub() and VengeanceArrowStrikes.
Referenced by BattleEffectHandlers.
Definition at line 77 of file battle_effect_vengeance.c.
btEffectRunLifeShear
void btEffectRunLifeShear(BATTLE_EFFECT_PARM *args)
A woman (a tiled background picture) glides in from the far side and strikes from tick 24: a pair of shears (two blade models turning about their pivot) swings back and into the target at tick 32, opens, and snaps shut through it at tick 50 in a flash of four flames. From tick 62 she drifts off and the shears tumble away. Everything is mirrored on the party's side.
Abilities: Life Shear.
References BattleEffectSmallSquareMeshReversed, BattleEffectStandingSquareCorners, btCameraShake(), btEffectPosProjectScaledBattler(), btEffectStartTiledCanvas(), btEffectStartTiledCanvasFilled(), btEffectTintBattler(), btMotionApplyKnockbackStub(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), LifeShearBladeCorners, LifeShearOrangeBladeMesh, LifeShearPaleBladeMesh, MapGridMetatileBuffer, Sint32, syHeapAllocateEWRAM(), syHeapRelease(), syInitMatrix(), syMatrixScaleUniform(), syPopMatrix(), syPushMatrix(), syRotY(), syRotZ(), syScale(), sySin(), sySoundPlayStub() and syTranslate().
Referenced by BattleEffectHandlers.
Definition at line 584 of file battle_effect_vengeance.c.
btEffectRunPurgatory
void btEffectRunPurgatory(BATTLE_EFFECT_PARM *args)
Abilities: Purgatory.
References btEffectRunGeyser().
Referenced by BattleEffectHandlers.
Definition at line 925 of file battle_effect_vengeance.c.
btEffectRunDjinnBlast
void btEffectRunDjinnBlast(BATTLE_EFFECT_PARM *args)
Abilities: Djinn Blast.
References btEffectRunGeyser().
Referenced by BattleEffectHandlers.
Definition at line 931 of file battle_effect_vengeance.c.
btEffectRunDjinnStorm
void btEffectRunDjinnStorm(BATTLE_EFFECT_PARM *args)
Abilities: Djinn Storm.
References btEffectRunGeyser().
Referenced by BattleEffectHandlers.
Definition at line 937 of file battle_effect_vengeance.c.
btGeyserCopyPalette
static inline void btGeyserCopyPalette(const void *palette)
Copies a sheet's 64 colours into the background palette.
Referenced by btEffectRunGeyser().
Definition at line 962 of file battle_effect_vengeance.c.
btEffectRunGeyser
void btEffectRunGeyser(BATTLE_EFFECT_PARM *args, Sint32 mode)
A geyser between the targets. A textured column, its texture scrolling upward, stands on the floor at the targets' midpoint, and drops burst from its foot, fall back under gravity and bounce once on the floor. Purgatory's is the cross texture in orange; its column rises and falls on a sine and 200 drops burst at once. Djinn Storm's column keeps widening and fades from tick 32, with 200 drops and 16 more each tick to tick 23; Djinn Blast's is thin, with 100 drops and 2 more each tick. Theirs also step the palette through the Mercury, Mars and Jupiter Djinn's. At tick 20 the target hops back and the battle shows the damage.
References BattleEffectMotePictures, BattleEffectOctagonBandCorners, btCameraShake(), btEffectBuildCanvasBlitters(), btEffectEndCanvasLayer(), btEffectGetTargetsMidpoint(), btEffectStartCanvasLayer(), btEffectStepPaletteToResource(), btEffectTransferCanvas(), btGeyserCopyPalette(), btMotionApplyKnockbackStub(), btParticleAdvanceWithGravity2D(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), GeyserDropGravity, GeyserDropMinSizes, GeyserMesh, Sint32, syCloseEvent(), syCos(), syHeapAllocateEWRAM(), syHeapRelease(), syInitMatrix(), syRandom(), syResourceGetTableEntry(), syRotX(), syScale(), sySetEvent(), sySin(), sySoundPlayStub() and syTranslate().
Referenced by btEffectRunDjinnBlast(), btEffectRunDjinnStorm() and btEffectRunPurgatory().
Definition at line 976 of file battle_effect_vengeance.c.
btEffectRunDjinnStun
void btEffectRunDjinnStun(BATTLE_EFFECT_PARM *args)
Abilities: Djinn Stun.
References btEffectRunStarSwarm().
Referenced by BattleEffectHandlers.
Definition at line 1224 of file battle_effect_vengeance.c.
btEffectRunMysticCall
void btEffectRunMysticCall(BATTLE_EFFECT_PARM *args)
Abilities: Mystic Call.
References btEffectRunStarSwarm().
Referenced by BattleEffectHandlers.
Definition at line 1230 of file battle_effect_vengeance.c.
btEffectRunStarSwarm
void btEffectRunStarSwarm(BATTLE_EFFECT_PARM *args, Sint32 mode)
Swarms of stars over the targets. Each target gets a swarm, eight ticks after the one before: its stars burst from a point that rises out of it, each turning about the point on one of four axes and drawn smaller the deeper it is, and from tick 24 they are pulled back into the point, each one gone once it has arrived. The palette steps through the Mercury, Mars and Jupiter Djinn's. Djinn Stun: 16 stars a target, the target flashes as its swarm starts, and the effect lasts 38 ticks and eight more for each target. Mystic Call: 48 stars, a flash at the start and 55 ticks later, 72 ticks in all.
References BattleEffectMotePictures, btCameraShake(), btEffectEndCanvasLayer(), btEffectPosProjectPoint(), btEffectStartCanvasLayer(), btEffectStepPaletteToResource(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), btParticleAdvanceWithGravity3D(), btResourceLoadAndDecompress(), Sint32, syCloseEvent(), syCos(), syHeapSlotRelease(), syInitMatrix(), syLookAtLoad(), syMatrixTranslateVector(), syPopMatrix(), syPushMatrix(), syRandom(), syResourceGetTableEntry(), syRotX(), syRotY(), syRotZ(), sySetEvent() and sySin().
Referenced by btEffectRunDjinnStun() and btEffectRunMysticCall().
Definition at line 1261 of file battle_effect_vengeance.c.
btEffectStartBubbleColumn
void btEffectStartBubbleColumn(BATTLE_EFFECT_PARM *args)
Unused: nothing calls it. Opens the canvas layer added over the battle, darkens the background behind it, and plays the column of bubbles.
References btEffectRunBubbleColumn() and btEffectStartCanvasLayer().
Definition at line 1467 of file battle_effect_vengeance.c.
btEffectRunBubbleColumn
void btEffectRunBubbleColumn(BATTLE_EFFECT_PARM *args)
Unused: only btEffectStartBubbleColumn plays it. A column of bubbles. On the
first tick 256 glowing ovals of random size appear below the canvas; for 60
ticks they float up and drift sideways, drawn with the max blitter in the
blue beam's palette, and each one is gone once it has risen past the top.
From tick 18 the targets flash one by one, eight ticks apart, each with the
recovery sound.
References btEffectEndCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btParticleAdvanceWithGravity2D(), btResourceLoadAndDecompress(), BubbleColumnPictureHeights, BubbleColumnPictures, BubbleColumnPictureWidths, Sint32, syCloseEvent(), syHeapSlotRelease(), syRandom(), syResourceGetTableEntry(), sySetEvent() and sySoundPlayStub().
Referenced by btEffectStartBubbleColumn().
Definition at line 1493 of file battle_effect_vengeance.c.
btEffectRunCoatlicue
void btEffectRunCoatlicue(BATTLE_EFFECT_PARM *args)
Coatlicue: the battle gives way to deep blue, where two coils of scaled water turn and a ring of light flashes. From tick 210 a cog of light rises; a white flash at 273 brings Coatlicue in as a cyan silhouette among rising bubbles, and she takes her colours. The bubbles gather into a cloud that spins, flashes three times and is flung away as she leaves; then three cogs of blue light rise over the party, and each target flashes as it is healed. A or B skips the summon.
Abilities: Coatlicue.
References BattleEffectGroundSquareCorners, BattleEffectLargeSquareMesh, btActorSpawnObjectsForListStub(), btEffectArmPaletteHBlankDMA(), btEffectConfigureEffectDisplay(), btEffectEndCanvasLayer(), btEffectFillWhiteBand(), btEffectPosProjectPoint(), btEffectShowLivingTargets(), btEffectSpriteCreateWithTiles(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btGraphicsLoadGreyRamp(), btMeshBuildCylinderBand(), btPaletteBrightenBgEntries(), btPaletteBrightenSavedBattleBg(), btParticleAdvanceWithGravity3D(), btPictureMirrorIntoQuadrants(), btRenderAllocateModelList(), btRenderDrawModelList(), btRenderTransformVertices(), btResourceLoadAndDecompress(), CoatlicueBurstSpacingY, CoatlicueBurstSpreadX, CoatlicueBurstTicks, CoatlicueBurstVelocityX, CoatlicueBurstVelocityY, CoatlicueBurstVelocityZ, CoatlicueBurstX, CoatlicueBurstY, CoatlicueBurstZ, CoatlicueCoilGrowth, CoatlicueCoilMaxScales, CoatlicueCoilRolls, CoatlicueCoilScales, CoatlicueCoilStarts, CoatlicueFlashTicks, CoatlicueGlowTicks, CoatlicuePictureBias, CoatlicuePictureHeights, CoatlicuePictures, CoatlicuePictureWidths, CoatlicueRingTicks, CoatlicueUnitScale, fdRenderApplyProjectedPlacementStub(), fdScreenPointCoordinates(), fdSpriteDestroyStub(), MapGridMetatileBuffer, PerWork and 24 more.
Referenced by btEffectRunSummon().
Definition at line 1813 of file battle_effect_vengeance.c.