Add missing use of ALL_MOVES_MASK
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user