From 71472b1439723c2ceeffd8b9e53f22a46591305d Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Tue, 30 Apr 2019 16:07:48 -0300 Subject: [PATCH] Power items data. --- src/data/items.h | 78 +++++++++++++++++++++++++++++++ src/data/text/item_descriptions.h | 34 +++++++++++++- 2 files changed, 110 insertions(+), 2 deletions(-) diff --git a/src/data/items.h b/src/data/items.h index 34b30d311..5cb64c1a9 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -3283,6 +3283,84 @@ const struct Item gItems[] = .secondaryId = 0, }, + [ITEM_POWER_BRACER] = + { + .name = _("Power Bracer"), + .itemId = ITEM_POWER_BRACER, + .price = 3000, + .holdEffect = HOLD_EFFECT_NONE, // Placeholder? + .description = sPowerBracerDesc, + .pocket = POCKET_ITEMS, + .type = 4, + .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .secondaryId = 0, + }, + + [ITEM_POWER_BELT] = + { + .name = _("Power Belt"), + .itemId = ITEM_POWER_BELT, + .price = 3000, + .holdEffect = HOLD_EFFECT_NONE, // Placeholder? + .description = sPowerBeltDesc, + .pocket = POCKET_ITEMS, + .type = 4, + .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .secondaryId = 0, + }, + + [ITEM_POWER_LENS] = + { + .name = _("Power Lens"), + .itemId = ITEM_POWER_LENS, + .price = 3000, + .holdEffect = HOLD_EFFECT_NONE, // Placeholder? + .description = sPowerLensDesc, + .pocket = POCKET_ITEMS, + .type = 4, + .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .secondaryId = 0, + }, + + [ITEM_POWER_BAND] = + { + .name = _("Power Band"), + .itemId = ITEM_POWER_BAND, + .price = 3000, + .holdEffect = HOLD_EFFECT_NONE, // Placeholder? + .description = sPowerBandDesc, + .pocket = POCKET_ITEMS, + .type = 4, + .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .secondaryId = 0, + }, + + [ITEM_POWER_ANKLET] = + { + .name = _("Power Anklet"), + .itemId = ITEM_POWER_ANKLET, + .price = 3000, + .holdEffect = HOLD_EFFECT_NONE, // Placeholder? + .description = sPowerAnkletDesc, + .pocket = POCKET_ITEMS, + .type = 4, + .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .secondaryId = 0, + }, + + [ITEM_POWER_WEIGHT] = + { + .name = _("Power Weight"), + .itemId = ITEM_POWER_WEIGHT, + .price = 3000, + .holdEffect = HOLD_EFFECT_NONE, // Placeholder? + .description = sPowerWeightDesc, + .pocket = POCKET_ITEMS, + .type = 4, + .fieldUseFunc = ItemUseOutOfBattle_CannotUse, + .secondaryId = 0, + }, + [ITEM_SEA_INCENSE] = { .name = _("Sea Incense"), diff --git a/src/data/text/item_descriptions.h b/src/data/text/item_descriptions.h index 28d82a292..8a8575909 100644 --- a/src/data/text/item_descriptions.h +++ b/src/data/text/item_descriptions.h @@ -1104,8 +1104,8 @@ static const u8 sDubiousDiscDesc[] = _( "flowing with data."); static const u8 sReaperClothDesc[] = _( - "A certain POKéMON\n" - "loves it. It's imbued\n" + "Loved by a certain\n" + "POKéMON. Imbued\n" "with strong energy."); static const u8 sRazorClawDesc[] = _( @@ -1222,6 +1222,36 @@ static const u8 sShellBellDesc[] = _( "restores HP upon\n" "striking the foe."); +static const u8 sPowerBracerDesc[] = _( + "A hold item that\n" + "promotes ATK gain,\n" + "but reduces SPEED."); + +static const u8 sPowerBeltDesc[] = _( + "A hold item that\n" + "promotes DEF gain,\n" + "but reduces SPEED."); + +static const u8 sPowerLensDesc[] = _( + "Hold item that pro-\n" + "motes SP. ATK gain,\n" + "but reduces SPEED."); + +static const u8 sPowerBandDesc[] = _( + "Hold item that pro-\n" + "motes SP. DEF gain,\n" + "but reduces SPEED."); + +static const u8 sPowerAnkletDesc[] = _( + "A hold item that\n" + "promotes SPD gain,\n" + "but reduces SPEED."); + +static const u8 sPowerWeightDesc[] = _( + "A hold item that\n" + "promotes HP gain,\n" + "but reduces SPEED."); + static const u8 sSeaIncenseDesc[] = _( "A hold item that\n" "slightly boosts\n"