Commit Graph

4456 Commits

Author SHA1 Message Date
Guangcong Luo
1e39effb59 Update dex-data
This fixes an issue where Sheer Force and a few other abilities weren't
working in tooltips, and also a few other issues in PSDex.
2019-02-16 16:41:40 -06:00
Guangcong Luo
def2f7f296 Fix forme-changed icon support 2019-02-16 14:03:57 -06:00
Kris Johnson
c9dbb4d5ae Change (PU) to Untiered (#1226) 2019-02-15 17:28:45 -06:00
Guangcong Luo
9b7f3f8a4c Add a little contrast in fainted pokemon icons
This should be a slight change to make it slightly easier to identify
which Pokémon a fainted Pokémon is, while still making them easily
distinguishable from unrevealed Pokémon in VGC.
2019-02-11 15:13:25 -06:00
Konrad Borowski
48eb1aad76 Fix PP counting for Trick Room/Pressure interaction (#1225) 2019-02-07 11:50:32 -06:00
Alexander B
dcc653f878 Fix PP in tooltips (Trump Card, Pressure) (#1223) 2019-02-07 11:12:01 -06:00
Guangcong Luo
4bd843ee4c Fix Power Construct Zygarde support
This adds some hacked-in backwards compatibility.
2019-02-06 20:45:40 -06:00
HoeenHero
e2782d0140 Make named avatars persistent (#1224) 2019-02-04 16:17:50 -06:00
The Immortal
4103a6638c
Teambuilder: Support Hidden Type OM 2019-02-02 03:37:12 +04:00
Guangcong Luo
87b0a1760f Support new <<appeal>> and <<report>> redirects 2019-02-01 15:31:30 -05:00
Guangcong Luo
f2e13cf005 Update avatar IDs 2019-02-01 15:31:30 -05:00
Guangcong Luo
30cf438bde Support SPL mode 2019-02-01 15:31:30 -05:00
Marty-D
efe6c52d32
Fix Crasher Wake and Maylene avatar numbers 2019-02-01 08:15:03 -05:00
Guangcong Luo
990cf20b58 Support new avatars (by name instead of number) 2019-01-31 10:20:32 -06:00
Marty-D
e9bea8e29b
Update CAP analysis links 2019-01-31 11:19:33 -05:00
Guangcong Luo
e1bb9f64f9 Fix chat message timing 2019-01-25 19:21:01 -05:00
Guangcong Luo
03a62d5a55 Improve Roost messages
Roost now displays a hint message, making it clearer that it isn't just
a heal. This should cut down on the confused "bug reports" about it.
2019-01-25 19:21:01 -05:00
Guangcong Luo
d1d26d3720 Support grace time
We're adding support for a new server-side feature: Grace time. This
is time that's used instead of total time, on the first turn.
2019-01-25 03:16:07 -06:00
MacChaeger
a85debb615 Tournaments: Actually disable the Validate button when appropriate (#1221) 2019-01-24 23:39:37 -06:00
MacChaeger
ebb7838716 Teambuilder: update EV guesser (#1220)
Adds basic support for Metronome Battle as well as having Sand Stream on Rock types other than Tyranitar
2019-01-23 13:26:23 -06:00
Kris Johnson
e62302417c Support Untiered as a Doubles tier in teambuilder (#1216) 2019-01-22 19:00:12 -06:00
asgdf
9974caa1e9 Teambuilder: Make Trick Room first result for 'TR' (#1219) 2019-01-22 02:20:55 -06:00
asgdf
bac5c4232e Teambuilder: Fix no moves displayed for visual formes (#1217) 2019-01-19 09:46:31 -06:00
Kris Johnson
e3bc453210 Fix the gen number for teambuilder tables (#1215) 2019-01-16 15:59:58 -06:00
urkerab
2f1002edde Restore missing Grudge activation message (#1214) 2019-01-16 15:51:11 -06:00
Marty-D
80fc1bacfe
Teambuilder: Update Smogdex links 2019-01-16 15:09:58 -05:00
asgdf
81af2da87b Clear statbar of lingering expired turn statuses (#1213) 2019-01-15 10:52:36 -06:00
asgdf
3402a79466 Teambuilder: Properly label healing berry usefulness in gen 7 (#1211) 2019-01-13 21:47:00 -06:00
urkerab
00346db803 Fix crash damage message after server PR 5042 (#1210) 2019-01-13 13:28:47 -06:00
urkerab
320711ae6f Fix Fairy Lock for replays (#1212) 2019-01-13 13:22:16 -06:00
asgdf
4562f4fc2b Re-implement unlinking in battle chat (#1206) 2019-01-12 11:17:45 -06:00
Guangcong Luo
adccb29971 Add Berry weaken message 2019-01-12 07:44:05 -06:00
Guangcong Luo
3c39a968c2 Fix Flash Fire message 2019-01-11 07:57:33 -05:00
Guangcong Luo
ead82b99ee Hide "Trapped" volatile display
Currently we don't properly track when trapping (like from Mean Look)
disappears, so the message needs to be hidden.
2019-01-11 07:56:21 -05:00
Guangcong Luo
9ffbde2fd3 Animate -clearallboost faster
This makes all the time offsets for -clearallboost simultaneous.
2019-01-10 04:56:10 -06:00
Guangcong Luo
ea8d9b611d Add partial trapping moves to status table 2019-01-09 03:20:06 -06:00
Guangcong Luo
d276400937 Move makeLoadTracker from battle-dex to storage
`makeLoadTracker` is deprecated in favor of `PSObservable` in the new
client, and has no reason to remain in battle-dex, which is now has a
specific role rather than its previous role as "random useful
functions".
2019-01-09 02:33:52 -06:00
Guangcong Luo
a6bb8a47c5 Fix cosmetic forms in teambuilder 2019-01-09 02:22:24 -06:00
Kris Johnson
e8e347a8f7 Add a getTier function for the teambuilder (#1208) 2019-01-08 23:24:22 -06:00
Guangcong Luo
4e37bd0e8d Fix block messages 2019-01-07 22:46:56 -05:00
Guangcong Luo
655b7e1d99 Support ability activations in |-move|
I don't know how Magic Bounce was supported in the past, but it's
supported properly now.
2019-01-07 22:46:56 -05:00
Guangcong Luo
e489b36856 Fix Confusion message grouping 2019-01-07 21:45:58 -06:00
Guangcong Luo
fd5f54c99c Autoconvert old protocol messages
Instead of needing to support old protocol messages, we now introduce
BattleTextParser.upgradeArgs, which automatically upgrades them to new
protocol messages.

Fixes #1199
2019-01-07 21:12:00 -06:00
Kris Johnson
a18884c6f8 Let's Go: Add tooltip support for Random Battles (#1207) 2019-01-07 02:31:21 -06:00
Guangcong Luo
b3af47fa1b Fix pokemon icons in replays 2019-01-05 20:34:58 -05:00
Guangcong Luo
85855fe7b5 Fix terrain conflicts in replays 2019-01-05 19:34:39 -06:00
asgdf
4a72d9dbcd Fix Judgment/Multi-Attack/Technoblast type display in battles (#1205) 2019-01-05 17:44:31 -06:00
Guangcong Luo
310fd0dc7b Fix cosmetic form support 2019-01-05 16:10:35 -06:00
Guangcong Luo
2471482fb4 Battle.lineParse -> BattleTextParser.parseLine
BattleTextParser.parseLine -> BattleTextParser.parseArgs

This makes it so Battle depends on BattleTextParser, rather than
BattleTextParser depending on Battle.

This is probably better, because someone is way more likely to want
BattleTextParser standalone, than to want Battle standalone.

...which I'm sure matters to literally no one but me, but whatever. I
think it makes more sense this way.
2019-01-05 05:41:05 -06:00
Guangcong Luo
a05f23fd37 Use data/text.js for stats in text parser
We previously used BattleStats, but using `data/text.js` allows stat
names to be translated.
2019-01-05 05:36:50 -06:00