|
Digimon World 3 decomp
The European version, SLES_039.36
|
FIGHTSTG's hit effect, the spark and script of a hit. More...
#include "battle/battle_mode.h"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) | |
FIGHTSTG's hit effect, the spark and script of a hit.
Definition in file hit_effect.c.
| 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().
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.
| 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().