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
Fix crash when room doesn't exist in getIdentity()
Merge pull request #1064 from kotarou3/patch-1

Fix crash when room doesn't exist in getIdentity()
Only update the tournament bracket a maximum of once per two seconds
Rename frontend.js to middleend.js
Add getusers tournament command
Minor whitespace fix
Include tournament type info in end message
Merge pull request #1065 from kotarou3/tournaments

Tournaments
Add "dogars" as a Koffing alias
Merge pull request #1067 from Ridaz/patch-4

Add "dogars" as a Koffing alias
Fix crash in 664c187
Prevent modlog message on failed disqualification

If the user isn't disqualified, that information doesn't need to be added to modlog.
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.
Improve conditional style

Statements shouldn't be on a separate line from their conditionals without brackets.