Gave Razor Fang EVO_HELD_ITEM type/fieldUseFunc properties (#3456)

This commit is contained in:
Frank DeBlasio 2023-10-23 16:03:31 -04:00 committed by GitHub
parent 4aabd09ab3
commit bac135c6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -6045,8 +6045,8 @@ const struct Item gItems[] =
.holdEffectParam = 10,
.description = sRazorFangDesc,
.pocket = POCKET_ITEMS,
.type = ITEM_USE_BAG_MENU,
.fieldUseFunc = ItemUseOutOfBattle_CannotUse,
.type = EVO_HELD_ITEM_TYPE,
.fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC,
.flingPower = 30,
},

View File

@ -566,6 +566,7 @@ const u8 *const gItemEffectTable[ITEMS_COUNT] =
[ITEM_METAL_COAT] = gItemEffect_EvoItem,
[ITEM_KINGS_ROCK] = gItemEffect_EvoItem,
[ITEM_RAZOR_CLAW] = gItemEffect_EvoItem,
[ITEM_RAZOR_FANG] = gItemEffect_EvoItem,
[ITEM_AUSPICIOUS_ARMOR] = gItemEffect_EvoItem,
[ITEM_MALICIOUS_ARMOR] = gItemEffect_EvoItem,
[ITEM_SCROLL_OF_DARKNESS] = gItemEffect_EvoItem,