From 3845787c44d64a65bcdafee4d3aa839380e8ae87 Mon Sep 17 00:00:00 2001 From: Zach Day Date: Sat, 29 Jun 2024 17:39:24 -0400 Subject: [PATCH] Clean up comments --- src/phases.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/phases.ts b/src/phases.ts index 2ccfee82a73..3fbd73d768e 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2905,11 +2905,9 @@ export class MoveEffectPhase extends PokemonPhase { return this.end(); } - // Check if other Pokemon on the field have an ability that prevents this move const prevented = new Utils.BooleanHolder(false); this.scene.getField(true).forEach(p => applyAbAttrs(FieldPreventMovesAbAttr, p, prevented, move, user)); if (prevented.value) { - // Just bail out of the move if it got prevented. No need to manually show message; the Attr handles that. moveHistoryEntry.result = MoveResult.FAIL; return this.end(); }