summaryrefslogtreecommitdiff
path: root/engine/battle/d.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/d.asm')
-rwxr-xr-xengine/battle/d.asm10
1 files changed, 6 insertions, 4 deletions
diff --git a/engine/battle/d.asm b/engine/battle/d.asm
index d23c9114..dcd58ec4 100755
--- a/engine/battle/d.asm
+++ b/engine/battle/d.asm
@@ -1,15 +1,17 @@
-Func_372d6: ; 372d6 (d:72d6)
+; display "[player] VS [enemy]" text box with pokeballs representing their parties next to the names
+DisplayLinkBattleVersusTextBox: ; 372d6 (d:72d6)
call LoadTextBoxTilePatterns
hlCoord 3, 4
ld b, $7
ld c, $c
call TextBoxBorder
hlCoord 4, 5
- ld de, wPlayerName ; wd158
+ ld de, wPlayerName
call PlaceString
hlCoord 4, 10
- ld de, W_GRASSRATE ; W_GRASSRATE
+ ld de, W_GRASSRATE ; enemy name
call PlaceString
+; place bold "VS" tiles between the names
hlCoord 9, 8
ld a, $69
ld [hli], a
@@ -17,5 +19,5 @@ Func_372d6: ; 372d6 (d:72d6)
xor a
ld [wcfcb], a
callab SetupPlayerAndEnemyPokeballs
- ld c, $96
+ ld c, 150
jp DelayFrames