mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-25 16:59:27 +02:00
Merge branch 'main' of https://github.com/ben-lear/pokerogue
This commit is contained in:
commit
14e2992868
@ -558,6 +558,10 @@ function onGameOver(scene: BattleScene) {
|
|||||||
// Revert BGM
|
// Revert BGM
|
||||||
scene.playBgm(scene.arena.bgm);
|
scene.playBgm(scene.arena.bgm);
|
||||||
|
|
||||||
|
// Clear any leftover battle phases
|
||||||
|
scene.clearPhaseQueue();
|
||||||
|
scene.clearPhaseQueueSplice();
|
||||||
|
|
||||||
// Return enemy Pokemon
|
// Return enemy Pokemon
|
||||||
const pokemon = scene.getEnemyPokemon();
|
const pokemon = scene.getEnemyPokemon();
|
||||||
if (pokemon) {
|
if (pokemon) {
|
||||||
|
Loading…
Reference in New Issue
Block a user