No more W_

This commit is contained in:
dannye 2015-08-30 21:38:41 -05:00
parent 1ee9fb408c
commit 38065a744d
190 changed files with 2202 additions and 2202 deletions

View file

@ -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