allies do not block prankster
This commit is contained in:
parent
32d19a9b19
commit
9c79ba05fc
1 changed files with 1 additions and 1 deletions
|
@ -3417,7 +3417,7 @@ u8 AtkCanceller_UnableToUseMove(void)
|
|||
#if B_PRANKSTER_DARK_TYPES >= GEN_7
|
||||
if (GetBattlerAbility(gBattlerAttacker) == ABILITY_PRANKSTER
|
||||
&& IS_MOVE_STATUS(gCurrentMove)
|
||||
&& gBattlerAttacker != gBattlerTarget
|
||||
&& GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget)
|
||||
&& !(gBattleMoves[gCurrentMove].target & MOVE_TARGET_OPPONENTS_FIELD)
|
||||
&& IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_DARK)
|
||||
&& !(gStatuses3[gBattlerTarget] & STATUS3_SEMI_INVULNERABLE)
|
||||
|
|
Loading…
Reference in a new issue