From 21193167deaf379a4366d35f11779c1fad4ea931 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Sat, 20 Feb 2021 21:42:51 +0000 Subject: Disassemble and label some printer functions --- src/constants/charmaps.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/constants') 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 -- cgit v1.2.3 From 8a7b1433f09e9cf8e1d40c9b69acde180d13a986 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Mon, 22 Feb 2021 13:45:13 +0000 Subject: Disassemble and document Card Pop! functions --- src/constants/misc_constants.asm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/constants') 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 -- cgit v1.2.3