summaryrefslogtreecommitdiff
path: root/home/map.asm
diff options
context:
space:
mode:
authorsurskitty <surskitty@gmail.com>2017-12-13 19:55:03 -0500
committersurskitty <surskitty@gmail.com>2017-12-13 19:55:03 -0500
commit4b36a9d2e1d6b6ac823fbb14e8f0ba750b0eecc2 (patch)
treefcbbd0247503a200c4c1d8df690a676b49a09efd /home/map.asm
parente3ee39f3344107f666099448401d28b04c983cd6 (diff)
parenta6656a986bf9dde51561cab090648e0117b173ad (diff)
Merge branch 'master' of github.com:pret/pokecrystal
Diffstat (limited to 'home/map.asm')
-rw-r--r--home/map.asm5
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