summaryrefslogtreecommitdiff
path: root/src/code_08077DF4.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-03-15 21:17:25 -0700
committertheo3 <arisstephenson2@gmail.com>2021-03-15 21:24:10 -0700
commitaf98f5f9a30e7276ffe9c21c903cc6f1a866e39c (patch)
treea48a5365ff74fbb6282af2e9774b1aeba63642f5 /src/code_08077DF4.c
parentc319dc53d3bc67909be7bbe75538d796bc99ddff (diff)
several more player functions done
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;
}