Apply lint

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
Dobin Shin 2025-06-06 03:06:51 +09:00 committed by GitHub
parent 3e1adaa015
commit 377f596778
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2131,11 +2131,11 @@ export class PostIntimidateStatStageChangeAbAttr extends AbAttr {
override apply(pokemon: Pokemon, passive: boolean, simulated:boolean, cancelled: BooleanHolder, args: any[]): void {
if (!simulated) {
const newStatStageChangePhase = new StatStageChangePhase(pokemon.getBattlerIndex(), false, this.stats, this.stages)
if(globalScene.findPhase(m => m instanceof MovePhase)){
if (globalScene.findPhase(m => m instanceof MovePhase)) {
globalScene.prependToPhase(newStatStageChangePhase, MovePhase)
} else if(globalScene.findPhase(m => m instanceof SwitchSummonPhase)){
} else if (globalScene.findPhase(m => m instanceof SwitchSummonPhase)) {
globalScene.prependToPhase(newStatStageChangePhase, SwitchSummonPhase)
}else {
} else {
globalScene.pushPhase(newStatStageChangePhase);
}
}