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

@@ -13,7 +13,7 @@ module GameData
factors.push([1, try_form, ""]) if form > 0
factors.push([0, try_species, "000"])
# Go through each combination of parameters in turn to find an existing sprite
for i in 0...2**factors.length
(2**factors.length).times do |i|
# Set try_ parameters for this combination
factors.each_with_index do |factor, index|
value = ((i / (2**index)).even?) ? factor[1] : factor[2]