Fixed the Power Items' hold effects.

This commit is contained in:
LOuroboros 2019-05-02 15:47:43 -03:00
parent fbdcbfd33d
commit eaafcd539d
2 changed files with 13 additions and 18 deletions

View file

@ -102,12 +102,7 @@
#define HOLD_EFFECT_GRISEOUS_ORB 96 #define HOLD_EFFECT_GRISEOUS_ORB 96
#define HOLD_EFFECT_GRACIDEA 97 #define HOLD_EFFECT_GRACIDEA 97
#define HOLD_EFFECT_RESIST_BERRY 98 #define HOLD_EFFECT_RESIST_BERRY 98
#define HOLD_EFFECT_POWER_BRACER 99 #define HOLD_EFFECT_EV_BOOST 99
#define HOLD_EFFECT_POWER_BELT 100
#define HOLD_EFFECT_POWER_LENS 101
#define HOLD_EFFECT_POWER_BAND 102
#define HOLD_EFFECT_POWER_ANKLET 103
#define HOLD_EFFECT_POWER_WEIGHT 104
// Gen5 hold effects // Gen5 hold effects
#define HOLD_EFFECT_FLOAT_STONE 115 #define HOLD_EFFECT_FLOAT_STONE 115

View file

@ -3288,12 +3288,12 @@ const struct Item gItems[] =
.name = _("Power Bracer"), .name = _("Power Bracer"),
.itemId = ITEM_POWER_BRACER, .itemId = ITEM_POWER_BRACER,
.price = 3000, .price = 3000,
.holdEffect = HOLD_EFFECT_POWER_BRACER, .holdEffect = HOLD_EFFECT_EV_BOOST,
.description = sPowerBracerDesc, .description = sPowerBracerDesc,
.pocket = POCKET_ITEMS, .pocket = POCKET_ITEMS,
.type = 4, .type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse, .fieldUseFunc = ItemUseOutOfBattle_CannotUse,
.secondaryId = 0, .secondaryId = STAT_ATK,
}, },
[ITEM_POWER_BELT] = [ITEM_POWER_BELT] =
@ -3301,12 +3301,12 @@ const struct Item gItems[] =
.name = _("Power Belt"), .name = _("Power Belt"),
.itemId = ITEM_POWER_BELT, .itemId = ITEM_POWER_BELT,
.price = 3000, .price = 3000,
.holdEffect = HOLD_EFFECT_POWER_BELT, .holdEffect = HOLD_EFFECT_EV_BOOST,
.description = sPowerBeltDesc, .description = sPowerBeltDesc,
.pocket = POCKET_ITEMS, .pocket = POCKET_ITEMS,
.type = 4, .type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse, .fieldUseFunc = ItemUseOutOfBattle_CannotUse,
.secondaryId = 0, .secondaryId = STAT_DEF,
}, },
[ITEM_POWER_LENS] = [ITEM_POWER_LENS] =
@ -3314,12 +3314,12 @@ const struct Item gItems[] =
.name = _("Power Lens"), .name = _("Power Lens"),
.itemId = ITEM_POWER_LENS, .itemId = ITEM_POWER_LENS,
.price = 3000, .price = 3000,
.holdEffect = HOLD_EFFECT_POWER_LENS, .holdEffect = HOLD_EFFECT_EV_BOOST,
.description = sPowerLensDesc, .description = sPowerLensDesc,
.pocket = POCKET_ITEMS, .pocket = POCKET_ITEMS,
.type = 4, .type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse, .fieldUseFunc = ItemUseOutOfBattle_CannotUse,
.secondaryId = 0, .secondaryId = STAT_SPATK,
}, },
[ITEM_POWER_BAND] = [ITEM_POWER_BAND] =
@ -3327,12 +3327,12 @@ const struct Item gItems[] =
.name = _("Power Band"), .name = _("Power Band"),
.itemId = ITEM_POWER_BAND, .itemId = ITEM_POWER_BAND,
.price = 3000, .price = 3000,
.holdEffect = HOLD_EFFECT_POWER_BAND, .holdEffect = HOLD_EFFECT_EV_BOOST,
.description = sPowerBandDesc, .description = sPowerBandDesc,
.pocket = POCKET_ITEMS, .pocket = POCKET_ITEMS,
.type = 4, .type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse, .fieldUseFunc = ItemUseOutOfBattle_CannotUse,
.secondaryId = 0, .secondaryId = STAT_SPDEF,
}, },
[ITEM_POWER_ANKLET] = [ITEM_POWER_ANKLET] =
@ -3340,12 +3340,12 @@ const struct Item gItems[] =
.name = _("Power Anklet"), .name = _("Power Anklet"),
.itemId = ITEM_POWER_ANKLET, .itemId = ITEM_POWER_ANKLET,
.price = 3000, .price = 3000,
.holdEffect = HOLD_EFFECT_POWER_ANKLET, .holdEffect = HOLD_EFFECT_EV_BOOST,
.description = sPowerAnkletDesc, .description = sPowerAnkletDesc,
.pocket = POCKET_ITEMS, .pocket = POCKET_ITEMS,
.type = 4, .type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse, .fieldUseFunc = ItemUseOutOfBattle_CannotUse,
.secondaryId = 0, .secondaryId = STAT_SPEED,
}, },
[ITEM_POWER_WEIGHT] = [ITEM_POWER_WEIGHT] =
@ -3353,12 +3353,12 @@ const struct Item gItems[] =
.name = _("Power Weight"), .name = _("Power Weight"),
.itemId = ITEM_POWER_WEIGHT, .itemId = ITEM_POWER_WEIGHT,
.price = 3000, .price = 3000,
.holdEffect = HOLD_EFFECT_POWER_WEIGHT, .holdEffect = HOLD_EFFECT_EV_BOOST,
.description = sPowerWeightDesc, .description = sPowerWeightDesc,
.pocket = POCKET_ITEMS, .pocket = POCKET_ITEMS,
.type = 4, .type = 4,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse, .fieldUseFunc = ItemUseOutOfBattle_CannotUse,
.secondaryId = 0, .secondaryId = STAT_HP,
}, },
[ITEM_SEA_INCENSE] = [ITEM_SEA_INCENSE] =