Encore fails if target has not moved

This commit is contained in:
Martin Griffin 2023-01-27 16:08:33 +00:00
parent 6a403ab45c
commit 4ad4d8e25c

View File

@ -12122,7 +12122,9 @@ static void Cmd_trysetencore(void)
break; break;
} }
if (gLastMoves[gBattlerTarget] == MOVE_STRUGGLE if (gLastMoves[gBattlerTarget] == MOVE_NONE
|| gLastMoves[gBattlerTarget] == MOVE_UNAVAILABLE
|| gLastMoves[gBattlerTarget] == MOVE_STRUGGLE
|| gLastMoves[gBattlerTarget] == MOVE_ENCORE || gLastMoves[gBattlerTarget] == MOVE_ENCORE
|| gLastMoves[gBattlerTarget] == MOVE_MIRROR_MOVE || gLastMoves[gBattlerTarget] == MOVE_MIRROR_MOVE
|| gLastMoves[gBattlerTarget] == MOVE_SHELL_TRAP) || gLastMoves[gBattlerTarget] == MOVE_SHELL_TRAP)