Merge pull request #2548 from LOuroboros/clearBody

Made Clear Body and similar abilities be normally affected by their own stat stage reductions
This commit is contained in:
Eduardo Quezada D'Ottone authored and GitHub committed 2023-01-01 11:37:11 -03:00
commit 682bcd4554
1 file changed
+1 -1
+1 -1
View File
@@ -10876,7 +10876,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr
else if ((activeBattlerAbility == ABILITY_CLEAR_BODY
|| activeBattlerAbility == ABILITY_FULL_METAL_BODY
|| activeBattlerAbility == ABILITY_WHITE_SMOKE)
&& !certain && gCurrentMove != MOVE_CURSE)
&& !affectsUser && !certain && gCurrentMove != MOVE_CURSE)
{
if (flags == STAT_CHANGE_ALLOW_PTR)
{