summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-20 00:12:28 +0000
committerElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-20 00:12:28 +0000
commit2c41ada0776025dfc2ed8e7f3c2962d3d2fe129c (patch)
treee5efd35ede76d12f3294ca011ccceb094040a992 /src/wram.asm
parentb1bd405470fd89ee9a2d085c61a834b7de252a31 (diff)
Map event tilemaps
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/wram.asm b/src/wram.asm
index 7ad068b..9a6dffb 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -28,7 +28,7 @@ NEXTU
; before $ef is initialized to 0 when starting decompression.
wDecompressionSecondaryBuffer:: ; c000
ds $ef
-wDecompressionSecondaryBufferStart:: ; ; c0ef
+wDecompressionSecondaryBufferStart:: ; c0ef
ds $11
ENDU
@@ -2246,8 +2246,12 @@ wCurOWFrameDuration:: ; d321
wNumLoadedFramesetSubgroups:: ; d322
ds $1
-wd323:: ; d323
- ds $b
+; holds the current state of each event
+; each corresponding to a MAP_EVENT_* constant
+; if $0, doors are closed / deck machines are deactivated
+; if $1, doors are open / deck machines are activated
+wOWMapEvents:: ; d323
+ ds NUM_MAP_EVENTS
; the OWMAP_* value for the current overworld map selection
wOverworldMapSelection:: ; d32e