Comatose prevents Battle Pike's status effects.
This commit is contained in:
parent
61f2011b36
commit
64115a873f
1 changed files with 3 additions and 0 deletions
|
@ -813,6 +813,9 @@ static bool8 DoesAbilityPreventStatus(struct Pokemon *mon, u32 status)
|
||||||
u16 ability = GetMonAbility(mon);
|
u16 ability = GetMonAbility(mon);
|
||||||
bool8 ret = FALSE;
|
bool8 ret = FALSE;
|
||||||
|
|
||||||
|
if (ability == ABILITY_COMATOSE)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
case STATUS1_FREEZE:
|
case STATUS1_FREEZE:
|
||||||
|
|
Loading…
Reference in a new issue