src/battle_effect/battle_effect_flurry.c
Gust, Flying Attack and the rush strikes. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | FLURRY_WAITING_MOTES 768 | The motes in PARTICLES, waiting above the target. |
#define | FLURRY_DRAWN_MOTES 512 | The motes the strikes draw, from the first. |
#define | FLURRY_MOTES_PER_STRIKE 32 | Each strike's run of PARTICLES, from the strike's number times this. |
#define | FLURRY_DEFINE_BY_VARIANT (name, basic, stronger, strongest) | Each plays the flurry mode basic, stronger or strongest as the effect's variant (EFFECT_VARIANT) says. |
#define | FLURRY_ORB_PICTURES 20736 | The flash pictures, packed to half width after the arcs. |
#define | FLURRY_WAVE_PICTURES (RamMapGridMetatileBuffer + 24064) | The wave pictures, in the map grid buffer past the motes. |
Enumerations
| Name | Description | |
|---|---|---|
enum | FLURRY_COLUMN { FLURRY_ARC_SHEET, FLURRY_PALETTE, FLURRY_STRIKES, FLURRY_MOT … } | The bytes of a FlurryStyles row, one row a mode. |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunBearClaw (BATTLE_EFFECT_PARM *args) | The user strikes the first target five times. |
void | btEffectRunRansack (BATTLE_EFFECT_PARM *args) | Ransack plays the same five strikes as Bear Claw. |
void | btEffectRunBacteriaRush (BATTLE_EFFECT_PARM *args) | Seven strikes land on the first target in the lime palette. |
void | btEffectRunFreebiteRush (BATTLE_EFFECT_PARM *args) | Nine strikes land on the first target in the blue palette. |
void | btEffectRunFlurry (BATTLE_EFFECT_PARM *args, Sint32 mode) | The user closes on the first target and strikes it again and again, each strike an arc or a wave with a flash and a spray of motes; the last knocks the target back. |
Description
Gust, Flying Attack and the rush strikes. Part of battle_effect.c.
Macros in detail
FLURRY_WAITING_MOTES
#define FLURRY_WAITING_MOTES 768
The motes in PARTICLES, waiting above the target.
Referenced by btEffectRunFlurry().
Definition at line 4 of file battle_effect_flurry.c.
FLURRY_DRAWN_MOTES
#define FLURRY_DRAWN_MOTES 512
The motes the strikes draw, from the first.
Referenced by btEffectRunFlurry().
Definition at line 6 of file battle_effect_flurry.c.
FLURRY_MOTES_PER_STRIKE
#define FLURRY_MOTES_PER_STRIKE 32
Each strike's run of PARTICLES, from the strike's number times this.
Referenced by btEffectRunFlurry().
Definition at line 8 of file battle_effect_flurry.c.
FLURRY_DEFINE_BY_VARIANT
#define FLURRY_DEFINE_BY_VARIANT(name, basic, stronger, strongest)
Each plays the flurry mode basic, stronger or strongest as the effect's
variant (EFFECT_VARIANT) says.
Definition at line 12 of file battle_effect_flurry.c.
FLURRY_ORB_PICTURES
#define FLURRY_ORB_PICTURES 20736
The flash pictures, packed to half width after the arcs.
Referenced by btEffectRunFlurry().
Definition at line 93 of file battle_effect_flurry.c.
FLURRY_WAVE_PICTURES
#define FLURRY_WAVE_PICTURES (RamMapGridMetatileBuffer + 24064)
The wave pictures, in the map grid buffer past the motes.
Referenced by btEffectRunFlurry().
Definition at line 95 of file battle_effect_flurry.c.
Enumerations in detail
FLURRY_COLUMN
enum FLURRY_COLUMN
The bytes of a FlurryStyles row, one row a mode.
| Enumerator | Value | Description |
|---|---|---|
FLURRY_ARC_SHEET | the arcs (FLURRY_ARC) | |
FLURRY_PALETTE | whose palette (FLURRY_PAL) | |
FLURRY_STRIKES | ||
FLURRY_MOTES | motes thrown by each strike, at most FLURRY_MOTES_PER_STRIKE | |
FLURRY_INTERVAL | ticks between strikes | |
FLURRY_TICKS | ticks in the whole effect | |
FLURRY_FLASH | 1 fills the canvas with level 47 on each hit |
Definition at line 80 of file battle_effect_flurry.c.
Functions in detail
btEffectRunBearClaw
void btEffectRunBearClaw(BATTLE_EFFECT_PARM *args)
The user strikes the first target five times.
Abilities: Bear Claw; Counterstrike.
References btEffectRunFlurry().
Referenced by BattleEffectHandlers.
Definition at line 41 of file battle_effect_flurry.c.
btEffectRunRansack
void btEffectRunRansack(BATTLE_EFFECT_PARM *args)
Ransack plays the same five strikes as Bear Claw.
Abilities: Ransack; Mad Dash.
References btEffectRunFlurry().
Referenced by BattleEffectHandlers.
Definition at line 49 of file battle_effect_flurry.c.
btEffectRunBacteriaRush
void btEffectRunBacteriaRush(BATTLE_EFFECT_PARM *args)
Seven strikes land on the first target in the lime palette.
Abilities: Bacteria Rush.
References btEffectRunFlurry().
Referenced by BattleEffectHandlers.
Definition at line 57 of file battle_effect_flurry.c.
btEffectRunFreebiteRush
void btEffectRunFreebiteRush(BATTLE_EFFECT_PARM *args)
Nine strikes land on the first target in the blue palette.
Abilities: Freebite Rush.
References btEffectRunFlurry().
Referenced by BattleEffectHandlers.
Definition at line 65 of file battle_effect_flurry.c.
btEffectRunFlurry
void btEffectRunFlurry(BATTLE_EFFECT_PARM *args, Sint32 mode)
The user closes on the first target and strikes it again and again, each strike an arc or a wave with a flash and a spray of motes; the last knocks the target back.
References btCameraShake(), btEffectEndCanvasLayer(), btEffectRunDjinniEntrance(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btMotionApproachTargetStub(), btObjectGetStub(), btParticleAdvanceWithGravity3D(), btProjectionPoint(), btProjectionScaledUnit(), btResourceLoadAndDecompress(), FlurryStyles, Sint32, state, syCloseEvent(), syRandom(), syResourceGetTableEntry(), sySoundPlayStub(), sySynch(), syWordsCopy() and syWordsFill().
Referenced by btEffectRunBacteriaRush(), btEffectRunBearClaw(), btEffectRunFreebiteRush() and btEffectRunRansack().
Definition at line 100 of file battle_effect_flurry.c.