Remove a check from prior work on Triples
Shifting is now a valid decision in Triples
Triples: implement autocenter
Support leaving empty slots when switching multiple mons in
This happens in Doubles or Triples if, in a single turn, more pokemon faint than can switch in.
This commit introduces two changes. Namely:
- If more pokemon faint in a single turn than can switch in, those with the higher positions now can have switch flags on.
- Passing a switch is now a valid decision that gets added to battle queue with maximum priority and disables the pokemon's switch flag.

As a side effect, this also allows running the battle engine in JS strict mode.
Make sure that moves restricted to adjacent targets have valid targets
Also Helping Hand's targetting is not hard-coded anymore.
Add Triples Custom Game format
NEXT: Fix Life Orb/Confusion Interaction

Add an extra conditional to Life Orb's recoil damage, fixing a bug where Confusion caused Status moves to suffer Life Orb recoil.
NEXT: Fix Thick Fat

Update Thick Fat to fix a bug involving it activating twice against Fire and Ice type moves.
Tyrogue can't learn Ally Switch
Update Baton Pass Clause
Venomoth is now banned in Mediocremons
NEXT: Actually fix Substitute

Properly update Substitute to be bypassed by Sound based moves and Infiltrator users.
Also update list of SubBlocked moves to Gen 6.
Merge branch 'triples'
Always warn a user before automatically disqualifying them in tournaments
Disallow automatic disqualification timeouts that are less than the warning timeout
Merge pull request #1071 from kotarou3/tournaments

Tournaments
Remove gen5bw mod

It was used only for the CAP Mollux Playtest a while back
Remove Ability Shift
RU suspect test is over
Update formats.js

- Added XY Battle Spot Triples
- Added beta to the XY Triples section name
- Spell numbers in team error messages
- Allow random team for Triples and Gen 4 Custom Games
- Remove rules for Gen 4 Custom Game