summaryrefslogtreecommitdiff
path: root/hram.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2015-03-16 21:34:58 -0700
committerMarcus Huderle <huderlem@gmail.com>2015-03-16 21:34:58 -0700
commit8d9f84c0fe65b12f967f2b466c979d8d2f3947cf (patch)
treec9f72b0e57e6d9edeb168542cb992b4ddb46e3bc /hram.asm
parent186293994b06348bb0376baba72f7415d37dfc0f (diff)
Add label for pressed buttons.
Diffstat (limited to 'hram.asm')
-rwxr-xr-xhram.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/hram.asm b/hram.asm
index f7d55d8..750739b 100755
--- a/hram.asm
+++ b/hram.asm
@@ -1,6 +1,7 @@
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.
+hNewlyPressedButtons EQU $FF99 ; buttons that were pressed in the current frame.
+hPressedButtons EQU $FF9A ; buttons that were pressed last frame and 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