mirror of
https://github.com/huderlem/kirbydreamland.git
synced 2024-11-23 05:29:40 +00:00
Naming font graphics by context
This commit is contained in:
parent
29c16c4c79
commit
812f64b65e
@ -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
|
||||
|
12
bank_006.asm
12
bank_006.asm
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user