Fixed waking up from uproar
This commit is contained in:
parent
5abb0c0dfe
commit
8d54e5666d
1 changed files with 1 additions and 1 deletions
|
@ -9121,7 +9121,7 @@ bool8 UproarWakeUpCheck(u8 battlerId)
|
||||||
|
|
||||||
for (i = 0; i < gBattlersCount; i++)
|
for (i = 0; i < gBattlersCount; i++)
|
||||||
{
|
{
|
||||||
if (!(gBattleMons[i].status2 & STATUS2_UPROAR) || gBattleMons[battlerId].ability == ABILITY_SOUNDPROOF)
|
if (!(gBattleMons[i].status2 & STATUS2_UPROAR) || GetBattlerAbility(battlerId) == ABILITY_SOUNDPROOF)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
gBattleScripting.battler = i;
|
gBattleScripting.battler = i;
|
||||||
|
|
Loading…
Reference in a new issue