Demon Night, Rumble and Haunting. More...
Go to the source code of this file.
Macros | |
| #define | GATHERING_LIGHTS_SLOTS 128 |
| particles reserved for each target | |
Functions | |
| void | BattleFx_RunDemonNight (struct BattleEffectArgument *effect) |
| Sixteen pink lights burst out of the user and are pulled into each target, with the heavy impact sound. | |
| void | BattleFx_RunRumble (struct BattleEffectArgument *effect) |
| Eight lights in Mars Djinn colours burst out of the user and are pulled into each target. | |
| void | BattleFx_RunHaunting (struct BattleEffectArgument *effect) |
| Twelve lights in Mercury Djinn colours burst out of the user and are pulled into each target. | |
| void | BattleFx_RunGatheringLights (struct BattleEffectArgument *effect, s32 mode) |
| For each target in turn, 20 frames apart, lights burst out of the user, one every 2 frames; from 30 frames into the turn, one more each frame is pulled towards the middle of the target's body, and goes out when it is within 32 pixels across and in depth. | |
Demon Night, Rumble and Haunting.
Part of effect.c, the battle effect object, compiled only through it.
Definition in file gathering_lights.c.
| #define GATHERING_LIGHTS_SLOTS 128 |
particles reserved for each target
Definition at line 33 of file gathering_lights.c.
Referenced by BattleFx_RunGatheringLights().
| void BattleFx_RunDemonNight | ( | struct BattleEffectArgument * | effect | ) |
Sixteen pink lights burst out of the user and are pulled into each target, with the heavy impact sound.
Abilities: Demon Night (kind 50).
Definition at line 16 of file gathering_lights.c.
Referenced by BattleFx_RunDemonNight().
| void BattleFx_RunRumble | ( | struct BattleEffectArgument * | effect | ) |
Eight lights in Mars Djinn colours burst out of the user and are pulled into each target.
Abilities: Rumble (kind 308).
Definition at line 23 of file gathering_lights.c.
Referenced by BattleFx_RunRumble().
| void BattleFx_RunHaunting | ( | struct BattleEffectArgument * | effect | ) |
Twelve lights in Mercury Djinn colours burst out of the user and are pulled into each target.
Abilities: Haunting (kind 351).
Definition at line 30 of file gathering_lights.c.
Referenced by BattleFx_RunHaunting().
| void BattleFx_RunGatheringLights | ( | struct BattleEffectArgument * | effect, |
| s32 | mode ) |
For each target in turn, 20 frames apart, lights burst out of the user, one every 2 frames; from 30 frames into the turn, one more each frame is pulled towards the middle of the target's body, and goes out when it is within 32 pixels across and in depth.
Each light takes one of three images. Each target is struck 70 frames after its turn starts, and the battle shows the damage at frame 80. The effect layer ripples throughout.
Called by BattleFx_RunDemonNight, BattleFx_RunRumble and BattleFx_RunHaunting. Loads its colours over the first 64 of the background palette, uses PARTICLES 0 to 1023, writes work->bg2xLines each frame and adds BattleFx_ArmBg2AffineHBlankDma to feed it to BG2X; removes both its callbacks before it returns.
mode : the colours (0 pink, 1 Mars Djinn, 2 Mercury Djinn) and the row of gGatheringLights_Counts: lights per target and frames.
Definition at line 50 of file gathering_lights.c.
Referenced by BattleFx_RunDemonNight(), BattleFx_RunGatheringLights(), BattleFx_RunHaunting(), and BattleFx_RunRumble().