Commit Graph

3384 Commits

Author SHA1 Message Date
Guangcong Luo
4830b29051 Offline mode: Handle clicking on users/battles
Fixes #639
2016-02-16 20:38:31 -05:00
Guangcong Luo
5ca5448ed2 Fix Elo rating decay 2016-02-16 20:00:13 -05:00
Guangcong Luo
7a9378b7a6 Don't preload Primal reversion particles
Uses up bandwidth for something not really seen outside of Ubers and
VGC 2016.

At some point we should preload them if we see Kyogre/Groudon in
Team Preview, though...
2016-02-16 20:00:13 -05:00
Guangcong Luo
7119f82930 Support Synchronize activation 2016-02-16 20:00:13 -05:00
Guangcong Luo
f49cc77e8a Merge pull request #638 from liangricha/rl-validation-tweak
disable teambuilder validation button until user has at least one pokemon added
2016-02-16 18:40:55 -06:00
Guangcong Luo
735d9caf1a Show item/level/gender in Team Preview 2016-02-16 15:57:27 -05:00
Guangcong Luo
99a3e900c7 Show ability activation message for -status 2016-02-15 20:26:19 -05:00
Guangcong Luo
60d4741288 Merge pull request #647 from urkerab/watch-battles-select-format
Use format popup when searching for a battle to watch
2016-02-14 16:45:55 -06:00
urkerab
e9661fb0b2 Use format popup when searching for a battle to watch 2016-02-14 18:48:17 +00:00
Marty-D
6f58328443 Add Gen 1 partial trapping message 2016-02-14 13:20:05 -05:00
Marty-D
8bfd3f3796 Update HP text with |detailschange| 2016-02-13 17:52:05 -05:00
Guangcong Luo
66efa816bb Theme the mute/options buttons
The mute/options buttons have been using the OS default button theme,
but these don't always play well with Font Awesome. This changes them
to use PS-style buttons, which should be more consistent.

Fixes #2421
2016-02-13 14:51:16 -05:00
Guangcong Luo
3566ef216e Show mega/primal symbol on pokemon 2016-02-13 14:39:21 -05:00
Guangcong Luo
1840fe2e92 Teambuilder: Support dragging more folders
Instead of showing multiple +1s when dragging to a folder, we now show
+2, +3, etc, to prevent too many +1s from filling the draggable area.
2016-02-11 21:17:51 -05:00
Guangcong Luo
cc2c980630 Improve appearance of status-bar typechange 2016-02-11 21:17:51 -05:00
Guangcong Luo
dd993b2373 Show mega animation for |detailschange|
This doesn't affect any official formats, but this makes it so we
listen to the server message for what is or isn't a mega evolution,
rather than the name of the changed forme.
2016-02-11 21:17:51 -05:00
The Immortal
d4d830bc27 Add COIL for NU (current)
And remove COIL for Monotype.
2016-02-11 19:21:42 +04:00
Guangcong Luo
ebf8692461 Battles: Show typechanges in HP bar 2016-02-10 09:16:30 -05:00
Guangcong Luo
86b0d42269 Battles: Animate type changes 2016-02-10 09:16:30 -05:00
Richard Liang
97c210e1c5 Teambuilder validation eligibility tweaks
Disable Validate button until the user has at least one pokemon on their team
2016-02-10 13:29:02 +08:00
Guangcong Luo
f74a3ea50d Merge pull request #646 from Teremiare/patch-9
Add tournament message for AlreadyDisqualified
2016-02-09 17:05:56 -06:00
Teremiare
7894622cd4 Add tournament message for AlreadyDisqualified 2016-02-09 19:28:41 +01:00
Guangcong Luo
2f74fdd3d9 Merge pull request #644 from hvk3/master
Genders can be hacked - client changes
2016-02-09 09:28:32 -06:00
Harshvardhan
c6be236195 Genders can be hacked
Changes for client

More changes

More changes

