summaryrefslogtreecommitdiff
path: root/constants/map_object_constants.asm
diff options
context:
space:
mode:
Diffstat (limited to 'constants/map_object_constants.asm')
-rw-r--r--constants/map_object_constants.asm22
1 files changed, 15 insertions, 7 deletions
diff --git a/constants/map_object_constants.asm b/constants/map_object_constants.asm
index 43207a4dd..5a6c446c8 100644
--- a/constants/map_object_constants.asm
+++ b/constants/map_object_constants.asm
@@ -44,16 +44,24 @@ OW_LEFT EQU LEFT << 2
OW_RIGHT EQU RIGHT << 2
; object_struct OBJECT_FLAGS1 bit flags
-INVISIBLE EQU 0
-FIXED_FACING EQU 2
-SLIDING EQU 3
-EMOTE_OBJECT EQU 7
+INVISIBLE_F EQU 0
+FIXED_FACING_F EQU 2
+SLIDING_F EQU 3
+EMOTE_OBJECT_F EQU 7
+
+INVISIBLE EQU 1 << INVISIBLE_F
+FIXED_FACING EQU 1 << FIXED_FACING_F
+SLIDING EQU 1 << SLIDING_F
+EMOTE_OBJECT EQU 1 << EMOTE_OBJECT_F
; object_struct OBJECT_FLAGS2 bit flags
-LOW_PRIORITY EQU 0
-HIGH_PRIORITY EQU 1
-OVERHEAD EQU 3
+LOW_PRIORITY_F EQU 0
+HIGH_PRIORITY_F EQU 1
+OVERHEAD_F EQU 3
+LOW_PRIORITY EQU 1 << LOW_PRIORITY_F
+HIGH_PRIORITY EQU 1 << HIGH_PRIORITY_F
+OVERHEAD EQU 1 << OVERHEAD_F
; map_object struct members (see macros/wram.asm)
const_def