Add missing use of ALL_MOVES_MASK

This commit is contained in:
GriffinR
2023-05-23 13:07:52 -04:00
parent 10a10e914b
commit aca7998b93
7 changed files with 12 additions and 11 deletions

View File

@@ -8179,7 +8179,7 @@ static void Cmd_trychoosesleeptalkmove(void)
}
unusableMovesBits = CheckMoveLimitations(gBattlerAttacker, unusableMovesBits, ~MOVE_LIMITATION_PP);
if (unusableMovesBits == (1 << MAX_MON_MOVES) - 1) // all 4 moves cannot be chosen
if (unusableMovesBits == ALL_MOVES_MASK) // all 4 moves cannot be chosen
{
gBattlescriptCurrInstr += 5;
}