Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_condemn.c

Condemn. More…

Included by battle_effect.c.

Macros

NameDescription
#defineCONDEMN_TICKS 104
#defineCONDEMN_SWING_TICK 72the reaper swings, in a white flash
#defineCONDEMN_SWAY_X 16How far the reaper sways across and up and down as it circles, in pixels.
#defineCONDEMN_SWAY_Y 4
#defineCONDEMN_PICTURES 7The pictures Condemn draws: the reaper raised and swinging, the crescent its scythe leaves and the crescent's four fades.
#defineCONDEMN_PICTURE_X (column, picture)Where picture, one of Condemn's pictures, is drawn, by the casting side's column and row.
#defineCONDEMN_PICTURE_Y (row, picture)

Functions

NameDescription
voidbtEffectRunCondemn (BATTLE_EFFECT_PARM *args)A hooded reaper with a scythe circles in, fading out through a ripple as it jumps closer twice, the second time onto the first target; the screen flashes white, the reaper swings, and the red crescent its scythe leaves fades while the target is knocked back and the screen shakes.

Description

Condemn. Part of battle_effect.c.

Macros in detail

CONDEMN_TICKS

#define CONDEMN_TICKS 104

Referenced by btEffectRunCondemn().

Definition at line 3 of file battle_effect_condemn.c.

CONDEMN_SWING_TICK

#define CONDEMN_SWING_TICK 72

the reaper swings, in a white flash

Referenced by btEffectRunCondemn().

Definition at line 4 of file battle_effect_condemn.c.

CONDEMN_SWAY_X

#define CONDEMN_SWAY_X 16

How far the reaper sways across and up and down as it circles, in pixels.

Referenced by btEffectRunCondemn().

Definition at line 6 of file battle_effect_condemn.c.

CONDEMN_SWAY_Y

#define CONDEMN_SWAY_Y 4

Referenced by btEffectRunCondemn().

Definition at line 7 of file battle_effect_condemn.c.

CONDEMN_PICTURES

#define CONDEMN_PICTURES 7

The pictures Condemn draws: the reaper raised and swinging, the crescent its scythe leaves and the crescent's four fades.

Definition at line 11 of file battle_effect_condemn.c.

CONDEMN_PICTURE_X

#define CONDEMN_PICTURE_X(column, picture)

Where picture, one of Condemn's pictures, is drawn, by the casting side's column and row.

Referenced by btEffectRunCondemn().

Definition at line 14 of file battle_effect_condemn.c.

CONDEMN_PICTURE_Y

#define CONDEMN_PICTURE_Y(row, picture)

Referenced by btEffectRunCondemn().

Definition at line 16 of file battle_effect_condemn.c.

Functions in detail

btEffectRunCondemn

void btEffectRunCondemn(BATTLE_EFFECT_PARM *args)

A hooded reaper with a scythe circles in, fading out through a ripple as it jumps closer twice, the second time onto the first target; the screen flashes white, the reaper swings, and the red crescent its scythe leaves fades while the target is knocked back and the screen shakes.

Abilities: Condemn.

References btBackgroundLoadStub(), btCameraShake(), btEffectArmBg2AffineHBlankDMA(), btEffectEndCanvasLayer(), btEffectPosProjectScaledBattler(), btEffectStartTiledCanvas(), btEffectTransferCanvas(), btMotionApplyKnockbackStub(), btResourceLoadAndDecompress(), MapGridMetatileBuffer, Sint32, syCloseEvent(), syCos(), sySetEvent(), sySin() and sySoundPlayStub().

Referenced by BattleEffectHandlers.

Definition at line 25 of file battle_effect_condemn.c.