Remove unreferenced content in bank 0 (#1)

This commit is contained in:
xCrystal
2023-07-25 11:54:34 +02:00
parent fc7f2d4e0e
commit 60cacea4b0
22 changed files with 13 additions and 722 deletions

View File

@@ -1,24 +1,3 @@
HDMATransferAttrmapAndTilemapToWRAMBank3::
ld hl, .Function
jp CallInSafeGFXMode
.Function:
decoord 0, 0, wAttrmap
ld hl, wScratchAttrmap
call PadAttrmapForHDMATransfer
decoord 0, 0
ld hl, wScratchTilemap
call PadTilemapForHDMATransfer
ld a, $0
ldh [rVBK], a
ld hl, wScratchTilemap
call HDMATransferToWRAMBank3
ld a, $1
ldh [rVBK], a
ld hl, wScratchAttrmap
call HDMATransferToWRAMBank3
ret
HDMATransferTilemapToWRAMBank3::
ld hl, .Function
jp CallInSafeGFXMode