LoadTilesetHeader

This commit is contained in:
yenatch 2013-12-11 17:23:33 -05:00
parent 62020e32aa
commit d461689704
2 changed files with 10 additions and 6 deletions

View File

@ -2335,17 +2335,21 @@ Function2d19: ; 2d19
ret
; 2d27
Function2d27: ; 2d27
LoadTilesetHeader: ; 2d27
push hl
push bc
ld hl, $5596
ld bc, $000f
ld hl, Tilesets
ld bc, Tileset01 - Tileset00
ld a, [$d199]
call AddNTimes
ld de, TilesetBank
ld bc, $000f
ld a, $13
ld bc, Tileset01 - Tileset00
ld a, BANK(Tilesets)
call FarCopyBytes
pop bc
pop hl
ret

View File

@ -106732,7 +106732,7 @@ Function1047b4: ; 1047b4 (41:47b4)
ld a, $0
ld [rVBK], a ; $ff00+$4f
ret
call Function2d27
call LoadTilesetHeader
call Function2821
xor a
ld [$FF00+$de], a