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:
commit
682bcd4554
1 changed files with 1 additions and 1 deletions
|
@ -10876,7 +10876,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr
|
||||||
else if ((activeBattlerAbility == ABILITY_CLEAR_BODY
|
else if ((activeBattlerAbility == ABILITY_CLEAR_BODY
|
||||||
|| activeBattlerAbility == ABILITY_FULL_METAL_BODY
|
|| activeBattlerAbility == ABILITY_FULL_METAL_BODY
|
||||||
|| activeBattlerAbility == ABILITY_WHITE_SMOKE)
|
|| activeBattlerAbility == ABILITY_WHITE_SMOKE)
|
||||||
&& !certain && gCurrentMove != MOVE_CURSE)
|
&& !affectsUser && !certain && gCurrentMove != MOVE_CURSE)
|
||||||
{
|
{
|
||||||
if (flags == STAT_CHANGE_ALLOW_PTR)
|
if (flags == STAT_CHANGE_ALLOW_PTR)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue