fix spit up getting skipped (#6295)
This commit is contained in:
parent
b2f45fcf1f
commit
5c3381b2f6
@ -4009,7 +4009,7 @@ static void DebugAction_Give_Pokemon_ComplexCreateMon(u8 taskId) //https://githu
|
||||
//Moves
|
||||
for (i = 0; i < MAX_MON_MOVES; i++)
|
||||
{
|
||||
if (moves[i] == 0 || moves[i] == 0xFF || moves[i] >= MOVES_COUNT)
|
||||
if (moves[i] == MOVE_NONE || moves[i] >= MOVES_COUNT)
|
||||
continue;
|
||||
|
||||
SetMonMoveSlot(&mon, moves[i], i);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user