Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_condemn.c

Condemn. More…

Included by battle_effect.c.

Macros

NameDescription
#defineCONDEMN_TICKS 132
#defineCONDEMN_PASS_TICKS 32The reaper's first two passes, in ticks; it fades out, rippling harder, over the last CONDEMN_FADE_TICKS of each.
#defineCONDEMN_FADE_TICKS 16
#defineCONDEMN_SWING_TICK 88The reaper swings, in a white flash.
#defineCONDEMN_BOUNCE_TICK 120The falling target bounces.
#defineCONDEMN_SWAY_X 16How far the reaper sways across and up and down as it circles, in pixels.
#defineCONDEMN_SWAY_Y 4
#defineCONDEMN_PICTURE_X (column, picture) CondemnPictureX[(column)][(picture)]Where picture, one of the reaper's seven pictures, is drawn (REAPER_PICTURE_X), by the casting side's column and row.
#defineCONDEMN_PICTURE_Y (row, picture) CondemnPictureY[(row)][(picture)]

Functions

NameDescription
voidbtEffectRunCondemn (BATTLE_EFFECT_PARM *args)A hooded reaper with a scythe sways across the screen three times, fading out through a ripple, the last pass over the first target; the screen flashes white, the reaper swings, and the red crescent its scythe leaves fades while the target is knocked back.

Description

Condemn. Part of battle_effect.c.

Macros in detail

CONDEMN_TICKS

#define CONDEMN_TICKS 132

Referenced by btEffectRunCondemn().

Definition at line 3 of file battle_effect_condemn.c.

CONDEMN_PASS_TICKS

#define CONDEMN_PASS_TICKS 32

The reaper's first two passes, in ticks; it fades out, rippling harder, over the last CONDEMN_FADE_TICKS of each.

Referenced by btEffectRunCondemn().

Definition at line 6 of file battle_effect_condemn.c.

CONDEMN_FADE_TICKS

#define CONDEMN_FADE_TICKS 16

Referenced by btEffectRunCondemn().

Definition at line 7 of file battle_effect_condemn.c.

CONDEMN_SWING_TICK

#define CONDEMN_SWING_TICK 88

The reaper swings, in a white flash.

Referenced by btEffectRunCondemn().

Definition at line 9 of file battle_effect_condemn.c.

CONDEMN_BOUNCE_TICK

#define CONDEMN_BOUNCE_TICK 120

The falling target bounces.

Referenced by btEffectRunCondemn().

Definition at line 11 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 13 of file battle_effect_condemn.c.

CONDEMN_SWAY_Y

#define CONDEMN_SWAY_Y 4

Referenced by btEffectRunCondemn().

Definition at line 14 of file battle_effect_condemn.c.

CONDEMN_PICTURE_X

#define CONDEMN_PICTURE_X(column, picture) CondemnPictureX[(column)][(picture)]

Where picture, one of the reaper's seven pictures, is drawn (REAPER_PICTURE_X), by the casting side's column and row.

Referenced by btEffectRunCondemn().

Definition at line 18 of file battle_effect_condemn.c.

CONDEMN_PICTURE_Y

#define CONDEMN_PICTURE_Y(row, picture) CondemnPictureY[(row)][(picture)]

Referenced by btEffectRunCondemn().

Definition at line 19 of file battle_effect_condemn.c.

Functions in detail

btEffectRunCondemn

void btEffectRunCondemn(BATTLE_EFFECT_PARM *args)

A hooded reaper with a scythe sways across the screen three times, fading out through a ripple, the last pass over the first target; the screen flashes white, the reaper swings, and the red crescent its scythe leaves fades while the target is knocked back.

Abilities: Condemn.

Condemn
Condemn

References btBackgroundLoadStub(), btEffectArmBg2AffineHBlankDMA(), btEffectEndCanvasLayer(), btEffectStartTiledCanvas(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), btProjectionScaledUnit(), fdActorSetMoveTargetStub(), HeapSlots, Sint32, state, syCloseEvent(), syCos(), syDecompressTaggedLZ(), syResourceGetTableEntry(), sySetEvent(), sySin(), sySoundPlayStub(), syWordsCopy() and syWordsFill().

Referenced by BattleEffectHandlers.

Definition at line 27 of file battle_effect_condemn.c.