Commit Graph

2950 Commits

Author SHA1 Message Date
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
Guangcong Luo
19f5cf0d11 Merge pull request #613 from urkerab/pok-eacute-mon
Use Pokémon in messages instead of Pokemon.
2016-01-14 18:20:15 -08: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
Guangcong Luo
efcfc78145 Merge pull request #611 from Ridaz/master
Updating various animations
2016-01-13 18:50:33 -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
Ridaz
7bd94614e9 Update Animations
And revert Fairy Wind and Moonblast animations
2016-01-14 01:20:44 +00:00
Marty-D
e25afbb327 Add Lightning Rod/Storm Drain redirection message 2016-01-13 18:28:46 -05:00
Kevin Lau
a550854384 Merge pull request #610 from Ridaz/patch-1
Remove extra Overheat animations
2016-01-13 12:57:41 -08:00
Ridaz
18467a6bbe Remove extra Overheat animations 2016-01-13 20:09:11 +00:00
The Immortal
112f63470d Merge pull request #609 from Ridaz/patch-1
Fix Energy Ball
2016-01-13 20:43:16 +04:00
Ridaz
beb09a6d87 Fix Energy Ball 2016-01-13 16:07:42 +00: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
0b5ab05170 Delete unused weather graphics 2016-01-13 04:07:17 -05:00
Ridaz
024a52cfc8 Various Graphic Animation Updates
Incorporates Pikachuun's changes from #366.

Closes #608

Closes #366
2016-01-13 00:43:21 -08: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
ebc0f823e7 Merge pull request #606 from Ridaz/master
Update new Aura Sphere animation
2016-01-08 03:55:09 +00: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
Ridaz
a7fda202b1 Update new Aura Sphere animation
Now with an example from both sides!

http://i.imgur.com/7WBn6pN.gif
2016-01-08 01:41:17 +00:00
Guangcong Luo
33f128cf87 Merge pull request #604 from Ridaz/master
New Aura Sphere animation
2016-01-08 01:24:36 +00:00
Ridaz
4cf04cf93f Correct values 2016-01-08 01:19:18 +00: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
Ridaz
99b97c7c74 New Aura Sphere animation 2016-01-07 10:36:50 +00: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