diff options
| author | Henny022p <info@henny022.de> | 2025-01-12 01:46:48 +0000 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2025-01-12 02:20:12 +0000 |
| commit | ca873e6b7fb9e62bc26f6637caab9023aa2f6e59 (patch) | |
| tree | eca2eb8f94e8b4ecb41f587f8ce10357481d9641 /src/enemy/wallMaster2.c | |
| parent | cd2b8d4b531ee5b4b78d04964a3f895edc31db73 (diff) | |
rename gUnk_020000B0 to gEnemyTarget and move it to a header
Diffstat (limited to 'src/enemy/wallMaster2.c')
| -rw-r--r-- | src/enemy/wallMaster2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/enemy/wallMaster2.c b/src/enemy/wallMaster2.c index 63f14826..a4423049 100644 --- a/src/enemy/wallMaster2.c +++ b/src/enemy/wallMaster2.c @@ -20,8 +20,6 @@ typedef struct { /*0x7c*/ u16 unk_7c; } WallMaster2Entity; -extern Entity* gUnk_020000B0; - void sub_0802CF64(WallMaster2Entity*); void sub_0802CF8C(WallMaster2Entity*); void sub_0802CFD8(WallMaster2Entity*); @@ -113,7 +111,7 @@ void sub_0802CD54(WallMaster2Entity* this) { void sub_0802CDE8(WallMaster2Entity* this) { if (--this->unk_78 && sub_08049FDC(super, 1)) { if ((super->timer++ & 3) == 0) { - sub_08004596(super, GetFacingDirection(super, gUnk_020000B0)); + sub_08004596(super, GetFacingDirection(super, gEnemyTarget)); sub_0802CF8C(this); } LinearMoveUpdate(super); |
