mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-26 16:26:01 +00:00
@@ -59,7 +59,7 @@ class PokeBattle_Battle
|
|||||||
end
|
end
|
||||||
|
|
||||||
def pbReturnUnusedItemToBag(item,idxBattler)
|
def pbReturnUnusedItemToBag(item,idxBattler)
|
||||||
return if item!
|
return if !item
|
||||||
useType = GameData::Item.get(item).battle_use
|
useType = GameData::Item.get(item).battle_use
|
||||||
return if useType==0 || (useType>=6 && useType<=10) # Not consumed upon use
|
return if useType==0 || (useType>=6 && useType<=10) # Not consumed upon use
|
||||||
if pbOwnedByPlayer?(idxBattler)
|
if pbOwnedByPlayer?(idxBattler)
|
||||||
|
|||||||
Reference in New Issue
Block a user