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
*/
5
void
resetTileEffect
(
StageTileEffect
*task) {
6
s32
i;
7
8
for
(i = 0; i < 3; i++) {
9
task->
anims
[i].
anim
.
index
= 0;
10
task->
anims
[i].
anim
.
timer
=
updateTileEffectFrames
[i][0].
duration
;
11
}
12
}
s32
signed int s32
Definition
common.h:11
resetTileEffect
void resetTileEffect(StageTileEffect *task)
Restarts the three animations of a StageTileEffect, from the stage's updateTileEffectFrames.
Definition
reset_tile_effect.inc.c:5
AnimFrame::duration
s16 duration
Definition
gfx.h:298
AnimState::index
s16 index
Definition
gfx.h:302
AnimState::timer
s16 timer
Definition
gfx.h:303
StageTileAnim::anim
AnimState anim
Definition
stage.h:110
StageTileEffect
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
StageTileEffect::anims
StageTileAnim anims[3]
Definition
stage.h:121
updateTileEffectFrames
AnimFrame * updateTileEffectFrames[]
Defined below, after the code that uses them.
Definition
wstag226.c:340
src
field
stages
common
reset_tile_effect.inc.c
Generated by
1.9.8