summaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-22 13:45:13 +0000
committerElectroDeoxys <ElectroDeoxys@gmail.com>2021-02-22 14:04:17 +0000
commit8a7b1433f09e9cf8e1d40c9b69acde180d13a986 (patch)
tree482c411c9cbd70d4ba76471a0da853f1487532c0 /src/constants
parent21193167deaf379a4366d35f11779c1fad4ea931 (diff)
Disassemble and document Card Pop! functions
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/misc_constants.asm16
1 files changed, 16 insertions, 0 deletions
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