aboutsummaryrefslogtreecommitdiffstats
path: root/constants/input_constants.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:34 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:34 -0400
commitc1ef7b75972fa4fbdf125bc85cc1a66f358151cd (patch)
treebcf71939ec5573ed5001c4a4b4342d26e5d8f9b1 /constants/input_constants.asm
parentImproved Virtual Console patch identifiers (#85) (diff)
downloadpokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.gz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.xz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.zip
RGBDS syntax updates (#86)
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