diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-12 23:05:30 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-12 23:05:30 -0500 |
commit | 138abd097d431bcb657b7842623ea6f36b8f287c (patch) | |
tree | d581cb7a658b84e79dd8b334438df6c6014fa7eb /home/map.asm | |
parent | 10eb426e40f48df3ae9b40e3ea3aa7e92f890090 (diff) |
Document one more bug.
Diffstat (limited to 'home/map.asm')
-rw-r--r-- | home/map.asm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/home/map.asm b/home/map.asm index 6e0e6e3a9..8b6d8f1e4 100644 --- a/home/map.asm +++ b/home/map.asm @@ -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 |