diff options
| author | Daniel Harding <33dannye@gmail.com> | 2021-06-05 11:48:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-05 11:48:39 -0500 |
| commit | 86f9039fe23d9b1109cdb9db923cf03dee3cf21f (patch) | |
| tree | 15b069120074ea88775e92e6411ea1805819caca /src/constants | |
| parent | d4d63a97e41c40d9081a279e3f113177c8640767 (diff) | |
| parent | 052fb54fb4c9a44451dd81fc139d7d1a614bdabd (diff) | |
Merge pull request #106 from ElectroDeoxys/master
Finish Bank 6
Diffstat (limited to 'src/constants')
| -rw-r--r-- | src/constants/misc_constants.asm | 7 | ||||
| -rw-r--r-- | src/constants/npc_constants.asm | 1 | ||||
| -rw-r--r-- | src/constants/printer_constants.asm | 24 |
3 files changed, 24 insertions, 8 deletions
diff --git a/src/constants/misc_constants.asm b/src/constants/misc_constants.asm index 1b6e6d7..4147b1d 100644 --- a/src/constants/misc_constants.asm +++ b/src/constants/misc_constants.asm @@ -68,6 +68,13 @@ NUM_CHALLENGE_MACHINE_OPPONENTS EQU 5 const IRCMD_CALL_FUNCTION ; $4 NUM_IR_COMMANDS EQU const_value +; parameters for IR communication +; (see InitIRCommunications) + const_def 1 + const IRPARAM_CARD_POP ; $1 + const IRPARAM_SEND_CARDS ; $2 + const IRPARAM_SEND_DECK ; $3 + NULL EQU $0000 FALSE EQU 0 diff --git a/src/constants/npc_constants.asm b/src/constants/npc_constants.asm index c16c46f..bf5aafd 100644 --- a/src/constants/npc_constants.asm +++ b/src/constants/npc_constants.asm @@ -75,6 +75,7 @@ NPC_DATA_LENGTH EQU const_value const JESSICA_PIC ; $27 const STEPHANIE_PIC ; $28 const AARON_PIC ; $29 + const LINK_OPP_PIC ; $2a const_def 1 const NPC_DRMASON ; $01 diff --git a/src/constants/printer_constants.asm b/src/constants/printer_constants.asm index ed6b663..e65eb1b 100644 --- a/src/constants/printer_constants.asm +++ b/src/constants/printer_constants.asm @@ -1,9 +1,17 @@ ; wPrinterStatus
- const_def 1
- const PRINTER_STATUS_CHECKING
- const PRINTER_STATUS_TRANSMITTING
- const PRINTER_STATUS_PRINTING
- const PRINTER_ERROR_1
- const PRINTER_ERROR_PAPER_JAMMED
- const PRINTER_ERROR_CABLE_PRINTER_SWITCH
- const PRINTER_ERROR_BATTERIES_LOST_CHARGE
+ const_def
+ const PRINTER_ERROR_CHECKSUM ; $0
+ const PRINTER_STATUS_BUSY ; $1
+ const PRINTER_STATUS_IMAGE_FULL ; $2
+ const PRINTER_STATUS_PRINTING ; $3
+ const PRINTER_ERROR_INVALID_PACKET ; $4
+ const PRINTER_ERROR_PAPER_JAMMED ; $5
+ const PRINTER_ERROR_CABLE_PRINTER_SWITCH ; $6
+ const PRINTER_ERROR_BATTERIES_LOST_CHARGE ; $7
+
+; printer packet types
+PRINTERPKT_INIT EQU $01
+PRINTERPKT_PRINT_INSTRUCTION EQU $02
+PRINTERPKT_DATA EQU $04
+PRINTERPKT_BREAK EQU $08
+PRINTERPKT_NUL EQU $0f
|
