Reapply "Map fixes"

This reverts commit d559b813ed.
This commit is contained in:
chardub
2025-04-19 13:09:08 -04:00
parent 05bb3f0d76
commit 5255ce0215
8 changed files with 16 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -58,7 +58,7 @@ module Graphics
if $PokemonSystem && $PokemonSystem.speedup == 1
speedStage = SPEEDUP_STAGES[$GameSpeed]
else
speedStage = 1
speedStage =$PokemonSystem.speedup 1
if Input.press?(Input::AUX1) && $CanToggle
$PokemonSystem.speedup_speed = Settings::DEFAULT_SPEED_UP_SPEED if !$PokemonSystem.speedup_speed || $PokemonSystem.speedup_speed==0
speedStage=$PokemonSystem.speedup_speed+1
@@ -68,4 +68,19 @@ module Graphics
fast_forward_update
$frame = 0
end
end
class PokemonSystem
attr_accessor :speedup
attr_accessor :speedup_speed
alias pokemonSystem_SpeedUp initialize
def initialize
pokemonSystem_SpeedUp
@speedup = 0 #0= hold, 1=toggle
@speedup_speed = 3 #for hold only
end
end

Binary file not shown.