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:
Binary file not shown.
Binary file not shown.
@@ -338,6 +338,7 @@ ItemHandlers::UseOnPokemon.add(:INCUBATOR, proc { |item, pokemon, scene|
|
|||||||
})
|
})
|
||||||
|
|
||||||
ItemHandlers::UseOnPokemon.add(:MISTSTONE, proc { |item, pokemon, scene|
|
ItemHandlers::UseOnPokemon.add(:MISTSTONE, proc { |item, pokemon, scene|
|
||||||
|
next false if pokemon.egg?
|
||||||
if pbForceEvo(pokemon)
|
if pbForceEvo(pokemon)
|
||||||
next true
|
next true
|
||||||
else
|
else
|
||||||
@@ -1173,6 +1174,7 @@ ItemHandlers::UseOnPokemon.add(:INCUBATOR_NORMAL, proc { |item, pokemon, scene|
|
|||||||
})
|
})
|
||||||
|
|
||||||
ItemHandlers::UseOnPokemon.add(:MISTSTONE, proc { |item, pokemon, scene|
|
ItemHandlers::UseOnPokemon.add(:MISTSTONE, proc { |item, pokemon, scene|
|
||||||
|
next false if pokemon.egg?
|
||||||
if pbForceEvo(pokemon)
|
if pbForceEvo(pokemon)
|
||||||
next true
|
next true
|
||||||
else
|
else
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user