summaryrefslogtreecommitdiff
path: root/engine/save.asm
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/save.asm
parent0ad1153f165023220c7c2e3bb187ccc5d6ca75bd (diff)
Consolidate coord macros
Diffstat (limited to 'engine/save.asm')
-rwxr-xr-xengine/save.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/save.asm b/engine/save.asm
index 6dc1a46c..56468595 100755
--- a/engine/save.asm
+++ b/engine/save.asm
@@ -151,10 +151,10 @@ SaveSAV: ; 7370a (1c:770a)
ret nz
.save
call SaveSAVtoSRAM
- hlCoord 1, 13
+ coord hl, 1, 13
ld bc,$0412
call ClearScreenArea ; clear area 4x12 starting at 13,1
- hlCoord 1, 14
+ coord hl, 1, 14
ld de,NowSavingString
call PlaceString
ld c,120
@@ -172,7 +172,7 @@ NowSavingString:
SaveSAVConfirm: ; 73768 (1c:7768)
call PrintText
- hlCoord 0, 7
+ coord hl, 0, 7
ld bc,$0801
ld a,TWO_OPTION_MENU
ld [wTextBoxID],a
@@ -426,20 +426,20 @@ Func_7393f: ; 7393f (1c:793f)
and $7f
ld [wCurrentMenuItem], a
ld [wLastMenuItem], a
- hlCoord 0, 0
+ coord hl, 0, 0
ld b, $2
ld c, $9
call TextBoxBorder
ld hl, ChooseABoxText
call PrintText
- hlCoord 11, 0
+ coord hl, 11, 0
ld b, $c
ld c, $7
call TextBoxBorder
ld hl, hFlags_0xFFF6
set 2, [hl]
ld de, BoxNames
- hlCoord 13, 1
+ coord hl, 13, 1
call PlaceString
ld hl, hFlags_0xFFF6
res 2, [hl]
@@ -448,7 +448,7 @@ Func_7393f: ; 7393f (1c:793f)
cp 9
jr c, .asm_739a6
sub 9
- hlCoord 8, 2
+ coord hl, 8, 2
ld [hl], "1"
add "0"
jr .asm_739a8
@@ -456,11 +456,11 @@ Func_7393f: ; 7393f (1c:793f)
add "1"
.asm_739a8
Coorda 9, 2
- hlCoord 1, 2
+ coord hl, 1, 2
ld de, BoxNoText
call PlaceString
call Func_73a84
- hlCoord 18, 1
+ coord hl, 18, 1
ld de, wWhichTrade
ld bc, SCREEN_WIDTH
ld a, $c