summaryrefslogtreecommitdiff
path: root/src/update_objects.c
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-04-20 22:06:45 -0600
committerGitHub <noreply@github.com>2024-04-20 22:06:45 -0600
commita620e1ec3fbc465f1806a62c730d493536f385c2 (patch)
tree2fb28fd3188be1edab52a6b7ca3214fde737f716 /src/update_objects.c
parentcda6a508fdca35d582aeefd2f966bf5b45919f81 (diff)
Update update_objects.c (#619)
Diffstat (limited to 'src/update_objects.c')
-rw-r--r--src/update_objects.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/update_objects.c b/src/update_objects.c
index d4572e5a0..09996421b 100644
--- a/src/update_objects.c
+++ b/src/update_objects.c
@@ -4189,13 +4189,13 @@ UNUSED void func_8007C49C(void) {
void func_8007C4A4(s32 objectIndex) {
u16 var_t9;
- var_t9 = gObjectList[objectIndex].unk_0BE[1] * 0x24 / 0x10000;
+ var_t9 = gObjectList[objectIndex].direction_angle[1] * 0x24 / 0x10000;
if (var_t9 < 0x13) {
- set_object_flag_unk_054_false(objectIndex, 0x80);
+ set_object_flag_status_false(objectIndex, 0x80);
gObjectList[objectIndex].itemDisplay = var_t9;
} else {
- set_object_flag_unk_054_true(objectIndex, 0x80);
+ set_object_flag_status_true(objectIndex, 0x80);
gObjectList[objectIndex].itemDisplay = 0x24 - var_t9;
}
}