pokemon-showdown/test/sim/abilities
Waleed Hassan 855899b330
Fix Battle#switchIn (#6521)
Regression caused by: 47b55f96bc

`Battle#dragIn` used to run the `SwitchOut` event among other functions
but were accidentally left off in the refactor. This commit adds them back.

The main bug caused by this is Natural Cure not curing status aliments when
phased out by Roar.
2020-04-03 09:22:55 -07:00
..
aftermath.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
angerpoint.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
arenatrap.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
battlearmor.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
clearbody.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
cloudnine.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
colorchange.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
comatose.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
contrary.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
damp.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
dancer.js Make moves called by Dancer target properly (#5616) 2019-07-16 21:15:05 -04:00
deltastream.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
desolateland.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
disguise.js Fix tests to run on Gen 8 instead of Gen 7 2019-12-04 13:36:37 +09:00
dryskin.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
emergencyexit.js Add another Emergency Exit test 2020-03-20 00:36:40 +04:00
flashfire.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
flowergift.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
flowerveil.js Moves: Fix Flower Veil + Yawn interaction when ally is already under effect of Yawn 2019-07-21 14:21:42 -05:00
hungerswitch.js Add Gen 8 unit tests 2020-02-21 00:46:28 -08:00
iceface.js TypeScript event handler types 2019-11-18 07:02:32 +13:00
immunity.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
intimidate.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
klutz.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
levitate.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
lightningrod.js Refactor unit test battle formats again 2019-12-11 16:26:45 +09:00
magicbounce.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
magicguard.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
magnetpull.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
mirrorarmor.js Fix Parting Shot mechanics 2020-03-20 21:23:33 +04:00
moxie.js Revert "Fix Moxie and Beast Boost in doubles" 2020-02-23 13:46:18 +04:00
multiscale.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
mummy.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
naturalcure.js Fix Battle#switchIn (#6521) 2020-04-03 09:22:55 -07:00
neutralizinggas.js Add Gen 8 unit tests 2020-02-21 00:46:28 -08:00
normalize.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
parentalbond.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
pickpocket.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
pickup.js Refactor unit test battle formats again 2019-12-11 16:26:45 +09:00
prankster.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
pressure.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
primordialsea.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
ripen.js Add Gen 8 unit tests 2020-02-21 00:46:28 -08:00
rockhead.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
roughskin.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
screencleaner.js Add Gen 8 unit tests 2020-02-21 00:46:28 -08:00
shadowtag.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
sheerforce.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
shellarmor.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
shielddust.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
simple.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
stickyhold.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
stormdrain.js Fix Max move Lightningrod redirection 2020-02-19 01:01:58 -08:00
sturdy.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
suctioncups.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
symbiosis.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
thickfat.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
truant.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
unaware.js Add test for Unaware & spread moves (#6506) 2020-04-01 00:46:45 -07:00
unburden.js Use assert in strict mode 2020-02-20 00:39:31 -08:00
wanderingspirit.js Fix Wandering Spirit 2020-02-21 18:18:51 +04:00
wonderguard.js Use assert in strict mode 2020-02-20 00:39:31 -08:00