hotfix for expert breeder ME

This commit is contained in:
ImperialSympathizer 2024-09-27 20:03:29 -04:00
parent e5af2dc49a
commit c248457d4c

View File

@ -558,6 +558,10 @@ function onGameOver(scene: BattleScene) {
// Revert BGM
scene.playBgm(scene.arena.bgm);
// Clear any leftover battle phases
scene.clearPhaseQueue();
scene.clearPhaseQueueSplice();
// Return enemy Pokemon
const pokemon = scene.getEnemyPokemon();
if (pokemon) {