Commit Graph

2356 Commits

Author SHA1 Message Date
Layell
39a024e90e XY Render Updates -Krilowat and fixes 2015-08-18 10:08:56 -04:00
Guangcong Luo
64cb34e519 Teambuilder: Support selecting base ability for megas 2015-08-12 19:35:09 -04:00
Guangcong Luo
68e68fbeed Remove space between symbol and name in chat 2015-08-12 19:29:14 -04:00
Guangcong Luo
3dea2e43b3 Teambuilder: Autoselect item if it's required
For instance, selecting Megazard X autoselects Charizardite X,
selecting Arceus-Dark autoselects Dread Plate, and selecting
Giratina-Origin autoselects Griseous Orb.
2015-08-12 18:39:57 -04:00
Guangcong Luo
95657e8249 Sync data 2015-08-12 18:39:57 -04:00
Slayer95
99475af48b Merge pull request #440 from gamut-was-taken/localize-sp
Localize SpriteData variables
2015-08-12 14:32:09 -05:00
gamut-was-taken
25a294c82c Localize SpriteData variables 2015-08-12 14:58:35 -04:00
Ivo Julca
d1e9ead96c Fix battle chat backwards compatibility 2015-08-11 02:01:33 -05:00
The Immortal
c7c8b7adf2 Add Harvest activation 2015-08-10 20:33:16 +04:00
The Immortal
0860dcfa28 Add Mummy activation 2015-08-10 06:37:31 +04:00
The Immortal
c99de62485 Fix ability activation animation for -boost
Added a delay so the ability activation and boost activation are not
simultaneously.

This is how it was: http://i.imgur.com/iNE21Md.png
2015-08-09 20:09:13 +04:00
Marty-D
59418fd8dd Add breaking protection message
- And fix Mat Block
2015-08-08 14:40:01 -04:00
Quinton Lee
b7917eb417 Actually fix crash in replay chat parsing 2015-08-08 11:12:32 -05:00
Guangcong Luo
c1f78290f6 Fix some display issues for side cond duration 2015-08-08 00:37:23 -05:00
The Immortal
e626dbeaa1 Add activation for all abilities that call -boost 2015-08-08 00:54:29 +04:00
The Immortal
0a3f91ee91 Add Defiant/Competitive activation 2015-08-07 20:42:19 +04:00
Quinton Lee
55eb13a69f Fix crash in replay chat parsing 2015-08-07 10:26:49 -05:00
Guangcong Luo
6622a645a9 Support iOS webapp install 2015-08-07 08:59:50 -04:00
Guangcong Luo
7f6a2063da Improve team saving reliability 2015-08-07 08:59:50 -04:00
Guangcong Luo
d20fd501f1 Fix some mega icons 2015-08-07 08:59:50 -04:00
Guangcong Luo
15a802a907 Make PP tracker Pressure-aware
This is not a perfect solution, but it's better than nothing.
2015-08-07 08:59:50 -04:00
Guangcong Luo
3622fe5a2a Improve team saving reliability
This should in theory fix the issue where team changes weren't
being saved.
2015-08-07 08:56:16 -04:00
Guangcong Luo
cc4767ea58 Fix Tools.getTemplate corruption
Passing Tools.getTemplate a non-empty string with an empty ID (i.e.
a string containing no alphanumeric characters) would corrupt it
and make it cache that value for empty strings, which breaks a
lot of PS functionality. This prevents that.
2015-08-07 08:56:16 -04:00
Guangcong Luo
82741f24cd Merge pull request #438 from Slayer95/chat
Unify chat message parsing
2015-08-06 20:24:42 +00:00
Ivo Julca
804b6b7b5d Don't hide suppressed spoilers in notifications 2015-08-05 21:13:52 -05:00
Ivo Julca
b899e05d94 Refactor command chat message parsing
We now extract any prefixed commands such as /me before processing the message body.
This fixes cmd-prefixed messages with empty bodies not being parsed as such.
2015-08-05 21:12:32 -05:00
Ivo Julca
ada7385bb4 Unify chat message parsing in rooms and PMs
Most notably, this adds support for /announce and /mee in battle rooms, and /html in chat rooms.
A better user group inference is now used for PMs and chat rooms.

