Naming font graphics by context

This commit is contained in:
Lee 2019-06-13 19:32:03 -04:00 committed by huderlem
parent 29c16c4c79
commit 812f64b65e
3 changed files with 8 additions and 8 deletions

View File

@ -17,8 +17,8 @@ NormalGameTilesGfx_BubblyClouds:
NormalGameTilesGfx_MtDedede:
INCBIN "gfx/stages/mt_dedede/tiles_normal_game.2bpp.lz"
FontGfx:
INCBIN "gfx/font.2bpp.lz"
FontIntroGfx:
INCBIN "gfx/font_intro.2bpp.lz"
; free space padding
INCBIN "baserom.gb", $b906, $c000 - $b906

View File

@ -24,9 +24,9 @@ ExecuteTitlescreen:
ld de, _VRAM + $1000
ld c, Bank(TitlescreenGfx2)
call Decompress
ld hl, FontGfx
ld hl, FontIntroGfx
ld de, _VRAM + $e00
ld c, Bank(FontGfx)
ld c, Bank(FontIntroGfx)
call Decompress
ld hl, TitlescreenTilemap
ld de, _SCRN0
@ -429,9 +429,9 @@ Call_006_42e8:
ld a, [wCurStage]
cp $04
jr z, .jr_006_435b
ld hl, FontGfx
ld hl, FontIntroGfx
ld de, _VRAM + $e00
ld c, Bank(FontGfx)
ld c, Bank(FontIntroGfx)
call Decompress
ld hl, StageIntroScreensTilesGfx
ld de, _VRAM + $800
@ -1055,9 +1055,9 @@ jr_006_45b5:
ld a, $ff
ld [wClearAllSprites], a
call ClearSprites
ld hl, FontGfx
ld hl, FontIntroGfx
ld de, _VRAM + $e00
ld c, Bank(FontGfx)
ld c, Bank(FontIntroGfx)
call Decompress
ld hl, StageIntroScreensTilesGfx
ld de, _VRAM + $800