mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-28 22:33:53 +01:00
Comatose prevents Battle Pike's status effects.
This commit is contained in:
parent
61f2011b36
commit
64115a873f
@ -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…
x
Reference in New Issue
Block a user