What type of bug are you reporting? Mechanics
What is the bug?
Imprison prevents canceling your move. That's reasonable, but there is an edge case where it causes the battle client to provide false information to the player.
Turn 1: Trainer A clicks any move. Trainer B clicks imprison.
Turn 2: Trainer A clicks a move, then tries to cancel. Trainer B switches.
The game doesn't allow for canceling a move while imprisoned. That's reasonable. The issue is that when Trainer A clicks the cancel button to cancel Move 1, they are still able to select other moves. Say they select Move 2. When they do so, Showdown will tell Trainer A that their Pokémon will execute Move 2 even though Move 1 will occur instead.
Are you able to replicate it? If so, how?
Replay
On Turn 2, I cancel Roost. I then click Calm Mind. Showdown then outputs the text "Flittle will use Calm Mind" but it still executes Roost. I get that canceling isn't an option, but an attempted cancel in this case still shouldn't feed the player erroneous information.
What is the bug?
Imprison prevents canceling your move. That's reasonable, but there is an edge case where it causes the battle client to provide false information to the player.
Turn 1: Trainer A clicks any move. Trainer B clicks imprison.
Turn 2: Trainer A clicks a move, then tries to cancel. Trainer B switches.
The game doesn't allow for canceling a move while imprisoned. That's reasonable. The issue is that when Trainer A clicks the cancel button to cancel Move 1, they are still able to select other moves. Say they select Move 2. When they do so, Showdown will tell Trainer A that their Pokémon will execute Move 2 even though Move 1 will occur instead.
Are you able to replicate it? If so, how?
Replay
On Turn 2, I cancel Roost. I then click Calm Mind. Showdown then outputs the text "Flittle will use Calm Mind" but it still executes Roost. I get that canceling isn't an option, but an attempted cancel in this case still shouldn't feed the player erroneous information.