summaryrefslogtreecommitdiff
path: root/src/enemy/keese.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2020-08-08 14:59:11 -0700
committertheo3 <arisstephenson2@gmail.com>2020-08-08 14:59:11 -0700
commitac67812a254a71f6face762b96a2849ef4e9ea76 (patch)
tree91f3b89b091c267ddf7dc173b08e13d9f80e0320 /src/enemy/keese.c
parent0cb4a64f67e94bcdd9c511ae30a422839a5f173b (diff)
renamed all occurences of "link" to "player"
Diffstat (limited to 'src/enemy/keese.c')
-rw-r--r--src/enemy/keese.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/enemy/keese.c b/src/enemy/keese.c
index ea25214b..825c75ed 100644
--- a/src/enemy/keese.c
+++ b/src/enemy/keese.c
@@ -1,7 +1,7 @@
#include "global.h"
#include "entity.h"
#include "enemy.h"
-#include "link.h"
+#include "player.h"
extern void sub_0804AA30(Entity*, void *);
extern u32 sub_0806F520(Entity*);
@@ -113,7 +113,7 @@ void sub_08021EBC(Entity *this)
this->actionDelay--;
}
else {
- iVar1 = sub_0806FCB8(this, gLinkEntity.x.HALF.HI, gLinkEntity.y.HALF.HI, 0x70);
+ iVar1 = sub_0806FCB8(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x70);
if (iVar1 != 0) {
sub_08021EF0(this);
}
@@ -139,7 +139,7 @@ void sub_08021F24(Entity *this)
this->actionDelay = gUnk_080CB6F6[Random() & 0xf];
InitializeAnimation(this, 1);
}
- else if (!this->field_0x7a && !(sub_0806FCB8(this, gLinkEntity.x.HALF.HI, gLinkEntity.y.HALF.HI, 0x70))) {
+ else if (!this->field_0x7a && !(sub_0806FCB8(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x70))) {
this->action = 3;
this->actionDelay = 0x1e;
InitializeAnimation(this, 1);