Commit Graph

2873 Commits

Author SHA1 Message Date
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
sirDonovan
dd24ed5489 Avoid crashes from disabled cookies
Accessing localStorage when cookies are disabled throws a SecurityError in some browsers.
2015-12-30 03:57:30 -06:00
urkerab
7048d49db1 Use boost value function to simplify boost calculation code 2015-12-30 00:40:28 +00:00
urkerab
e28316d48d Create seperate function to return the boost value 2015-12-30 00:40:22 +00:00
urkerab
99d20f70ed Make item boost calculation check for item too, simplifies callers 2015-12-30 00:37:43 +00:00
urkerab
0b22081e7b Correctly apply Technician before item boost to Ball move 2015-12-30 00:37:43 +00:00
urkerab
73432847b4 Move some variables nearer to their use 2015-12-30 00:37:43 +00:00
urkerab
6e15608253 Simplify application of Technician and item to Ball type move 2015-12-30 00:37:43 +00:00
urkerab
630dfd311a Return the base power when affected by Magic Room or embargo 2015-12-30 00:37:42 +00:00
urkerab
818c367e5b Fix bug with interaction between gems and Pledge moves 2015-12-30 00:37:42 +00:00
urkerab
2368abeb49 Remove useless basePower check - basePower is always nonzero by now 2015-12-30 00:37:42 +00:00
urkerab
5ac9fdf6f8 Call getMoveType correctly 2015-12-30 00:37:28 +00:00
urkerab
24730fa2f5 Remove unused variables 2015-12-29 18:52:08 +00:00
Guangcong Luo
e7a5cada72 Teambuilder: Fix filtering learnsets
They now only apply to learnsets for the selected gen.
2015-12-29 11:34:03 -05:00
Guangcong Luo
29cc2dd0c6 Redesign ladders 2015-12-29 11:34:03 -05:00
Guangcong Luo
41ec617dbd Make Popup a bit more flexible 2015-12-29 11:34:03 -05:00
Guangcong Luo
d93473eb2d Redesign options menu slightly
A few options are reworded, it's been split into two sections, and
section headers are now slightly smaller.
2015-12-29 11:34:03 -05:00
Guangcong Luo
26c91d8134 Teambuilder: Improve sprites
We now show sprites corresponding with the gen in the teambuilder, and
for gen 6, we now show ORASdex sprites.
2015-12-29 11:33:26 -05:00
Guangcong Luo
f6e9f1ab79 Teambuilder: Fix gen 1-2 EV selection 2015-12-29 11:33:26 -05:00
Guangcong Luo
c35b528430 Merge pull request #595 from urkerab/popupmenu-button-button-sel-hover-padding
Avoid changing border width or padding on hover
2015-12-29 15:23:04 +00:00
urkerab
aa5b9cf915 Avoid changing border width or padding on hover 2015-12-29 13:54:20 +00:00
Slayer95
ffc9284999 Merge pull request #594 from hvk3/master
Added entry for client tooltips to main html
2015-12-29 02:00:25 -05:00
Harshvardhan
9109de7925 Added support for all power-boosting items
Removed redundancy from code

Moved to tooltips file

Reduced code

Reduced code

Reduced code

Reduced globals to 1

Minor error corrections

Added filename to index.template.html
2015-12-29 12:16:41 +05:30
Guangcong Luo
63a0b38202 Merge pull request #593 from panpawn/patch-2
Mouseovers for users/battle on joinroom page
2015-12-29 03:41:03 +00:00
panpawn
ae9868f06b Mouseovers for users/battle on joinroom page
For the users button, this adds the mouse-over message "Find a user online." and for the battle button, "Find an active battle.".
2015-12-29 03:20:02 +00:00
Guangcong Luo
8afb0d78f2 Merge pull request #574 from hvk3/master
Added gem-boosted powers to move description
2015-12-29 03:16:40 +00:00
Marty-D
8aecfc7364 Remove type changes when changing forme 2015-12-28 16:57:21 -05:00
Guangcong Luo
5315b0b0f4 Merge pull request #591 from Ridaz/patch-4
New Dynamic Punch animation
2015-12-28 15:26:39 +00:00
Guangcong Luo
c34bf4b82e Merge pull request #592 from urkerab/tournament-update-teams
Don't unnecessarily update the tournament team selector
2015-12-28 13:54:47 +00:00
Ridaz
3b866e13b8 New Dynamic Punch animation 2015-12-28 13:47:30 +00:00
urkerab
c05572e4f3 Don't unnecessarily update the tournament team selector 2015-12-28 12:54:34 +00:00
Harshvardhan
311acb8fcd Added support for all power-boosting items
Removed redundancy from code

Moved to tooltips file

Reduced code

Reduced code

Reduced code

Reduced globals to 1

Minor error corrections
2015-12-27 21:21:26 +05:30
hvk3
df4cc30de4 Added gem-boosted powers to move description 2015-12-27 19:30:01 +05:30
Guangcong Luo
3a5972cd3f Remove outdated pokedex.php file 2015-12-26 10:23:10 -05:00
Guangcong Luo
2768569b5a Add Credits to main menu footer 2015-12-26 10:22:44 -05:00
Guangcong Luo
764cbf9921 Add more space between name and icons in team selector 2015-12-26 10:18:50 -05:00