diff options
| author | Ibot02 <jtp.jtp@gmx.de> | 2022-01-08 18:08:02 +0100 |
|---|---|---|
| committer | Ibot02 <jtp.jtp@gmx.de> | 2022-01-08 18:08:02 +0100 |
| commit | 08558c96bd68ee76fb62b35cc62008ccfb87e2d8 (patch) | |
| tree | 1e7feee17c7106ad06d42cd5912e63a07b9e11cb /src/enemy | |
| parent | dd6953fac902288cf4f4c52a6029c647a6b1798e (diff) | |
Match sub_080249F4
Diffstat (limited to 'src/enemy')
| -rw-r--r-- | src/enemy/pesto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/enemy/pesto.c b/src/enemy/pesto.c index e0dc9ad1..430f8945 100644 --- a/src/enemy/pesto.c +++ b/src/enemy/pesto.c @@ -564,14 +564,14 @@ void sub_080249DC(Entity* this) { InitializeAnimation(this, this->animationState); } -NONMATCH("asm/non_matching/pesto/sub_080249F4.inc", void sub_080249F4(Entity* this)) { - u8 direction = ((this->direction + 2) & 0x1c) >> 2; +void sub_080249F4(Entity* this) { + u32 direction = ((this->direction + 2) & 0x1f); + direction >>= 2; if (direction != this->animationState) { this->animationState = direction; InitializeAnimation(this, this->animationState); } } -END_NONMATCH void sub_08024A14(Entity* this, u32 param_2, u32 param_3) { u8 unk = FALSE; |
