Fixed: player's legs staying invisible when map transferring from tall grass, error when showing the Move Relearner a Pokémon that has no level-up moves it can relearn, Trainer Type Editor spamming the console when selecting the "new" option

This commit is contained in:
Maruno17
2021-06-12 16:12:36 +01:00
parent 63fb7aadf7
commit eb1458018d
3 changed files with 7 additions and 2 deletions

View File

@@ -672,7 +672,7 @@ class Pokemon
return false if egg? || shadowPokemon?
this_level = self.level
getMoveList.each { |m| return true if m[0] <= this_level && !hasMove?(m[1]) }
@first_moves.each { |m| return true if !pkmn.hasMove?(m) }
@first_moves.each { |m| return true if !hasMove?(m) }
return false
end