summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-14 00:21:03 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-14 00:21:03 -0500
commitb509b48a7f5a9a80225b9c030d7334b26b521c62 (patch)
tree4ffe3bdf40db06fc58977bccac2b4a2a1c42f4a0 /main.asm
parent822bb2bd21110cc5dc7875d70f8c36c15d13cbaf (diff)
Use more *Coord
also town map code relabelling YamaArashi just did town map relabelling but oh well I aleady made the changes and don't feel like redoing it
Diffstat (limited to 'main.asm')
-rwxr-xr-xmain.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.asm b/main.asm
index 7372381a..c7a21243 100755
--- a/main.asm
+++ b/main.asm
@@ -1276,7 +1276,7 @@ GetTextBoxIDText: ; 7367 (1:7367)
; hl = address of upper left corner of text box
GetAddressOfScreenCoords: ; 7375 (1:7375)
push bc
- ld hl,wTileMap
+ hlCoord 0, 0
ld bc,20
.loop ; loop to add d rows to the base address
ld a,d
@@ -2298,7 +2298,7 @@ PrintSafariZoneSteps: ; c52f (3:452f)
ret c
cp UNKNOWN_DUNGEON_2
ret nc
- ld hl, wTileMap
+ hlCoord 0, 0
ld b, $3
ld c, $7
call TextBoxBorder