diff options
author | Daniel Harding <33dannye@gmail.com> | 2021-02-23 21:07:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 21:07:01 -0600 |
commit | 5fdf423da5fdcc24d73e88ea21cc98f58c448c96 (patch) | |
tree | d1a7ed19e75e8a85a96b71ce532b1f2fa4a174fa /src/constants | |
parent | 8a37415c695b81b3bf434d3a2fe2a911f68acc28 (diff) | |
parent | b7569adb2dd7f30f198afc62c29dda05e5491ae0 (diff) |
Merge pull request #101 from ElectroDeoxys/master
Card Pop! and Printer (bank$06)
Diffstat (limited to 'src/constants')
-rw-r--r-- | src/constants/charmaps.asm | 2 | ||||
-rw-r--r-- | src/constants/misc_constants.asm | 16 |
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 |