mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-05 21:51:46 +00:00
fixes type experts not removing randomized gym type
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,7 +1,6 @@
|
||||
Graphics/CustomBattlers/*
|
||||
Graphics/Battlers/*
|
||||
Graphics/Pokemon/FusionIcons/*
|
||||
|
||||
Data/sprites/*
|
||||
Data/VERSION
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user