From 9cea00ce9020de89a57aa9943bfda22ac8af819c Mon Sep 17 00:00:00 2001 From: Luc Date: Wed, 8 May 2024 20:47:11 -0400 Subject: [PATCH] added comment on stuff cheeks condition --- src/data/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/move.ts b/src/data/move.ts index e0de3dfa3..4111ac496 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -6069,7 +6069,7 @@ export function initMoves() { .attr(StatChangeAttr, BattleStat.DEF, 2) .attr(EatBerryAttr) .condition((user, target, move) => target.scene.findModifiers(m => m instanceof BerryModifier - && (m as BerryModifier).pokemonId === target.id, target.isPlayer()).length > 0 ) + && (m as BerryModifier).pokemonId === target.id, target.isPlayer()).length > 0 ) // move fails if the target has no berries .target(MoveTarget.USER), new SelfStatusMove(Moves.NO_RETREAT, Type.FIGHTING, -1, 5, 100, 0, 8) .attr(StatChangeAttr, [ BattleStat.ATK, BattleStat.DEF, BattleStat.SPATK, BattleStat.SPDEF, BattleStat.SPD ], 1, true)