src/battle_effect/battle_effect_undead_sword.c
Undead Sword, the sword of light that rises under its target. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | UNDEAD_SWORD_TICKS 54 | |
#define | LIME_COLUMN_WIDTH 14 | The lime column sheet's left half of a jagged, pointed blade of light, drawn twice, the second mirrored beside it. |
#define | LIME_COLUMN_HEIGHT 80 | |
#define | UNDEAD_SWORD_FOOT_Y 112 | The blade's foot: the canvas row it stands on, which the puffs billow from. |
#define | UNDEAD_SWORD_PUFF_SHEET PICTURE_BYTES(LIME_COLUMN) | The puffs' pictures, after the half blade. |
#define | UNDEAD_SWORD_PUFFS 16 | |
#define | UNDEAD_SWORD_PUFF_PICTURES 7 | A puff's seven pictures, three ticks each, the last held until it goes. |
#define | UNDEAD_SWORD_PUFF_TICKS 29 |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunUndeadSword (BATTLE_EFFECT_PARM *args) | A blade of lime light thrusts up out of the ground under the first target and sinks again, amid puffs of lime smoke that billow up round it. |
Description
Undead Sword, the sword of light that rises under its target. Part of
battle_effect.c.
Macros in detail
UNDEAD_SWORD_TICKS
#define UNDEAD_SWORD_TICKS 54
Referenced by btEffectRunUndeadSword().
Definition at line 4 of file battle_effect_undead_sword.c.
LIME_COLUMN_WIDTH
#define LIME_COLUMN_WIDTH 14
The lime column sheet's left half of a jagged, pointed blade of light, drawn twice, the second mirrored beside it.
Referenced by btEffectRunUndeadSword().
Definition at line 8 of file battle_effect_undead_sword.c.
LIME_COLUMN_HEIGHT
#define LIME_COLUMN_HEIGHT 80
Referenced by btEffectRunUndeadSword().
Definition at line 9 of file battle_effect_undead_sword.c.
UNDEAD_SWORD_FOOT_Y
#define UNDEAD_SWORD_FOOT_Y 112
The blade's foot: the canvas row it stands on, which the puffs billow from.
Referenced by btEffectRunUndeadSword().
Definition at line 11 of file battle_effect_undead_sword.c.
UNDEAD_SWORD_PUFF_SHEET
#define UNDEAD_SWORD_PUFF_SHEET PICTURE_BYTES(LIME_COLUMN)
The puffs' pictures, after the half blade.
Referenced by btEffectRunUndeadSword().
Definition at line 13 of file battle_effect_undead_sword.c.
UNDEAD_SWORD_PUFFS
#define UNDEAD_SWORD_PUFFS 16
Referenced by btEffectRunUndeadSword().
Definition at line 14 of file battle_effect_undead_sword.c.
UNDEAD_SWORD_PUFF_PICTURES
#define UNDEAD_SWORD_PUFF_PICTURES 7
A puff's seven pictures, three ticks each, the last held until it goes.
Referenced by btEffectRunUndeadSword().
Definition at line 16 of file battle_effect_undead_sword.c.
UNDEAD_SWORD_PUFF_TICKS
#define UNDEAD_SWORD_PUFF_TICKS 29
Referenced by btEffectRunUndeadSword().
Definition at line 17 of file battle_effect_undead_sword.c.
Functions in detail
btEffectRunUndeadSword
void btEffectRunUndeadSword(BATTLE_EFFECT_PARM *args)
A blade of lime light thrusts up out of the ground under the first target and sinks again, amid puffs of lime smoke that billow up round it.
Abilities: Undead Sword.
References btCameraShake(), btEffectBuildCanvasBlitters(), btEffectEndCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btParticleAdvanceWithGravity2D(), btProjectionUnit(), btResourceLoadAndDecompress(), HeapSlots, Sint32, state, syCloseEvent(), syCos(), syHeapSlotRelease(), syRandom(), sySin(), UndeadSwordPuffPictures and UndeadSwordPuffSizes.
Referenced by BattleEffectHandlers.
Definition at line 23 of file battle_effect_undead_sword.c.