mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-12 15:44:57 +00:00
Autosave
This commit is contained in:
@@ -56,6 +56,10 @@ module PokeBattle_BattleCommon
|
||||
pbPlayer.pokedex.set_shadow_pokemon_owned(pkmn.species) if pkmn.shadowPokemon?
|
||||
# Store caught Pokémon
|
||||
pbStorePokemon(pkmn)
|
||||
if $game_switches[AUTOSAVE_CATCH_SWITCH]
|
||||
Kernel.tryAutosave()
|
||||
end
|
||||
|
||||
end
|
||||
@caughtPokemon.clear
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user