summaryrefslogtreecommitdiff
path: root/src/enemy/enemy64.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2022-03-30 00:52:53 -0700
committertheo3 <arisstephenson2@gmail.com>2022-03-30 00:52:53 -0700
commita633efd88ca533b8d601eb9a673c5eb7e68dd19d (patch)
tree9bc7eb383d88bb2023a6fd69c982915931a33d30 /src/enemy/enemy64.c
parent65b80571b230d08426e6329dc7eb4348ca5012d1 (diff)
sort out most of functions.h
Diffstat (limited to 'src/enemy/enemy64.c')
-rw-r--r--src/enemy/enemy64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/enemy/enemy64.c b/src/enemy/enemy64.c
index 007d7a32..529bce1e 100644
--- a/src/enemy/enemy64.c
+++ b/src/enemy/enemy64.c
@@ -447,7 +447,8 @@ void sub_08049998(Enemy64Entity* this, u32 param_2) {
void sub_080499F0(Enemy64Entity* this) {
u32 tmp;
- if ((((super->action != 0) && (gPlayerEntity.z.HALF.HI == 0)) && (PlayerCanBeMoved())) && ((this->unk_7c & 1) == 0)) {
+ if ((((super->action != 0) && (gPlayerEntity.z.HALF.HI == 0)) && (PlayerCanBeMoved())) &&
+ ((this->unk_7c & 1) == 0)) {
if (EntityWithinDistance(&gPlayerEntity, super->x.HALF.HI, super->y.HALF.HI, 0x24) &&
((this->unk_7c & 2) == 0)) {
tmp = sub_080045DA((s32)gPlayerEntity.x.HALF.HI - super->x.HALF.HI,