pokemon-showdown/test
livid washed c0d74ea24e
Gen 2: Fix Encore (#9357)
* Gen 2: revert Mirror Move fix, since it is bugging Encore

* Use a volatile for checking if a Pokemon has a last move for Mirror Move purposes

* conversion2

* Disable

* Mimic

* Spite

* Do mirror move in onTryHit

* Gen 1 shouldn't inherit onTryHit for mirror move and mimic

* Commenting

* Instead of using a volatile, add a new field for a pokemon 'lastMoveEncore' used only in gen 2 and only for Encore

* Add test for Gen 2 Encore
2023-01-29 11:43:11 -07:00
..
lib Tests: Skip SQLite tests if not installed 2023-01-05 09:29:53 -06:00
random-battles Gen 8 Random Battle: Fix lead bugs (#9274) 2023-01-03 12:12:10 -06:00
replays
server Migrate to esbuild for compilation (#9203) 2022-12-22 15:19:29 -06:00
sim Gen 2: Fix Encore (#9357) 2023-01-29 11:43:11 -07:00
tools Migrate to esbuild for compilation (#9203) 2022-12-22 15:19:29 -06:00
assert.js Migrate to esbuild for compilation (#9203) 2022-12-22 15:19:29 -06:00
common.js Update Free-For-All to Gen 9 2023-01-29 00:06:58 -07:00
main.js Tests: Quote path to build script (#9242) 2022-12-29 18:37:03 -08:00
TESTS.md Tests: Reduce dependence on RNG (#9297) 2023-01-14 19:08:44 -06:00
users-utils.js Migrate to esbuild for compilation (#9203) 2022-12-22 15:19:29 -06:00