Document one more bug.

This commit is contained in:
Remy Oukaour
2017-12-12 23:05:30 -05:00
parent 10eb426e40
commit 138abd097d
2 changed files with 31 additions and 2 deletions

View File

@@ -152,9 +152,12 @@ LoadMetatiles:: ; 2198
ld e, l
ld d, h
; Set hl to the address of the current metatile data ([TilesetBlocksAddress] + (a) tiles).
add a
; This is buggy; it wraps around past 128 blocks.
; To fix, uncomment the line below.
add a ; Comment or delete this line to fix the above bug.
ld l, a
ld h, 0
; add hl, hl
add hl, hl
add hl, hl
add hl, hl