Commit Graph

1964 Commits

Author SHA1 Message Date
Marty-D
24894dfd3c Add Ghost Curse message 2016-01-15 16:35:51 -05:00
The Immortal
c0d346ae7a Add COIL to 1v1 ladder 2016-01-15 20:24:28 +04:00
Guangcong Luo
ba3d48644f Merge pull request #612 from urkerab/tooltip-triples-any-target
Display move target in Doubles and Triples battles
2016-01-14 18:25:12 -08:00
Guangcong Luo
e2ecab4884 Support allowRename in RoomGames
Now, if you're in a roomgame that doesn't allow renames, the client will
warn you about that.
2016-01-14 21:31:13 -05:00
Guangcong Luo
7fd31032a3 Tournaments: Only deselect teams when necessary 2016-01-14 21:30:21 -05:00
Guangcong Luo
1c0f52d6fb Teambuilder: Support filtering by tier 2016-01-14 21:30:21 -05:00
urkerab
1f61f0012f Display move target in Doubles and Triples battles 2016-01-15 01:34:28 +00:00
urkerab
a7bc84e6f7 Use Pokémon in messages instead of Pokemon. 2016-01-15 01:14:52 +00:00
Guangcong Luo
6bacf20121 Merge pull request #543 from panpawn/patch-1
Make user popups use the usernames color for names
2016-01-13 22:55:12 -08:00
panpawn
d84a4b199d Make user popups use the usernames color for names
This makes the user popups less generic and more unique imo
2016-01-14 01:57:02 +00:00
Marty-D
e25afbb327 Add Lightning Rod/Storm Drain redirection message 2016-01-13 18:28:46 -05:00
Guangcong Luo
4c17fa7084 Teambuilder: Fix crash when filtering egg groups 2016-01-13 04:07:17 -05:00
Guangcong Luo
bb3496073e Fix bug with | in pokemon nicknames 2016-01-13 04:07:17 -05:00
Guangcong Luo
22e3609897 Teambuilder: Default nicknames to baseSpecies
Formes like Hoopa-Unbound would previously default their nickname
to "Hoopa-Unbound". Their default nicknames are now "Hoopa", matching
in-game names.

Our data structures now intentionally leave set.name blank to mean
"default nickname". Older teams are "unaffected", although Nickname
Clause makes the final nickname "Hoopa" anyway.

Fixes #92
2016-01-12 17:05:36 -05:00
Guangcong Luo
1252e7597b Support fx/ in testclient.html 2016-01-12 11:55:50 -08:00
Guangcong Luo
40a9de9d2a Merge pull request #605 from Teremiare/patch-4
Fix pokemon forms appearing twice in search
2016-01-12 11:15:43 -08:00
Teremiare
af07e2b2ad Fix pokemon forms appearing twice in search
Fix items not showing on pokemon alias

Slice instead of indexOf

Skip the alias
2016-01-12 20:01:20 +01:00
Guangcong Luo
220b08838c Fix crash with !data in replays 2016-01-12 05:22:03 -05:00
Guangcong Luo
50a98697c7 Implement Natural Cure message 2016-01-12 05:22:03 -05:00
Guangcong Luo
3f691980d2 Fix crash in checkDetails 2016-01-11 23:07:08 -05:00
Marty-D
e9c0a5b691 Add support for Crucibelle minisprites 2016-01-11 19:32:22 -05:00
Guangcong Luo
1e59158e58 Fix getPokemon bug 2016-01-10 15:04:38 -05:00
Guangcong Luo
9ae55d10cc Basic support for room game lists
If the user is in any roomgames, show the list of roomgames instead
of the "Battle!" form. The battle form can still be opened if you
really want to, though.

The design is "not too ugly". Functionality first, form can come
some day when I'm bored.
2016-01-10 15:04:38 -05:00
Guangcong Luo
57d0cd6ddd Remove support for (PU) pseudo-tier 2016-01-10 15:04:38 -05:00
Ivo Julca
e7cd43fe17 Support appending cache killer to custom avatars 2016-01-10 14:12:45 -05:00
Guangcong Luo
be403978e9 Fix Sableye appearing twice in search 2016-01-07 21:00:13 -05:00
Guangcong Luo
7f30282084 Battles: Support canMegaEvo in move rqs as well as switch
This adds client support for Zarel/Pokemon-Showdown@360ab1f605
2016-01-07 21:00:13 -05:00
Guangcong Luo
72ffeff106 Replays: Show Team Preview before Play is clicked 2016-01-07 19:48:57 -05:00
Guangcong Luo
2611bf9f71 Fix graphical glitch in old replays 2016-01-07 19:48:57 -05:00
Guangcong Luo
8018448dbc Battles: Don't show more precision than known
Specifically, don't show 28.0% where we actually mean 28%
2016-01-07 19:48:57 -05:00
Guangcong Luo
7288576ada Fix regular Arceus causing pokemon list problems
Regular Arceus wasn't being considered an Arceus forme. This has been
fixed.

It turns out, there was a reason that code was written that way. :|
2016-01-07 19:48:57 -05:00
Marty-D
55540a4674 Gen I: Fix all move types in tooltips/teambuilder 2016-01-07 16:23:08 -05:00
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
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
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