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

@@ -385,7 +385,7 @@ BattlerDebugMenuCommands.register("settypes", {
loop do
commands = []
types = []
(0...max_main_types).each do |i|
max_main_types.times do |i|
type = battler.types[i]
type_name = (type) ? GameData::Type.get(type).name : "-"
commands.push(_INTL("Type {1}: {2}", i + 1, type_name))