diff --git a/src/debug.c b/src/debug.c index 3615ef1997..9064dbb36c 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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);