From 64115a873f0e97d8abe437948f597f90d111394f Mon Sep 17 00:00:00 2001 From: Eduardo Quezada D'Ottone Date: Mon, 18 Jul 2022 18:15:44 -0400 Subject: [PATCH] Comatose prevents Battle Pike's status effects. --- src/battle_pike.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/battle_pike.c b/src/battle_pike.c index 2f36dbc29..5071350f3 100644 --- a/src/battle_pike.c +++ b/src/battle_pike.c @@ -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: