pokemon-showdown/test/sim
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
..
abilities Silence Mirror Armor if the source has fainted (#9359) 2023-01-29 13:12:48 -05:00
items Fix Ability Shield Levitate vs. Mold Breaker (#9353) 2023-01-24 23:23:09 -06:00
misc Tests: Reduce dependence on RNG (#9297) 2023-01-14 19:08:44 -06:00
moves Gen 2: Fix Encore (#9357) 2023-01-29 11:43:11 -07:00
team-validator Fix build 2023-01-09 15:36:56 -07:00
tools Migrate to esbuild for compilation (#9203) 2022-12-22 15:19:29 -06:00
choice-parser.js Unit Tests: Transition to Gen 9 (#9009) 2022-11-18 21:34:40 -08:00
data.js Fix build 2023-01-26 20:11:43 -07:00
decisions.js Tests: Reduce dependence on RNG (#9297) 2023-01-14 19:08:44 -06:00
dex.js Migrate to esbuild for compilation (#9203) 2022-12-22 15:19:29 -06:00
events.js