shithub: pokecrystal

Download patch

ref: 359d73ceefcd44143eb573dfe273c4d292df913b
parent: df118afbcaef31c26df433ae52c26335796cdb40
author: mid-kid <[email protected]>
date: Tue Nov 21 18:53:51 EST 2017

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.

binary files /dev/null b/gfx/font/overworld.png differ
binary files /dev/null b/gfx/font/space.png differ
binary files a/gfx/unknown/1065ad.png /dev/null differ
binary files a/gfx/unknown/106dad.png /dev/null differ
--- a/main.asm
+++ b/main.asm
@@ -5492,6 +5492,23 @@
 
 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"
--- a/misc/mobile_41.asm
+++ b/misc/mobile_41.asm
@@ -1113,21 +1113,3 @@
 
 GFX_106514:
 INCBIN "gfx/unknown/106514.2bpp"
-
-
-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/unknown/1065ad.2bpp"
-.space
-INCBIN "gfx/unknown/106dad.2bpp"