aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/d.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2014-08-08 22:39:13 -0700
committerYamaArashi <shadow962@live.com>2014-08-08 22:39:13 -0700
commit59f0507e4cd0693eb89f5ab3e44cb3c442666140 (patch)
tree331b08b7eb8c64dc3ff8c505f58a5c28763d79ad /engine/battle/d.asm
parentCommented function (diff)
downloadpokeyellow-59f0507e4cd0693eb89f5ab3e44cb3c442666140.tar.gz
pokeyellow-59f0507e4cd0693eb89f5ab3e44cb3c442666140.tar.xz
pokeyellow-59f0507e4cd0693eb89f5ab3e44cb3c442666140.zip
Labelled many functions/variables
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