Rename MAX_POKEMON_NAME_SIZE to MAX_NAME_SIZE

in Pokemon
This commit is contained in:
Joni Savolainen
2020-09-20 21:25:39 +03:00
parent 61ad59afa6
commit 1b7ec64d98
9 changed files with 18 additions and 13 deletions

View File

@@ -8,6 +8,11 @@ class PokeBattle_Pokemon; end
PokeBattle_Pokemon = Pokemon
class Pokemon
# @deprecated Use {MAX_NAME_SIZE} instead. This alias is slated to be removed in vXX.
MAX_POKEMON_NAME_SIZE = MAX_NAME_SIZE
end
# (see Pokemon#initialize)
# @deprecated Use +Pokemon.new+ instead. This method and its aliases are
# slated to be removed in vXX.