Commit Graph

3463 Commits

Author SHA1 Message Date
The Immortal
ba5290e0af Add COIL for Return'd 2016-10-05 22:33:06 +04:00
Bär Halberkamp
da9084ccb6 Implement notification sounds (#777) 2016-10-04 20:49:50 -07:00
Marty-D
a435eb3695 Teambuilder: Use Gen 6 minisprites in clipboard/move functions 2016-10-04 17:39:26 -04:00
Guangcong Luo
256885354e Teambuilder: Support sorting moves 2016-10-04 06:34:28 -04:00
Guangcong Luo
3dda04a527 Teambuilder search: Register other keys before Enter
We do searches on keyup rather than keydown, but Enter registers on
keydown, so if you're typing quickly, "lum[enter]" and you press
Enter before releasing 'm', you do the search for "lu" instead.
2016-10-04 04:56:26 -04:00
Guangcong Luo
3e9e585975 Teambuilder search: Put types above Arceus formes
Searching for "Ghost" would match "Arceus-Ghost" before the "Ghost"
type filter. This now puts the "Ghost" type filter first. "aghost"
(or just "agh") is still a valid way of getting Arceus-Ghost.
2016-10-04 04:32:54 -04:00
Guangcong Luo
5df1681879 Implement Gastrodon-East animated frontsprite
Its backsprite, unfortunately, still isn't available.
2016-10-04 02:48:16 -04:00
Guangcong Luo
6f6565120f Teambuilder: Don't recommend 248 HP for Magic Guard 2016-10-04 02:48:08 -04:00
Guangcong Luo
f21c8b00c8 Teambuilder: Improve acronym search
Compound words are now matched by the teambuilder for acronym and
substring search.

This means that "zhb" is now a valid search term for "Zen Headbutt",
and "ww" is a valid search term for "Whirlwind". "shock" is also a
valid search term for "Psyshock" and "Venoshock".
2016-10-04 02:46:49 -04:00
Guangcong Luo
62116c4dbc Teambuilder: Sort suggested EVs 2016-10-04 00:12:04 -04:00
Guangcong Luo
6585df75e0 Sync learnsets 2016-10-03 23:45:32 -04:00
Guangcong Luo
853fd51283 Battles: Fix crash relating to getPokemon
_Some_ past gens apparently don't specify slots for active pokemon
sometimes...
2016-10-03 23:45:32 -04:00
Guangcong Luo
6db0bf24dc Implement Cathy set
Once again, Cathy is a UU Trevenant meme set, no relationship to
the former PS admin.
2016-10-03 23:45:32 -04:00
Marty-D
3140a1e2e2 Fix left-facing Roselia/Roserade minisprites 2016-10-03 21:08:36 -04:00
Marty-D
6019340f5b Support Gen 6 minisprites in battle sidebars 2016-10-03 21:07:38 -04:00
Jay Fault
4b173f4b2c Add 3 second delay after clicking Battle! (#776) 2016-10-03 16:35:21 -07:00
Bär Halberkamp
bce03c4f6e Port /reply to the client (#773) 2016-10-03 13:28:20 -07:00
urkerab
f58656cb1b Mark the Natural Cure ability when it activates (#774) 2016-10-03 13:26:13 -07:00
panpawn
98c76d37d2 README: Add Dex to Navigation section (#769) 2016-10-02 22:19:24 -07:00
Ridaz
b9474765f7 Improve Petal Dance move animation again 2016-09-29 21:31:29 +01:00
Ridaz
8590db256e Improve Petal Dance move animation 2016-09-29 21:06:44 +01:00
Ridaz
617a8d54b5 Update move animations, round 13.5 (#771) 2016-09-29 13:01:06 -07:00
Guangcong Luo
4b10e833a6 Fix indentation in getIcon 2016-09-28 18:36:34 -04:00
Guangcong Luo
c6c8e1c783 Sync learnsets 2016-09-28 18:25:18 -04:00
Guangcong Luo
a3995a1b97 Introduce |error|
|error| replaces the previous |html|<div class="message-error">
with something nicer.
2016-09-28 18:20:17 -04:00
Guangcong Luo
ee970c1f56 Fix getPokemon on duplicate fainted
If, during effect activation, a Pokemon isn't where it's supposed to
be, we search the rest of the player's team for it.

For instance, when Destiny Bond activates, Deoxys has already fainted,
so it's not where we expect it to be. Normally, we search the player's
team for Deoxys, find the Deoxys, and Destiny Bond activates as normal.

The problem comes in formats without Species Clause. We might find the
wrong Deoxys! Normally, this isn't a big problem. For a Pokemon to
match, it has to have the exact same name, so the message displayed is
still "Deoxys took the foe's Blaziken down with it!" and everything
goes on normally.

The problem comes in Doubles formats without Species Clause. Finding
the wrong Deoxys overwrites its slot number, which, if it's an active
Deoxys, puts it in an inconsistent state, causing crashes later on.

This fix changes it so if a Pokemon isn't where it's supposed to be,
we search the rest of the player's team, excluding other active
Pokemon, for it.

This renames the previous isInactive flag in getPokemon to isSwitch,
which more accurately describes how its matching works.
2016-09-28 18:20:03 -04:00
Guangcong Luo
3c03f9331b Teambuilder: Update search aliases
Add:

zong -> Bronzong
zard -> Charizard
chomp -> Garchomp
2016-09-28 18:09:13 -04:00
Guangcong Luo
0c36029265 Update Appeals redirect 2016-09-28 18:08:43 -04:00
urkerab
c4c0c16239 Mark Abilities correctly for Trace and Role Play (#770) 2016-09-27 19:53:24 -04:00
Marty-D
87a410d3b5 Add Kerfluffle minisprite 2016-09-25 13:58:09 -04:00
The Immortal
16a04dcd1b Add AAA COIL 2016-09-25 04:19:29 +04:00
Marty-D
63ea611b24 Add Receiver message and Instruct tag 2016-09-23 17:45:54 -04:00
The Immortal
ff12202e3d Update RU COIL 2016-09-23 12:01:49 +04:00
The Immortal
df3bcf2af3 Add Instruct message 2016-09-20 19:19:05 +04:00
Ivo Julca
a65fb9fcee Fix XSS in tournament errors 2016-09-17 23:48:59 -05:00
The Immortal
175718cbed Teambuilder: Update tiers
Add BH, remove FU.
2016-09-17 17:40:24 +04:00
Ridaz
ef1d4e3dec Update Flame Wheel move animation
Now it uses the Flame Charge animation
2016-09-16 12:47:58 +01:00
Ridaz
ba2509c068 Improve Shadow Ball move animation 2016-09-16 06:54:11 +01:00
Ridaz
c378eb8d32 Fix Pulverising Pancake move animation 2016-09-16 00:24:04 +01:00
Ridaz
b8b2943c38 Add Pulverising Pancake move animation
And make Retaliate and Submission animate like Close Combat
2016-09-16 00:13:21 +01:00
Ridaz
4ef3f686aa Improve Sludge Wave move animation
The defender now animates when hit by it
2016-09-15 21:00:44 +01:00
Ridaz
7931bde4b7 Update Hex move animation 2016-09-15 18:52:15 +01:00
Ridaz
70631e8ffd Update Fury Swipes move animation
And fix Claw Attack and Solar Blade move animations
2016-09-15 18:02:02 +01:00
Ridaz
867aa2ccd9 Improve Shadow Ball move animation 2016-09-15 17:25:58 +01:00
Ridaz
ec0b87a007 Update Tri-Attack move animation (#765) 2016-09-14 17:49:38 +01:00
Guangcong Luo
12229fe287 Sync learnsets 2016-09-14 06:32:37 -04:00
Guangcong Luo
37b0905f6c Teambuilder: No Spe EVs if you have Trick Room 2016-09-14 06:32:09 -04:00
Guangcong Luo
7ab332673b Don't notify for own messages
For the most part, this isn't really a big deal: If you send a message,
you usually have the window open, so you can see that you've sent a
message.

This is mainly for things like if you send a message and switch rooms
before it appears in the roomlog, but it's really mainly for things
like /hotpatch where you don't need to be notified about all the
rooms that notify you.
2016-09-13 18:36:50 -04:00
Guangcong Luo
05914194c6 Support multiline PM messages 2016-09-13 18:36:04 -04:00
Guangcong Luo
9f361be5df Teambuilder: Support searching by middle word
Previously, you could search by the first or last word in a three-word
phrase, but not the middle so "High" and "Kick" but not "Jump" in
"High Jump Kick". This lets you search by all three.
2016-09-12 17:14:10 -07:00