summaryrefslogtreecommitdiff
path: root/src/enemy/crow.c
diff options
context:
space:
mode:
authorHenny022p <73211432+Henny022p@users.noreply.github.com>2026-02-08 16:59:19 +0100
committerGitHub <noreply@github.com>2026-02-08 16:59:19 +0100
commitb09c069c1a082b384d8e289707ffab608487a62f (patch)
tree4843cdbaaba1ce9d435186559deb41c1e35fc482 /src/enemy/crow.c
parentb68b975d6c893b0b24299f801a0b63582f11f234 (diff)
parentf3365f1e2ecd0559f50b21dcce1556a50d5db57c (diff)
Merge pull request #697 from Henny022p/peahat-delta-speed
Document Peahat
Diffstat (limited to 'src/enemy/crow.c')
-rw-r--r--src/enemy/crow.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/enemy/crow.c b/src/enemy/crow.c
index 5c882480..5ed6d5ee 100644
--- a/src/enemy/crow.c
+++ b/src/enemy/crow.c
@@ -23,7 +23,6 @@ typedef struct {
void (*const Crow_Functions[])(Entity*);
void (*const gUnk_080CE990[])(CrowEntity*);
void (*const gUnk_080CE9A4[])(CrowEntity*);
-extern Entity* gUnk_020000B0;
void sub_08032AF4(CrowEntity* this);
void sub_08032AB0(CrowEntity* this);
@@ -123,9 +122,9 @@ void sub_0803298C(CrowEntity* this) {
if (sub_08049DF4(1) == NULL)
return;
- if (EntityInRectRadius(super, gUnk_020000B0, 0x88, 0x50) == 0)
+ if (EntityInRectRadius(super, gEnemyTarget, 0x88, 0x50) == 0)
return;
- if (gUnk_020000B0->y.HALF.HI <= super->y.HALF.HI + 8)
+ if (gEnemyTarget->y.HALF.HI <= super->y.HALF.HI + 8)
return;
super->action = 2;