summaryrefslogtreecommitdiff
path: root/engine/overworld
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-18 15:52:03 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-18 15:52:03 -0500
commit148d3f3cf28f9c270e3d5043af0692d95bc731c5 (patch)
treecf803f89ccc700b679154cee4dad3312d108c1cc /engine/overworld
parent0ad1153f165023220c7c2e3bb187ccc5d6ca75bd (diff)
Consolidate coord macros
Diffstat (limited to 'engine/overworld')
-rwxr-xr-xengine/overworld/cinnabar_lab.asm4
-rw-r--r--engine/overworld/movement.asm2
-rwxr-xr-xengine/overworld/pokemart.asm4
3 files changed, 5 insertions, 5 deletions
diff --git a/engine/overworld/cinnabar_lab.asm b/engine/overworld/cinnabar_lab.asm
index 3d39ad6b..18ce23ed 100755
--- a/engine/overworld/cinnabar_lab.asm
+++ b/engine/overworld/cinnabar_lab.asm
@@ -20,7 +20,7 @@ GiveFossilToCinnabarLab: ; 61006 (18:5006)
dec l
ld b, l
ld c, $d
- hlCoord 0, 0
+ coord hl, 0, 0
call TextBoxBorder
call UpdateSprites
call Func_610c2
@@ -101,7 +101,7 @@ Func_610c2: ; 610c2 (18:50c2)
push hl
ld [wd11e], a
call GetItemName
- hlCoord 2, 2
+ coord hl, 2, 2
ld a, [$ffdb]
ld bc, SCREEN_WIDTH * 2
call AddNTimes
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm
index c85a4174..89b09bba 100644
--- a/engine/overworld/movement.asm
+++ b/engine/overworld/movement.asm
@@ -704,7 +704,7 @@ GetTileSpriteStandsOn: ; 5207 (1:5207)
add SCREEN_WIDTH ; screen X tile + 20
ld d, $0
ld e, a
- hlCoord 0, 0
+ coord hl, 0, 0
add hl, bc
add hl, bc
add hl, bc
diff --git a/engine/overworld/pokemart.asm b/engine/overworld/pokemart.asm
index e6fdfc92..ebc99eed 100755
--- a/engine/overworld/pokemart.asm
+++ b/engine/overworld/pokemart.asm
@@ -84,7 +84,7 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20)
ld hl,PokemartTellSellPriceText
ld bc,$0e01
call PrintText
- hlCoord 14, 7
+ coord hl, 14, 7
ld bc,$080f
ld a,TWO_OPTION_MENU
ld [wTextBoxID],a
@@ -162,7 +162,7 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20)
call CopyStringToCF4B ; copy name to wcf4b
ld hl,PokemartTellBuyPriceText
call PrintText
- hlCoord 14, 7
+ coord hl, 14, 7
ld bc,$080f
ld a,TWO_OPTION_MENU
ld [wTextBoxID],a