Tweaked some overworld weather animations, added NPCTrainer#version, added Debug function for editing more things in the phone and its contacts

This commit is contained in:
Maruno17
2023-06-24 23:52:09 +01:00
parent 4fc0806c8a
commit 7d77c5f3fc
6 changed files with 179 additions and 101 deletions

View File

@@ -411,7 +411,7 @@ module RPG
@sun_magnitude = weather_max if @sun_magnitude != weather_max && @sun_magnitude != -weather_max
@sun_magnitude *= -1 if (@sun_magnitude > 0 && @sun_strength > @sun_magnitude) ||
(@sun_magnitude < 0 && @sun_strength < 0)
@sun_strength += @sun_magnitude.to_f * Graphics.delta / 0.4 # 0.4 seconds per half flash
@sun_strength += @sun_magnitude.to_f * Graphics.delta / 0.8 # 0.8 seconds per half flash
tone_red += @sun_strength
tone_green += @sun_strength
tone_blue += @sun_strength / 2