summaryrefslogtreecommitdiff
path: root/src/code_08077DF4.c
diff options
context:
space:
mode:
authornotyouraveragehooman <65437533+notyouraveragehooman@users.noreply.github.com>2020-07-15 20:52:03 -0700
committerGitHub <noreply@github.com>2020-07-15 20:52:03 -0700
commite7ae99c1fab713a66b57e9602da69ffaa4652f1c (patch)
treea91f9e616335f1d5691a215f364a90be152c1257 /src/code_08077DF4.c
parent400807e932ff1bd27b59c4a2cedeaa988d15ffd7 (diff)
parent75223bab243e67eb7233edf32ffd8a15a94c6b34 (diff)
Merge pull request #26 from notyouraveragehooman/master
keese.c, input.c
Diffstat (limited to 'src/code_08077DF4.c')
-rw-r--r--src/code_08077DF4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_08077DF4.c b/src/code_08077DF4.c
index 467cbe35..3897a273 100644
--- a/src/code_08077DF4.c
+++ b/src/code_08077DF4.c
@@ -18,7 +18,7 @@ void sub_08077DF4(Entity *ent, u32 arg1)
if ((arg1 & 0xff) > 0xb8) {
arg1 += (ent->entityType).form >> 1;
}
- gLinkEntity.spriteTileSize = (short)(arg1 >> 8);
+ gLinkEntity.spriteIndex = (short)(arg1 >> 8);
InitAnimationForceUpdate(&gLinkEntity, (u8)arg1);
sub_08077E54(ent);
}
@@ -38,7 +38,7 @@ void sub_08077E3C(Entity *ent)
void sub_08077E54(Entity *ent)
{
ent->action = gLinkEntity.animIndex;
- *(u8 *)&ent->spriteTileSize = gLinkEntity.frameIndex;
+ *(u8 *)&ent->spriteIndex = gLinkEntity.frameIndex;
ent->previousActionFlag = gLinkEntity.frameDuration;
ent->actionDelay = gLinkEntity.frames.all;
}