Alchemy

lift.c

Lift.

games/tbs/src/object/psynergy_effects/lift.c on GitHub

Lift. Part of psynergy_effects.c, compiled only through it.

Functions

FieldFx_RunLiftOnTarget

void FieldFx_RunLiftOnTarget(s32 unused)

A hand appears 32 pixels to either side, each moves 14 pixels in, and they lift the target 32 pixels with them. Called by BattleFx_DispatchRequestKind; leaves the target raised and floating (motion flag bit 2), with its update set to ObjectGroup_ApplyRandomChildValues.

Abilities: Lift (field kind 7), cast on a target.

Used by BattleFx_DispatchRequestKind.

Line 14

BattleFx_UpdateRadialBurst

void BattleFx_UpdateRadialBurst(struct EffectSlot *slot)

Effect slot callback of a particle that scatters 25 pixels from its origin in a random direction, then gathers beside the main object and is freed. Set on Force's 12 flashes by FieldFx_RunForceOnTarget in force.c.

Used by FieldFx_RunForce.

Line 122

SpawnHeavyImpactEffect

s32 SpawnHeavyImpactEffect(struct ScriptInterpreter *interpreter)

A heavy impact: places object 0x11b 32 pixels below the source for 20 frames and scatters 12 shards from it. Reached through SC_CALL in gBattleFx_HeavyImpactScript (fxdata.c), where the interpreter is the object running the script, which Force's thrown object runs (force.c). Returns 0, so the script moves on and frees the object.

Used by gBattleFx_HeavyImpactScript.

Line 182

Also, functions without a comment: BattleFx_SpawnItemBreakMode3.

On this page