The Judgment summon. More...
Go to the source code of this file.
Data Structures | |
| struct | JudgmentWork |
| Judgment's work block, laid over struct BattleEffectWork from its start. More... | |
Macros | |
| #define | JUDGMENT_SHEET_BYTES 0x2710 |
| The bytes of Judgment's work block before its dimmed mote copies. | |
| #define | JUDGMENT_SPARKS (&PARTICLES[128]) |
| The gathering's 128 sparks, after its 128 motes in PARTICLES. | |
| #define | JUDGMENT_GATHER_FRAMES 160 |
| frames of the gathering | |
| #define | JUDGMENT_SWEEP_FRAMES 320 |
| frames of the sweep | |
| #define | JUDGMENT_SHEET_FLARE_B 0x4240 |
| the second 24x24 flare picture | |
| #define | JUDGMENT_FORMATION_OBJECTS 16 |
| objects in the formation, 4x4 | |
| #define | JUDGMENT_DEBRIS_OBJECTS 16 |
| debris objects of the sweep | |
| #define | JUDGMENT_SHEET_BURST 0x600 |
| the burst's quarter pictures | |
| #define | JUDGMENT_SHEET_TORNADO 0x95c |
| The tornado sheet, whose six glint pictures are the burst's shards (gJudgment_ShardCells counts from the sheet's start). | |
| #define | JUDGMENT_SHEET_EXPLOSION 0x4000 |
| The explosion's four 32x54 pictures, loaded over the flares on the sweep's frame 64. | |
| #define | JUDGMENT_SHEET_FLARE_A 0x4000 |
| The first 24x24 flare picture, from the crescent sheet the sweep loads. | |
| #define | JUDGMENT_SHEET_FLASH_SMALL 0x6000 |
| The 16x17 small flash, the first of OverlayImageA's three pictures. | |
| #define | JUDGMENT_SHEET_FLASH_LARGE 0x6110 |
| The 24x41 large flash picture. | |
| #define | JUDGMENT_SHEET_FLASH_STREAK 0x64e8 |
| The 22x44 flash streak picture. | |
| #define | JUDGMENT_EXPLOSION_CELL_BYTES 1728 |
| bytes in each explosion picture | |
| #define | JUDGMENT_WAVE_SIZE 120 |
| the wave picture is 120x120 | |
| #define | JUDGMENT_DMA_FILL_CANVAS DMA_FILL_WORDS(0x1000) |
| DMA word that fills the 128x128 canvas. | |
| #define | JUDGMENT_DMA_FILL_WAVE DMA_FILL_WORDS(0xe10) |
| DMA word that fills the 120x120 wave picture. | |
Functions | |
| void | BattleFx_RunJudgment (struct BattleEffectArgument *effect) |
| The battle wipes away to a violet sky where a formation flies forward while motes gather into it, bursts in a flash and sends out a ring of light. | |
The Judgment summon.
Part of effect.c, the battle effect object, compiled only through it. The folder README describes its two parts, the gathering and the sweep, under "Effect families".
Definition in file judgment.c.
| #define JUDGMENT_SHEET_BYTES 0x2710 |
The bytes of Judgment's work block before its dimmed mote copies.
Definition at line 10 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SPARKS (&PARTICLES[128]) |
The gathering's 128 sparks, after its 128 motes in PARTICLES.
Definition at line 25 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_GATHER_FRAMES 160 |
frames of the gathering
Definition at line 27 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SWEEP_FRAMES 320 |
| #define JUDGMENT_SHEET_FLARE_B 0x4240 |
the second 24x24 flare picture
Definition at line 29 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_FORMATION_OBJECTS 16 |
objects in the formation, 4x4
Definition at line 30 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_DEBRIS_OBJECTS 16 |
debris objects of the sweep
Definition at line 31 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SHEET_BURST 0x600 |
the burst's quarter pictures
Definition at line 32 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SHEET_TORNADO 0x95c |
The tornado sheet, whose six glint pictures are the burst's shards (gJudgment_ShardCells counts from the sheet's start).
Definition at line 35 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SHEET_EXPLOSION 0x4000 |
The explosion's four 32x54 pictures, loaded over the flares on the sweep's frame 64.
Definition at line 38 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SHEET_FLARE_A 0x4000 |
The first 24x24 flare picture, from the crescent sheet the sweep loads.
Definition at line 40 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SHEET_FLASH_SMALL 0x6000 |
The 16x17 small flash, the first of OverlayImageA's three pictures.
Definition at line 42 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SHEET_FLASH_LARGE 0x6110 |
The 24x41 large flash picture.
Definition at line 44 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_SHEET_FLASH_STREAK 0x64e8 |
The 22x44 flash streak picture.
Definition at line 46 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_EXPLOSION_CELL_BYTES 1728 |
bytes in each explosion picture
Definition at line 47 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_WAVE_SIZE 120 |
the wave picture is 120x120
Definition at line 48 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_DMA_FILL_CANVAS DMA_FILL_WORDS(0x1000) |
DMA word that fills the 128x128 canvas.
Definition at line 50 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| #define JUDGMENT_DMA_FILL_WAVE DMA_FILL_WORDS(0xe10) |
DMA word that fills the 120x120 wave picture.
Definition at line 52 of file judgment.c.
Referenced by BattleFx_RunJudgment().
| void BattleFx_RunJudgment | ( | struct BattleEffectArgument * | effect | ) |
The battle wipes away to a violet sky where a formation flies forward while motes gather into it, bursts in a flash and sends out a ring of light.
Abilities: Judgment (scene kind 9).
The scene then cuts to an aerial view where the blast spreads in rings, to a beach, and to a forest swept by an explosion front, before brightening back into the battle. The folder README describes both parts. The scene leaves gProjection.centerY at 240.
Definition at line 63 of file judgment.c.
Referenced by BattleFx_RunJudgment(), and BattleFx_RunSceneEffect().