summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2017-11-21 23:53:51 +0100
committermid-kid <esteve.varela@gmail.com>2017-11-21 23:53:51 +0100
commit359d73ceefcd44143eb573dfe273c4d292df913b (patch)
treefd9b148c7c5f5778e33a9f9f8990322ee1d93b24 /main.asm
parentdf118afbcaef31c26df433ae52c26335796cdb40 (diff)
Move LoadOverworldFont to main.asm
It doesn't fit correctly in misc/mobile_41.asm. Also moved the font images out of gfx/unknown and into gfx/font.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/main.asm b/main.asm
index b3f8a6816..123b4e434 100644
--- a/main.asm
+++ b/main.asm
@@ -5492,6 +5492,23 @@ INCLUDE "battle/used_move_text.asm"
INCLUDE "misc/mobile_41.asm"
+LoadOverworldFont:: ; 106594
+ ld de, .font
+ ld hl, VTiles1
+ lb bc, BANK(.font), $80
+ call Get2bpp
+ ld de, .space
+ ld hl, VTiles2 tile $7f
+ lb bc, BANK(.space), 1
+ call Get2bpp
+ ret
+; 1065ad
+
+.font
+INCBIN "gfx/font/overworld.2bpp"
+.space
+INCBIN "gfx/font/space.2bpp"
+
SECTION "bank42", ROMX
INCLUDE "misc/mobile_42.asm"