This commit is contained in:
infinitefusion
2022-07-21 11:09:04 -04:00
parent 92bd2a3cf7
commit 5b4ee681d6
6 changed files with 118 additions and 3 deletions

View File

@@ -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