aboutsummaryrefslogtreecommitdiffstats
path: root/constants/input_constants.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:31 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:31 -0400
commit6b5be9129cabe72b9f775b02db1bf7e7169153da (patch)
treed92012450c70f90bf8086bed32ec3dc87b68b332 /constants/input_constants.asm
parentImproved Virtual Console patch identifiers (#357) (diff)
downloadpokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.gz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.xz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.zip
RGBDS syntax updates (#358)
New MACRO and DEF syntax
Diffstat (limited to 'constants/input_constants.asm')
-rw-r--r--constants/input_constants.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/constants/input_constants.asm b/constants/input_constants.asm
index 7984d5a9..f9070cba 100644
--- a/constants/input_constants.asm
+++ b/constants/input_constants.asm
@@ -9,12 +9,12 @@
const BIT_D_UP
const BIT_D_DOWN
-NO_INPUT EQU 0
-A_BUTTON EQU 1 << BIT_A_BUTTON
-B_BUTTON EQU 1 << BIT_B_BUTTON
-SELECT EQU 1 << BIT_SELECT
-START EQU 1 << BIT_START
-D_RIGHT EQU 1 << BIT_D_RIGHT
-D_LEFT EQU 1 << BIT_D_LEFT
-D_UP EQU 1 << BIT_D_UP
-D_DOWN EQU 1 << BIT_D_DOWN
+DEF NO_INPUT EQU 0
+DEF A_BUTTON EQU 1 << BIT_A_BUTTON
+DEF B_BUTTON EQU 1 << BIT_B_BUTTON
+DEF SELECT EQU 1 << BIT_SELECT
+DEF START EQU 1 << BIT_START
+DEF D_RIGHT EQU 1 << BIT_D_RIGHT
+DEF D_LEFT EQU 1 << BIT_D_LEFT
+DEF D_UP EQU 1 << BIT_D_UP
+DEF D_DOWN EQU 1 << BIT_D_DOWN