diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-02-16 12:39:28 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-02-16 12:39:28 -0500 |
commit | 3f93f7726fffe4171c528bcd164c374dd8b256db (patch) | |
tree | aa1d31cfae28251623cdc825ccb65da43d99bc4e | |
parent | 5ab8a430a8ed8f62663a2a37f8daed6b8a48723e (diff) |
wSurroundingTiles
-rw-r--r-- | Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md | 12 |
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 |