mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
fixes mist stone on egg glitch
This commit is contained in:
@@ -338,6 +338,7 @@ ItemHandlers::UseOnPokemon.add(:INCUBATOR, proc { |item, pokemon, scene|
|
||||
})
|
||||
|
||||
ItemHandlers::UseOnPokemon.add(:MISTSTONE, proc { |item, pokemon, scene|
|
||||
next false if pokemon.egg?
|
||||
if pbForceEvo(pokemon)
|
||||
next true
|
||||
else
|
||||
@@ -1173,6 +1174,7 @@ ItemHandlers::UseOnPokemon.add(:INCUBATOR_NORMAL, proc { |item, pokemon, scene|
|
||||
})
|
||||
|
||||
ItemHandlers::UseOnPokemon.add(:MISTSTONE, proc { |item, pokemon, scene|
|
||||
next false if pokemon.egg?
|
||||
if pbForceEvo(pokemon)
|
||||
next true
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user