summaryrefslogtreecommitdiff
path: root/hram.asm
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2016-12-06 20:01:09 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2016-12-06 20:01:09 -0500
commit81467634ec0c58e77554319cf7ece67e60a3d320 (patch)
tree99d9b50e42917b252da10b2b3b1dd49813b1c8f2 /hram.asm
parent3ea84ad556b2e1ee81e44e278543b9d0fcd301a6 (diff)
Some hardcoded HRAM labels
Diffstat (limited to 'hram.asm')
-rwxr-xr-xhram.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/hram.asm b/hram.asm
index 0c23cd1..2000ebe 100755
--- a/hram.asm
+++ b/hram.asm
@@ -9,11 +9,26 @@ hPrevPreviousJoypadState EQU $FF9B ; joypad state from two frames ago. See joy
hPreviousJoypadState EQU $FF9C ; prevoius frame's joypad state. See joy_constants.asm for
; which bits correspond to which buttons.
+hSTAT EQU $FF9F
+hSCY EQU $FFA0
+hSCX EQU $FFA1
+hLYC EQU $FFA2
+hBGP EQU $FFA3
+hOBP0 EQU $FFA4
+hOBP1 EQU $FFA5
+hWY EQU $FFA6
+hWX EQU $FFA7
+hLastLYC EQU $FFA8
+
hBoardYShift EQU $FFA0 ; Vertical pixel offset of the board. For example, the board is shifted
; by small amounts when "tilt up" is used.
hBoardXShift EQU $FFA1 ; Horizontal pixel offset of the board. For example, the board is shifted
; $20 pixels to the right when launching the ball at the start of a round.
+hNumFramesSinceLastVBlank EQU $FFB2
+hNumFramesDropped EQU $FFB3
+hVBlankCount EQU $FFB4
+
hFlipperYCollisionAttribute EQU $FFBF ; Vertical collision attribute for when ball collides with a flipper.
hLoadedROMBank EQU $FFF8 ; this is updated whenever the code switches ROM Banks