Update battle_z_move.c
This commit is contained in:
parent
1f9b57f1fc
commit
80057fc990
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ bool32 IsViableZMove(u8 battlerId, u16 move)
|
|||
|
||||
if (move != MOVE_NONE && zMove != MOVE_Z_STATUS && gBattleMoves[move].type == ItemId_GetSecondaryId(item))
|
||||
{
|
||||
if (IS_MOVE_STATUS(gBattleMoves[move].split))
|
||||
if (IS_MOVE_STATUS(move))
|
||||
gBattleStruct->zmove.chosenZMove = move;
|
||||
else
|
||||
gBattleStruct->zmove.chosenZMove = GetTypeBasedZMove(move, battlerId);
|
||||
|
|
Loading…
Reference in a new issue