diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 25fd8abe1a5f..588150e5e255 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -11449,7 +11449,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr return STAT_CHANGE_DIDNT_WORK; } else if (gCurrentMove != MOVE_CURSE - && notProtectAffected != TRUE && JumpIfMoveAffectedByProtect(0)) + && notProtectAffected != TRUE && JumpIfMoveAffectedByProtect(gCurrentMove)) { gBattlescriptCurrInstr = BattleScript_ButItFailed; return STAT_CHANGE_DIDNT_WORK;