pokemon orphanage - rocket azubat & removes unused tileset files

This commit is contained in:
chardub
2025-04-13 21:47:07 -04:00
parent 046b1c0835
commit d668dae55a
48 changed files with 1077 additions and 21183 deletions

View File

@@ -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