summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNekrobaDA <80322479+NekrobaDA@users.noreply.github.com>2021-03-10 22:42:09 -0500
committerNekrobaDA <80322479+NekrobaDA@users.noreply.github.com>2021-03-10 22:42:09 -0500
commit77c10e69ebb40169d6c4338111cf71c8ba803f62 (patch)
treeff5342ddbfe1695d91f3b6aa29cbb9c78a00b5c8
parentfb747b6ff481f894d330399f42a40662771c9063 (diff)
Updated Allow tiles to have different attributes in different blocks (including X and Y flip) (markdown)
-rw-r--r--Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md6
1 files changed, 4 insertions, 2 deletions
diff --git a/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md b/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md
index d0cc6ae..3b6d049 100644
--- a/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md
+++ b/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md
@@ -488,12 +488,14 @@ Anyway, `LoadMapPart` calls `LoadMetatiles` to load certain data from the \*_met
ld a, [wOverworldMapAnchor + 1]
ld d, a
- ld hl, wSurroundingTiles
- ld b, SURROUNDING_HEIGHT / METATILE_WIDTH ; 5
+- ld b, SCREEN_META_HEIGHT
++ ld b, SURROUNDING_HEIGHT / METATILE_WIDTH ; 5
.row
push de
push hl
- ld c, SURROUNDING_WIDTH / METATILE_WIDTH ; 6
+- ld c, SCREEN_META_WIDTH
++ ld c, SURROUNDING_WIDTH / METATILE_WIDTH ; 6
.col
push de