mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 16:56:11 +00:00
[Bug] Fix sprite problem after player pokemon faint after enemy pokemon before/after trainer fight (#3211)
This commit is contained in:
parent
f7459f24b0
commit
cce68f6ef7
@ -1140,7 +1140,7 @@ export default class BattleScene extends SceneBase {
|
||||
}
|
||||
if (resetArenaState) {
|
||||
this.arena.resetArenaEffects();
|
||||
playerField.forEach((_, p) => this.unshiftPhase(new ReturnPhase(this, p)));
|
||||
playerField.forEach((_, p) => this.pushPhase(new ReturnPhase(this, p)));
|
||||
|
||||
for (const pokemon of this.getParty()) {
|
||||
// Only trigger form change when Eiscue is in Noice form
|
||||
@ -1153,7 +1153,7 @@ export default class BattleScene extends SceneBase {
|
||||
applyPostBattleInitAbAttrs(PostBattleInitAbAttr, pokemon);
|
||||
}
|
||||
|
||||
this.unshiftPhase(new ShowTrainerPhase(this));
|
||||
this.pushPhase(new ShowTrainerPhase(this));
|
||||
}
|
||||
|
||||
for (const pokemon of this.getParty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user