Merge pull request #2198 from AsparagusEduardo/BE_BattlePikeComatose

Comatose prevents Battle Pike's status effects.
This commit is contained in:
ghoulslash 2022-09-06 15:18:48 -04:00 committed by GitHub
commit 79bfbfb1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: