Merge pull request #1518 from LOuroboros/z_moves_BE

Commented out call to inexistent IsZMove func
This commit is contained in:
Eduardo Quezada D'Ottone 2021-06-02 19:27:34 -04:00 committed by GitHub
commit 3e611a9b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2271,7 +2271,7 @@ static s16 AI_CheckBadMove(u8 battlerAtk, u8 battlerDef, u16 move, s16 score)
|| MoveRequiresRecharging(instructedMove)
|| MoveCallsOtherMove(instructedMove)
#ifdef ITEM_Z_RING
|| (IsZMove(instructedMove))
//|| (IsZMove(instructedMove))
#endif
|| (gLockedMoves[battlerDef] != 0 && gLockedMoves[battlerDef] != 0xFFFF)
|| gBattleMons[battlerDef].status2 & STATUS2_MULTIPLETURNS