Alchemy
Loading...
Searching...
No Matches

force.c File Reference

Force. More...

Go to the source code of this file.

Functions

void FieldFx_RunForceOnTarget (s32 unused)
 Runs Force cast on a target, through FieldFx_RunForce.
static __inline__ void BattleFx_GetPositionAboveActor (struct FieldActor *obj, struct EffectVector *pos)
 Writes the position 16 pixels above the actor.
void FieldFx_RunForce (void)
 A shot appears in front of the caster, grows and flies forward with three afterimages; what it hits (scene->child) is pushed 16 pixels.

Detailed Description

Force.

Part of psynergy_effects.c, compiled only through it.

Definition in file force.c.

Function Documentation

◆ FieldFx_RunForceOnTarget()

void FieldFx_RunForceOnTarget ( s32 unused)

Runs Force cast on a target, through FieldFx_RunForce.

Abilities: Force (field kind 4), cast on a target.

Definition at line 10 of file force.c.

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

◆ BattleFx_GetPositionAboveActor()

__inline__ void BattleFx_GetPositionAboveActor ( struct FieldActor * obj,
struct EffectVector * pos )
static

Writes the position 16 pixels above the actor.

Definition at line 14 of file force.c.

Referenced by BattleFx_GetPositionAboveActor(), and FieldFx_RunForce().

◆ FieldFx_RunForce()

void FieldFx_RunForce ( void )

A shot appears in front of the caster, grows and flies forward with three afterimages; what it hits (scene->child) is pushed 16 pixels.

Abilities: Force (field kind 4).

Definition at line 23 of file force.c.

Referenced by BattleFx_Run(), Djinn_ResolvePendingEvent(), FieldFx_RunForce(), and FieldFx_RunForceOnTarget().