summaryrefslogtreecommitdiff
path: root/src/code_08077DF4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code_08077DF4.c')
-rw-r--r--src/code_08077DF4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code_08077DF4.c b/src/code_08077DF4.c
index 1697ecb0..0dc90c4a 100644
--- a/src/code_08077DF4.c
+++ b/src/code_08077DF4.c
@@ -35,7 +35,7 @@ void sub_08077E3C(Entity* ent, u32 idx) {
void sub_08077E54(Entity* ent) {
ent->action = gPlayerEntity.animIndex;
*(u8*)&ent->spriteIndex = gPlayerEntity.frameIndex;
- ent->previousActionFlag = gPlayerEntity.frameDuration;
+ ent->subAction = gPlayerEntity.frameDuration;
ent->actionDelay = gPlayerEntity.frames.all;
}