Lots of rubocop

This commit is contained in:
Maruno17
2023-01-28 15:21:12 +00:00
parent 2d056052ce
commit 13aab8d911
159 changed files with 1679 additions and 1931 deletions

View File

@@ -28,7 +28,7 @@ def pbLottery(winnum, nameVar = 2, positionVar = 3, matchedVar = 4)
winpos = 1 # Party
winmatched = thismatched
end
pbEachPokemon { |poke, _box|
pbEachPokemon do |poke, _box|
thismatched = 0
id = poke.owner.public_id
5.times do |j|
@@ -39,7 +39,7 @@ def pbLottery(winnum, nameVar = 2, positionVar = 3, matchedVar = 4)
winpoke = poke.name
winpos = 2 # Storage
winmatched = thismatched
}
end
$game_variables[nameVar] = winpoke
$game_variables[positionVar] = winpos
$game_variables[matchedVar] = winmatched