Resolved many Rubocop warnings

This commit is contained in:
Maruno17
2020-09-06 17:31:12 +01:00
parent 6c4670eaa3
commit 681a8331ab
137 changed files with 921 additions and 1200 deletions

View File

@@ -28,7 +28,7 @@ def pbClearData
__berryPlant__pbClearData
end
Events.onSpritesetCreate += proc { |sender,e|
Events.onSpritesetCreate += proc { |_sender,e|
spriteset = e[0]
viewport = e[1]
map = spriteset.map
@@ -105,7 +105,7 @@ end
class BerryPlantSprite
REPLANTS = 9
def initialize(event,map,viewport)
def initialize(event,map,_viewport)
@event=event
@map=map
@oldstage=0