Consolidate coord macros

This commit is contained in:
dannye 2015-07-18 15:52:03 -05:00
parent 0ad1153f16
commit 148d3f3cf2
58 changed files with 528 additions and 539 deletions

View file

@ -1,18 +1,18 @@
; display "[player] VS [enemy]" text box with pokeballs representing their parties next to the names
DisplayLinkBattleVersusTextBox: ; 372d6 (d:72d6)
call LoadTextBoxTilePatterns
hlCoord 3, 4
coord hl, 3, 4
ld b, $7
ld c, $c
call TextBoxBorder
hlCoord 4, 5
coord hl, 4, 5
ld de, wPlayerName
call PlaceString
hlCoord 4, 10
coord hl, 4, 10
ld de, wLinkEnemyTrainerName
call PlaceString
; place bold "VS" tiles between the names
hlCoord 9, 8
coord hl, 9, 8
ld a, $69
ld [hli], a
ld [hl], $6a