diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-06-23 19:42:01 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-06-23 19:42:01 -0400 |
commit | e63d349249f108bb1b6fc4ecf068cb605defb4bc (patch) | |
tree | 09b6a58716d6c0db9aace1c747bdfdb949f056f9 | |
parent | 9e215a10752aaf0c314a4be5bd663580b61c4013 (diff) |
Clarify
-rw-r--r-- | Expand-tilesets-from-192-tiles-to-249.md | 8 |
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 |