From 9b1fd796ae018f969327e6c514117e1c5803203f Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Fri, 31 Dec 2021 18:07:33 -0300 Subject: [PATCH] Gave the Gracidea's old hold effect slot to the Enigma Berry --- include/constants/hold_effects.h | 21 +++++++++++---------- src/data/items.h | 3 +-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/constants/hold_effects.h b/include/constants/hold_effects.h index 6f906c5c30..e0361795d7 100644 --- a/include/constants/hold_effects.h +++ b/include/constants/hold_effects.h @@ -100,16 +100,17 @@ #define HOLD_EFFECT_ADAMANT_ORB 94 #define HOLD_EFFECT_LUSTROUS_ORB 95 #define HOLD_EFFECT_GRISEOUS_ORB 96 -#define HOLD_EFFECT_RESIST_BERRY 97 -#define HOLD_EFFECT_POWER_ITEM 98 -#define HOLD_EFFECT_RESTORE_PCT_HP 99 -#define HOLD_EFFECT_MICLE_BERRY 100 -#define HOLD_EFFECT_CUSTAP_BERRY 101 -#define HOLD_EFFECT_JABOCA_BERRY 102 -#define HOLD_EFFECT_ROWAP_BERRY 103 -#define HOLD_EFFECT_KEE_BERRY 104 -#define HOLD_EFFECT_MARANGA_BERRY 105 -#define HOLD_EFFECT_PLATE 106 +#define HOLD_EFFECT_ENIGMA_BERRY 97 +#define HOLD_EFFECT_RESIST_BERRY 98 +#define HOLD_EFFECT_POWER_ITEM 99 +#define HOLD_EFFECT_RESTORE_PCT_HP 100 +#define HOLD_EFFECT_MICLE_BERRY 101 +#define HOLD_EFFECT_CUSTAP_BERRY 102 +#define HOLD_EFFECT_JABOCA_BERRY 103 +#define HOLD_EFFECT_ROWAP_BERRY 104 +#define HOLD_EFFECT_KEE_BERRY 105 +#define HOLD_EFFECT_MARANGA_BERRY 106 +#define HOLD_EFFECT_PLATE 107 // Gen5 hold effects #define HOLD_EFFECT_FLOAT_STONE 117 diff --git a/src/data/items.h b/src/data/items.h index dd542684f7..c3e858da17 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -7241,8 +7241,7 @@ const struct Item gItems[] = .name = _("Enigma Berry"), .itemId = ITEM_ENIGMA_BERRY, .price = 20, - .holdEffect = HOLD_EFFECT_RESIST_BERRY, - .holdEffectParam = TYPE_NONE, + .holdEffect = HOLD_EFFECT_ENIGMA_BERRY, .description = sEnigmaBerryDesc, .pocket = POCKET_BERRIES, .type = ITEM_USE_BAG_MENU,