What determines if a Pokemon will be shiny in random teams? is it as rare is in-game Pokemon (8192/1)? Please expand on the subject as much as you can.
>shiny: (Math.random() * 1024 <= 1)
[Zarel's Github thingy with Random Battle :3][1]
It appear it's 1/1024. P:? [1]: https://github.com/Zarel/Pokemon-Showdown/blob/d3ca5253bf5157b59004ae3a61496ecc10140824/mods/gen5/scripts.js