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: Update moves

Triple kick, twineedle, and water shuriken now have perfect accuracy in keeping with the precedent set by other multi-hit moves.
Clear smog is a never miss move and now has 90 base power, allowing for a safer option over sludge bomb.
Quiver dance does not need any NEXT modifications because it will work the same as in OU as discussed in a previous pull request. Gossamer Wing will be changed later.
NEXT: Update moves

Fix water shuriken and twineedle
Merge pull request #1055 from Tempoanon/patch-12

NEXT: Update moves
Fix some atrocious coding in chat-plugins.js
Remove trailing whitespace
Merge pull request #1057 from kotarou3/whitespace

Whitespace
Set modchat + in battles on lockdown
Check if modchat is set when lockdown is used
Add /modnote, !htmlbox and !showimage to /roomhelp
Slight HTML error
Merge pull request #1058 from panpawn/patch-21

Add /modnote, !htmlbox and !showimage to /roomhelp
NEXT: Move changes
NEXT: Update twister

Twister now gets a 50% boost from any quiver dance user (except smeargle) that holds a stick.
Merge pull request #1059 from Tempoanon/patch-13

NEXT: Move changes