Fixed perish song + soundproof + gastro acid

This commit is contained in:
Eduardo Quezada D'Ottone 2021-10-02 16:48:45 -03:00
parent 6208995606
commit 5abb0c0dfe

View file

@ -10899,7 +10899,7 @@ static void Cmd_trysetperishsong(void)
for (i = 0; i < gBattlersCount; i++)
{
if (gStatuses3[i] & STATUS3_PERISH_SONG
|| gBattleMons[i].ability == ABILITY_SOUNDPROOF
|| GetBattlerAbility(i) == ABILITY_SOUNDPROOF
|| BlocksPrankster(gCurrentMove, gBattlerAttacker, i))
{
notAffectedCount++;