Many more Rubocop-inspired code improvements

This commit is contained in:
Maruno17
2021-12-18 19:06:22 +00:00
parent d17fc40a47
commit 13a238cc6a
107 changed files with 651 additions and 652 deletions

View File

@@ -127,7 +127,7 @@ Events.onStepTaken += proc {
pbFadeOutIn {
scene = PokemonBag_Scene.new
screen = PokemonBagScreen.new(scene, $bag)
ret = screen.pbChooseItemScreen(Proc.new { |item|
ret = screen.pbChooseItemScreen(proc { |item|
[:REPEL, :SUPERREPEL, :MAXREPEL].include?(item)
})
}