Fixes crash when trying to unfuse a rental fusion & doduo bellsprout graphics

This commit is contained in:
chardub
2025-04-14 19:02:02 -04:00
parent 82868b55e8
commit cec6847b4e
16 changed files with 3 additions and 3 deletions

View File

@@ -627,7 +627,7 @@ 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!"))
pbMessage(_INTL("You cannot reverse a rental pokémon!"))
return
end
@@ -1553,7 +1553,7 @@ def pbUnfuse(pokemon, scene, supersplicers, pcPosition = nil)
return false
end
if pokemon.owner.name == "RENTAL"
pbDisplay(_INTL("You cannot unfuse a rental pokémon!"))
scene.pbDisplay(_INTL("You cannot unfuse a rental pokémon!"))
return
end