From 7d71fe6ce826ab3f26cfab75ed8e25aa126cca05 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Tue, 16 Nov 2021 21:25:03 -0300 Subject: [PATCH] I_NEW_VITAMIN_EV_CAP -> I_VITAMIN_EV_CAP --- include/constants/item_config.h | 2 +- include/constants/pokemon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/constants/item_config.h b/include/constants/item_config.h index 1b271d44cc..82152f3d90 100644 --- a/include/constants/item_config.h +++ b/include/constants/item_config.h @@ -18,6 +18,6 @@ #define I_KEY_ESCAPE_ROPE GEN_7 // In Gen8, Escape Rope became a Key Item. Keep in mind, this will make it free to buy in marts. #define I_LEGACY_HEALING_ITEMS GEN_7 // In Gen7+, certain healing items recover less HP than they used to. #define I_SITRUS_BERRY_HEAL GEN_7 // In Gen4+, Sitrus Berry was changed from healing 30 HP to healing 25% of Max HP. -#define I_NEW_VITAMIN_EV_CAP GEN_8 // In Gen8, the Vitamins no longer have a cap of 100 EV per stat. +#define I_VITAMIN_EV_CAP GEN_8 // In Gen8, the Vitamins no longer have a cap of 100 EV per stat. #endif // GUARD_CONSTANTS_ITEM_CONFIG_H diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index ad32743532..9f223c9b17 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -278,7 +278,7 @@ #define USE_RANDOM_IVS (MAX_PER_STAT_IVS + 1) #define MAX_PER_STAT_EVS 255 #define MAX_TOTAL_EVS 510 -#if I_NEW_VITAMIN_EV_CAP >= GEN_8 +#if I_VITAMIN_EV_CAP >= GEN_8 #define EV_ITEM_RAISE_LIMIT MAX_PER_STAT_EVS #elif #define EV_ITEM_RAISE_LIMIT 100