diff options
author | Marcus Huderle <huderlem@gmail.com> | 2015-03-16 21:34:58 -0700 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2015-03-16 21:34:58 -0700 |
commit | 8d9f84c0fe65b12f967f2b466c979d8d2f3947cf (patch) | |
tree | c9f72b0e57e6d9edeb168542cb992b4ddb46e3bc /hram.asm | |
parent | 186293994b06348bb0376baba72f7415d37dfc0f (diff) |
Add label for pressed buttons.
Diffstat (limited to 'hram.asm')
-rwxr-xr-x | hram.asm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |