summaryrefslogtreecommitdiff
path: root/hram.asm
diff options
context:
space:
mode:
Diffstat (limited to 'hram.asm')
-rwxr-xr-xhram.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/hram.asm b/hram.asm
index d7e0dd9..434884a 100755
--- a/hram.asm
+++ b/hram.asm
@@ -1,3 +1,11 @@
+hJoypadState EQU $FF98 ; current state of buttons. See joy_constants.asm for which bits
+ ; correspond to which buttons.
+hNewlyPressedButtons EQU $FF99 ; mask for buttons that were pressed in the current frame.
+hPrevPreviousJoypadState EQU $FF9B ; joypad state from two frames ago. See joy_constants.asm for
+ ; which bits correspond to which buttons. (need a better name for this...)
+hPreviousJoypadState EQU $FF9C ; prevoius frame's joypad state. See joy_constants.asm for
+ ; which bits correspond to which buttons.
+
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