aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-01-28 12:46:28 -0500
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-01-28 12:46:28 -0500
commitb708f7e7f0e802631d6e79c53380597c9e1cfad5 (patch)
tree22faebba302d583f0606fdaf8f24bf42938890ec
parentCorrect wTileMapBackup declared space (#487) (diff)
downloadpokeyellow-b708f7e7f0e802631d6e79c53380597c9e1cfad5.tar.gz
pokeyellow-b708f7e7f0e802631d6e79c53380597c9e1cfad5.tar.xz
pokeyellow-b708f7e7f0e802631d6e79c53380597c9e1cfad5.zip
Comment on size of union
-rw-r--r--ram/wram.asm1
1 files changed, 1 insertions, 0 deletions
diff --git a/ram/wram.asm b/ram/wram.asm
index 06568710..aa36c188 100644
--- a/ram/wram.asm
+++ b/ram/wram.asm
@@ -156,6 +156,7 @@ SECTION "Tilemap", WRAM0
; buffer for tiles that are visible on screen (20 columns by 18 rows)
wTileMap:: ds SCREEN_WIDTH * SCREEN_HEIGHT
+; This union spans 480 bytes.
UNION
; buffer for temporarily saving and restoring current screen's tiles
; (e.g. if menus are drawn on top)