mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
pokemon orphanage - rocket azubat & removes unused tileset files
This commit is contained in:
@@ -626,6 +626,11 @@ ItemHandlers::UseOnPokemon.add(:DNAREVERSER, proc { |item, pokemon, scene|
|
||||
})
|
||||
|
||||
def reverseFusion(pokemon)
|
||||
if pokemon.owner.name == "RENTAL"
|
||||
pbDisplay(_INTL("You cannot unfuse a rental pokémon!"))
|
||||
return
|
||||
end
|
||||
|
||||
body = getBasePokemonID(pokemon.species, true)
|
||||
head = getBasePokemonID(pokemon.species, false)
|
||||
newspecies = (head) * Settings::NB_POKEMON + body
|
||||
@@ -1547,6 +1552,10 @@ def pbUnfuse(pokemon, scene, supersplicers, pcPosition = nil)
|
||||
scene.pbDisplay(_INTL("{1} cannot be unfused.", pokemon.name))
|
||||
return false
|
||||
end
|
||||
if pokemon.owner.name == "RENTAL"
|
||||
pbDisplay(_INTL("You cannot unfuse a rental pokémon!"))
|
||||
return
|
||||
end
|
||||
|
||||
pokemon.spriteform_body = nil
|
||||
pokemon.spriteform_head = nil
|
||||
|
||||
Reference in New Issue
Block a user