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

@@ -47,8 +47,8 @@ def pbFishing(hasEncounter, rodType = 1)
msgWindow = pbCreateMessageWindow
ret = false
loop do
time = 5 + rand(6)
time = [time, 5 + rand(6)].min if speedup
time = rand(5..10)
time = [time, rand(5..10)].min if speedup
message = ""
time.times { message += ". " }
if pbWaitMessage(msgWindow, time)