Revert "this might fix it"

This reverts commit 7681b7c257521f788f693c08454896dadfcd709d.
Revert "hmm interesting this is far my toughest thing to code lets hope it works (note: this is to prevent adversites)"

This reverts commit 63b444bd1913610ca828733f00ea38fab2a0e891.
Merge branch 'master' of https://github.com/E4Arsh/Pokemon-Showdown