summaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/charmaps.asm2
-rw-r--r--src/constants/misc_constants.asm16
2 files changed, 17 insertions, 1 deletions
diff --git a/src/constants/charmaps.asm b/src/constants/charmaps.asm
index 9fd0e05..2b8eb40 100644
--- a/src/constants/charmaps.asm
+++ b/src/constants/charmaps.asm
@@ -339,7 +339,7 @@ ENDM
txsymbol PARALYZED ; $0b
txsymbol CURSOR_U ; $0c
txsymbol POKEMON ; $0d
- txsymbol ATK_DESCR ; $0e
+ txsymbol ATK_DESCR ; $0e
txsymbol CURSOR_R ; $0f
txsymbol HP ; $10
txsymbol Lv ; $11
diff --git a/src/constants/misc_constants.asm b/src/constants/misc_constants.asm
index 45d8bf2..8649881 100644
--- a/src/constants/misc_constants.asm
+++ b/src/constants/misc_constants.asm
@@ -50,6 +50,22 @@ OWMODE_MOVE EQU 1
OWMODE_START_SCRIPT EQU 2
OWMODE_SCRIPT EQU 3
+; max number of player names that
+; can be written to sCardPopNameList
+CARDPOP_NAME_LIST_MAX_ELEMS EQU 16
+CARDPOP_NAME_LIST_SIZE EQUS "CARDPOP_NAME_LIST_MAX_ELEMS * NAME_BUFFER_LENGTH"
+
+; commands transmitted through IR to be
+; executed by the other device
+; (see ExecuteReceivedIRCommands)
+ const_def
+ const IRCMD_CLOSE ; $0
+ const IRCMD_RETURN_WO_CLOSING ; $1
+ const IRCMD_TRANSMIT_DATA ; $2
+ const IRCMD_RECEIVE_DATA ; $3
+ const IRCMD_CALL_FUNCTION ; $4
+NUM_IR_COMMANDS EQU const_value
+
NULL EQU $0000
FALSE EQU 0