Making phases.ts as main pokerogue branch
parent
b206fa9aa8
commit
f9eb355778
|
|
@ -2252,9 +2252,7 @@ export class MovePhase extends BattlePhase {
|
||||||
|
|
||||||
if ((moveQueue.length && moveQueue[0].move === Moves.NONE) || !targets.length) {
|
if ((moveQueue.length && moveQueue[0].move === Moves.NONE) || !targets.length) {
|
||||||
moveQueue.shift();
|
moveQueue.shift();
|
||||||
if (!(this.move.moveId in [Moves.SELF_DESTRUCT,Moves.EXPLOSION,Moves.MISTY_EXPLOSION])){
|
this.cancel();
|
||||||
this.cancel();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.cancelled) {
|
if (this.cancelled) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue