mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01: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/CustomBattlers/*
|
||||||
Graphics/Battlers/*
|
Graphics/Battlers/*
|
||||||
Graphics/Pokemon/FusionIcons/*
|
Graphics/Pokemon/FusionIcons/*
|
||||||
|
|
||||||
Data/sprites/*
|
Data/sprites/*
|
||||||
Data/VERSION
|
Data/VERSION
|
||||||
|
|
||||||
@@ -131,6 +131,7 @@ def type_expert_battle(type_id)
|
|||||||
PokemonSelection.restore
|
PokemonSelection.restore
|
||||||
$game_switches[Settings::OVERRIDE_BATTLE_LEVEL_SWITCH]=false
|
$game_switches[Settings::OVERRIDE_BATTLE_LEVEL_SWITCH]=false
|
||||||
$game_switches[SWITCH_DONT_RANDOMIZE]=false
|
$game_switches[SWITCH_DONT_RANDOMIZE]=false
|
||||||
|
pbSet(VAR_CURRENT_GYM_TYPE, -1)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@@ -141,6 +142,7 @@ def type_expert_battle(type_id)
|
|||||||
PokemonSelection.restore
|
PokemonSelection.restore
|
||||||
$game_switches[Settings::OVERRIDE_BATTLE_LEVEL_SWITCH]=false
|
$game_switches[Settings::OVERRIDE_BATTLE_LEVEL_SWITCH]=false
|
||||||
$game_switches[SWITCH_DONT_RANDOMIZE]=false
|
$game_switches[SWITCH_DONT_RANDOMIZE]=false
|
||||||
|
pbSet(VAR_CURRENT_GYM_TYPE, -1)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user