From 9827ff5cb58524881d0b51a4b3217f8704574860 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 9a711bdafc7..d808b26ac09 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3048,11 +3048,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(); }