summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md12
1 files changed, 11 insertions, 1 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 3e61eb6..4a3724b 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
@@ -373,9 +373,19 @@ Finally, we need to edit [home/map.asm](../blob/master/home/map.asm); but it's p
Edit [wram.asm](../blob/master/wram.asm) again:
```diff
--NEXTU ; c608
+ ; This union spans 480 bytes from c608 to c7e8.
+ UNION ; c608
-; surrounding tiles
+-; This buffer determines the size for the rest of the union;
+-; it uses exactly 480 bytes.
-wSurroundingTiles:: ds SURROUNDING_WIDTH * SURROUNDING_HEIGHT
+-
+-NEXTU ; c608
+ ; box save buffer
+ ; SaveBoxAddress uses this buffer in three steps because it
+ ; needs more space than the buffer can hold.
+ wBoxPartialData:: ds 480
+ wBoxPartialDataEnd::
```
```diff