fix spit up getting skipped (#6295)

This commit is contained in:
cawtds 2025-02-19 12:51:11 +01:00 committed by GitHub
parent b2f45fcf1f
commit 5c3381b2f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);