mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-10 05:35:05 +01:00
Update src/battle_util.c
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
This commit is contained in:
parent
d5004638a9
commit
208b964a56
@ -3187,7 +3187,7 @@ u8 AtkCanceller_UnableToUseMove(void)
|
|||||||
gBattleStruct->atkCancellerTracker++;
|
gBattleStruct->atkCancellerTracker++;
|
||||||
break;
|
break;
|
||||||
case CANCELLER_PRANKSTER:
|
case CANCELLER_PRANKSTER:
|
||||||
#if B_PRANKSTER >= GEN_7
|
#if B_PRANKSTER_DARK_TYPES >= GEN_7
|
||||||
if (GetBattlerAbility(gBattlerAttacker) == ABILITY_PRANKSTER
|
if (GetBattlerAbility(gBattlerAttacker) == ABILITY_PRANKSTER
|
||||||
&& IS_MOVE_STATUS(gCurrentMove)
|
&& IS_MOVE_STATUS(gCurrentMove)
|
||||||
&& gBattlerAttacker != gBattlerTarget
|
&& gBattlerAttacker != gBattlerTarget
|
||||||
|
Loading…
Reference in New Issue
Block a user