@pkmn/sim 0.5.13 → 0.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/build/config/formats.js +151 -145
  2. package/build/config/formats.js.map +1 -1
  3. package/build/data/aliases.js +2 -2
  4. package/build/data/aliases.js.map +1 -1
  5. package/build/data/conditions.js +4 -1
  6. package/build/data/conditions.js.map +1 -1
  7. package/build/data/formats-data.js +3 -3
  8. package/build/data/formats-data.js.map +1 -1
  9. package/build/data/items.js +4 -2
  10. package/build/data/items.js.map +1 -1
  11. package/build/data/learnsets.js +5 -4
  12. package/build/data/learnsets.js.map +1 -1
  13. package/build/data/mods/gen1/formats-data.js +32 -32
  14. package/build/data/mods/gen1/formats-data.js.map +1 -1
  15. package/build/data/mods/gen1/scripts.js +1 -1
  16. package/build/data/mods/gen1/scripts.js.map +1 -1
  17. package/build/data/mods/gen2/items.js +28 -0
  18. package/build/data/mods/gen2/items.js.map +1 -1
  19. package/build/data/mods/gen2/moves.js +2 -5
  20. package/build/data/mods/gen2/moves.js.map +1 -1
  21. package/build/data/mods/gen3/items.js +28 -0
  22. package/build/data/mods/gen3/items.js.map +1 -1
  23. package/build/data/mods/gen3/moves.js +0 -3
  24. package/build/data/mods/gen3/moves.js.map +1 -1
  25. package/build/data/mods/gen4/abilities.js +20 -0
  26. package/build/data/mods/gen4/abilities.js.map +1 -1
  27. package/build/data/mods/gen4/items.js +28 -0
  28. package/build/data/mods/gen4/items.js.map +1 -1
  29. package/build/data/mods/gen4/moves.js +16 -9
  30. package/build/data/mods/gen4/moves.js.map +1 -1
  31. package/build/data/mods/gen5/items.js +0 -4
  32. package/build/data/mods/gen5/items.js.map +1 -1
  33. package/build/data/mods/gen6/items.js +24 -0
  34. package/build/data/mods/gen6/items.js.map +1 -1
  35. package/build/data/mods/gen7/abilities.js +31 -0
  36. package/build/data/mods/gen7/abilities.js.map +1 -1
  37. package/build/data/mods/gen7/items.js +12 -0
  38. package/build/data/mods/gen7/items.js.map +1 -1
  39. package/build/data/mods/gen7/moves.js +14 -0
  40. package/build/data/mods/gen7/moves.js.map +1 -1
  41. package/build/data/moves.js +45 -20
  42. package/build/data/moves.js.map +1 -1
  43. package/build/data/rulesets.js +71 -0
  44. package/build/data/rulesets.js.map +1 -1
  45. package/build/data/tags.js +3 -3
  46. package/build/data/tags.js.map +1 -1
  47. package/build/data/text/moves.js +8 -8
  48. package/build/data/text/moves.js.map +1 -1
  49. package/build/sim/battle-actions.js +3 -3
  50. package/build/sim/battle-actions.js.map +1 -1
  51. package/build/sim/battle-queue.d.ts +2 -2
  52. package/build/sim/battle-queue.js +8 -0
  53. package/build/sim/battle-queue.js.map +1 -1
  54. package/build/sim/battle.js +46 -6
  55. package/build/sim/battle.js.map +1 -1
  56. package/build/sim/dex-conditions.d.ts +2 -2
  57. package/build/sim/dex-conditions.js.map +1 -1
  58. package/build/sim/dex-data.js +0 -1
  59. package/build/sim/dex-data.js.map +1 -1
  60. package/build/sim/dex-moves.d.ts +2 -1
  61. package/build/sim/dex-moves.js.map +1 -1
  62. package/build/sim/pokemon.js +18 -5
  63. package/build/sim/pokemon.js.map +1 -1
  64. package/build/sim/team-validator.js +1 -1
  65. package/build/sim/team-validator.js.map +1 -1
  66. package/config/formats.ts +156 -150
  67. package/data/aliases.ts +2 -2
  68. package/data/conditions.ts +4 -1
  69. package/data/formats-data.ts +3 -3
  70. package/data/items.ts +4 -2
  71. package/data/learnsets.ts +5 -4
  72. package/data/mods/gen1/formats-data.ts +32 -32
  73. package/data/mods/gen1/scripts.ts +1 -1
  74. package/data/mods/gen2/items.ts +28 -0
  75. package/data/mods/gen2/moves.ts +2 -5
  76. package/data/mods/gen3/items.ts +28 -0
  77. package/data/mods/gen3/moves.ts +0 -3
  78. package/data/mods/gen4/abilities.ts +20 -0
  79. package/data/mods/gen4/items.ts +28 -0
  80. package/data/mods/gen4/moves.ts +15 -10
  81. package/data/mods/gen5/items.ts +0 -4
  82. package/data/mods/gen6/items.ts +24 -0
  83. package/data/mods/gen7/abilities.ts +31 -0
  84. package/data/mods/gen7/items.ts +12 -0
  85. package/data/mods/gen7/moves.ts +14 -0
  86. package/data/moves.ts +45 -19
  87. package/data/rulesets.ts +70 -0
  88. package/data/tags.ts +3 -3
  89. package/data/text/moves.ts +8 -8
  90. package/package.json +2 -2
  91. package/sim/battle-actions.ts +3 -4
  92. package/sim/battle-queue.ts +10 -2
  93. package/sim/battle.ts +43 -6
  94. package/sim/dex-conditions.ts +6 -2
  95. package/sim/dex-data.ts +0 -1
  96. package/sim/dex-moves.ts +2 -1
  97. package/sim/pokemon.ts +19 -7
  98. package/sim/team-validator.ts +1 -1
package/config/formats.ts CHANGED
@@ -208,7 +208,8 @@ export const Formats: FormatList = [
208
208
  'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Dialga', 'Dragonite', 'Eternatus', 'Genesect', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Jirachi',
209
209
  'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mew', 'Mewtwo', 'Mimikyu', 'Necrozma', 'Necrozma-Dawn-Wings',
210
210
  'Necrozma-Dusk-Mane', 'Palkia', 'Rayquaza', 'Reshiram', 'Sableye', 'Snorlax', 'Solgaleo', 'Victini', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned',
211
- 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Moody', 'Power Construct', 'Bright Powder', 'Focus Band', 'Focus Sash', 'Lax Incense', 'Quick Claw', 'Perish Song',
211
+ 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Moody', 'Power Construct', 'Bright Powder', 'Focus Band', 'Focus Sash', 'Lax Incense', 'Quick Claw',
212
+ 'Acupressure', 'Hypnosis', 'Perish Song', 'Sing',
212
213
  ],
