summaryrefslogtreecommitdiff
path: root/constants.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-02-19 23:57:07 -0500
committeryenatch <yenatch@gmail.com>2013-02-22 20:02:03 -0500
commitda406973c565c24c089d137d056e03be8451242e (patch)
tree40b6a05c7fcdecb9ae7f91662bbe36024f14a9a3 /constants.asm
parent9102b9a498c1f3073b89367945330b7de6baf016 (diff)
Split out joypad
Diffstat (limited to 'constants.asm')
-rw-r--r--constants.asm23
1 files changed, 14 insertions, 9 deletions
diff --git a/constants.asm b/constants.asm
index ec45875d6..8a3d4d080 100644
--- a/constants.asm
+++ b/constants.asm
@@ -3417,15 +3417,20 @@ BATTLETYPE_SUICUNE EQU $0c
; joypad
-NO_INPUT EQU %00000000
-BUTTON_A EQU %00000001
-BUTTON_B EQU %00000010
-SELECT EQU %00000100
-START EQU %00001000
-D_RIGHT EQU %00010000
-D_LEFT EQU %00100000
-D_UP EQU %01000000
-D_DOWN EQU %10000000
+BUTTONS EQU %00010000
+D_PAD EQU %00100000
+
+AUTO_INPUT EQU $ff
+
+NO_INPUT EQU %00000000
+BUTTON_A EQU %00000001
+BUTTON_B EQU %00000010
+SELECT EQU %00000100
+START EQU %00001000
+D_RIGHT EQU %00010000
+D_LEFT EQU %00100000
+D_UP EQU %01000000
+D_DOWN EQU %10000000
; mbc
NUM_SRAM_BANKS EQU 4