added fix message

This commit is contained in:
Christopher Brisco
2023-02-13 14:14:44 -07:00
parent c8b2253c52
commit efed66615f

View File

@@ -3222,6 +3222,7 @@ class PokeBattle_Move_0F1 < PokeBattle_Move
itemName = target.itemName
user.item = target.item
# Permanently steal the item from wild Pokémon
# removed target.item == target.initialItem, this may cause bugs.
if @battle.wildBattle? && target.opposes? && !user.initialItem
user.setInitialItem(target.item)
target.pbRemoveItem