diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-07-13 15:24:22 +0300 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-07-13 15:24:22 +0300 |
| commit | 09602b00af1c426074c8886b3f3bc93e31f334bd (patch) | |
| tree | b15570ce9c36de98b995256c9e1f13606e23471f /src/enemy/fallingBoulder.c | |
| parent | 4ef3f4e351b81b706ce6013ae84b17d013e4ca5a (diff) | |
Putting some nonmatch functions from site
Diffstat (limited to 'src/enemy/fallingBoulder.c')
| -rw-r--r-- | src/enemy/fallingBoulder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enemy/fallingBoulder.c b/src/enemy/fallingBoulder.c index b8395ee5..36ebaa39 100644 --- a/src/enemy/fallingBoulder.c +++ b/src/enemy/fallingBoulder.c @@ -69,7 +69,7 @@ NONMATCH("asm/non_matching/fallingBoulder/sub_0802C334.inc", void sub_0802C334(E u32 tmp = gRoomControls.origin_y; if (&gPlayerEntity == NULL) return; - if (tmp - gPlayerEntity.y.HALF.HI <= 0x38) { + if (gPlayerEntity.y.HALF.HI - tmp <= 0x38) { return; } this->field_0x7c.HALF.LO = 1; |
