Alchemy
Loading...
Searching...
No Matches

catch.c File Reference

Catch. More...

Go to the source code of this file.

Functions

void FieldFx_RunCatchOnTarget (s32 unused)
 Abilities: Catch (field kind 13), cast on a target.
void FieldFx_RunCatch (void)
 Carries object 215 from 16 pixels above the caster to the goal in 10 steps, growing from a quarter to full size, presses down 20 pixels moving child to (-9, -9), rises 19.5 pixels and shrinks back.

Detailed Description

Catch.

Part of psynergy_effects.c, compiled only through it.

Definition in file catch.c.

Function Documentation

◆ FieldFx_RunCatchOnTarget()

void FieldFx_RunCatchOnTarget ( s32 unused)

Abilities: Catch (field kind 13), cast on a target.

Called by BattleFx_DispatchRequestKind; the target is ignored.

Definition at line 10 of file catch.c.

Referenced by BattleFx_DispatchRequestKind(), Djinn_ResolvePendingEvent(), and FieldFx_RunCatchOnTarget().

◆ FieldFx_RunCatch()

void FieldFx_RunCatch ( void )

Carries object 215 from 16 pixels above the caster to the goal in 10 steps, growing from a quarter to full size, presses down 20 pixels moving child to (-9, -9), rises 19.5 pixels and shrinks back.

Abilities: Catch (field kind 13).

The goal is 32 pixels in front of the caster with scene->enabled, otherwise the effect's position, 32 pixels up in both cases. Called by BattleFx_Run and FieldFx_RunCatchOnTarget. Moves the effect scene's child to (-9, -9) when there is one, and releases object 215 at the end.

Definition at line 22 of file catch.c.

Referenced by BattleFx_Run(), Djinn_ResolvePendingEvent(), FieldFx_RunCatch(), and FieldFx_RunCatchOnTarget().