aboutsummaryrefslogtreecommitdiffstats
path: root/constants/sprite_data_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/sprite_data_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/sprite_data_constants.asm')
-rw-r--r--constants/sprite_data_constants.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/constants/sprite_data_constants.asm b/constants/sprite_data_constants.asm
index e1104262..44dc0fa9 100644
--- a/constants/sprite_data_constants.asm
+++ b/constants/sprite_data_constants.asm
@@ -11,7 +11,7 @@
const NPC_MOVEMENT_LEFT ; $80
const NPC_MOVEMENT_RIGHT ; $C0
-NPC_CHANGE_FACING EQU $E0
+DEF NPC_CHANGE_FACING EQU $E0
; player direction constants
const_def
@@ -20,7 +20,7 @@ NPC_CHANGE_FACING EQU $E0
const PLAYER_DIR_BIT_DOWN ; 2
const PLAYER_DIR_BIT_UP ; 3
-PLAYER_DIR_RIGHT EQU 1 << PLAYER_DIR_BIT_RIGHT
-PLAYER_DIR_LEFT EQU 1 << PLAYER_DIR_BIT_LEFT
-PLAYER_DIR_DOWN EQU 1 << PLAYER_DIR_BIT_DOWN
-PLAYER_DIR_UP EQU 1 << PLAYER_DIR_BIT_UP
+DEF PLAYER_DIR_RIGHT EQU 1 << PLAYER_DIR_BIT_RIGHT
+DEF PLAYER_DIR_LEFT EQU 1 << PLAYER_DIR_BIT_LEFT
+DEF PLAYER_DIR_DOWN EQU 1 << PLAYER_DIR_BIT_DOWN
+DEF PLAYER_DIR_UP EQU 1 << PLAYER_DIR_BIT_UP