Guangcong Luo
6870ef5d80
Battles: More informative crash messages
2016-01-07 03:36:26 -05:00
Guangcong Luo
5a4258d1cb
Tooltips: Healing Wish doesn't restore PP
2016-01-07 03:36:03 -05:00
Guangcong Luo
600ed2a527
Show revealed moves in switch menu tooltips
...
Specifically, there's already a PP tracker, but this also shows it
when the PP is at max.
2016-01-07 03:35:24 -05:00
Guangcong Luo
ab84f93c69
Correctly track PP through Healing Wish
2016-01-07 03:35:24 -05:00
Guangcong Luo
90a99d731c
Don't autojoin Lobby in testclient
2016-01-07 02:25:53 -06:00
Guangcong Luo
848e90afc0
Refactor getPokemon
...
battle.js's getPokemon function is at the heart of the battle screen,
but it's really old and kind of bad.
This fixes several longstanding issues, but most prominently
`p1: [pokemon]` automatically setting the pokemon's slot to 0.
Other changes include a more sane way to handle `needsReplace`.
Tags have been renamed: `other: ` is now `inactive: `, `old: ` is now
gone since its behavior is now the default.
This also rearranges some code to be more readable, adds more comments,
renames some variables to make more sense, and removes some dead code.
This resolves #258 , too.
2016-01-07 02:25:53 -06:00
Guangcong Luo
52cf46b8bd
Fix move types in past gen tooltips/teambuilder
...
Specifically, this affects Bite, Charm, Moonlight, and Sweet Kiss.
2016-01-06 18:47:49 -05:00
Guangcong Luo
f17ae9a437
Fix move names in tooltips when no PP used
2016-01-06 18:47:49 -05:00
Guangcong Luo
ae2adee98a
Don't warn about active battles when unnecessary
...
Specifically, if we're already disconnected, we now no longer warn
about closing PS with in-progress battles.
(50 characters is not enough space for these things...)
2016-01-06 18:47:49 -05:00
Guangcong Luo
888bff7bf0
Add workaround for HTTPS blocking
...
Antiviruses MitMing HTTPS is just a bad idea in general...
2016-01-06 18:47:49 -05:00
Guangcong Luo
8b76861c06
Don't allow choosing name before connecting
...
This fixes the "Choose name" button behaving strangely during
connection failures, or before connecting on the off chance someone
tries to click it early.
2016-01-06 18:47:49 -05:00
Guangcong Luo
22da7c418d
Don't remove trailing ) when tab-completing
2016-01-06 18:47:49 -05:00
Guangcong Luo
6f43574938
Improve PU, FU, and LC UU tier lists
2016-01-06 18:47:49 -05:00
Guangcong Luo
9db01e09ec
Merge pull request #603 from Teremiare/patch-3
...
Prevent users from ignoring themselves
2016-01-06 22:35:11 +00:00
Teremiare
17e0d23597
Prevent users from ignoring themselves
2016-01-06 21:23:07 +01:00
Guangcong Luo
d4ffc8f1e1
Correct old gen base stats in teambuilder
...
They were previously correct in the pokemon list, but this fixes it
for the EV/IV chooser as well.
2016-01-04 12:48:58 -05:00
Guangcong Luo
51899f2edc
Increase autojoin limit
...
The new limit is now 10, and lobby is now allowed to be autojoined.
2016-01-04 12:48:58 -05:00
Guangcong Luo
511eecae4c
Merge pull request #602 from xfix/icon-compress
...
Compress favicon.ico
2016-01-02 16:06:58 +00:00
Konrad Borowski
4001c38d02
Compress favicon.ico
...
48x48 and 256x256 images are compressed using PNG ICO extension
(supported from Windows Vista). For compatibility with older versions
of IE, 32x32 and 16x16 aren't compressed.
2016-01-02 16:14:18 +01:00
Guangcong Luo
60f57aad7f
Make move tooltips more concise
2016-01-01 22:19:40 -05:00
Guangcong Luo
271a25aefe
Fix Nonreflectable move flag
2016-01-01 18:54:35 -06:00
Guangcong Luo
0d267c1817
Stop crashing when removing learnsets
2016-01-01 19:45:27 -05:00
Guangcong Luo
b4a7475c40
Don't allow arbitrary HTML in |expired|
2016-01-01 19:45:27 -05:00
Guangcong Luo
95c7c4a257
Tooltips: Past gen support and better move descriptions
2016-01-01 18:36:58 -06:00
Guangcong Luo
7d44cc2caf
Fix weird alignment in move tooltips
2016-01-01 18:36:58 -06:00
Guangcong Luo
33959c2cf9
Refactor BattleTooltips
...
We now move most tooltip logic to client-battle-tooltips.js.
2016-01-01 18:36:58 -06:00
Guangcong Luo
306b95d632
Fix switch menu HP bar alignment
2016-01-01 18:36:58 -06:00
The Immortal
fdd3d789f0
Teambuilder: Fix Rotom formes and Pumpkaboo-Super
2016-01-02 00:31:53 +04:00
Guangcong Luo
aa0bd51ed8
Merge pull request #601 from hvk3/master
...
Incorrect check in teambuilder
2016-01-01 19:37:07 +00:00
Harshvardhan Kalra
52a0ed9fe7
Incorrect check in teambuilder
2016-01-01 21:53:22 +05:30
The Immortal
58f9436060
Merge pull request #600 from hvk3/master
...
Redundant checks in teambuilder
2016-01-01 19:47:23 +04:00
Harshvardhan Kalra
d70f484c89
Redundant checks in teambuilder
2016-01-01 21:14:07 +05:30
Marty-D
95a1995fcc
Remove Flower from Floette Eternal's forme name
2015-12-31 20:34:10 -05:00
Marty-D
1e00cfce06
Add support for some visual forms
...
Plus remove some whitespace
2015-12-31 19:22:27 -05:00
Guangcong Luo
b0dd435d8c
Support specific room expiration message
2015-12-31 18:55:58 -05:00
Guangcong Luo
84ff3db560
Fix crash in Safari Private Browsing
2015-12-31 12:27:50 -05:00
Guangcong Luo
59824eaecf
Teambuilder: Toxic is useless in gen 1
2015-12-31 00:44:13 -05:00
Guangcong Luo
ecca6ca295
Teambuilder: Fix item icon alignment
2015-12-31 00:43:45 -05:00
Guangcong Luo
6c1a5918fb
Teambuilder: Fix old-gen stats appearing in gen 6
2015-12-31 00:35:15 -05:00
Guangcong Luo
09fa73f719
Remove serverid from NTBBLadder constructor
...
NTBBLadder no longer supports alternate servers, making it unnecessary.
2015-12-31 00:34:54 -05:00
Guangcong Luo
dd4e9ae51c
Support ladder resets
...
A lot of this stuff involves the website itself, but this part is
the part contained in the client.
2015-12-31 00:33:47 -05:00
Guangcong Luo
3eb3451213
Support protocol-relative URLs in the interstice
2015-12-31 00:31:21 -05:00
Guangcong Luo
74ef3fd560
Give a pointer cursor to every button
2015-12-30 16:12:08 -05:00
The Immortal
e8b75da191
Set Gyro Ball as viable for slow Pokemon only
2015-12-30 21:33:48 +04:00
Guangcong Luo
67ac7f0e0b
Merge pull request #598 from urkerab/disallow-half-dvs
...
Properly calculate DVs when calculating stats in Gen1/2
2015-12-30 17:32:58 +00:00
urkerab
c091da039b
Properly calculate DVs when calculating stats in Gen1/2
2015-12-30 17:32:05 +00:00
Guangcong Luo
2ecd45e900
Merge pull request #596 from urkerab/tooltip-item-power-fixes
...
Tooltip item power fixes
2015-12-30 16:36:38 +00:00
Guangcong Luo
f425444906
Merge pull request #597 from sirDonovan/storage
...
Avoid crashes from disabled cookies
2015-12-30 16:34:50 +00:00
Guangcong Luo
08bcba01cb
Sync data
2015-12-30 11:02:39 -05:00
Guangcong Luo
cbe5e0a60e
Teambuilder: Change some move/item sections
2015-12-30 11:02:30 -05:00