The Ramses summon. More...
Go to the source code of this file.
Macros | |
| #define | RAMSES_FRAMES 320 |
| #define | RAMSES_STRIKE_FRAME 260 |
| the orb's burst strikes the targets | |
| #define | RAMSES_ROCKS 6 |
| rocks that fall and bounce | |
| #define | RAMSES_FIRST_PUFF 6 |
| the first puff in work->particles | |
| #define | RAMSES_FIRST_ROCK_PUFF 30 |
| the first rock puff in work->particles | |
| #define | RAMSES_SPARKS 512 |
| sparks of the orb's burst | |
Functions | |
| void | BattleFx_RunRamses (struct BattleEffectArgument *effect) |
| Over the desert backdrop a formation stands while an orb circles above it, drops three times throwing puffs, and flies off; RAMSES_ROCKS rocks fall and bounce, and the orb's flight ends in a burst of RAMSES_SPARKS sparks from PARTICLES. | |
The Ramses summon.
Part of effect.c, the battle effect object, compiled only through it.
Definition in file ramses.c.
| #define RAMSES_FRAMES 320 |
Definition at line 11 of file ramses.c.
Referenced by BattleFx_RunRamses().
| #define RAMSES_STRIKE_FRAME 260 |
the orb's burst strikes the targets
Definition at line 12 of file ramses.c.
Referenced by BattleFx_RunRamses().
| #define RAMSES_ROCKS 6 |
rocks that fall and bounce
Definition at line 13 of file ramses.c.
Referenced by BattleFx_RunRamses().
| #define RAMSES_FIRST_PUFF 6 |
the first puff in work->particles
Definition at line 14 of file ramses.c.
Referenced by BattleFx_RunRamses().
| #define RAMSES_FIRST_ROCK_PUFF 30 |
the first rock puff in work->particles
Definition at line 15 of file ramses.c.
Referenced by BattleFx_RunRamses().
| #define RAMSES_SPARKS 512 |
sparks of the orb's burst
Definition at line 16 of file ramses.c.
Referenced by BattleFx_RunRamses().
| void BattleFx_RunRamses | ( | struct BattleEffectArgument * | effect | ) |
Over the desert backdrop a formation stands while an orb circles above it, drops three times throwing puffs, and flies off; RAMSES_ROCKS rocks fall and bounce, and the orb's flight ends in a burst of RAMSES_SPARKS sparks from PARTICLES.
Abilities: Ramses (scene kind 1).
Up to RAMSES_FRAMES frames; A or B ends it early.
0 to 90 the orb circles above the formation 91 to 196 it drops three times, 40 frames apart, throwing puffs, and rises again; the screen shakes over frames 96 to 251 244 to 275 it flies off to the left, speeding up 260 the targets are struck and the sparks burst out
After frame 96 the rocks fall and bounce. Within a frame the order of the steps matters: later steps draw over earlier ones, and several of them consume random numbers.
Definition at line 36 of file ramses.c.
Referenced by BattleFx_RunRamses(), and BattleFx_RunSceneEffect().