From fc722bea7febaef21a1ff42360879b0093bcabf0 Mon Sep 17 00:00:00 2001 From: schmidtc1 <62030095+schmidtc1@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:01:59 -0400 Subject: [PATCH] [Bug] Enemies can properly use stuff cheeks (#3090) --- 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 96dfcf97f7b..8b6b94c47a6 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -7945,7 +7945,7 @@ export function initMoves() { .attr(EatBerryAttr) .attr(StatChangeAttr, BattleStat.DEF, 2, true) .condition((user) => { - const userBerries = user.scene.findModifiers(m => m instanceof BerryModifier); + const userBerries = user.scene.findModifiers(m => m instanceof BerryModifier, user.isPlayer()); return userBerries.length > 0; }) .partial(),