mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Rename MAX_POKEMON_NAME_SIZE to MAX_NAME_SIZE
in Pokemon
This commit is contained in:
@@ -601,7 +601,7 @@ module PokemonDebugMixin
|
||||
when 0 # Rename
|
||||
oldname = (pkmn.name && pkmn.name!=speciesname) ? pkmn.name : ""
|
||||
newname = pbEnterPokemonName(_INTL("{1}'s nickname?",speciesname),
|
||||
0, Pokemon::MAX_POKEMON_NAME_SIZE, oldname, pkmn)
|
||||
0, Pokemon::MAX_NAME_SIZE, oldname, pkmn)
|
||||
if newname && newname!=""
|
||||
pkmn.name = newname
|
||||
pbRefreshSingle(pkmnid)
|
||||
|
||||
@@ -741,7 +741,7 @@ def pbPokemonEditor
|
||||
metrics = pbLoadSpeciesMetrics
|
||||
selection = 0
|
||||
species = [
|
||||
[_INTL("Name"), LimitStringProperty.new(Pokemon::MAX_POKEMON_NAME_SIZE), _INTL("Name of the Pokémon.")],
|
||||
[_INTL("Name"), LimitStringProperty.new(Pokemon::MAX_NAME_SIZE), _INTL("Name of the Pokémon.")],
|
||||
[_INTL("InternalName"),ReadOnlyProperty,_INTL("Internal name of the Pokémon.")],
|
||||
[_INTL("Type1"),TypeProperty,_INTL("Pokémon's type. If same as Type2, this Pokémon has a single type.")],
|
||||
[_INTL("Type2"),TypeProperty,_INTL("Pokémon's type. If same as Type1, this Pokémon has a single type.")],
|
||||
|
||||
Reference in New Issue
Block a user