mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-09 08:59:29 +02:00
Fixed MEP
This commit is contained in:
parent
0def2279a4
commit
7900e45b94
@ -244,17 +244,6 @@ export class MoveEffectPhase extends PokemonPhase {
|
||||
globalScene.currentBattle.lastPlayerInvolved = this.fieldIndex;
|
||||
}
|
||||
|
||||
if (!user.scene) {
|
||||
/*
|
||||
* This happens if the Pokemon that used the delayed attack gets caught and released
|
||||
* on the turn the attack would have triggered. Having access to the global scene
|
||||
* in the future may solve this entirely, so for now we just cancel the hit
|
||||
*/
|
||||
console.warn("User scene bye bye bye skibidi rizz");
|
||||
super.end();
|
||||
return;
|
||||
}
|
||||
|
||||
const move = this.move;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user