summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Expand-tilesets-from-192-tiles-to-249.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/Expand-tilesets-from-192-tiles-to-249.md b/Expand-tilesets-from-192-tiles-to-249.md
index 3d83b10..2442d87 100644
--- a/Expand-tilesets-from-192-tiles-to-249.md
+++ b/Expand-tilesets-from-192-tiles-to-249.md
@@ -9,7 +9,7 @@ It's fairly simple to use $E0 to $FF for 32 more map tiles. We can also use $60
## Contents
-1. [Load tile graphics into three more VRAM rows](#1-load-tile-graphics-into-three-more-vram-rows)
+1. [Load tile graphics into four more VRAM rows](#1-load-tile-graphics-into-four-more-vram-rows)
2. [Update the tilesets' graphics](#2-update-the-tilesets-graphics)
3. [Update the tilesets' palette maps](#3-update-the-tilesets-palette-maps)
4. [Change which tiles hide sprites behind them](#4-change-which-tiles-hide-sprites-behind-them)
@@ -19,7 +19,7 @@ It's fairly simple to use $E0 to $FF for 32 more map tiles. We can also use $60
8. [Change some hard-coded tile placements](#8-change-some-hard-coded-tile-placements)
-## 1. Load tile graphics into three more VRAM rows
+## 1. Load tile graphics into four more VRAM rows
Edit [home/map.asm](../blob/master/home/map.asm).
@@ -34,7 +34,7 @@ Edit [home/map.asm](../blob/master/home/map.asm).
ld hl, wDecompressScratch
ld de, vTiles2
- ld bc, $60 tiles
-+ ld bc, $80 tiles
++ ld bc, $79 tiles
call CopyBytes
ld a, [rVBK]
@@ -60,7 +60,7 @@ Edit [home/map.asm](../blob/master/home/map.asm).
ld [rVBK], a
```
-Now instead of loading tileset graphics into tiles $00–$5F and $80–$DF, they'll be loaded into $00–$6F and $80–$FF. That's three more rows of 16 tiles each, or 48 more tiles.
+Now instead of loading tileset graphics into tiles $00–$5F and $80–$DF, they'll be loaded into $00–$78 and $80–$FF. That's nearly four more rows, or 57 more tiles, usable for maps. (Note that only the first $79 tiles are loaded instead of the full $80; seven tiles, $7A–$7F, are not loaded because the textbox frames and space character go there.)
## 2. Update the tilesets' graphics