summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-16 12:32:19 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-16 12:32:19 -0400
commit76b882d9523915ca8ced96e8c5e889ca2728241e (patch)
treedf360d4315b6627348a72ccad346391077fd5bb2 /constants
parent594c58a289cbad3954899d76ed000f483389472f (diff)
Reformat map scripts' coordinate and movement data
'dbmapcoord' has X, Y order like other coordinate-related data macros
Diffstat (limited to 'constants')
-rw-r--r--constants/input_constants.asm1
-rw-r--r--constants/sprite_data_constants.asm2
2 files changed, 3 insertions, 0 deletions
diff --git a/constants/input_constants.asm b/constants/input_constants.asm
index 1f10cc46..e5bc2a7b 100644
--- a/constants/input_constants.asm
+++ b/constants/input_constants.asm
@@ -8,6 +8,7 @@
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
diff --git a/constants/sprite_data_constants.asm b/constants/sprite_data_constants.asm
index 1639b8fa..e1104262 100644
--- a/constants/sprite_data_constants.asm
+++ b/constants/sprite_data_constants.asm
@@ -11,6 +11,8 @@
const NPC_MOVEMENT_LEFT ; $80
const NPC_MOVEMENT_RIGHT ; $C0
+NPC_CHANGE_FACING EQU $E0
+
; player direction constants
const_def
const PLAYER_DIR_BIT_RIGHT ; 0