Battle Turn Order Issue - Switch Priority Incorrect in PvP and PvE
Hello Cobblemon Team,
I would like to report a potential issue with the battle turn resolution system in Cobblemon (version 1.7.1).
We observed behavior that does not match official Pokémon mechanics regarding switch priority and turn resolution.
Observed behavior:
When both sides choose to switch Pokémon during the same turn, after both switches resolve, one side is still able to execute an attack within that same turn.
According to official Pokémon mechanics (and standard Pokémon Showdown behavior):
- If one side switches and the other attacks → the attack should hit the incoming Pokémon.
- If both sides switch during the same turn → no attacks should occur. The turn should end after both switches resolve.
However, on our server:
- When both sides select “Switch” during the same turn,
- The switches resolve,
- Then one side may still execute an attack in that same turn.
This behavior occurs in:
- PvP battles (player vs player)
- PvE battles (against wild Pokémon and NPC trainers)
We checked all configuration files and found no option that modifies turn order or switch priority behavior. We are using the default “mod: cobblemon” format in Showdown.
Environment:
- Cobblemon version: 1.7.1
- Minecraft version: [INSERT VERSION]
- No custom battle rule modifications applied
Could you please confirm:
- Whether this is intended behavior?
- If not, whether this is a known bug?
- If a fix is planned in a future update?
If necessary, we can provide video evidence or a step-by-step reproduction scenario.
Thank you for your work on the project.