mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
No more W_
This commit is contained in:
parent
1ee9fb408c
commit
38065a744d
190 changed files with 2202 additions and 2202 deletions
|
|
@ -1,13 +1,13 @@
|
|||
; returns whether the player is one tile outside the map in Z
|
||||
IsPlayerJustOutsideMap: ; 128d8 (4:68d8)
|
||||
ld a, [W_YCOORD]
|
||||
ld a, [wYCoord]
|
||||
ld b, a
|
||||
ld a, [W_CURMAPHEIGHT]
|
||||
ld a, [wCurMapHeight]
|
||||
call .compareCoordWithMapDimension
|
||||
ret z
|
||||
ld a, [W_XCOORD]
|
||||
ld a, [wXCoord]
|
||||
ld b, a
|
||||
ld a, [W_CURMAPWIDTH]
|
||||
ld a, [wCurMapWidth]
|
||||
.compareCoordWithMapDimension
|
||||
add a
|
||||
cp b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue