summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2015-09-22 11:09:59 -0700
committerMarcus Huderle <huderlem@gmail.com>2015-09-22 11:09:59 -0700
commitc77a062c56102e9159fe1c213db6d9ec895b2085 (patch)
treedd9a57332153df81c0e55b9544673d63f31f2db4 /wram.asm
parentbbaeb2bb223ac54ce30423003d9265c3e7b57f4f (diff)
Label and dump collisoin attributes for stages.
Diffstat (limited to 'wram.asm')
-rwxr-xr-xwram.asm20
1 files changed, 18 insertions, 2 deletions
diff --git a/wram.asm b/wram.asm
index ad9f6c0..b5e73a9 100755
--- a/wram.asm
+++ b/wram.asm
@@ -83,7 +83,15 @@ wBallSaverTimerSecondsBackup:: ; 0xd4a7
wCurrentStage:: ; 0xd4ac
ds 1
- ds 6
+ ds 2
+
+wStageCollisionState:: ; 0xd4af
+; Stores the current collision state id for the stage
+; For example, the Red stage can have different collision states when
+; the Ditto lane is open, or when there is a wall above the Voltorbs.
+ ds 1
+
+ ds 3
wBallXPos:: ; 0xd4b3
; x coordinate of the center of the pokeball
@@ -379,8 +387,16 @@ wUpperRightCollisionAttribute:: ; 0xd7c7
wLowerRightCollisionAttribute:: ; 0xd7c8
ds 1
+ ds $23
+
+wStageCollisionMapPointer:: ; 0xd7ec
+; pointer to the current collision map (always points to wStageCollisionMapPointer, except when loading new attributes)
+ ds 2
+wStageCollisionMapBank:: ; 0xd7ee
+; holds bank of current collision map (always $00, except when loading new attributes)
+ ds 1
- ds $30
+ ds $a
wInGameMenuIndex:: ; 0xd7f9
ds 1