Expand blocks per tileset from 128 to 256 (#2)

This commit is contained in:
xCrystal 2023-07-24 14:05:48 +02:00
parent 1d64befdb7
commit 74b8214272

View File

@ -147,12 +147,12 @@ LoadMetatiles::
ld d, h
; Set hl to the address of the current metatile data ([wTilesetBlocksAddress] + (a) tiles).
; BUG: LoadMetatiles wraps around past 128 blocks (see docs/bugs_and_glitches.md)
add a
ld l, a
ld h, 0
add hl, hl
add hl, hl
add hl, hl
add hl, hl
ld a, [wTilesetBlocksAddress]
add l
ld l, a