Fork of Zarel/Pokemon-Showdown with a few modifications