src/battle_effect/battle_effect_nereid.c
The Nereid summon. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | NEREID_TICKS 124 | |
#define | NEREID_COLUMNS_TICK 32 | The columns of water rise among the targets, from the crash to the clatter. |
#define | NEREID_COLUMNS_END_TICK 80 | |
#define | NEREID_OBJECTS 12 | The sprites that draw Nereid on her turtle. |
#define | NEREID_COLUMNS 3 | Wrapping columns of water. |
#define | NEREID_DROPS PARTICLE_POOL_COUNT | Drops of spray in PARTICLES. |
#define | NEREID_COLUMN_PICTURE 1764 | The column of water in the sprite sheet. |
#define | NEREID_WAVES_Y 104 | The canvas line below which a falling drop has sunk into the waves. |
#define | NEREID_UNREAD_FIRST 24 | Particles given a place and a delay that nothing reads. |
#define | NEREID_UNREAD_COUNT 16 |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunNereid (BATTLE_EFFECT_PARM *args) | Nereid rides in on her turtle over rising waves, columns of water and spray rise over the targets, and she bursts away. |
Description
The Nereid summon. Part of battle_effect.c.
Macros in detail
NEREID_TICKS
#define NEREID_TICKS 124
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 3 of file battle_effect_nereid.c.
NEREID_COLUMNS_TICK
#define NEREID_COLUMNS_TICK 32
The columns of water rise among the targets, from the crash to the clatter.
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 5 of file battle_effect_nereid.c.
NEREID_COLUMNS_END_TICK
#define NEREID_COLUMNS_END_TICK 80
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 6 of file battle_effect_nereid.c.
NEREID_OBJECTS
#define NEREID_OBJECTS 12
The sprites that draw Nereid on her turtle.
Referenced by btEffectPlaceFormationSprites(), btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 9 of file battle_effect_nereid.c.
NEREID_COLUMNS
#define NEREID_COLUMNS 3
Wrapping columns of water.
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 11 of file battle_effect_nereid.c.
NEREID_DROPS
#define NEREID_DROPS PARTICLE_POOL_COUNT
Drops of spray in PARTICLES.
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 13 of file battle_effect_nereid.c.
NEREID_COLUMN_PICTURE
#define NEREID_COLUMN_PICTURE 1764
The column of water in the sprite sheet.
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 15 of file battle_effect_nereid.c.
NEREID_WAVES_Y
#define NEREID_WAVES_Y 104
The canvas line below which a falling drop has sunk into the waves.
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 17 of file battle_effect_nereid.c.
NEREID_UNREAD_FIRST
#define NEREID_UNREAD_FIRST 24
Particles given a place and a delay that nothing reads.
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 19 of file battle_effect_nereid.c.
NEREID_UNREAD_COUNT
#define NEREID_UNREAD_COUNT 16
Referenced by btEffectRunNereid() and btEffectRunNereidCopy().
Definition at line 20 of file battle_effect_nereid.c.
Functions in detail
btEffectRunNereid
void btEffectRunNereid(BATTLE_EFFECT_PARM *args)
Nereid rides in on her turtle over rising waves, columns of water and spray rise over the targets, and she bursts away. A or B skips ahead to her leaving.
Abilities: Nereid.
References btEffectBuildCanvasBlitters(), btEffectCreateSprites(), btEffectEndCanvasLayer(), btEffectPlaceFormationSprites(), btEffectRunImpactBurst(), btEffectShowLivingTargets(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), btResourceLoadAndDecompress(), fdSpriteDestroyStub(), NereidColumns, NereidGravity, PerWork, Sint32, syCloseEvent(), syCos(), syRandom(), sySin(), sySoundPlayStub() and sySynch().
Referenced by btEffectRunSummon().
Definition at line 27 of file battle_effect_nereid.c.