Genderless fix
2016-02-09 20:47:44 +05:30
Guangcong Luo
15a156a462 Merge pull request #645 from Teremiare/patch-8
Apply hide/show hidden messages fix to battles
2016-02-08 17:58:21 -06:00
The Immortal
6e4d7144f1 Add primal reversion message 2016-02-08 21:17:41 +04:00
Teremiare
0a277d9493 Apply hide/show hidden messages fix to battles 2016-02-08 18:10:54 +01:00
Guangcong Luo
569516fbd5 Teambuilder: Show selected move/etc at top of list
This allows people to easily check stats/description for their
selected pokemon/move/ability/item.
2016-02-08 11:05:56 -05:00
Guangcong Luo
3e63c01351 Teambuilder: Restore IVs when Hidden Power deselected 2016-02-08 11:05:56 -05:00
Guangcong Luo
5e8be4fed3 Fix hide/show hidden messages button
The previous method of determining which messages should be hidden
and shown were unreliable.
2016-02-08 11:05:56 -05:00
Guangcong Luo
623486d188 Teambuilder: Fix AG format's tier list 2016-02-08 11:05:56 -05:00
Guangcong Luo
a731dbe1f2 Merge pull request #643 from Ridaz/animation
Update Move Animations Round 5
2016-02-08 09:48:19 -06:00
Ridaz
50e7ba425c Update Move Animations Round 5 2016-02-08 08:33:55 +00:00
Marty-D
45f5c2c462 Add support for left-facing minisprites 2016-02-06 10:46:25 -05:00
Guangcong Luo
e8ff6fed66 Merge pull request #636 from Teremiare/patch-7
Don't let spectators chat in battles when they're ignoring spectators
2016-02-06 06:58:04 -06:00
Teremiare
4e5666a4a1 Prevent chatting as a spectator when ignoring them 2016-02-06 09:58:43 +01:00
Guangcong Luo
5ced19e1fd Minor graphical tweaks
- The Meloetta icons in Rooms/Battles are now Gen 6 style
- Linebreak after "Format:" in watch battles screen
- Change Battles roomtab icon
2016-02-05 17:21:10 -05:00
Guangcong Luo
009272e455 Add new BattlesRoom global to eslintrc 2016-02-05 17:19:44 -05:00
Guangcong Luo
337132bbd0 Add a focus style to buttons
Button-class buttons previously looked the same in and out of focus.
This gives them a similar focus class to textboxes.
2016-02-05 14:36:54 -05:00
Guangcong Luo
274561f3d2 Watch battles: Filter battles server-side
The Watch battles list now filters by format server-side instead of
client side. This means that (except for OU and randbat), you can
now see all battles in your selected format, instead of only the
ones that were in the first 100.
2016-02-05 14:36:54 -05:00
Guangcong Luo
605fad27fd Make Watch Battles a room
PS rooms and PS popups apparently share a lot of code, making this
transition surprisingly easy.

Anyway, Watch Battles makes more sense as a room in the end. It also
fixes a lot of UI weirdness; modal popups are really the wrong control.
2016-02-05 14:36:54 -05:00
Guangcong Luo
b5ac1f5892 Improve Dark Mode
- Popups are now dark
- Topbar username outline is now black
- Teams and team/format selects are now darker
- Code and spoiler blocks are now dark
2016-02-05 14:36:54 -05:00
Guangcong Luo
13cccf1c92 Merge pull request #640 from QuiteQuiet/div
Disallow | in team names
2016-02-05 13:23:40 -06:00
Quite Quiet
3704a57d81 Disallow | in team names 2016-02-05 18:33:03 +01:00
Quinton Lee
f558df4d2a Fix crash in weather animations 2016-02-04 12:15:39 -06:00
Guangcong Luo
1e0bd37541 Merge pull request #634 from liangricha/rl-imageoptim
Shrink assets
2016-02-03 17:14:36 -06:00
Richard Liang
fd3d872523 Shrink assets 2016-02-02 19:44:24 -05:00
Guangcong Luo
cdc5214810 Merge pull request #637 from hvk3/master
Change Ignore opponent to Ignore Players
2016-02-01 22:55:27 -06:00
Harshvardhan Kalra
64e09fae8f Change Ignore opponent to Ignore Players 2016-02-01 21:07:35 +05:30
Guangcong Luo
bdc464c632 Fix crash when move target faints in doubles/triples 2016-02-01 04:36:54 -05:00