mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-29 14:53:55 +01:00
Fixed perish song + soundproof + gastro acid
This commit is contained in:
parent
6208995606
commit
5abb0c0dfe
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user