summaryrefslogtreecommitdiff
path: root/src/constants/script_constants.asm
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2021-05-17 11:08:02 +0100
committerElectroDeoxys <ElectroDeoxys@gmail.com>2021-05-17 11:08:02 +0100
commit91af4cb51631ea4257a8aeb61b836fa304aa17f5 (patch)
treeb3795815fedc99b5f108b4867513de4b9cd8ea03 /src/constants/script_constants.asm
parentef5a54d4d18baa51aea8552f184880e3ccd4d423 (diff)
NPC functions disasm and documenting
Diffstat (limited to 'src/constants/script_constants.asm')
-rw-r--r--src/constants/script_constants.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/constants/script_constants.asm b/src/constants/script_constants.asm
index d7ae7d6..3a44694 100644
--- a/src/constants/script_constants.asm
+++ b/src/constants/script_constants.asm
@@ -276,6 +276,7 @@ EAST EQU $01
SOUTH EQU $02
WEST EQU $03
NO_MOVE EQU %10000000 ; For rotations without movement
+DIRECTION_MASK EQU $ff ^ NO_MOVE
VARIABLE_CARD EQU 0 ; use the card located in wCardReceived instead of using the script's argument
@@ -300,3 +301,7 @@ SCIENCE_MEDAL EQU 1 << SCIENCE_MEDAL_F
GRASS_MEDAL EQU 1 << GRASS_MEDAL_F
NUM_MEDALS EQU 8
+
+; total number of packs that are obtained through the PC
+NUM_PC_PACKS EQU 15
+PACK_OPENED EQU %10000000