2014-08-09 05:39:13 +00:00
|
|
|
; display "[player] VS [enemy]" text box with pokeballs representing their parties next to the names
|
|
|
|
DisplayLinkBattleVersusTextBox: ; 372d6 (d:72d6)
|
2014-05-22 22:13:20 +00:00
|
|
|
call LoadTextBoxTilePatterns
|
2014-06-25 20:58:27 +00:00
|
|
|
hlCoord 3, 4
|
2014-05-22 22:13:20 +00:00
|
|
|
ld b, $7
|
|
|
|
ld c, $c
|
|
|
|
call TextBoxBorder
|
2014-06-25 20:58:27 +00:00
|
|
|
hlCoord 4, 5
|
2014-08-09 05:39:13 +00:00
|
|
|
ld de, wPlayerName
|
2014-05-22 22:13:20 +00:00
|
|
|
call PlaceString
|
2014-06-25 20:58:27 +00:00
|
|
|
hlCoord 4, 10
|
2015-02-07 10:43:08 +00:00
|
|
|
ld de, wLinkEnemyTrainerName
|
2014-05-22 22:13:20 +00:00
|
|
|
call PlaceString
|
2014-08-09 05:39:13 +00:00
|
|
|
; place bold "VS" tiles between the names
|
2014-06-25 20:58:27 +00:00
|
|
|
hlCoord 9, 8
|
2014-05-22 22:13:20 +00:00
|
|
|
ld a, $69
|
|
|
|
ld [hli], a
|
|
|
|
ld [hl], $6a
|
|
|
|
xor a
|
2014-09-13 07:50:56 +00:00
|
|
|
ld [wUpdateSpritesEnabled], a
|
2014-05-22 22:13:20 +00:00
|
|
|
callab SetupPlayerAndEnemyPokeballs
|
2014-08-09 05:39:13 +00:00
|
|
|
ld c, 150
|
2014-05-22 22:13:20 +00:00
|
|
|
jp DelayFrames
|