summaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/card_data_constants.asm5
-rw-r--r--src/constants/duel_constants.asm12
2 files changed, 16 insertions, 1 deletions
diff --git a/src/constants/card_data_constants.asm b/src/constants/card_data_constants.asm
index 80051bd..44d181b 100644
--- a/src/constants/card_data_constants.asm
+++ b/src/constants/card_data_constants.asm
@@ -1,4 +1,7 @@
-CARD_DATA_LENGTH EQU $41
+PKMN_CARD_DATA_LENGTH EQU $41
+TRN_CARD_DATA_LENGTH EQU $0e
+ENERGY_CARD_DATA_LENGTH EQU $0e
+
DECK_SIZE EQU 60
BENCH_SIZE EQU 5
diff --git a/src/constants/duel_constants.asm b/src/constants/duel_constants.asm
index cfa27d2..849a671 100644
--- a/src/constants/duel_constants.asm
+++ b/src/constants/duel_constants.asm
@@ -25,6 +25,18 @@ DUELVARS_NUMBER_OF_POKEMON_IN_PLAY EQUS "wPlayerNumberOfPokemonInPlay & $f
DUELVARS_ARENA_CARD_STATUS EQUS "wPlayerArenaCardStatus & $ff" ; f0
DUELVARS_DUELIST_TYPE EQUS "wPlayerDuelistType & $ff" ; f1
+; card locations
+CARD_LOCATION_DECK EQU $00
+CARD_LOCATION_HAND EQU $01
+CARD_LOCATION_DISCARD_PILE EQU $02
+CARD_LOCATION_PRIZE EQU $08
+CARD_LOCATION_ARENA EQU $10
+CARD_LOCATION_BENCH_1 EQU $11
+CARD_LOCATION_BENCH_2 EQU $12
+CARD_LOCATION_BENCH_3 EQU $13
+CARD_LOCATION_BENCH_4 EQU $14
+CARD_LOCATION_BENCH_5 EQU $15
+
; status condition constants
CARD_NOSTATUS EQU $00
CARD_CONFUSED EQU $01