213
214
  },
214
215
  {
@@ -234,7 +235,7 @@ export const Formats: FormatList = [
234
235
  mod: 'gen8',
235
236
  ruleset: ['[Gen 8] PU'],
236
237
  banlist: [
237
- 'PU', 'Arctovish', 'Aurorus', 'Centiskorch', 'Drampa', 'Exeggutor-Alola', 'Gallade', 'Haunter', 'Magmortar', 'Magneton', 'Omastar',
238
+ 'PU', 'Arctovish', 'Aurorus', 'Basculin', 'Centiskorch', 'Drampa', 'Exeggutor-Alola', 'Gallade', 'Haunter', 'Magmortar', 'Magneton', 'Omastar',
238
239
  'Rotom-Frost', 'Turtonator', 'Vanilluxe', 'Vikavolt', 'Silvally-Dragon', 'Silvally-Ground', 'Sneasel', 'Damp Rock', 'Grassy Seed',
239
240
  ],
240
241
  },
@@ -403,10 +404,10 @@ export const Formats: FormatList = [
403
404
  'Standard Doubles', 'Accuracy Moves Clause', 'Dynamax Clause', 'Sleep Clause Mod',
404
405
  ],
405
406
  banlist: [
406
- 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Eternatus', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Jirachi', 'Kyogre',
407
- 'Kyurem-White', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mewtwo', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia',
408
- 'Rayquaza', 'Reshiram', 'Solgaleo', 'Tornadus-Base', 'Urshifu-Base', 'Urshifu-Rapid-Strike', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned',
409
- 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Moody', 'Power Construct', 'Focus Sash', 'Ally Switch', 'Final Gambit', 'Perish Song', 'Swagger',
407
+ 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Eternatus', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Jirachi', 'Kyogre', 'Kyurem-White',
408
+ 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mewtwo', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Rayquaza', 'Reshiram',
409
+ 'Solgaleo', 'Tornadus-Base', 'Urshifu-Base', 'Urshifu-Rapid-Strike', 'Whimsicott', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta',
410
+ 'Zamazenta-Crowned', 'Zekrom', 'Moody', 'Power Construct', 'Focus Sash', 'Ally Switch', 'Final Gambit', 'Perish Song', 'Swagger',
410
411
  ],
411
412
  },
