From ea59f5ee474e1ee56a303feef44dc7e9f30db21d Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 22 Mar 2021 16:41:10 -0400 Subject: Miscellaneous cleanup --- constants/battle_constants.asm | 4 ++++ constants/item_data_constants.asm | 1 + constants/pokemon_data_constants.asm | 1 + 3 files changed, 6 insertions(+) (limited to 'constants') 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 -- cgit v1.2.3