mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user