Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
hit_effect.c File Reference

FIGHTSTG's hit effect, the spark and script of a hit. More...

Include dependency graph for hit_effect.c:

Go to the source code of this file.

Functions

void FIGHTSTG_updateHitEffect (HitEffect *task, HitEffectChildren *children)
 Loads effect 0x33, then turns the camera to the enemy's view, plays the effect with a sound and, 10 frames on, the hit's or the knockout's script.
 
HitEffect * FIGHTSTG_startHitEffect (s32 result, s32 arg1)
 Starts the effect of a hit on the player's fighter (result 1) or of its knockout (2)
 

Variables

const SVECTOR FIGHTSTG_hitEffectPos = { 0, 120, 0x7FFF, 0 }
 where FIGHTSTG_updateHitEffect's effect 0x33 is: a screen position, in front (z 0x7FFF, see FIGHTSTG_drawSpriteAnim)
 

Detailed Description

FIGHTSTG's hit effect, the spark and script of a hit.

Definition in file hit_effect.c.

Function Documentation

◆ FIGHTSTG_updateHitEffect()

void FIGHTSTG_updateHitEffect ( HitEffect *  task,
HitEffectChildren *  children 
)

Loads effect 0x33, then turns the camera to the enemy's view, plays the effect with a sound and, 10 frames on, the hit's or the knockout's script.

< the fighters'

Definition at line 11 of file hit_effect.c.

Referenced by FIGHTSTG_startHitEffect().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FIGHTSTG_startHitEffect()

HitEffect * FIGHTSTG_startHitEffect ( s32  result,
s32  arg1 
)

Starts the effect of a hit on the player's fighter (result 1) or of its knockout (2)

Definition at line 74 of file hit_effect.c.

Here is the call graph for this function:

Variable Documentation

◆ FIGHTSTG_hitEffectPos

const SVECTOR FIGHTSTG_hitEffectPos = { 0, 120, 0x7FFF, 0 }

where FIGHTSTG_updateHitEffect's effect 0x33 is: a screen position, in front (z 0x7FFF, see FIGHTSTG_drawSpriteAnim)

Definition at line 7 of file hit_effect.c.

Referenced by FIGHTSTG_updateHitEffect().