From 74b8214272cce7bb46e00eb5e2fb6abb14e4157e Mon Sep 17 00:00:00 2001 From: xCrystal Date: Mon, 24 Jul 2023 14:05:48 +0200 Subject: [PATCH] Expand blocks per tileset from 128 to 256 (#2) --- home/map.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/map.asm b/home/map.asm index 14786eece..016584691 100644 --- a/home/map.asm +++ b/home/map.asm @@ -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