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

@@ -57,7 +57,7 @@ end
#===============================================================================
class PokemonPokegear_Scene
def pbUpdate
for i in 0...@commands.length
@commands.length.times do |i|
@sprites["button#{i}"].selected = (i == @index)
end
pbUpdateSpriteHash(@sprites)
@@ -75,7 +75,7 @@ class PokemonPokegear_Scene
else
@sprites["background"].setBitmap("Graphics/Pictures/Pokegear/bg")
end
for i in 0...@commands.length
@commands.length.times do |i|
y = 196 - (@commands.length * 24) + (i * 48)
@sprites["button#{i}"] = PokegearButton.new(@commands[i], 118, y, @viewport)
end