catch.c
Catch.
games/tbs/src/object/psynergy_effects/catch.c on GitHub
Catch. Part of psynergy_effects.c, compiled only through it.
Functions
FieldFx_RunCatchOnTarget
void FieldFx_RunCatchOnTarget(s32 unused)
Runs Catch cast on a target, through FieldFx_RunCatch.
Abilities: Catch (field kind 13), cast on a target.
Called by BattleFx_DispatchRequestKind; the target is ignored.
Used by BattleFx_DispatchRequestKind.
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).
Object 215 is the hand of Move and Carry. The goal is 32 pixels in front of the caster with scene->enabled (no scene event named the target), 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.
Used by BattleFx_Run, FieldFx_RunCatchOnTarget.