Removed Graphics.delta_s and the usage thereof, tweaked credits screen code

This commit is contained in:
Maruno17
2023-05-17 18:50:38 +01:00
parent a96867d537
commit 28a2b7c9c1
17 changed files with 195 additions and 210 deletions

View File

@@ -345,11 +345,10 @@ class Battle::Scene
return if @battle.opponent
@briefMessage = false
pbMEPlay(pbGetWildCaptureME)
timer = 0.0
timer_start = System.uptime
loop do
pbUpdate
timer += Graphics.delta_s
break if timer >= 3.5
break if System.uptime - timer_start >= 3.5
end
pbMEStop
end