fixes type experts not removing randomized gym type

This commit is contained in:
infinitefusion
2024-12-25 14:38:14 -05:00
parent 099af82e47
commit 5e07802681
2 changed files with 2 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ def type_expert_battle(type_id)
PokemonSelection.restore
$game_switches[Settings::OVERRIDE_BATTLE_LEVEL_SWITCH]=false
$game_switches[SWITCH_DONT_RANDOMIZE]=false
pbSet(VAR_CURRENT_GYM_TYPE, -1)
return true
end
else
@@ -141,6 +142,7 @@ def type_expert_battle(type_id)
PokemonSelection.restore
$game_switches[Settings::OVERRIDE_BATTLE_LEVEL_SWITCH]=false
$game_switches[SWITCH_DONT_RANDOMIZE]=false
pbSet(VAR_CURRENT_GYM_TYPE, -1)
return false
end