mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 09:24:19 +01:00
Merge pull request #2198 from AsparagusEduardo/BE_BattlePikeComatose
Comatose prevents Battle Pike's status effects.
This commit is contained in:
commit
79bfbfb1b0
@ -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