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.
This commit is contained in:
mid-kid 2017-11-21 23:53:51 +01:00
parent df118afbca
commit 359d73ceef
4 changed files with 17 additions and 18 deletions

View File

Before

Width:  |  Height:  |  Size: 752 B

After

Width:  |  Height:  |  Size: 752 B

View File

Before

Width:  |  Height:  |  Size: 71 B

After

Width:  |  Height:  |  Size: 71 B

View File

@ -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"

View File

@ -1113,21 +1113,3 @@ Function10650a: ; 10650a
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"