412
413
  {
@@ -480,7 +481,7 @@ export const Formats: FormatList = [
480
481
  mod: 'gen8',
481
482
  ruleset: ['Standard NatDex', 'OHKO Clause', 'Evasion Moves Clause', 'Species Clause', 'Dynamax Clause', 'Sleep Clause Mod'],
482
483
  banlist: [
483
- 'Alakazam-Mega', 'Arceus', 'Blastoise-Mega', 'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darkrai',
484
+ 'Alakazam-Mega', 'Arceus', 'Blastoise-Mega', 'Blaziken-Mega', 'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darkrai',
484
485
  'Darmanitan-Galar', 'Deoxys-Attack', 'Deoxys-Base', 'Deoxys-Speed', 'Dialga', 'Dracovish', 'Dragapult', 'Eternatus',
485
486
  'Genesect', 'Gengar-Mega', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kangaskhan-Mega', 'Kyogre', 'Kyurem-Black',
486
487
  'Kyurem-White', 'Landorus-Base', 'Lucario-Mega', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Metagross-Mega', 'Mewtwo',
@@ -508,11 +509,9 @@ export const Formats: FormatList = [
508
509
  'Magnezone', 'Mawile-Mega', 'Pelipper', 'Rillaboom', 'Scizor-Mega', 'Serperior', 'Slowbro-Base', 'Swampert-Mega', 'Tapu Fini',
509
510
  'Tapu Koko', 'Tapu Lele', 'Toxapex', 'Tyranitar', 'Victini', 'Volcarona', 'Weavile', 'Zapdos-Base',
510
511
  'ND UUBL', // National Dex UUBL
511
- 'Drizzle', 'Drought',
512
+ 'Drizzle', 'Drought', 'Light Clay',
512
513
  // Slowbronite is banned so it doesn't validate on Galarian Slowbro
513
514
  'Slowbronite',
514
- // Ban for ou suspect
515
- 'Blaziken-Mega',
516
515
  ],
517
516
  // Used to distinguish UU from below UU in the client
518
517
  restricted: [
@@ -560,63 +559,41 @@ export const Formats: FormatList = [
560
559
  section: "Pet Mods",
561
560
  },
562
561
  {
563
- name: "[Gen 8] Alternatium",
564
- desc: `A metagame made up of only Pokémon with alternate forms, with all of them being separate and unique.`,
562
+ name: "[Gen 8] Restrictions",
563
+ desc: `A metagame made up of brand new Pokémon that are made according to various random and non-random restrictions.`,
565
564
  threads: [
566
- `&bullet; <a href="https://www.smogon.com/forums/threads/3683767/">Alternatium</a>`,
567
- `&bullet; <a href="https://docs.google.com/spreadsheets/d/1bvvkPg1CrUBJFJJeuwkts8elfJcEcahGOoHm-vGBXOI/edit?usp=sharing">Spreadsheet</a>`,
565
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3673824/">Restrictions</a>`,
566
+ `&bullet; <a href="https://docs.google.com/spreadsheets/d/1XsplBqN8njHZJT9cTP_3i3YSFITB9WaVfNOYAbNY75M/edit?usp=sharing">Spreadsheet</a>`,
568
567
  ],
569
-
570
- mod: 'alternatium',
571
- ruleset: ['Standard NatDex', 'Z-Move Clause', 'OHKO Clause', 'Evasion Moves Clause', 'Dynamax Clause', 'Sleep Clause Mod'],
568
+ mod: 'restrictions',
569
+ ruleset: ['Standard', 'Dynamax Clause'],
572
570
  banlist: ['All Pokemon', 'Past'],
573
571
  unbanlist: [
574
- 'Silvally', 'Silvally-Bug', 'Silvally-Dark', 'Silvally-Dragon', 'Silvally-Electric', 'Silvally-Fairy', 'Silvally-Fighting', 'Silvally-Fire', 'Silvally-Flying', 'Silvally-Ghost',
575
- 'Silvally-Grass', 'Silvally-Ground', 'Silvally-Ice', 'Silvally-Poison', 'Silvally-Psychic', 'Silvally-Rock', 'Silvally-Steel', 'Silvally-Water', 'Pikachu', 'Pikachu-Rock-Star',
576
- 'Pikachu-Belle', 'Pikachu-Idol', 'Pikachu-PhD', 'Pikachu-Libre', 'Pikachu-Partner', 'Pikachu-Starter', 'Darmanitan', 'Darmanitan-Zen', 'Darmanitan-Galar', 'Darmanitan-Galar-Zen',
577
- 'Aegishield', 'Aegislash', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Rotom', 'Rotom-Heat', 'Rotom-Wash', 'Rotom-Frost', 'Rotom-Fan', 'Rotom-Mow', 'Dugtrio',
578
- 'Dugtrio-Alola', 'Muk', 'Muk-Oilslick', 'Slowbro', 'Slowbro-Galar', 'Slowking', 'Slowking-Galar', 'Tornadus', 'Cummulus', 'Thundurus', 'Thundurus-Therian', 'Landorus', 'Landorus-Bengal',
579
- 'Vivillon-Fancy', 'Vivillon', 'Vivillon-Pokeball', 'Genesect', 'Genesect-Password', 'Genesect-Molten', 'Genesect-Freezer', 'Genesect-Type-Delta', 'Groudon', 'Groudon-Primal', 'Kyogre',
580
- 'Kyogre-Primal', 'Deoxys-Wood', 'Deoxys-Gem', 'Deoxys-Tank', 'Deoxys-Speed', 'Sandslash-Lustrous', 'Sandslash-Alola', 'Ninetales-Steamwork', 'Ninetales-Alola', 'Giratina', 'Giratina-Shadow',
581
- 'Eternatus', 'Manustorm', 'Exeggutor', 'Exeggutor-Lighthouse', 'Weezing', 'Weezing-King', 'Raticate', 'Raticate-Alola', 'Linoone', 'Linoone-Punk', 'Catastroform', 'Castform-Firestorm',
582
- 'Castform-Thunderstorm', 'Castform-Snowy', 'Wormadam', 'Wormadam-Sandy', 'Fibormadam', 'Farfetch\u2019d', 'Farfetch\u2019d-Galar', 'Corsola', 'Corsoul', 'Shaymin', 'Shaymin-Sky', 'Keldeo',
583
- 'Swordeo', 'Meloetta', 'Meloetta-Fighter', 'Lycanday', 'Lycanroc-Spectre', 'Lycanroc-Dusk', 'Gourgeist', 'Gourgeist-Fae', 'Gourgeist-Pulpy', 'Supergeist', 'Cramorant', 'Cramorant-Swimmer',
584
- 'Cramorant-Gorging', 'Eiscue', 'Eiscue-Noice', 'Mimikyu', 'Mimikyu-Sparkstone', 'Morpeko-Marsh', 'Morvilant', 'Zygarde-Wyrm', 'Zygarde-Canid', 'Zygarde-Goliath',
585
- ],
586
- onValidateTeam(team, format) {
587
- const speciesTable = new Set<string>();
588
- for (const set of team) {
589
- const species = this.dex.species.get(set.species);
590
- if (speciesTable.has(species.id)) {
591
- return [
592
- `You are limited to one of each Pokémon by Species Clause (except for different formes).`,
593
- `(You have more than one ${species.id}.)`,
594
- ];
595
- }
596
- speciesTable.add(species.id);
597
- }
598
- },
572
+ 'Vulcaraptor', 'Parakinesis', 'Serpaint', 'Torgeist', 'Regolite', 'Polbearab', 'Centhorn', 'Donzyxote', 'Scimicobra', 'Folliclawe', 'Afloof', 'Nimbusteed',
573
+ 'Aerock', 'Borassa', 'Sharm', 'Nunopod', 'Crypterid', 'Abysseil', 'Faerenheit', 'Spiriteal', 'Zoltanka', 'Flydra', 'Coracrab', 'Quadringo', 'Teslaple',
574
+ 'Kapagon', 'Cyknight', 'Dirtoad', 'Crystelf', 'Rancourgar', 'Scalaron', 'Dragraceful', 'Tantrary', 'Modolith', 'Snailord', 'Arbrella', 'Draugelid',
575
+ 'Cinnastar', 'Refluse', 'Kelven', 'Kodokai', 'Cindarner', 'Thucotuco', 'Sorree', 'Gembezzle', 'Winterloper', 'Agapest', 'Volvolpa', 'Punduluum', 'Wraithful',
576
+ 'Panzarma', 'Krachiten', 'Cellsius', 'Borelem', 'Electangle', 'Orchile', 'Shinodori', 'Fluidrake', 'Potossum', 'Twygdrasill',
577
+ ],
599
578
  },
600
579
  {
601
- name: "[Gen 8] Random Dex",
602
- desc: `A micrometagame project consisting of 80 randomly selected fully-evolved Pok&eacute;mon.`,
580
+ name: "[Gen 8] Roulettemons Random Battle",
603
581
  threads: [
604
- `&bullet; <a href="https://www.smogon.com/forums/threads/3690182/">Random Dex</a>`,
605
- ],
606
-
607
- mod: 'randomdex',
608
- ruleset: ['Standard NatDex', 'OHKO Clause', 'Evasion Moves Clause', 'Species Clause', 'Dynamax Clause', 'Sleep Clause Mod'],
609
- banlist: ['All Pokemon', 'Past', 'Arena Trap', 'Moody', 'Shadow Tag', 'Baton Pass', 'Bright Powder', 'Lax Incense', 'King\'s Rock', 'Razor Fang', 'Kangaskhanite', 'Medichamite', 'Kommonium Z'],
610
- unbanlist: [
611
- 'Absol', 'Absol-Mega', 'Appletun', 'Articuno', 'Aurorus', 'Basculin', 'Beartic', 'Bisharp', 'Calyrex', 'Camerupt', 'Camerupt-Mega',
612
- 'Celesteela', 'Cloyster', 'Crawdaunt', 'Cursola', 'Dedenne', 'Delibird', 'Eelektross', 'Espeon', 'Flapple', 'Flareon', 'Flygon',
613
- 'Galvantula', 'Girafarig', 'Glaceon', 'Goodra', 'Gourgeist', 'Grimmsnarl', 'Guzzlord', 'Heliolisk', 'Hitmonchan', 'Hitmonlee',
614
- 'Hitmontop', 'Incineroar', 'Indeedee', 'Jolteon', 'Kangaskhan', 'Kommo-o', 'Lanturn', 'Leafeon', 'Leavanny', 'Ludicolo', 'Lunatone',
615
- 'Luvdisc', 'Machamp', 'Mandibuzz', 'Medicham', 'Nihilego', 'Palossand', 'Pidgeot', 'Pidgeot-Mega', 'Probopass', 'Pyroar', 'Sawk',
616
- 'Sceptile', 'Sceptile-Mega', 'Scolipede', 'Shiftry', 'Simisage', 'Slowbro', 'Slowbro-Mega', 'Slowking', 'Swoobat', 'Sylveon',
617
- 'Tapu Bulu', 'Tapu Fini', 'Tauros', 'Typhlosion', 'Umbreon', 'Ursaring', 'Vaporeon', 'Whiscash', 'Wishiwashi', 'Zebstrika', 'Absolite',
618
- 'Pidgeotite', 'Sceptilite', 'Cameruptite', 'Slowbronite',
582
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3649106/">Roulettemons</a>`,
583
+ `&bullet; <a href="https://docs.google.com/spreadsheets/d/1EOA1m7JXTq7Zz0ViVI4n6lBppFjVBa4S1GqhAwkPTZQ/edit?usp=sharing">Spreadsheet</a>`,
619
584
  ],
585
+ team: 'random',
586
+ mod: 'roulettemons',
587
+ ruleset: ['Standard NatDex'],
588
+ onSwitchIn(pokemon) {
589
+ this.add('-start', pokemon, 'typechange', pokemon.species.types.join('/'), '[silent]');
590
+ },
591
+ onChangeSet(set) {
592
+ if (set.species === 'Chillyte-Mega') {
593
+ set.species = 'Chillyte';
594
+ set.ability = 'Grassy Surge';
595
+ }
596
+ },
620
597
  },
621
598
  {
622
599
  name: "[Gen 6] NEXT OU",
@@ -639,42 +616,45 @@ export const Formats: FormatList = [
639
616
  column: 2,
640
617
  },
641
618
  {
642
- name: "[Gen 8] Sketchmons",
643
- desc: `Every Pok&eacute;mon gets a new move once.`,
619
+ name: "[Gen 8] Crazyhouse",
620
+ desc: `Pok&eacute;mon you KO are added to your team and removed from the opponent's, and vice versa.`,
644
621
  threads: [
645
- `&bullet; <a href="https://www.smogon.com/forums/threads/3680298/">Sketchmons</a>`,
622
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3699268/">Crazyhouse</a>`,
646
623
  ],
647
624
 
648
625
  mod: 'gen8',
649
- ruleset: ['Standard', 'Sketchmons Move Legality', 'Dynamax Clause'],
626
+ ruleset: ['Standard', 'Crazyhouse Rule', 'Dynamax Clause', 'Sleep Moves Clause', 'Evasion Abilities Clause', '!Sleep Clause Mod'],
650
627
  banlist: [
651
- 'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Dragapult', 'Eternatus', 'Genesect', 'Giratina',
652
- 'Giratina-Origin', 'Groudon', 'Hawlucha', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala',
653
- 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Porygon-Z', 'Pheromosa', 'Rayquaza', 'Regieleki',
654
- 'Reshiram', 'Rillaboom', 'Shedinja', 'Solgaleo', 'Spectrier', 'Swoobat', 'Tapu Bulu', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned',
655
- 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zeraora', 'Zygarde-Base', 'Arena Trap', 'Magnet Pull', 'Moody', 'Power Construct', 'Sand Rush',
656
- 'Shadow Tag', 'King\'s Rock', 'Baton Pass',
657
- ],
658
- restricted: [
659
- 'Acupressure', 'Astral Barrage', 'Belly Drum', 'Bolt Beak', 'Clangorous Soul', 'Double Iron Bash', 'Electrify', 'Extreme Speed', 'Fishious Rend',
660
- 'Geomancy', 'Glacial Lance', 'Lovely Kiss', 'No Retreat', 'Oblivion Wing', 'Octolock', 'Quiver Dance', 'Secret Sword', 'Shell Smash', 'Shift Gear',
661
- 'Sleep Powder', 'Spore', 'Thousand Arrows', 'Transform', 'V-create', 'Wicked Blow',
628
+ 'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina',
629
+ 'Giratina-Origin', 'Groudon', 'Hawlucha', 'Ho-Oh', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia',
630
+ 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa',
631
+ 'Rayquaza', 'Reshiram', 'Solgaleo', 'Spectrier', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta',
632
+ 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag', 'Bright Powder',
633
+ 'King\'s Rock', 'Lax Incense', 'Baton Pass', 'Explosion', 'Final Gambit', 'Healing Wish', 'Lunar Dance', 'Memento',
634
+ 'Misty Explosion', 'Self-Destruct',
662
635
  ],
663
636
  },
664
637
  {
665
- name: "[Gen 8] Flipped",
666
- desc: `Pok&eacute;mon have their base stats flipped.`,
638
+ name: "[Gen 8] Pokebilities AAA",
639
+ desc: `Pok&eacute;mon have all of their released abilities simultaneously alongside any additional ability.`,
667
640
  threads: [
668
- `&bullet; <a href="https://www.smogon.com/forums/threads/3662020/">Flipped</a>`,
641
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8821047">Pok&eacute;bilities AAA</a>`,
669
642
  ],
670
643
 
671
- mod: 'gen8',
672
- ruleset: ['Standard', 'Flipped Mod', 'Dynamax Clause'],
644
+ mod: 'pokebilities',
645
+ ruleset: ['[Gen 8] Pokebilities', '!Obtainable Abilities', 'AAA Restricted Abilities', '2 Ability Clause', 'Sleep Moves Clause', '!Sleep Clause Mod'],
673
646
  banlist: [
674
- 'Azumarill', 'Blissey', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Eternatus', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre',
675
- 'Kyurem-Black', 'Kyurem-White', 'Lugia', 'Lunala', 'Marshadow', 'Melmetal', 'Mewtwo', 'Necrozma-Dawn Wings', 'Necrozma-Dusk Mane', 'Palkia',
676
- 'Rayquaza', 'Reshiram', 'Solgaleo', 'Steelix', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom',
677
- 'Zygarde-Base', 'Arena Trap', 'Moody', 'Power Construct', 'Psychic Surge', 'Shadow Tag', 'Baton Pass', 'Psychic Terrain', 'Shell Smash',
647
+ 'Blacephalon', 'Buzzwole', 'Clefable', 'Dragapult', 'Dragonite', 'Kartana', 'Keldeo', 'Kyurem', 'Melmetal', 'Mienshao',
648
+ 'Obstagoon', 'Noivern', 'Pangoro', 'Perrserker', 'Rillaboom', 'Tapu Bulu', 'Tapu Lele', 'Urshifu', 'Urshifu-Rapid-Strike',
649
+ 'Victini', 'Weavile', 'Zamazenta-Crowned', 'Arena Trap', 'Moody', 'Shadow Tag', 'Wonder Guard', 'Chlorophyll + Desolate Land',
650
+ 'Chlorophyll + Drought', 'Electric Surge + Surge Surfer', 'Regenerator + Emergency Exit', 'Regenerator + Multiscale',
651
+ 'Regenerator + Shadow Shield', 'Regenerator + Wimp Out', 'Sand Rush + Sand Stream', 'Slush Rush + Snow Warning', 'Swift Swim + Drizzle',
652
+ 'Swift Swim + Primordial Sea', 'Regenerator > 2',
653
+ ],
654
+ restricted: [
655
+ 'Comatose', 'Contrary', 'Fluffy', 'Fur Coat', 'Gorilla Tactics', 'Huge Power', 'Ice Scales', 'Illusion', 'Imposter', 'Innards Out',
656
+ 'Intrepid Sword', 'Libero', 'Magnet Pull', 'Neutralizing Gas', 'Parental Bond', 'Poison Heal', 'Prankster', 'Protean',
657
+ 'Pure Power', 'Simple', 'Stakeout', 'Stench', 'Speed Boost', 'Tinted Lens', 'Unburden', 'Water Bubble',
678
658
  ],
679
659
  },
680
660
 
@@ -870,9 +850,9 @@ export const Formats: FormatList = [
870
850
  mod: 'gen8',
871
851
  ruleset: ['Standard', 'Dynamax Clause', 'Sleep Moves Clause'],
872
852
  banlist: [
873
- 'Blissey', 'Calyrex-Shadow', 'Chansey', 'Dragapult', 'Eternatus', 'Hawlucha', 'Marowak-Alola', 'Melmetal', 'Pikachu',
874
- 'Toxapex', 'Xerneas', 'Zacian', 'Zacian-Crowned', 'Uber > 1', 'AG ++ Uber > 1', 'Arena Trap', 'Huge Power', 'Moody',
875
- 'Pure Power', 'Shadow Tag', 'Swift Swim', 'Bright Powder', 'Focus Band', 'King\'s Rock', 'Lax Incense', 'Quick Claw',
853
+ 'Blissey', 'Calyrex-Shadow', 'Chansey', 'Crawdaunt', 'Dragapult', 'Eternatus', 'Hawlucha', 'Marowak-Alola', 'Melmetal',
854
+ 'Pikachu', 'Toxapex', 'Xerneas', 'Zacian', 'Zacian-Crowned', 'Uber > 1', 'AG ++ Uber > 1', 'Arena Trap', 'Huge Power',
855
+ 'Moody', 'Pure Power', 'Shadow Tag', 'Swift Swim', 'Bright Powder', 'Focus Band', 'King\'s Rock', 'Lax Incense', 'Quick Claw',
876
856
  'Baton Pass',
877
857
  ],
878
858
  onValidateTeam(team) {
@@ -1049,11 +1029,7 @@ export const Formats: FormatList = [
1049
1029
  ],
1050
1030
 
1051
1031
  mod: 'gen8bdsp',
1052
- ruleset: ['Standard', 'Same Type Clause'],
1053
- banlist: [
1054
- 'Arceus', 'Darkrai', 'Dialga', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Lugia', 'Mewtwo', 'Palkia', 'Rayquaza', 'Shaymin-Sky',
1055
- 'Arena Trap', 'Moody', 'Shadow Tag', 'Damp Rock', 'King\'s Rock', 'Razor Fang', 'Baton Pass',
1056
- ],
1032
+ ruleset: ['[Gen 8 BDSP] OU', 'Same Type Clause'],
1057
1033
  },
1058
1034
  {
1059
1035
  name: "[Gen 8 BDSP] CAP",
@@ -2425,40 +2401,36 @@ export const Formats: FormatList = [
2425
2401
  column: 3,
2426
2402
  },
2427
2403
  {
2428
- name: "[Gen 5] UU",
2404
+ name: "[Gen 6] UU",
2429
2405
  threads: [
2430
- `&bullet; <a href="https://www.smogon.com/forums/threads/3474024/">BW2 UU Viability Rankings</a>`,
2431
- `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
2406
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/uu/">ORAS UU Banlist</a>`,
2407
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3598164/">ORAS UU Viability Rankings</a>`,
2432
2408
  ],
2433
2409
 
2434
- mod: 'gen5',
2410
+ mod: 'gen6',
2435
2411
  // searchShow: false,
2436
- ruleset: ['Standard', 'Evasion Abilities Clause', 'Swagger Clause', 'Sleep Clause Mod'],
2437
- banlist: ['Uber', 'OU', 'UUBL', 'Arena Trap', 'Drought', 'Sand Stream', 'Snow Warning', 'Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
2412
+ ruleset: ['[Gen 6] OU'],
2413
+ banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
2438
2414
  },
2439
2415
  {
2440
- name: "[Gen 5] NU",
2441
- threads: [
2442
- `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
2443
- `&bullet; <a href="https://www.smogon.com/forums/threads/3484121/">BW2 NU Viability Rankings</a>`,
2444
- ],
2416
+ name: "[Gen 4] Anything Goes",
2445
2417
 
2446
- mod: 'gen5',
2418
+ mod: 'gen4',
2447
2419
  // searchShow: false,
2448
- ruleset: ['[Gen 5] RU', '!Sleep Moves Clause', 'Sleep Clause Mod'],
2449
- banlist: ['RU', 'NUBL', 'Assist', 'Copycat'],
2420
+ ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
2450
2421
  },
2451
2422
  {
2452
- name: "[Gen 6] PU",
2423
+ name: "[Gen 7] RU",
2453
2424
  threads: [
2454
- `&bullet; <a href="https://www.smogon.com/dex/xy/tags/pu/">ORAS PU Banlist</a>`,
2455
- `&bullet; <a href="https://www.smogon.com/forums/threads/3528743/">ORAS PU Viability Rankings</a>`,
2425
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645338/">USM RU Sample Teams</a>`,
2426
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645873/">USM RU Viability Rankings</a>`,
2456
2427
  ],
2457
2428
 
2458
- mod: 'gen6',
2429
+ mod: 'gen7',
2459
2430
  // searchShow: false,
2460
- ruleset: ['[Gen 6] NU'],
2461
- banlist: ['NU', 'PUBL', 'Chatter'],
2431
+ ruleset: ['[Gen 7] UU'],
2432
+ banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2433
+ unbanlist: ['Drought'],
2462
2434
  },
2463
2435
 
2464
2436
  // Past Gens OU
@@ -2668,22 +2640,12 @@ export const Formats: FormatList = [
2668
2640
  name: "[Gen 6] Pure Hackmons",
2669
2641
  desc: `Anything that can be hacked in-game and is usable in local battles is allowed.`,
2670
2642
  threads: [
2671
- `&bullet; <a href="https://www.smogon.com/forums/posts/8111004/">ORAS Pure Hackmons</a>`,
2643
+ `&bullet; <a href="https://www.smogon.com/forums/posts/9029427/">ORAS Pure Hackmons</a>`,
2672
2644
  ],
2673
2645
 
2674
2646
  mod: 'gen6',
2675
2647
  ruleset: ['-Nonexistent', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause', 'EV limit = 510'],
2676
2648
  },
2677
- {
2678
- name: "[Gen 5] ZU",
2679
- threads: [
2680
- `&bullet; <a href="https://www.smogon.com/forums/posts/8034680/">BW2 ZU</a>`,
2681
- ],
2682
-
2683
- mod: 'gen5',
2684
- ruleset: ['[Gen 5] PU'],
2685
- banlist: ['PU', 'Dragonair', 'Glalie', 'Machoke', 'Marowak', 'Omanyte', 'Regigigas', 'Trubbish', 'Whirlipede', 'Baton Pass'],
2686
- },
2687
2649
 
2688
2650
  // US/UM Singles
2689
2651
  ///////////////////////////////////////////////////////////////////
@@ -2714,19 +2676,6 @@ export const Formats: FormatList = [
2714
2676
  ruleset: ['[Gen 7] OU'],
2715
2677
  banlist: ['OU', 'UUBL', 'Drizzle', 'Drought', 'Kommonium Z', 'Mewnium Z'],
2716
2678
  },
2717
- {
2718
- name: "[Gen 7] RU",
2719
- threads: [
2720
- `&bullet; <a href="https://www.smogon.com/forums/threads/3645338/">USM RU Sample Teams</a>`,
2721
- `&bullet; <a href="https://www.smogon.com/forums/threads/3645873/">USM RU Viability Rankings</a>`,
2722
- ],
2723
-
2724
- mod: 'gen7',
2725
- searchShow: false,
2726
- ruleset: ['[Gen 7] UU'],
2727
- banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2728
- unbanlist: ['Drought'],
2729
- },
2730
2679
  {
2731
2680
  name: "[Gen 7] NU",
2732
2681
  threads: [
@@ -2832,7 +2781,7 @@ export const Formats: FormatList = [
2832
2781
  searchShow: false,
2833
2782
  ruleset: ['[Gen 7] PU'],
2834
2783
  banlist: [
2835
- 'PU', 'Carracosta', 'Crabominable', 'Gorebyss', 'Jynx', 'Raticate-Alola',
2784
+ 'PU', 'Carracosta', 'Crabominable', 'Exeggutor-Base', 'Gorebyss', 'Jynx', 'Raticate-Alola',
2836
2785
  'Shiftry', 'Throh', 'Turtonator', 'Type: Null', 'Ursaring', 'Victreebel',
2837
2786
  ],
2838
2787
  },
@@ -3019,18 +2968,6 @@ export const Formats: FormatList = [
3019
2968
  searchShow: false,
3020
2969
  ruleset: ['Standard', 'Swagger Clause', 'Mega Rayquaza Clause'],
3021
2970
  },
3022
- {
3023
- name: "[Gen 6] UU",
3024
- threads: [
3025
- `&bullet; <a href="https://www.smogon.com/dex/xy/formats/uu/">ORAS UU Banlist</a>`,
3026
- `&bullet; <a href="https://www.smogon.com/forums/threads/3598164/">ORAS UU Viability Rankings</a>`,
3027
- ],
3028
-
3029
- mod: 'gen6',
3030
- searchShow: false,
3031
- ruleset: ['[Gen 6] OU'],
3032
- banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
3033
- },
3034
2971
  {
3035
2972
  name: "[Gen 6] RU",
3036
2973
  threads: [
@@ -3055,6 +2992,18 @@ export const Formats: FormatList = [
3055
2992
  ruleset: ['[Gen 6] RU'],
3056
2993
  banlist: ['RU', 'NUBL'],
3057
2994
  },
2995
+ {
2996
+ name: "[Gen 6] PU",
2997
+ threads: [
2998
+ `&bullet; <a href="https://www.smogon.com/dex/xy/tags/pu/">ORAS PU Banlist</a>`,
2999
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3528743/">ORAS PU Viability Rankings</a>`,
3000
+ ],
3001
+
3002
+ mod: 'gen6',
3003
+ searchShow: false,
3004
+ ruleset: ['[Gen 6] NU'],
3005
+ banlist: ['NU', 'PUBL', 'Chatter'],
3006
+ },
3058
3007
  {
3059
3008
  name: "[Gen 6] LC",
3060
3009
  threads: [
@@ -3121,6 +3070,18 @@ export const Formats: FormatList = [
3121
3070
  searchShow: false,
3122
3071
  ruleset: ['Obtainable', 'Team Preview', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
3123
3072
  },
3073
+ {
3074
+ name: "[Gen 6] ZU",
3075
+ threads: [
3076
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/zu/">ORAS ZU Banlist</a>`,
3077
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034679/">ORAS ZU Viability Rankings</a>`,
3078
+ ],
3079
+
3080
+ mod: 'gen6',
3081
+ searchShow: false,
3082
+ ruleset: ['[Gen 6] PU'],
3083
+ banlist: ['PU', 'Fraxure', 'Regigigas', 'Simisear'],
3084
+ },
3124
3085
  {
3125
3086
  name: "[Gen 6] CAP",
3126
3087
  threads: [
@@ -3283,6 +3244,18 @@ export const Formats: FormatList = [
3283
3244
  searchShow: false,
3284
3245
  ruleset: ['Standard', 'Sleep Clause Mod'],
3285
3246
  },
3247
+ {
3248
+ name: "[Gen 5] UU",
3249
+ threads: [
3250
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3474024/">BW2 UU Viability Rankings</a>`,
3251
+ `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
3252
+ ],
3253
+
3254
+ mod: 'gen5',
3255
+ searchShow: false,
3256
+ ruleset: ['Standard', 'Evasion Abilities Clause', 'Swagger Clause', 'Sleep Clause Mod'],
3257
+ banlist: ['Uber', 'OU', 'UUBL', 'Arena Trap', 'Drought', 'Sand Stream', 'Snow Warning', 'Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
3258
+ },
3286
3259
  {
3287
3260
  name: "[Gen 5] RU",
3288
3261
  threads: [
@@ -3296,6 +3269,18 @@ export const Formats: FormatList = [
3296
3269
  banlist: ['UU', 'RUBL', 'Shadow Tag', 'Shell Smash + Baton Pass'],
3297
3270
  unbanlist: ['Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
3298
3271
  },
3272
+ {
3273
+ name: "[Gen 5] NU",
3274
+ threads: [
3275
+ `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
3276
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3484121/">BW2 NU Viability Rankings</a>`,
3277
+ ],
3278
+
3279
+ mod: 'gen5',
3280
+ searchShow: false,
3281
+ ruleset: ['[Gen 5] RU', '!Sleep Moves Clause', 'Sleep Clause Mod'],
3282
+ banlist: ['RU', 'NUBL', 'Assist', 'Copycat'],
3283
+ },
3299
3284
  {
3300
3285
  name: "[Gen 5] PU",
3301
3286
  threads: [
@@ -3349,6 +3334,17 @@ export const Formats: FormatList = [
3349
3334
  banlist: ['Uber', 'Cottonee', 'Dragonite', 'Jirachi', 'Kyurem-Black', 'Mew', 'Togekiss', 'Whimsicott', 'Victini', 'Bright Powder', 'Focus Band', 'Focus Sash', 'Lax Incense', 'Quick Claw', 'Soul Dew', 'Perish Song'],
3350
3335
  unbanlist: ['Genesect', 'Landorus', 'Manaphy', 'Thundurus', 'Tornadus-Therian'],
3351
3336
  },
3337
+ {
3338
+ name: "[Gen 5] ZU",
3339
+ threads: [
3340
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034680/">BW2 ZU</a>`,
3341
+ ],
3342
+
3343
+ mod: 'gen5',
3344
+ searchShow: false,
3345
+ ruleset: ['[Gen 5] PU'],
3346
+ banlist: ['PU', 'Articuno', 'Dragonair', 'Glalie', 'Machoke', 'Marowak', 'Omanyte', 'Regigigas', 'Trubbish', 'Whirlipede', 'Baton Pass'],
3347
+ },
3352
3348
  {
3353
3349
  name: "[Gen 5] GBU Singles",
3354
3350
 
@@ -3532,11 +3528,21 @@ export const Formats: FormatList = [
3532
3528
  unbanlist: ['Wobbuffet', 'Wynaut', 'Sand Veil', 'Swagger'],
3533
3529
  },
3534
3530
  {
3535
- name: "[Gen 4] Anything Goes",
3531
+ name: "[Gen 4] ZU",
3532
+ threads: [
3533
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034681/">DPP ZU</a>`,
3534
+ ],
3536
3535
 
3537
3536
  mod: 'gen4',
3538
3537
  searchShow: false,
3539
- ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
3538
+ ruleset: ['[Gen 4] PU'],
3539
+ banlist: [
3540
+ 'Ampharos', 'Armaldo', 'Bellossom', 'Dragonair', 'Gabite', 'Gastrodon', 'Glaceon', 'Glalie', 'Golduck',
3541
+ 'Gorebyss', 'Hippopotas', 'Kadabra', 'Machoke', 'Magmar', 'Mantine', 'Marowak', 'Metang', 'Misdreavus',
3542
+ 'Monferno', 'Mr. Mime', 'Muk', 'Murkrow', 'Pinsir', 'Politoed', 'Purugly', 'Quagsire', 'Raichu',
3543
+ 'Rampardos', 'Rapidash', 'Regigigas', 'Relicanth', 'Rhydon', 'Scyther', 'Sneasel', 'Snover', 'Solrock',
3544
+ 'Tangela', 'Torkoal', 'Victreebel', 'Xatu', 'Zangoose', 'Damp Rock',
3545
+ ],
3540
3546
  },
3541
3547
  {
3542
3548
  name: "[Gen 4] Custom Game",
package/data/aliases.ts CHANGED
@@ -68,8 +68,8 @@ export const Aliases: {[alias: string]: string} = {
68
68
  gen6ag: "[Gen 6] Anything Goes",
69
69
  crossevo: "[Gen 8] Cross Evolution",
70
70
  mayhem: "[Gen 8] Random Battle Mayhem",
71
- omotm: "[Gen 8] Sketchmons",
72
- lcotm: "[Gen 8] Flipped",
71
+ omotm: "[Gen 8] Crazyhouse",
72
+ lcotm: "[Gen 8] Pokebilities AAA",
73
73
 
74
74
  // mega evos
75
75
  fabio: "Ampharos-Mega",
@@ -697,8 +697,8 @@ export const Conditions: {[k: string]: ConditionData} = {
697
697
  dynamax: {
698
698
  name: 'Dynamax',
699
699
  noCopy: true,
700
- duration: 3,
701
700
  onStart(pokemon) {
701
+ this.effectState.turns = 0;
702
702
  pokemon.removeVolatile('minimize');
703
703
  pokemon.removeVolatile('substitute');
704
704
  if (pokemon.volatiles['torment']) {
@@ -736,6 +736,9 @@ export const Conditions: {[k: string]: ConditionData} = {
736
736
  return null;
737
737
  },
738
738
  onResidualPriority: -100,
739
+ onResidual() {
740
+ this.effectState.turns++;
741
+ },
739
742
  onEnd(pokemon) {
740
743
  this.add('-end', pokemon, 'Dynamax');
741
744
  if (pokemon.baseSpecies.name === 'Shedinja') return;
@@ -1212,7 +1212,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
1212
1212
  randomDoubleBattleMoves: ["faketears", "protect", "shadowball", "thunderbolt", "thunderwave"],
1213
1213
  randomDoubleBattleLevel: 86,
1214
1214
  tier: "PU",
1215
- doublesTier: "DUU",
1215
+ doublesTier: "(DUU)",
1216
1216
  },
1217
1217
  flareon: {
1218
1218
  randomBattleMoves: ["facade", "flamecharge", "flareblitz", "quickattack", "superpower"],
@@ -1382,7 +1382,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
1382
1382
  randomDoubleBattleMoves: ["fierywrath", "hurricane", "nastyplot", "protect"],
1383
1383
  randomDoubleBattleLevel: 75,
1384
1384
  randomBattleNoDynamaxMoves: ["agility", "fierywrath", "hurricane", "nastyplot", "rest"],
1385
- tier: "UU",
1385
+ tier: "UUBL",
1386
1386
  doublesTier: "DUU",
1387
1387
  },
1388
1388
  dratini: {
@@ -2016,7 +2016,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
2016
2016
  randomBattleLevel: 80,
2017
2017
  randomDoubleBattleMoves: ["closecombat", "facade", "knockoff", "obstruct", "partingshot", "taunt"],
2018
2018
  randomDoubleBattleLevel: 86,
2019
- tier: "RU",
2019
+ tier: "RUBL",
2020
2020
  doublesTier: "(DUU)",
2021
2021
  },
2022
2022
  wurmple: {
package/data/items.ts CHANGED
@@ -752,6 +752,7 @@ export const Items: {[itemid: string]: ItemData} = {
752
752
  num: 16,
753
753
  gen: 4,
754
754
  isPokeball: true,
755
+ isNonstandard: "Unobtainable",
755
756
  },
756
757
  chestoberry: {
757
758
  name: "Chesto Berry",
@@ -2904,7 +2905,7 @@ export const Items: {[itemid: string]: ItemData} = {
2904
2905
  return this.chainModify([5324, 4096]);
2905
2906
  },
2906
2907
  onAfterMoveSecondarySelf(source, target, move) {
2907
- if (source && source !== target && move && move.category !== 'Status') {
2908
+ if (source && source !== target && move && move.category !== 'Status' && !source.forceSwitchFlag) {
2908
2909
  this.damage(source.baseMaxhp / 10, source, source, this.dex.items.get('lifeorb'));
2909
2910
  }
2910
2911
  },
@@ -3773,6 +3774,7 @@ export const Items: {[itemid: string]: ItemData} = {
3773
3774
  num: 500,
3774
3775
  gen: 4,
3775
3776
  isPokeball: true,
3777
+ isNonstandard: "Unobtainable",
3776
3778
  },
3777
3779
  passhoberry: {
3778
3780
  name: "Passho Berry",
@@ -4877,7 +4879,7 @@ export const Items: {[itemid: string]: ItemData} = {
4877
4879
  },
4878
4880
  onAfterMoveSecondarySelfPriority: -1,
4879
4881
  onAfterMoveSecondarySelf(pokemon, target, move) {
4880
- if (move.totalDamage) {
4882
+ if (move.totalDamage && !pokemon.forceSwitchFlag) {
4881
4883
  this.heal(move.totalDamage / 8, pokemon);
4882
4884
  }
4883
4885
  },
package/data/learnsets.ts CHANGED
@@ -20480,20 +20480,20 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
20480
20480
  dualwingbeat: ["8T"],
20481
20481
  endure: ["8M", "8L60"],
20482
20482
  facade: ["8M"],
20483
- fierywrath: ["8L45", "8S0"],
20483
+ fierywrath: ["8L45", "8S0", "8S1"],
20484
20484
  fly: ["8M"],
20485
20485
  foulplay: ["8M"],
20486
20486
  gigaimpact: ["8M"],
20487
20487
  gust: ["8L1"],
20488
20488
  hex: ["8M"],
20489
- hurricane: ["8M", "8L55", "8S0"],
20489
+ hurricane: ["8M", "8L55", "8S0", "8S1"],
20490
20490
  hyperbeam: ["8M"],
20491
20491
  hypervoice: ["8M"],
20492
20492
  imprison: ["8M"],
20493
20493
  lashout: ["8T"],
20494
20494
  leer: ["8L1"],
20495
20495
  memento: ["8L65"],
20496
- nastyplot: ["8M", "8L50", "8S0"],
20496
+ nastyplot: ["8M", "8L50", "8S0", "8S1"],
20497
20497
  payback: ["8M", "8L5"],
20498
20498
  protect: ["8M"],
20499
20499
  rest: ["8M"],
@@ -20507,7 +20507,7 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
20507
20507
  snore: ["8M"],
20508
20508
  steelwing: ["8M"],
20509
20509
  substitute: ["8M"],
20510
- suckerpunch: ["8L30", "8S0"],
20510
+ suckerpunch: ["8L30", "8S0", "8S1"],
20511
20511
  swift: ["8M"],
20512
20512
  taunt: ["8M"],
20513
20513
  uturn: ["8M"],
@@ -20515,6 +20515,7 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
20515
20515
  },
20516
20516
  eventData: [
20517
20517
  {generation: 8, level: 70, moves: ["fierywrath", "hurricane", "suckerpunch", "nastyplot"]},
20518
+ {generation: 8, level: 70, shiny: true, moves: ["fierywrath", "hurricane", "suckerpunch", "nastyplot"], pokeball: "cherishball"},
20518
20519
  ],
20519
20520
  eventOnly: true,
20520
20521
  },