mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
More Rubocopping
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user