Fixed heal bell + soundproof + gastro acid
This commit is contained in:
parent
b29f5c801f
commit
a22a456268
1 changed files with 2 additions and 2 deletions
|
@ -10770,7 +10770,7 @@ static void Cmd_healpartystatus(void)
|
||||||
else
|
else
|
||||||
party = gEnemyParty;
|
party = gEnemyParty;
|
||||||
|
|
||||||
if (gBattleMons[gBattlerAttacker].ability != ABILITY_SOUNDPROOF)
|
if (GetBattlerAbility(gBattlerAttacker) != ABILITY_SOUNDPROOF)
|
||||||
{
|
{
|
||||||
gBattleMons[gBattlerAttacker].status1 = 0;
|
gBattleMons[gBattlerAttacker].status1 = 0;
|
||||||
gBattleMons[gBattlerAttacker].status2 &= ~(STATUS2_NIGHTMARE);
|
gBattleMons[gBattlerAttacker].status2 &= ~(STATUS2_NIGHTMARE);
|
||||||
|
@ -10786,7 +10786,7 @@ static void Cmd_healpartystatus(void)
|
||||||
if (gBattleTypeFlags & BATTLE_TYPE_DOUBLE
|
if (gBattleTypeFlags & BATTLE_TYPE_DOUBLE
|
||||||
&& !(gAbsentBattlerFlags & gBitTable[gActiveBattler]))
|
&& !(gAbsentBattlerFlags & gBitTable[gActiveBattler]))
|
||||||
{
|
{
|
||||||
if (gBattleMons[gActiveBattler].ability != ABILITY_SOUNDPROOF)
|
if (GetBattlerAbility(gActiveBattler) != ABILITY_SOUNDPROOF)
|
||||||
{
|
{
|
||||||
gBattleMons[gActiveBattler].status1 = 0;
|
gBattleMons[gActiveBattler].status1 = 0;
|
||||||
gBattleMons[gActiveBattler].status2 &= ~(STATUS2_NIGHTMARE);
|
gBattleMons[gActiveBattler].status2 &= ~(STATUS2_NIGHTMARE);
|
||||||
|
|
Loading…
Reference in a new issue