Fix typo
CanBeParayzed to CanBeParalyzed
This commit is contained in:
parent
d64dc2bbe8
commit
bbe2eccf62
1 changed files with 2 additions and 2 deletions
|
@ -2653,7 +2653,7 @@ bool32 AI_CanPoison(u8 battlerAtk, u8 battlerDef, u16 defAbility, u16 move, u16
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static bool32 CanBeParayzed(u8 battler, u16 ability)
|
||||
static bool32 CanBeParalyzed(u8 battler, u16 ability)
|
||||
{
|
||||
if (ability == ABILITY_LIMBER
|
||||
|| IS_BATTLER_OF_TYPE(battler, TYPE_ELECTRIC)
|
||||
|
@ -2665,7 +2665,7 @@ static bool32 CanBeParayzed(u8 battler, u16 ability)
|
|||
|
||||
bool32 AI_CanParalyze(u8 battlerAtk, u8 battlerDef, u16 defAbility, u16 move, u16 partnerMove)
|
||||
{
|
||||
if (!CanBeParayzed(battlerDef, defAbility)
|
||||
if (!CanBeParalyzed(battlerDef, defAbility)
|
||||
|| AI_GetMoveEffectiveness(move, battlerAtk, battlerDef) == AI_EFFECTIVENESS_x0
|
||||
|| gSideStatuses[GetBattlerSide(battlerDef)] & SIDE_STATUS_SAFEGUARD
|
||||
|| DoesSubstituteBlockMove(battlerAtk, battlerDef, move)
|
||||
|
|
Loading…
Reference in a new issue