Commit Graph

76 Commits

Author SHA1 Message Date
The Immortal
95e2bc5336 Fix spacing errors 2019-12-26 18:33:40 +04:00
Kris Johnson
89c7c9419b Add viability checks for various moves (#1428) 2019-12-24 13:19:30 +09:00
Kris Johnson
a51fcba53f Teambuilder: Fix learnset and tier issues for National Dex metas (#1431)
* Teambuilder: Fix learnsets for National Dex metas

* Fix issue with banned Pokemon still showing as OU

* remove space
2019-12-22 17:39:06 +04:00
Kris Johnson
aee6b3f73c Add support for NatDex metas (#1426) 2019-12-21 06:11:22 +04:00
Guangcong Luo
683f95dade Fix misc Gen 8 issues 2019-12-13 05:57:04 -05:00
The Immortal
90eeada557
Teambuilder: Show Unreleased Pokemon in gen 8 2019-12-07 22:08:28 +04:00
Kris Johnson
586f6efa87 Fix AG in the teambuilder (#1416) 2019-12-04 10:09:22 +09:00
Kris Johnson
f8fea33334 Fix typo (#1413) 2019-12-02 15:02:14 +09:00
Kris Johnson
64e74c1ba4 Fix Ferroseed's Gen 7 Teambuilder placement for LC (#1411) 2019-12-01 23:33:37 +13:00
Kris Johnson
0d88b6baf3 Teambuilder: Restrict learnsets to pre-Home versions (#1403) 2019-11-20 22:13:55 +13:00
Kris Johnson
74ade19d95 Fix Doubles teambuilder (#1397) 2019-11-18 11:24:06 +13:00
Guangcong Luo
f3539b4dd2 Support past-gen Ability descriptions
Fixes #1396
2019-11-17 11:20:15 +13:00
Marty-D
cab7c4eab5
Fix build 2019-11-16 16:33:59 -05:00
Kris Johnson
aaaa967ba8 Fix tiering for arbitrary battleOnly formes (#1395) 2019-11-17 01:12:20 +04:00
Guangcong Luo
e8a3cd55ac Fix Darmanitan-Galar tiering 2019-11-17 09:31:45 +13:00
Guangcong Luo
cfd29205d5 Fix misc bugs in Gen 8 migration 2019-11-16 02:07:40 -05:00
Guangcong Luo
1eecc0b567 Fix Gen 8 learnsets 2019-11-15 13:54:56 -05:00
Guangcong Luo
c624c6709b Update client for Gen 8
This isn't necessarily a complete update, but it adds everything I'm
aware of. The rest will come down to testing.
2019-11-16 07:25:27 +13:00
Kirk Scheibelhut
5ba0790750 Import @pokemon-showdown/sets during build (#1368) 2019-09-13 02:38:00 -07:00
Kirk Scheibelhut
db6c938007 Standardize file/directory names in sprites/ (#1370)
#1369
2019-09-13 00:55:55 -07:00
Kirk Scheibelhut
a9bf84ba2a Fix HEAD vs. origin dupe check
git rev-parse --short sometimes returns less than 8 characters,
meaning the dedup logic is off. One alternative is just to check
origin.startsWith instead, but making them both a uniform 8 works as
well.
2019-06-16 14:10:49 -07:00
Kirk Scheibelhut
a2bbae3b35 Include origin hash in Config.version if different 2019-06-15 21:51:00 -07:00
Kirk Scheibelhut
bbad2828b0 Include commit hash in client config version (#1303) 2019-06-16 13:02:38 +09:00
Guangcong Luo
0757f3c1fa Update for new Dex API 2019-05-16 01:59:18 +04:00
Kirk Scheibelhut
575bad1cf9 toId -> toID
Zarel/Pokemon-Showdown#5479
2019-05-14 09:54:18 -07:00
asgdf
91e84d49da Teambuilder: Fix changed hidden abilities in older gens (#1266) 2019-04-20 15:08:51 +09:30
Dan Huang
2e2852f35c Add server build step to client build (#1262) 2019-04-03 11:40:45 +08:00
Guangcong Luo
e6e65dde4f Update AFD 2019 implementation
AFD messages are now disabled by `/afd off`
2019-04-01 19:18:28 +08:00
Guangcong Luo
27061397e0 Update item viability 2019-04-01 00:53:38 +08:00
asgdf
689c741526 Don't display illegal HMs as legal in Teambuilder (#1253) 2019-03-19 10:45:14 +09:00
Kris Johnson
0cb0056dae Fix teambuilder headers (#1254) 2019-03-18 22:29:47 +04:00
Guangcong Luo
eb38544200 Support serving the Preact client
If you want to access it, I'm sure you can figure out how from this
code. ;)
2019-03-17 06:21:49 -04:00
Guangcong Luo
c9e46593ba Update build tools for Sim TypeScript 2019-02-28 03:08:31 -05:00
Kris Johnson
567c7e16b8 Change Untiered to (PU) and (DUU) (#1230) 2019-02-25 01:11:06 -06:00
Kris Johnson
c9dbb4d5ae Change (PU) to Untiered (#1226) 2019-02-15 17:28:45 -06:00
Kris Johnson
e62302417c Support Untiered as a Doubles tier in teambuilder (#1216) 2019-01-22 19:00:12 -06:00
Kris Johnson
e3bc453210 Fix the gen number for teambuilder tables (#1215) 2019-01-16 15:59:58 -06:00
asgdf
3402a79466 Teambuilder: Properly label healing berry usefulness in gen 7 (#1211) 2019-01-13 21:47:00 -06:00
Kris Johnson
e8e347a8f7 Add a getTier function for the teambuilder (#1208) 2019-01-08 23:24:22 -06:00
Kris Johnson
0f3145b1ef Let's Go: Fix learnsets and happiness value (#1197) 2018-12-20 09:46:32 -08:00
Guangcong Luo
eff5359fb4 Rename Tools to Dex
This has already been done server-side, and there's no use delaying
client.
2018-12-05 21:11:47 -06:00
The Immortal
1ef228ebcb
Let's Go: Remove UUBL classification 2018-12-04 17:16:49 +04:00
Kris Johnson
7b65496bed Let's Go: Update tiers (client-side) (#1189) 2018-12-04 01:22:20 -06:00
Guangcong Luo
9024ce99be Fix minidex building 2018-11-29 16:12:00 -05:00
Kris Johnson
460ee1ad26 Add learnset support for Let's Go (#1177) 2018-11-25 15:56:50 -06:00
Guangcong Luo
096f037a07 Put battle text in battledata.js
This makes it so a regular build will rebuild battle text, instead of
requiring a full build.

battle text is under active development, so this is pretty useful,
even if conceptually, text is purely a graphical thing and not actually
needed by headless battles.
2018-11-24 01:14:28 -06:00
Guangcong Luo
01bdf7808b Don't build minidex if no sprites folder
This prevents PS from disabling sprite animations if someone runs
`./build full` without having sprites.
2018-11-24 01:14:28 -06:00
Kris Johnson
44d669f74d Add more teambuilder support for Let's Go (#1169) 2018-11-22 00:10:23 -06:00
Guangcong Luo
f6c03e0370 Implement new battle-text-parser
All battle text messages have been moved out of `src/battle.ts` and
into its own file `data/text.js`.

Code for handling this is in the new files `src/battle-log.ts` and
`src/battle-text-parser.ts`.

`data/text.js` is now extremely self-contained, and nearly ready for
translation support!

This is a significant modernization of battle.ts. In addition to moving
messages out:

Functions for getting names (`pokemon.getLowerName()` etc) have been
removed.

`battle.minorQueue` has been removed. Minor lines are now processed
directly on the main queue, with a new `battle.waitForAnimations`
flag to decide whether or not the main queue should wait for animations
to finish before moving on to the next line.

`battle.waitForResult()` and `battle.endPrevAction()` have been
removed. These confusingly-named functions closed the messagebar (and
flush the minor queue). They've been replaced with
`scene.maybeCloseMessagebar()`.

`pokemon.markMove()` and `pokemon.markAbility()` have been renamed
`pokemon.rememberMove()` and `pokemon.rememberAbility()`.
2018-11-15 18:52:53 -06:00
Guangcong Luo
5f05adc856 Split battle-log.ts off from battle-dex.ts
This splits battle-dex.ts up into:

- `battle-dex.ts`
  - dex data access, misc tools
- `battle-log.ts`
  - manipulating HTML, especially in battle logs

This turned out to be a pretty significant portion of what was
previously battle-dex.
2018-11-15 18:52:53 -06:00