src/field/script_commands_catch.c
Catch: a hand reaches out from the caster, grabs what is ahead and takes it off the map. More…
Included by script_commands.c.
Functions
| Name | Description | |
|---|---|---|
void | fdPsynergyCatchOnTarget (Sint32 unused) | Runs Catch cast on a target, through fdPsynergyCatch. |
void | fdPsynergyCatch (void) | A hand (SPRITE_MOVE_HAND) reaches from 16 pixels above the caster to the target over GROW_STEPS ticks, growing from a quarter to full size, clenches and presses down 20 pixels, taking what it caught off the map, then rises 19.5 pixels and shrinks back into the caster. |
Description
Catch: a hand reaches out from the caster, grabs what is ahead and takes it
off the map. Part of script_commands.c.
Functions in detail
fdPsynergyCatchOnTarget
void fdPsynergyCatchOnTarget(Sint32 unused)
Runs Catch cast on a target, through fdPsynergyCatch.
References fdPsynergyCatch() and Sint32.
Referenced by fdPsynergyDispatch().
Definition at line 7 of file script_commands_catch.c.
fdPsynergyCatch
void fdPsynergyCatch(void)
A hand (SPRITE_MOVE_HAND) reaches from 16 pixels above the caster to the
target over GROW_STEPS ticks, growing from a quarter to full size, clenches
and presses down 20 pixels, taking what it caught off the map, then rises
19.5 pixels and shrinks back into the caster.
References fdActorReleaseStub(), fdActorSelectAnimationStub(), fdActorSetPosAndResetMotionStub(), fdActorSetSpriteColorModeStub(), fdActorSpawn(), fdEffectInterpolate(), fdPsynergyFadeFromCastColor(), fdPsynergyFadeToCastColor(), Sint32, sySoundPlayStub(), sySynch() and syVectorAddPolarOffset().
Referenced by fdPsynergyCatchOnTarget() and fdPsynergyRun().
Definition at line 16 of file script_commands_catch.c.