diff options
| author | Henny022p <73211432+Henny022p@users.noreply.github.com> | 2026-02-08 16:59:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-08 16:59:19 +0100 |
| commit | b09c069c1a082b384d8e289707ffab608487a62f (patch) | |
| tree | 4843cdbaaba1ce9d435186559deb41c1e35fc482 /src/enemy/chuchu.c | |
| parent | b68b975d6c893b0b24299f801a0b63582f11f234 (diff) | |
| parent | f3365f1e2ecd0559f50b21dcce1556a50d5db57c (diff) | |
Merge pull request #697 from Henny022p/peahat-delta-speed
Document Peahat
Diffstat (limited to 'src/enemy/chuchu.c')
| -rw-r--r-- | src/enemy/chuchu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/enemy/chuchu.c b/src/enemy/chuchu.c index 7f3186bb..a24aa6b9 100644 --- a/src/enemy/chuchu.c +++ b/src/enemy/chuchu.c @@ -21,8 +21,6 @@ typedef struct { /*0x83*/ u8 unk_83; } ChuchuEntity; -extern Entity* gUnk_020000B0; - void sub_0801F328(ChuchuEntity* this); void sub_0801F340(ChuchuEntity* this); void sub_0801F360(ChuchuEntity* this); @@ -579,12 +577,12 @@ void sub_0801F8C0(ChuchuEntity* this) { sub_0801F730(this); } else { u8 tmp = ++super->timer & 7; - if (tmp == 0 && sub_08049F1C(super, gUnk_020000B0, 0x38)) { + if (tmp == 0 && sub_08049F1C(super, gEnemyTarget, 0x38)) { super->action = 5; Chuchu_JumpAtPlayer(this); } else { if (tmp == 4) { - super->direction = GetFacingDirection(super, gUnk_020000B0); + super->direction = GetFacingDirection(super, gEnemyTarget); } ProcessMovement0(super); GetNextFrame(super); |
