The validate button sends the current team and a validation request to the
server. The server will respond with a positive acknowledgement for valid teams,
or else a list of problems (the same list as when seeking a battle).
Gen 4 patch before this pull: http://i.imgur.com/lKK4542.png
After: http://i.imgur.com/7mJa8om.png
The past gen backgrounds were never intended to be used with gen 5/6 animated sprites due to formatting with the popup textboxes. Plus it looks weird.
I have also removed bg.jpg as the only background that would appear for gen 5 matches and restored it to the variety of backgrounds that gen 5 matches used prior to gen 6 and custom past gen backgrounds.
Background loading and placement changes
Update battle.js
Update battle.js
Skip past gen backgrounds with modern sprites
Skip past gen backgrounds with modern sprites
Skip past gen backgrounds with modern sprites
Enhaced the battle tooltips to show more accurate information.
Move Type and Base Power are volatile and thus information is often not accurate.
This commit enhaces battle tooltips to display move type and base power changes.
When a Plate is active, it will change the type of Judgment.
When a Drive is active, it will change the type of Techno Blast.
Other items changing type and base power will reflect their changes.
Moves that have a deterministic varying base power will show the current
base power, not taking into account switches, etc.
In doubles, moves that have different base power on different targets will
show the difference.
There are annotations for special effects like Nature Power.
Display that on the move selector to help players know and remember what
attack type they're using and what power they have.
This commit also intends to make code readable, making all lines changed
span the soft limit of 90 characters.
This fixes an issue where highlight regular expression like :-?\)
couldn't match a smiley, unless it happened to have a word character
on both of its sides.
Adds two spaces to the end of each line generated by the teambuilder's
text output. This makes it possible to:
- Copy and Paste a team into a site that uses a Markdown parser such
as Github or reddit without worrying about formatting; and
- Copy and Paste a team from one of the aforementioned sites back
into Showdown with no effort aside from the Ctrl-C and Ctrl-V.