Fixed repeated known moves bug for Shadow Pokémon

This commit is contained in:
Maruno17
2021-05-11 21:37:30 +01:00
parent 47e51ed79b
commit 6685b06e2f

View File

@@ -119,6 +119,7 @@ class Pokemon
@moves.each do |m| @moves.each do |m|
next if new_moves.include?(m.id) next if new_moves.include?(m.id)
m.id = GameData::Move.get(move).id m.id = GameData::Move.get(move).id
break
end end
end end
end end