mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Rename PokeBattle_Pokemon to Pokemon
Deprecate PokeBattle_Pokemon and pbNewPkmn
This commit is contained in:
@@ -109,7 +109,7 @@ class PokemonEggHatch_Scene
|
||||
if pbConfirmMessage(
|
||||
_INTL("Would you like to nickname the newly hatched {1}?",@pokemon.name)) { update }
|
||||
nickname=pbEnterPokemonName(_INTL("{1}'s nickname?",@pokemon.name),
|
||||
0,PokeBattle_Pokemon::MAX_POKEMON_NAME_SIZE,"",@pokemon,true)
|
||||
0, Pokemon::MAX_POKEMON_NAME_SIZE, "", @pokemon, true)
|
||||
@pokemon.name=nickname if nickname!=""
|
||||
@nicknamed=true
|
||||
end
|
||||
@@ -209,7 +209,7 @@ def pbHatch(pokemon)
|
||||
pbMessage(_INTL("{1} hatched from the Egg!",speciesname))
|
||||
if pbConfirmMessage(_INTL("Would you like to nickname the newly hatched {1}?",speciesname))
|
||||
nickname = pbEnterPokemonName(_INTL("{1}'s nickname?",speciesname),
|
||||
0,PokeBattle_Pokemon::MAX_POKEMON_NAME_SIZE,"",pokemon)
|
||||
0, Pokemon::MAX_POKEMON_NAME_SIZE, "", pokemon)
|
||||
pokemon.name = nickname if nickname!=""
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user