lots of bug fixes

added a log for them in the readme
This commit is contained in:
May Evans 2022-08-31 15:18:16 +01:00
parent 7c6bbb630f
commit 648289d4a9
12 changed files with 61 additions and 19 deletions

View file

@ -27,7 +27,9 @@ HiddenItemNear:
ld a, [wYCoord]
call Sub5ClampTo0
cp d
jr z, .y_zflag ; starts to fix the y/x coord 0 no find bug - PvK
jr nc, .loop
y_zflag
ld a, [wYCoord]
add 4
cp d
@ -35,7 +37,9 @@ HiddenItemNear:
ld a, [wXCoord]
call Sub5ClampTo0
cp e
jr z, .x_zflag
jr nc, .loop
.x_zflag
ld a, [wXCoord]
add 5
cp e
@ -45,7 +49,7 @@ HiddenItemNear:
Sub5ClampTo0:
; subtract 5 but clamp to 0
sub 5
sub 4
cp $f0
ret c
xor a