Wonder Room swaps the Defense and Special Defense of all Pokémon, but stat changes remain on their respective stat. This effect lasts for five turns. Similar to Magic Room and Trick Room, using Wonder Room while it is already in effect will end it immediately.
Wonder Room has a priority of -7, so will be used after all moves with a normal priority.
Generation VI onward
Wonder Room now has a priority of 0. Wonder Room can affect which stat is modified by Beast Boost.
The Magic Room floor status reverses Defense and Special Defense of all Pokémon on the floor. The floor status lasts 20 turns. The effect also disappears if Wonder Room is used while the status is already in effect.