Updated to mkxp-z 2.1.2, added def inspect to some classes

This commit is contained in:
Maruno17
2021-05-02 00:58:25 +01:00
parent 7877f75f99
commit 8e6ee21c20
8 changed files with 23 additions and 113 deletions

View File

@@ -92,6 +92,12 @@ class Pokemon
# Maximum number of moves a Pokémon can know at once
MAX_MOVES = 4
def inspect
str = self.to_s.chop
str << format(' %s Lv.%s>', @species, @level.to_s || '???')
return str
end
def species_data
return GameData::Species.get_species_form(@species, form_simple)
end