Ok so I tested this on the db server, but since saving replays currently doesn’t work, I don’t have the replay. Anyway, NebbyY helped me test this out (thank you, Nebby!). So what happened was he sent out Toxapex and used Toxic Spikes twice while my Dragapult was in the battle. I then switched to Tapu Fini. Turns out, the Toxic Spikes acted before Misty Terrain, badly poisoning my Tapu Fini. If you want the sets, here they are:
Tapu Fini @ Leftovers
Ability: Misty Surge
EVs: 252 HP / 4 SpA / 252 Spe
Timid Nature
IVs: 0 Atk
- Aqua Ring
- Defog
- Dazzling Gleam
- Scald
Dragapult @ Life Orb
Ability: Infiltrator
EVs: 252 SpA / 4 SpD / 252 Spe
Timid Nature
IVs: 0 Atk
- Dragon Pulse
- Fire Blast
- Shadow Ball
- Surf
(Don’t mind the move sets, I was just putting something together in like 2 minutes so I could test this.)
Hope this helps! :)