Add missing IsBattleMoveStatus
This commit is contained in:
parent
b90fdd1b3c
commit
5648792cbf
@ -2973,6 +2973,7 @@ bool32 CanAbilityBlockMove(u32 battlerAtk, u32 battlerDef, u32 abilityAtk, u32 a
|
||||
{
|
||||
// Prankster check
|
||||
if (battleScriptBlocksMove == NULL
|
||||
&& IsBattleMoveStatus(move)
|
||||
&& BlocksPrankster(move, battlerAtk, battlerDef, TRUE)
|
||||
&& !(IsBattleMoveStatus(move) && (abilityDef == ABILITY_MAGIC_BOUNCE || gProtectStructs[battlerDef].bounceMove)))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user