mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
6.0 release
This commit is contained in:
@@ -113,6 +113,14 @@ class PokemonEggHatch_Scene
|
||||
@pokemon.name = nickname
|
||||
@nicknamed = true
|
||||
end
|
||||
|
||||
if !$Trainer.pokedex.owned?(@pokemon.species)
|
||||
$Trainer.pokedex.register(@pokemon)
|
||||
$Trainer.pokedex.set_owned(@pokemon.species)
|
||||
pbMessage(_INTL("{1}'s data was added to the Pokédex", @pokemon.name))
|
||||
pbShowPokedex(@pokemon.species)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def pbEndScene
|
||||
@@ -206,8 +214,6 @@ def pbHatch(pokemon)
|
||||
end
|
||||
|
||||
|
||||
$Trainer.pokedex.register(pokemon)
|
||||
$Trainer.pokedex.set_owned(pokemon.species)
|
||||
pokemon.record_first_moves
|
||||
if !pbHatchAnimation(pokemon)
|
||||
pbMessage(_INTL("Huh?\1"))
|
||||
@@ -220,6 +226,7 @@ def pbHatch(pokemon)
|
||||
pokemon.name = nickname
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Events.onStepTaken += proc { |_sender,_e|
|
||||
|
||||
Reference in New Issue
Block a user