fix wrong z-move ususage
This commit is contained in:
parent
115efe7ea5
commit
30204e9953
1 changed files with 1 additions and 5 deletions
|
@ -215,11 +215,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(move))
|
||||
gBattleStruct->zmove.chosenZMove = move;
|
||||
else
|
||||
gBattleStruct->zmove.chosenZMove = GetTypeBasedZMove(move, battlerId);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue