More Rubocopping

This commit is contained in:
Maruno17
2021-12-20 17:18:21 +00:00
parent db4acd3369
commit 33fcbf623b
154 changed files with 1388 additions and 1420 deletions

View File

@@ -130,7 +130,7 @@ class PBPokemon
end
moves = pieces[4].split(/\s*,\s*/)
moveid = []
for i in 0...Pokemon::MAX_MOVES
Pokemon::MAX_MOVES.times do |i|
move_data = GameData::Move.try_get(moves[i])
moveid.push(move_data.id) if move_data
end