mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
fixes nickname length not being the same everywhere
This commit is contained in:
@@ -95,7 +95,7 @@ class Pokemon
|
||||
# Max EVs that a single stat can have
|
||||
EV_STAT_LIMIT = 252
|
||||
# Maximum length a Pokémon's nickname can be
|
||||
MAX_NAME_SIZE = 10
|
||||
MAX_NAME_SIZE = 16
|
||||
# Maximum number of moves a Pokémon can know at once
|
||||
MAX_MOVES = 4
|
||||
|
||||
|
||||
@@ -1165,7 +1165,7 @@ class PokemonPartyScreen
|
||||
break
|
||||
# Rename
|
||||
elsif cmd == 0
|
||||
newname = pbEnterPokemonName(_INTL("{1}'s nickname?", speciesname), 0, 16, "", pkmn)
|
||||
newname = pbEnterPokemonName(_INTL("{1}'s nickname?", speciesname), 0, Pokemon::MAX_NAME_SIZE, "", pkmn)
|
||||
pkmn.name = (newname == "") ? speciesname : newname
|
||||
pbRefreshSingle(pkmnid)
|
||||
# Erase name
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user