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; NereidColumns has a fourth row that nothing draws. |
#define | NEREID_DROPS PARTICLE_POOL_COUNT | Drops of spray in PARTICLES. |
#define | NEREID_COLUMN_PICTURE 1764 | Where the column of water starts in the sheet. |
#define | NEREID_BURST_DROPS 256 | The drops burst up: every free one of the first NEREID_BURST_DROPS as the columns gather, then NEREID_DROPS_A_TICK a tick while they rise. |
#define | NEREID_DROPS_A_TICK 16 | |
#define | NEREID_WAVES_Y 104 | The canvas line below which a falling drop has sunk into the waves. |
#define | NEREID_THROW_DROP (drop) | Throws a drop up from a random point among the targets. |
#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().
Definition at line 7 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().
Definition at line 9 of file battle_effect_nereid.c.
NEREID_COLUMNS_END_TICK
#define NEREID_COLUMNS_END_TICK 80
Referenced by btEffectRunNereid().
Definition at line 10 of file battle_effect_nereid.c.
NEREID_OBJECTS
#define NEREID_OBJECTS 12
The sprites that draw Nereid on her turtle.
Referenced by btEffectRunNereid().
Definition at line 13 of file battle_effect_nereid.c.
NEREID_COLUMNS
#define NEREID_COLUMNS 3
Wrapping columns of water; NereidColumns has a fourth row that nothing draws.
Referenced by btEffectRunNereid().
Definition at line 15 of file battle_effect_nereid.c.
NEREID_DROPS
#define NEREID_DROPS PARTICLE_POOL_COUNT
Drops of spray in PARTICLES.
Referenced by btEffectRunNereid().
Definition at line 17 of file battle_effect_nereid.c.
NEREID_COLUMN_PICTURE
#define NEREID_COLUMN_PICTURE 1764
Where the column of water starts in the sheet.
Referenced by btEffectRunNereid().
Definition at line 19 of file battle_effect_nereid.c.
NEREID_BURST_DROPS
#define NEREID_BURST_DROPS 256
The drops burst up: every free one of the first NEREID_BURST_DROPS as the
columns gather, then NEREID_DROPS_A_TICK a tick while they rise.
Referenced by btEffectRunNereid().
Definition at line 22 of file battle_effect_nereid.c.
NEREID_DROPS_A_TICK
#define NEREID_DROPS_A_TICK 16
Referenced by btEffectRunNereid().
Definition at line 23 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().
Definition at line 25 of file battle_effect_nereid.c.
NEREID_THROW_DROP
#define NEREID_THROW_DROP(drop)
Throws a drop up from a random point among the targets.
Referenced by btEffectRunNereid().
Definition at line 27 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().
Definition at line 38 of file battle_effect_nereid.c.
NEREID_UNREAD_COUNT
#define NEREID_UNREAD_COUNT 16
Referenced by btEffectRunNereid().
Definition at line 39 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.
Abilities: Nereid.
References btEffectBuildCanvasBlitters(), btEffectCreateSprites(), btEffectEndCanvasLayer(), btEffectPlaceFormationSprites(), btEffectRunImpactBurst(), btEffectShowLivingTargets(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), fdSpriteDestroyStub(), NereidColumns, NereidGravity, PerRepeat, Sint32, state, syCloseEvent(), syDecompressTaggedLZ(), syRandom(), syResourceGetTableEntry(), sySoundPlayStub(), sySynch() and syWordsCopy().
Referenced by btEffectRunSummon().
Definition at line 45 of file battle_effect_nereid.c.