mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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:
parent
df118afbca
commit
359d73ceef
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 752 B |
Before Width: | Height: | Size: 71 B After Width: | Height: | Size: 71 B |
17
main.asm
17
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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user