summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2019-01-30 19:43:01 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2019-01-30 19:43:01 -0500
commit2fca32b6c8742c4accaf05a8bfc0377b59a76c6e (patch)
tree8788e7701db474d48a6bfdf2ea92b5833c388640
parent88465686cf64103effcf08ec9be276283d1f68c7 (diff)
Explain the c608 union size
-rw-r--r--wram.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/wram.asm b/wram.asm
index 5fe54b7b4..22941c5c5 100644
--- a/wram.asm
+++ b/wram.asm
@@ -364,14 +364,18 @@ wc642:: ds 5
wc647:: ds 33
wc668:: ds 32
wc688:: ds 2
-wc68a:: ds 350
+wc68a:: ds 4
NEXTU ; 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 is available.
wBoxPartialData:: ds 480
wBoxPartialDataEnd::