diff options
Diffstat (limited to 'constants')
-rw-r--r-- | constants/battle_constants.asm | 4 | ||||
-rw-r--r-- | constants/item_data_constants.asm | 1 | ||||
-rw-r--r-- | constants/pokemon_data_constants.asm | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm index f486bf51..57997ed5 100644 --- a/constants/battle_constants.asm +++ b/constants/battle_constants.asm @@ -260,3 +260,7 @@ ALL_STATUS EQU (1 << PSN) | (1 << BRN) | (1 << FRZ) | (1 << PAR) | SLP BATTLERESULT_BOX_FULL EQU 7 BATTLERESULT_BITMASK EQU (1 << BATTLERESULT_BOX_FULL) + +; link_battle_record struct +LINK_BATTLE_RECORD_LENGTH EQU 2 + (NAME_LENGTH - 1) + 2 * 3 +NUM_LINK_BATTLE_RECORDS EQU 5 diff --git a/constants/item_data_constants.asm b/constants/item_data_constants.asm index 4c2d761c..2d955c17 100644 --- a/constants/item_data_constants.asm +++ b/constants/item_data_constants.asm @@ -17,6 +17,7 @@ ITEMATTR_STRUCT_LENGTH EQU _RS const KEY_ITEM ; 2 const BALL ; 3 const TM_HM ; 4 +NUM_ITEM_TYPES EQU const_value - 1 ; item menu types ; UseItem.dw indexes (see engine/items/pack.asm) diff --git a/constants/pokemon_data_constants.asm b/constants/pokemon_data_constants.asm index d891b869..171068e7 100644 --- a/constants/pokemon_data_constants.asm +++ b/constants/pokemon_data_constants.asm @@ -49,6 +49,7 @@ GENDER_UNKNOWN EQU -1 const GROWTH_MEDIUM_SLOW const GROWTH_FAST const GROWTH_SLOW +NUM_GROWTH_RATES EQU const_value ; wBaseEggGroups values const_def 1 |