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

@@ -539,13 +539,12 @@ class PokemonEvolutionScene
pbPlayDecisionSE
@pokemon.play_cry
@sprites["msgwindow"].text = _INTL("{1} is evolving!", @pokemon.name)
timer = 0.0
timer_start = System.uptime
loop do
Graphics.update
Input.update
pbUpdate
timer += Graphics.delta_s
break if timer >= 1.0
break if System.uptime - timer_start >= 1
end
oldstate = pbSaveSpriteState(@sprites["rsprite1"])
oldstate2 = pbSaveSpriteState(@sprites["rsprite2"])