Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
reset_tile_effect.inc.c
Go to the documentation of this file.
1/*
2 * Restarts the three animations of a StageTileEffect, from the stage's
3 * updateTileEffectFrames
4 */
6 s32 i;
7
8 for (i = 0; i < 3; i++) {
9 task->anims[i].anim.index = 0;
11 }
12}
signed int s32
Definition common.h:11
void resetTileEffect(StageTileEffect *task)
Restarts the three animations of a StageTileEffect, from the stage's updateTileEffectFrames.
s16 duration
Definition gfx.h:298
s16 index
Definition gfx.h:302
s16 timer
Definition gfx.h:303
AnimState anim
Definition stage.h:110
Three map objects (animations 1 to 3) moved to (x, y) and animated once when the substate is set to 1...
Definition stage.h:117
StageTileAnim anims[3]
Definition stage.h:121
AnimFrame * updateTileEffectFrames[]
Defined below, after the code that uses them.
Definition wstag226.c:340