mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 16:29:27 +02:00
hotfix for expert breeder ME
This commit is contained in:
parent
e5af2dc49a
commit
c248457d4c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user