Fixed.If a Pokémon is locked into Wrap, and misses on an opponent switch, it doesn't lose a PP. The correct mechanic is that it should lose a PP.
Checking itHaze is not working correctly.
Haze shoud:
• Reset the Stat changes of both Pokémon
• Remove Major Status from the opponent's Active Pokémon
• Remove Speed drop from Paralysis, and Attack drop from Burn
• Remove volatile Status, such as Confusion and Leech Seed
• Revert user's Toxic Poison to normal Poison
• Trap a Frozen Pokémon in its Recharge state if it was frozen after using Hyper Beam
Relevant replays:
http://replay.pokemonshowdown.com/gen1ou-202801811
http://replay.pokemonshowdown.com/gen1ou-202804702 (turn 7)
I'm an unsure whether it was hotpatched in or not, but Wrap is currently still not losing PP when it misses on the switch.
idk what is happening but i got a lot of broken image sprites in randbattles like pidgeotto and victreebel and ditto should be nv99 in randbattles ):
EDIT
I think I found a bug. As I remember moves like submission would not give you recoil when you KO a pokemon.
Now, I know Bulbapedia isn't the best source of info, so here is a video that Crystal_ made demonstrating the bug with burn:If a Pokémon uses Rest and becomes either normally poisoned, burned, or Leech Seeded without switching out, the N (the N value from when Toxic was used before Rest) value will influence the amount of damage done. The damage will increase each time recurrent damage is done. However, if the target becomes badly poisoned again, the cumulative value will be reset. Unlike other types of damage, the recurrent damage done by Toxic can exceed the target's current HP.