The Cybele summon. More...
Go to the source code of this file.
Macros | |
| #define | CYBELE_FRAMES 366 |
| #define | CYBELE_CHIP_COUNT 48 |
| chips thrown by the thorns | |
| #define | CYBELE_VINES 10 |
| vines drawn | |
| #define | CYBELE_BLAST_CELLS 0x1680 |
| the blast pictures, after the yellow ring | |
| #define | CYBELE_FIRST_SPARK 16 |
| the first spark in work->particles | |
| #define | CYBELE_FIRST_THORN 32 |
| the first thorn in work->particles | |
| #define | CYBELE_FIRST_CHIP 16 |
| the first chip in work->particles | |
| #define | CYBELE_EMBER_CELL 6 |
| the ember picture in gCybele_EmberOffsets | |
Functions | |
| void | BattleFx_RunCybele (struct BattleEffectArgument *effect) |
| Thorn vines: thorns fly in from the right, vines grow out of the ground and lift the targets while sparks flash around them, the picture dissolves pixel by pixel, and the targets drop and explode. | |
The Cybele summon.
Part of effect.c, the battle effect object, compiled only through it.
Definition in file cybele.c.
| #define CYBELE_FRAMES 366 |
Definition at line 13 of file cybele.c.
Referenced by BattleFx_RunCybele().
| #define CYBELE_CHIP_COUNT 48 |
chips thrown by the thorns
Definition at line 14 of file cybele.c.
Referenced by BattleFx_RunCybele().
| #define CYBELE_VINES 10 |
| #define CYBELE_BLAST_CELLS 0x1680 |
the blast pictures, after the yellow ring
Definition at line 16 of file cybele.c.
Referenced by BattleFx_RunCybele().
| #define CYBELE_FIRST_SPARK 16 |
the first spark in work->particles
Definition at line 17 of file cybele.c.
Referenced by BattleFx_RunCybele().
| #define CYBELE_FIRST_THORN 32 |
the first thorn in work->particles
Definition at line 18 of file cybele.c.
Referenced by BattleFx_RunCybele().
| #define CYBELE_FIRST_CHIP 16 |
the first chip in work->particles
Definition at line 19 of file cybele.c.
Referenced by BattleFx_RunCybele().
| #define CYBELE_EMBER_CELL 6 |
the ember picture in gCybele_EmberOffsets
Definition at line 20 of file cybele.c.
Referenced by BattleFx_RunCybele().
| void BattleFx_RunCybele | ( | struct BattleEffectArgument * | effect | ) |
Thorn vines: thorns fly in from the right, vines grow out of the ground and lift the targets while sparks flash around them, the picture dissolves pixel by pixel, and the targets drop and explode.
Abilities: Cybele (scene kind 5).
366 frames:
Pressing A or B between frames 191 and 285 skips to the drop. At the end the battle shows the damage and an impact burst (BattleFx_RunImpactBurst) explodes at the formation.
Besides the canvas and work->particles (above), it writes the dissolve order into the first 1024 bytes of Ram_MapCellBuffer, greys the first 64 background colours, lifts and drops the targets' objects (their y and gravity), and sets REG_BG2X, REG_BG2PA, REG_BLDCNT and work->shakeFrames. It spawns eight formation objects and releases them, the transfer callback and the blitters before it closes the canvas layer.
Definition at line 50 of file cybele.c.
Referenced by BattleFx_RunCybele(), and BattleFx_RunSceneEffect().