mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
lots of bug fixes
added a log for them in the readme
This commit is contained in:
parent
7c6bbb630f
commit
648289d4a9
12 changed files with 61 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue