summaryrefslogtreecommitdiff
path: root/src/enemy/rope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/enemy/rope.c')
-rw-r--r--src/enemy/rope.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/enemy/rope.c b/src/enemy/rope.c
index 74c77066..f8b171f4 100644
--- a/src/enemy/rope.c
+++ b/src/enemy/rope.c
@@ -36,8 +36,6 @@ static void (*const Rope_Functions[6])(RopeEntity*) = {
Rope_OnGrabbed,
};
-extern Entity* gUnk_020000B0;
-
void sub_08031600(RopeEntity* this);
u32 sub_0803163C(RopeEntity* this);
@@ -147,7 +145,7 @@ void sub_080314FC(RopeEntity* this) {
if (sub_08049FA0(super)) {
if (!(this->unk_78)) {
if (sub_08049FDC(super, 1)) {
- u = sub_0804A044(super, gUnk_020000B0, 0xc);
+ u = sub_0804A044(super, gEnemyTarget, 0xc);
if (u != 0xff) {
super->action = 3;
super->timer = 30;