mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Resolved many Rubocop warnings
This commit is contained in:
@@ -113,7 +113,7 @@ class Window_CommandPokemonColor < Window_CommandPokemon
|
||||
super(commands,width)
|
||||
end
|
||||
|
||||
def drawItem(index,count,rect)
|
||||
def drawItem(index,_count,rect)
|
||||
pbSetSystemFont(self.contents) if @starting
|
||||
rect = drawCursor(index,rect)
|
||||
base = self.baseColor
|
||||
@@ -134,7 +134,7 @@ end
|
||||
class PokemonPartyBlankPanel < SpriteWrapper
|
||||
attr_accessor :text
|
||||
|
||||
def initialize(pokemon,index,viewport=nil)
|
||||
def initialize(_pokemon,index,viewport=nil)
|
||||
super(viewport)
|
||||
self.x = [0,256,0,256,0,256][index]
|
||||
self.y = [0,16,96,112,192,208][index]
|
||||
@@ -165,7 +165,7 @@ class PokemonPartyPanel < SpriteWrapper
|
||||
attr_reader :selected
|
||||
attr_reader :preselected
|
||||
attr_reader :switching
|
||||
attr_accessor :text
|
||||
attr_reader :text
|
||||
|
||||
def initialize(pokemon,index,viewport=nil)
|
||||
super(viewport)
|
||||
@@ -832,7 +832,7 @@ class PokemonPartyScreen
|
||||
@party = party
|
||||
end
|
||||
|
||||
def pbStartScene(helptext,numBattlersOut,annotations=nil)
|
||||
def pbStartScene(helptext,_numBattlersOut,annotations=nil)
|
||||
@scene.pbStartScene(@party,helptext,annotations)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user