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

@@ -155,7 +155,7 @@ def pbHiddenMoveAnimation(pokemon)
phase = 6 if interp.done?
end
# Constantly stream the strobes across the screen
for strobe in strobes
strobes.each do |strobe|
strobe.ox = strobe.viewport.rect.x
strobe.oy = strobe.viewport.rect.y
if !strobe.visible # Initial placement of strobes
@@ -175,7 +175,7 @@ def pbHiddenMoveAnimation(pokemon)
break if phase == 6
end
sprite.dispose
for strobe in strobes
strobes.each do |strobe|
strobe.dispose
end
strobes.clear