This is done by implementing a general Tools.parseChatMessage method.
2015-08-05 21:07:28 -05:00
Ivo Julca
1f76b447eb Make /logout equivalent to the "Log out" button 2015-08-05 20:57:46 -05:00
Guangcong Luo
7e0714ebf6 Merge pull request #435 from ascriptmaster/move-messages
Add -ability messages for Anticipate and Forewarn
2015-08-01 06:57:07 +00:00
Guangcong Luo
a6e9e7ee80 Better support username links
`class="username"` links now don't require data-name, so they can
be safely sent from the server through Caja which strips unrecognized
attributes.
2015-08-01 00:54:54 -04:00
Guangcong Luo
caacd8a98d Don't treat locked moves as called moves 2015-08-01 00:54:54 -04:00
Guangcong Luo
cf1e96390f Fix Doubles/Triples multifaint switch-in 2015-08-01 00:54:54 -04:00
Guangcong Luo
51476ce695 Remove scrollbar from News 2015-08-01 00:54:54 -04:00
The Immortal
8ad6e5ff45 Tournament: Only show join/leave once
This prevents additional join/leave messages from the same user on the
same line.
2015-07-31 19:25:49 +04:00
Kevin Lau
52c344adb7 Update message parsing for Anticipate and Forewarn
Anticipate uses -ability now.

Allow Forewarn to read the Pokemon with the move in Gen5+.
2015-07-29 10:26:20 -07:00
The Immortal
5d7676133d Update Doubles OU suspect COIL 2015-07-29 05:04:16 +04:00
Ivo Julca
7c524be7dd Fix backwards compat regression from 128a8bc wrt |chat| 2015-07-28 18:14:16 -05:00
Ivo Julca
128a8bc9bf Handle |refresh| message globally
Now the /refreshpage command will no longer have its effects limited to users in Lobby.
2015-07-28 17:49:22 -05:00
Marty-D
8bc7c2e5d6 Merge pull request #434 from ascriptmaster/move-messages
Add messages for abilities blocking stat drops
2015-07-27 16:19:37 -04:00
Kevin Lau
0c0153fd1c Add messages for abilities blocking stat drops 2015-07-27 10:12:59 -07:00
Guangcong Luo
099e5bcf68 Only show revealed Pokemon in main area
PS now tracks a lot more information about what information your
opponent does and doesn't know about you, for ease for keeping
track of things.
2015-07-26 03:43:53 -04:00
Guangcong Luo
cd5e357b67 Track PP for moves 2015-07-25 19:54:19 -04:00
Guangcong Luo
d6173c2485 We don't use IRC anymore 2015-07-25 16:53:55 -04:00
The Immortal
6889ddca93 Add PU Smogdex link 2015-07-25 02:48:11 +04:00
Guangcong Luo
a0ca778e46 Merge pull request #430 from Irraquated/patch-3
Add title to Teambuilder var
2015-07-24 22:11:53 +00:00
Guangcong Luo
8ccbb8dac3 Update smogdex links
Fix broken links for Wormadam, Hoopa, Landorus, Thundurus, Gourgeist,
Arceus, Meowstic, and Pumpkaboo formes.

Also link formats to the corresponding smogdex tier where applicable.
2015-07-24 17:25:31 -04:00
Guangcong Luo
a6475dda94 Tap/click spoilers to show them
This now supports spoilers on platforms that don't have a way to hover,
such as mobile.
2015-07-24 17:25:31 -04:00
Guangcong Luo
7e42b9613e Slightly increase weather opacity 2015-07-24 17:25:31 -04:00
Guangcong Luo
c602e2411d Show sidecond time left alongside weather
Tailwind, Reflect, Light Screen, and Safeguard now show time left,
alongside weather and pseudo-weather. Untimed side-conditions are
not shown.
2015-07-24 17:25:31 -04:00
The Immortal
a2e9ed70bf Update Sturdy and Unnerve
Added Study activation and fixed Unnerve’s message. Also sorted
abilities alphabetically.
2015-07-24 14:20:14 +04:00