From 972ed0d5a715ce803ead9af2c638228fd602476b Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Mon, 17 May 2021 21:32:47 -0300 Subject: [PATCH] Adjusted the item data of the Wings/Feathers Now they work. Yay. --- src/data/items.h | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/src/data/items.h b/src/data/items.h index c76b1d3e1c..780a1c36bf 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -6988,12 +6988,10 @@ const struct Item gItems[] = .name = _("HealthFeather"), .itemId = ITEM_HEALTH_WING, .price = 300, - .holdEffect = 0, - .holdEffectParam = 4, .description = sHealthWingDesc, .pocket = POCKET_ITEMS, - .type = ITEM_USE_BAG_MENU, - .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .type = ITEM_USE_PARTY_MENU, + .fieldUseFunc = ItemUseOutOfBattle_Medicine, .secondaryId = STAT_HP, }, @@ -7002,12 +7000,10 @@ const struct Item gItems[] = .name = _("MuscleFeather"), .itemId = ITEM_MUSCLE_WING, .price = 300, - .holdEffect = 0, - .holdEffectParam = 4, .description = sMuscleWingDesc, .pocket = POCKET_ITEMS, - .type = ITEM_USE_BAG_MENU, - .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .type = ITEM_USE_PARTY_MENU, + .fieldUseFunc = ItemUseOutOfBattle_Medicine, .secondaryId = STAT_ATK, }, @@ -7016,12 +7012,10 @@ const struct Item gItems[] = .name = _("ResistFeather"), .itemId = ITEM_RESIST_WING, .price = 300, - .holdEffect = 0, - .holdEffectParam = 4, .description = sResistWingDesc, .pocket = POCKET_ITEMS, - .type = ITEM_USE_BAG_MENU, - .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .type = ITEM_USE_PARTY_MENU, + .fieldUseFunc = ItemUseOutOfBattle_Medicine, .secondaryId = STAT_DEF, }, @@ -7030,12 +7024,10 @@ const struct Item gItems[] = .name = _("GeniusFeather"), .itemId = ITEM_GENIUS_WING, .price = 300, - .holdEffect = 0, - .holdEffectParam = 4, .description = sGeniusWingDesc, .pocket = POCKET_ITEMS, - .type = ITEM_USE_BAG_MENU, - .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .type = ITEM_USE_PARTY_MENU, + .fieldUseFunc = ItemUseOutOfBattle_Medicine, .secondaryId = STAT_SPATK, }, @@ -7044,12 +7036,10 @@ const struct Item gItems[] = .name = _("CleverFeather"), .itemId = ITEM_CLEVER_WING, .price = 300, - .holdEffect = 0, - .holdEffectParam = 4, .description = sCleverWingDesc, .pocket = POCKET_ITEMS, - .type = ITEM_USE_BAG_MENU, - .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .type = ITEM_USE_PARTY_MENU, + .fieldUseFunc = ItemUseOutOfBattle_Medicine, .secondaryId = STAT_SPDEF, }, @@ -7058,12 +7048,10 @@ const struct Item gItems[] = .name = _("Swift Feather"), .itemId = ITEM_SWIFT_WING, .price = 300, - .holdEffect = 0, - .holdEffectParam = 4, .description = sSwiftWingDesc, .pocket = POCKET_ITEMS, - .type = ITEM_USE_BAG_MENU, - .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .type = ITEM_USE_PARTY_MENU, + .fieldUseFunc = ItemUseOutOfBattle_Medicine, .secondaryId = STAT_SPEED, },