mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 20:24:18 +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);
|
||||
bool8 ret = FALSE;
|
||||
|
||||
if (ability == ABILITY_COMATOSE)
|
||||
return TRUE;
|
||||
|
||||
switch (status)
|
||||
{
|
||||
case STATUS1_FREEZE:
|
||||
|
Loading…
Reference in New Issue
Block a user