Skip to content

Commit

Permalink
Merge remote-tracking branch 'RHH_origin/master' into RHH/upcoming
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Sep 26, 2023
2 parents f3a65c0 + 0fed4e8 commit e1d1236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_script_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e1d1236

Please sign in to comment.