Cursed Body PP check
This commit is contained in:
parent
e2268bd938
commit
86e8bf0ecb
1 changed files with 1 additions and 0 deletions
|
@ -3168,6 +3168,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u8 ability, u8 special, u16 moveA
|
||||||
&& TARGET_TURN_DAMAGED
|
&& TARGET_TURN_DAMAGED
|
||||||
&& gDisableStructs[gBattlerAttacker].disabledMove == MOVE_NONE
|
&& gDisableStructs[gBattlerAttacker].disabledMove == MOVE_NONE
|
||||||
&& IsBattlerAlive(gBattlerAttacker)
|
&& IsBattlerAlive(gBattlerAttacker)
|
||||||
|
&& gBattleMons[gBattlerAttacker].pp[gChosenMovePos] != 0
|
||||||
&& (Random() % 3) == 0)
|
&& (Random() % 3) == 0)
|
||||||
{
|
{
|
||||||
gDisableStructs[gBattlerAttacker].disabledMove = gChosenMove;
|
gDisableStructs[gBattlerAttacker].disabledMove = gChosenMove;
|
||||||
|
|
Loading…
Reference in a new issue