summaryrefslogtreecommitdiff
path: root/engine/battle/d.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-22 18:13:20 -0400
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2014-05-22 18:13:20 -0400
commit15427f532085846ab6b51719be687951a094cb6c (patch)
treeedea9b189e91641a12dd521756894df84aeeace7 /engine/battle/d.asm
parentea3ba4cde3706b7c77efb705555ec0c86321cbe2 (diff)
Pull a lot of engine out of main.asm
Diffstat (limited to 'engine/battle/d.asm')
-rwxr-xr-xengine/battle/d.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/engine/battle/d.asm b/engine/battle/d.asm
new file mode 100755
index 00000000..a6ad21ea
--- /dev/null
+++ b/engine/battle/d.asm
@@ -0,0 +1,25 @@
+Func_372d6: ; 372d6 (d:72d6)
+ call LoadTextBoxTilePatterns
+ FuncCoord 3, 4 ; $c3f3
+ ld hl, Coord
+ ld b, $7
+ ld c, $c
+ call TextBoxBorder
+ FuncCoord 4, 5 ; $c408
+ ld hl, Coord
+ ld de, W_PLAYERNAME ; $d158
+ call PlaceString
+ FuncCoord 4, 10 ; $c46c
+ ld hl, Coord
+ ld de, W_GRASSRATE ; $d887
+ call PlaceString
+ FuncCoord 9, 8 ; $c449
+ ld hl, Coord
+ ld a, $69
+ ld [hli], a
+ ld [hl], $6a
+ xor a
+ ld [$cfcb], a
+ callab SetupPlayerAndEnemyPokeballs
+ ld c, $96
+ jp DelayFrames