@pkmn/sim 0.5.12 → 0.5.15

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 (109) hide show
  1. package/build/config/formats.js +163 -149
  2. package/build/config/formats.js.map +1 -1
  3. package/build/data/abilities.js +2 -2
  4. package/build/data/abilities.js.map +1 -1
  5. package/build/data/aliases.js +2 -2
  6. package/build/data/aliases.js.map +1 -1
  7. package/build/data/conditions.js +4 -1
  8. package/build/data/conditions.js.map +1 -1
  9. package/build/data/formats-data.js +2 -2
  10. package/build/data/formats-data.js.map +1 -1
  11. package/build/data/items.js +4 -2
  12. package/build/data/items.js.map +1 -1
  13. package/build/data/learnsets.js +5 -4
  14. package/build/data/learnsets.js.map +1 -1
  15. package/build/data/mods/gen1/formats-data.js +38 -36
  16. package/build/data/mods/gen1/formats-data.js.map +1 -1
  17. package/build/data/mods/gen1/scripts.js +1 -1
  18. package/build/data/mods/gen1/scripts.js.map +1 -1
  19. package/build/data/mods/gen2/items.js +28 -0
  20. package/build/data/mods/gen2/items.js.map +1 -1
  21. package/build/data/mods/gen2/moves.js +2 -2
  22. package/build/data/mods/gen2/moves.js.map +1 -1
  23. package/build/data/mods/gen3/items.js +28 -0
  24. package/build/data/mods/gen3/items.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 +14 -6
  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/formats-data.js +3 -3
  34. package/build/data/mods/gen6/formats-data.js.map +1 -1
  35. package/build/data/mods/gen6/items.js +24 -0
  36. package/build/data/mods/gen6/items.js.map +1 -1
  37. package/build/data/mods/gen7/abilities.js +31 -0
  38. package/build/data/mods/gen7/abilities.js.map +1 -1
  39. package/build/data/mods/gen7/items.js +12 -0
  40. package/build/data/mods/gen7/items.js.map +1 -1
  41. package/build/data/mods/gen7/moves.js +14 -0
  42. package/build/data/mods/gen7/moves.js.map +1 -1
  43. package/build/data/moves.js +45 -19
  44. package/build/data/moves.js.map +1 -1
  45. package/build/data/rulesets.js +72 -1
  46. package/build/data/rulesets.js.map +1 -1
  47. package/build/data/tags.js +3 -3
  48. package/build/data/tags.js.map +1 -1
  49. package/build/data/text/moves.js +8 -8
  50. package/build/data/text/moves.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 +42 -2
  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 +1 -0
  58. package/build/sim/dex-conditions.js.map +1 -1
  59. package/build/sim/dex-data.js +1 -0
  60. package/build/sim/dex-data.js.map +1 -1
  61. package/build/sim/dex-formats.js +1 -0
  62. package/build/sim/dex-formats.js.map +1 -1
  63. package/build/sim/dex-items.js +1 -0
  64. package/build/sim/dex-items.js.map +1 -1
  65. package/build/sim/dex-moves.d.ts +1 -0
  66. package/build/sim/dex-moves.js +1 -0
  67. package/build/sim/dex-moves.js.map +1 -1
  68. package/build/sim/dex-species.js +1 -0
  69. package/build/sim/dex-species.js.map +1 -1
  70. package/build/sim/pokemon.js +18 -5
  71. package/build/sim/pokemon.js.map +1 -1
  72. package/build/sim/team-validator.js +1 -1
  73. package/build/sim/team-validator.js.map +1 -1
  74. package/config/formats.ts +169 -154
  75. package/data/abilities.ts +2 -2
  76. package/data/aliases.ts +2 -2
  77. package/data/conditions.ts +4 -1
  78. package/data/formats-data.ts +2 -2
  79. package/data/items.ts +4 -2
  80. package/data/learnsets.ts +5 -4
  81. package/data/mods/gen1/formats-data.ts +38 -36
  82. package/data/mods/gen1/scripts.ts +1 -1
  83. package/data/mods/gen2/items.ts +28 -0
  84. package/data/mods/gen2/moves.ts +2 -2
  85. package/data/mods/gen3/items.ts +28 -0
  86. package/data/mods/gen4/abilities.ts +20 -0
  87. package/data/mods/gen4/items.ts +28 -0
  88. package/data/mods/gen4/moves.ts +14 -7
  89. package/data/mods/gen5/items.ts +0 -4
  90. package/data/mods/gen6/formats-data.ts +3 -3
  91. package/data/mods/gen6/items.ts +24 -0
  92. package/data/mods/gen7/abilities.ts +31 -0
  93. package/data/mods/gen7/items.ts +12 -0
  94. package/data/mods/gen7/moves.ts +14 -0
  95. package/data/moves.ts +45 -18
  96. package/data/rulesets.ts +71 -1
  97. package/data/tags.ts +3 -3
  98. package/data/text/moves.ts +8 -8
  99. package/package.json +3 -3
  100. package/sim/battle-queue.ts +10 -2
  101. package/sim/battle.ts +39 -2
  102. package/sim/dex-conditions.ts +7 -2
  103. package/sim/dex-data.ts +1 -0
  104. package/sim/dex-formats.ts +1 -0
  105. package/sim/dex-items.ts +1 -0
  106. package/sim/dex-moves.ts +2 -0
  107. package/sim/dex-species.ts +1 -0
  108. package/sim/pokemon.ts +19 -7
  109. package/sim/team-validator.ts +1 -1
package/config/formats.ts CHANGED
@@ -167,7 +167,7 @@ export const Formats: FormatList = [
167
167
  mod: 'gen8',
168
168
  ruleset: ['Little Cup', 'Standard', 'Dynamax Clause'],
169
169
  banlist: [
170
- 'Corsola-Galar', 'Drifloon', 'Rufflet', 'Scraggy', 'Scyther', 'Sneasel', 'Swirlix', 'Tangela', 'Vulpix-Alola', 'Woobat', 'Zigzagoon-Base',
170
+ 'Corsola-Galar', 'Cutiefly', 'Drifloon', 'Gastly', 'Gothita', 'Rufflet', 'Scraggy', 'Scyther', 'Sneasel', 'Swirlix', 'Tangela', 'Vullaby', 'Vulpix-Alola', 'Woobat', 'Zigzagoon-Base',
171
171
  'Chlorophyll', 'Moody', 'Baton Pass', 'Sticky Web',
172
172
  ],
173
173
  },
@@ -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
  },
@@ -358,7 +359,7 @@ export const Formats: FormatList = [
358
359
  gameType: 'doubles',
359
360
  searchShow: false,
360
361
  ruleset: ['Standard Doubles', 'Little Cup', 'Dynamax Clause', 'Swagger Clause', 'Sleep Clause Mod'],
361
- banlist: ['Corsola-Galar', 'Cutiefly', 'Ponyta-Base', 'Scyther', 'Sneasel', 'Swirlix', 'Tangela', 'Vulpix', 'Vulpix-Alola'],
362
+ banlist: ['Corsola-Galar', 'Cutiefly', 'Ponyta-Base', 'Scyther', 'Sneasel', 'Swirlix', 'Tangela', 'Vulpix', 'Vulpix-Alola', 'Ally Switch'],
362
363
  },
363
364
  {
364
365
  name: "[Gen 8] VGC 2022",
@@ -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,44 @@ 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', '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', 'Ho-Oh', 'Kyogre', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Magearna',
630
+ 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram',
631
+ 'Solgaleo', 'Spectrier', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned',
632
+ 'Zekrom', 'Zygarde-Base', 'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag', 'Bright Powder', 'King\'s Rock', 'Lax Incense',
633
+ 'Baton Pass', 'Explosion', 'Final Gambit', 'Misty Explosion', 'Self-Destruct',
662
634
  ],
663
635
  },
664
636
  {
665
- name: "[Gen 8] Flipped",
666
- desc: `Pok&eacute;mon have their base stats flipped.`,
637
+ name: "[Gen 8] Pokebilities AAA",
638
+ desc: `Pok&eacute;mon have all of their released abilities simultaneously alongside any additional ability.`,
667
639
  threads: [
668
- `&bullet; <a href="https://www.smogon.com/forums/threads/3662020/">Flipped</a>`,
640
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8821047">Pok&eacute;bilities AAA</a>`,
669
641
  ],
670
642
 
671
- mod: 'gen8',
672
- ruleset: ['Standard', 'Flipped Mod', 'Dynamax Clause'],
643
+ mod: 'pokebilities',
644
+ ruleset: ['[Gen 8] Pokebilities', '!Obtainable Abilities', 'AAA Restricted Abilities', '2 Ability Clause', 'Sleep Moves Clause', '!Sleep Clause Mod'],
673
645
  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', 'Mewtwo', 'Necrozma-Dawn Wings', 'Necrozma-Dusk Mane', 'Palkia', 'Rayquaza',
676
- 'Reshiram', 'Solgaleo', 'Steelix', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta', 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base',
677
- 'Psychic Surge', 'Psychic Terrain', 'Shell Smash',
646
+ 'Blacephalon', 'Buzzwole', 'Clefable', 'Dragapult', 'Dragonite', 'Kartana', 'Melmetal', 'Noivern', 'Pangoro', 'Perrserker', 'Rillaboom',
647
+ 'Tapu Lele', 'Urshifu', 'Urshifu-Rapid-Strike', 'Victini', 'Zamazenta-Crowned', 'Arena Trap', 'Moody', 'Shadow Tag', 'Wonder Guard',
648
+ 'Chlorophyll + Desolate Land', 'Chlorophyll + Drought', 'Regenerator + Emergency Exit', 'Regenerator + Multiscale', 'Regenerator + Shadow Shield',
649
+ 'Regenerator + Wimp Out', 'Sand Rush + Sand Stream', 'Slush Rush + Snow Warning', 'Swift Swim + Drizzle', 'Swift Swim + Primordial Sea',
650
+ 'Regenerator > 2',
651
+ ],
652
+ unbanlist: ['Dracozolt'],
653
+ restricted: [
654
+ 'Comatose', 'Contrary', 'Fluffy', 'Fur Coat', 'Gorilla Tactics', 'Huge Power', 'Ice Scales', 'Illusion', 'Imposter', 'Innards Out',
655
+ 'Intrepid Sword', 'Libero', 'Neutralizing Gas', 'Parental Bond', 'Poison Heal', 'Prankster', 'Protean', 'Pure Power', 'Simple', 'Stakeout',
656
+ 'Speed Boost', 'Tinted Lens', 'Water Bubble',
678
657
  ],
679
658
  },
680
659
 
@@ -870,9 +849,9 @@ export const Formats: FormatList = [
870
849
  mod: 'gen8',
871
850
  ruleset: ['Standard', 'Dynamax Clause', 'Sleep Moves Clause'],
872
851
  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',
852
+ 'Blissey', 'Calyrex-Shadow', 'Chansey', 'Crawdaunt', 'Dragapult', 'Eternatus', 'Hawlucha', 'Marowak-Alola', 'Melmetal',
853
+ 'Pikachu', 'Toxapex', 'Xerneas', 'Zacian', 'Zacian-Crowned', 'Uber > 1', 'AG ++ Uber > 1', 'Arena Trap', 'Huge Power',
854
+ 'Moody', 'Pure Power', 'Shadow Tag', 'Swift Swim', 'Bright Powder', 'Focus Band', 'King\'s Rock', 'Lax Incense', 'Quick Claw',
876
855
  'Baton Pass',
877
856
  ],
878
857
  onValidateTeam(team) {
@@ -1022,6 +1001,16 @@ export const Formats: FormatList = [
1022
1001
  ruleset: ['[Gen 8 BDSP] RU'],
1023
1002
  banlist: ['RU', 'NUBL', 'Damp Rock', 'Heat Rock'],
1024
1003
  },
1004
+ {
1005
+ name: "[Gen 8 BDSP] PU",
1006
+ threads: [
1007
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3700009/">BDSP PU</a>`,
1008
+ ],
1009
+
1010
+ mod: 'gen8bdsp',
1011
+ ruleset: ['[Gen 8 BDSP] NU'],
1012
+ banlist: ['NU', 'PUBL'],
1013
+ },
1025
1014
  {
1026
1015
  name: "[Gen 8 BDSP] LC",
1027
1016
  threads: [
@@ -1039,11 +1028,7 @@ export const Formats: FormatList = [
1039
1028
  ],
1040
1029
 
1041
1030
  mod: 'gen8bdsp',
1042
- ruleset: ['Standard', 'Same Type Clause'],
1043
- banlist: [
1044
- 'Arceus', 'Darkrai', 'Dialga', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kyogre', 'Lugia', 'Mewtwo', 'Palkia', 'Rayquaza', 'Shaymin-Sky',
1045
- 'Arena Trap', 'Moody', 'Shadow Tag', 'Damp Rock', 'King\'s Rock', 'Razor Fang', 'Baton Pass',
1046
- ],
1031
+ ruleset: ['[Gen 8 BDSP] OU', 'Same Type Clause'],
1047
1032
  },
1048
1033
  {
1049
1034
  name: "[Gen 8 BDSP] CAP",
@@ -1074,7 +1059,7 @@ export const Formats: FormatList = [
1074
1059
  mod: 'gen8bdsp',
1075
1060
  gameType: 'doubles',
1076
1061
  ruleset: ['Standard Doubles'],
1077
- banlist: ['DUber'],
1062
+ banlist: ['DUber', 'Dark Void'],
1078
1063
  },
1079
1064
  {
1080
1065
  name: "[Gen 8 BDSP] Battle Festival Doubles",
@@ -2415,40 +2400,36 @@ export const Formats: FormatList = [
2415
2400
  column: 3,
2416
2401
  },
2417
2402
  {
2418
- name: "[Gen 5] UU",
2403
+ name: "[Gen 6] UU",
2419
2404
  threads: [
2420
- `&bullet; <a href="https://www.smogon.com/forums/threads/3474024/">BW2 UU Viability Rankings</a>`,
2421
- `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
2405
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/uu/">ORAS UU Banlist</a>`,
2406
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3598164/">ORAS UU Viability Rankings</a>`,
2422
2407
  ],
2423
2408
 
2424
- mod: 'gen5',
2409
+ mod: 'gen6',
2425
2410
  // searchShow: false,
2426
- ruleset: ['Standard', 'Evasion Abilities Clause', 'Swagger Clause', 'Sleep Clause Mod'],
2427
- banlist: ['Uber', 'OU', 'UUBL', 'Arena Trap', 'Drought', 'Sand Stream', 'Snow Warning', 'Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
2411
+ ruleset: ['[Gen 6] OU'],
2412
+ banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
2428
2413
  },
2429
2414
  {
2430
- name: "[Gen 5] NU",
2431
- threads: [
2432
- `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
2433
- `&bullet; <a href="https://www.smogon.com/forums/threads/3484121/">BW2 NU Viability Rankings</a>`,
2434
- ],
2415
+ name: "[Gen 4] Anything Goes",
2435
2416
 
2436
- mod: 'gen5',
2417
+ mod: 'gen4',
2437
2418
  // searchShow: false,
2438
- ruleset: ['[Gen 5] RU', '!Sleep Moves Clause', 'Sleep Clause Mod'],
2439
- banlist: ['RU', 'NUBL', 'Assist', 'Copycat'],
2419
+ ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
2440
2420
  },
2441
2421
  {
2442
- name: "[Gen 6] PU",
2422
+ name: "[Gen 7] RU",
2443
2423
  threads: [
2444
- `&bullet; <a href="https://www.smogon.com/dex/xy/tags/pu/">ORAS PU Banlist</a>`,
2445
- `&bullet; <a href="https://www.smogon.com/forums/threads/3528743/">ORAS PU Viability Rankings</a>`,
2424
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645338/">USM RU Sample Teams</a>`,
2425
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645873/">USM RU Viability Rankings</a>`,
2446
2426
  ],
2447
2427
 
2448
- mod: 'gen6',
2428
+ mod: 'gen7',
2449
2429
  // searchShow: false,
2450
- ruleset: ['[Gen 6] NU'],
2451
- banlist: ['NU', 'PUBL', 'Chatter'],
2430
+ ruleset: ['[Gen 7] UU'],
2431
+ banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2432
+ unbanlist: ['Drought'],
2452
2433
  },
2453
2434
 
2454
2435
  // Past Gens OU
@@ -2514,7 +2495,7 @@ export const Formats: FormatList = [
2514
2495
 
2515
2496
  mod: 'gen3',
2516
2497
  ruleset: ['Standard', 'One Boost Passer Clause'],
2517
- banlist: ['Uber', 'Sand Veil', 'Assist', 'Baton Pass + Mean Look', 'Baton Pass + Spider Web', 'Smeargle + Ingrain'],
2498
+ banlist: ['Uber', 'Sand Veil', 'Soundproof', 'Assist', 'Baton Pass + Mean Look', 'Baton Pass + Spider Web', 'Smeargle + Ingrain'],
2518
2499
  },
2519
2500
  {
2520
2501
  name: "[Gen 2] OU",
@@ -2664,16 +2645,6 @@ export const Formats: FormatList = [
2664
2645
  mod: 'gen6',
2665
2646
  ruleset: ['-Nonexistent', 'Team Preview', 'HP Percentage Mod', 'Cancel Mod', 'Endless Battle Clause', 'EV limit = 510'],
2666
2647
  },
2667
- {
2668
- name: "[Gen 5] ZU",
2669
- threads: [
2670
- `&bullet; <a href="https://www.smogon.com/forums/posts/8034680/">BW2 ZU</a>`,
2671
- ],
2672
-
2673
- mod: 'gen5',
2674
- ruleset: ['[Gen 5] PU'],
2675
- banlist: ['PU', 'Dragonair', 'Glalie', 'Machoke', 'Marowak', 'Omanyte', 'Regigigas', 'Trubbish', 'Whirlipede', 'Baton Pass'],
2676
- },
2677
2648
 
2678
2649
  // US/UM Singles
2679
2650
  ///////////////////////////////////////////////////////////////////
@@ -2704,19 +2675,6 @@ export const Formats: FormatList = [
2704
2675
  ruleset: ['[Gen 7] OU'],
2705
2676
  banlist: ['OU', 'UUBL', 'Drizzle', 'Drought', 'Kommonium Z', 'Mewnium Z'],
2706
2677
  },
2707
- {
2708
- name: "[Gen 7] RU",
2709
- threads: [
2710
- `&bullet; <a href="https://www.smogon.com/forums/threads/3645338/">USM RU Sample Teams</a>`,
2711
- `&bullet; <a href="https://www.smogon.com/forums/threads/3645873/">USM RU Viability Rankings</a>`,
2712
- ],
2713
-
2714
- mod: 'gen7',
2715
- searchShow: false,
2716
- ruleset: ['[Gen 7] UU'],
2717
- banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2718
- unbanlist: ['Drought'],
2719
- },
2720
2678
  {
2721
2679
  name: "[Gen 7] NU",
2722
2680
  threads: [
@@ -2822,7 +2780,7 @@ export const Formats: FormatList = [
2822
2780
  searchShow: false,
2823
2781
  ruleset: ['[Gen 7] PU'],
2824
2782
  banlist: [
2825
- 'PU', 'Carracosta', 'Crabominable', 'Gorebyss', 'Jynx', 'Raticate-Alola',
2783
+ 'PU', 'Carracosta', 'Crabominable', 'Exeggutor-Base', 'Gorebyss', 'Jynx', 'Raticate-Alola',
2826
2784
  'Shiftry', 'Throh', 'Turtonator', 'Type: Null', 'Ursaring', 'Victreebel',
2827
2785
  ],
2828
2786
  },
@@ -3009,18 +2967,6 @@ export const Formats: FormatList = [
3009
2967
  searchShow: false,
3010
2968
  ruleset: ['Standard', 'Swagger Clause', 'Mega Rayquaza Clause'],
3011
2969
  },
3012
- {
3013
- name: "[Gen 6] UU",
3014
- threads: [
3015
- `&bullet; <a href="https://www.smogon.com/dex/xy/formats/uu/">ORAS UU Banlist</a>`,
3016
- `&bullet; <a href="https://www.smogon.com/forums/threads/3598164/">ORAS UU Viability Rankings</a>`,
3017
- ],
3018
-
3019
- mod: 'gen6',
3020
- searchShow: false,
3021
- ruleset: ['[Gen 6] OU'],
3022
- banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
3023
- },
3024
2970
  {
3025
2971
  name: "[Gen 6] RU",
3026
2972
  threads: [
@@ -3045,6 +2991,18 @@ export const Formats: FormatList = [
3045
2991
  ruleset: ['[Gen 6] RU'],
3046
2992
  banlist: ['RU', 'NUBL'],
3047
2993
  },
2994
+ {
2995
+ name: "[Gen 6] PU",
2996
+ threads: [
2997
+ `&bullet; <a href="https://www.smogon.com/dex/xy/tags/pu/">ORAS PU Banlist</a>`,
2998
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3528743/">ORAS PU Viability Rankings</a>`,
2999
+ ],
3000
+
3001
+ mod: 'gen6',
3002
+ searchShow: false,
3003
+ ruleset: ['[Gen 6] NU'],
3004
+ banlist: ['NU', 'PUBL', 'Chatter'],
3005
+ },
3048
3006
  {
3049
3007
  name: "[Gen 6] LC",
3050
3008
  threads: [
@@ -3111,6 +3069,18 @@ export const Formats: FormatList = [
3111
3069
  searchShow: false,
3112
3070
  ruleset: ['Obtainable', 'Team Preview', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
3113
3071
  },
3072
+ {
3073
+ name: "[Gen 6] ZU",
3074
+ threads: [
3075
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/zu/">ORAS ZU Banlist</a>`,
3076
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034679/">ORAS ZU Viability Rankings</a>`,
3077
+ ],
3078
+
3079
+ mod: 'gen6',
3080
+ searchShow: false,
3081
+ ruleset: ['[Gen 6] PU'],
3082
+ banlist: ['PU', 'Fraxure', 'Regigigas', 'Simisear'],
3083
+ },
3114
3084
  {
3115
3085
  name: "[Gen 6] CAP",
3116
3086
  threads: [
@@ -3273,6 +3243,18 @@ export const Formats: FormatList = [
3273
3243
  searchShow: false,
3274
3244
  ruleset: ['Standard', 'Sleep Clause Mod'],
3275
3245
  },
3246
+ {
3247
+ name: "[Gen 5] UU",
3248
+ threads: [
3249
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3474024/">BW2 UU Viability Rankings</a>`,
3250
+ `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
3251
+ ],
3252
+
3253
+ mod: 'gen5',
3254
+ searchShow: false,
3255
+ ruleset: ['Standard', 'Evasion Abilities Clause', 'Swagger Clause', 'Sleep Clause Mod'],
3256
+ banlist: ['Uber', 'OU', 'UUBL', 'Arena Trap', 'Drought', 'Sand Stream', 'Snow Warning', 'Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
3257
+ },
3276
3258
  {
3277
3259
  name: "[Gen 5] RU",
3278
3260
  threads: [
@@ -3286,6 +3268,18 @@ export const Formats: FormatList = [
3286
3268
  banlist: ['UU', 'RUBL', 'Shadow Tag', 'Shell Smash + Baton Pass'],
3287
3269
  unbanlist: ['Prankster + Assist', 'Prankster + Copycat', 'Baton Pass'],
3288
3270
  },
3271
+ {
3272
+ name: "[Gen 5] NU",
3273
+ threads: [
3274
+ `&bullet; <a href="https://www.smogon.com/forums/posts/6431094/">BW2 Sample Teams</a>`,
3275
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3484121/">BW2 NU Viability Rankings</a>`,
3276
+ ],
3277
+
3278
+ mod: 'gen5',
3279
+ searchShow: false,
3280
+ ruleset: ['[Gen 5] RU', '!Sleep Moves Clause', 'Sleep Clause Mod'],
3281
+ banlist: ['RU', 'NUBL', 'Assist', 'Copycat'],
3282
+ },
3289
3283
  {
3290
3284
  name: "[Gen 5] PU",
3291
3285
  threads: [
@@ -3339,6 +3333,17 @@ export const Formats: FormatList = [
3339
3333
  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'],
3340
3334
  unbanlist: ['Genesect', 'Landorus', 'Manaphy', 'Thundurus', 'Tornadus-Therian'],
3341
3335
  },
3336
+ {
3337
+ name: "[Gen 5] ZU",
3338
+ threads: [
3339
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034680/">BW2 ZU</a>`,
3340
+ ],
3341
+
3342
+ mod: 'gen5',
3343
+ searchShow: false,
3344
+ ruleset: ['[Gen 5] PU'],
3345
+ banlist: ['PU', 'Articuno', 'Dragonair', 'Glalie', 'Machoke', 'Marowak', 'Omanyte', 'Regigigas', 'Trubbish', 'Whirlipede', 'Baton Pass'],
3346
+ },
3342
3347
  {
3343
3348
  name: "[Gen 5] GBU Singles",
3344
3349
 
@@ -3522,11 +3527,21 @@ export const Formats: FormatList = [
3522
3527
  unbanlist: ['Wobbuffet', 'Wynaut', 'Sand Veil', 'Swagger'],
3523
3528
  },
3524
3529
  {
3525
- name: "[Gen 4] Anything Goes",
3530
+ name: "[Gen 4] ZU",
3531
+ threads: [
3532
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034681/">DPP ZU</a>`,
3533
+ ],
3526
3534
 
3527
3535
  mod: 'gen4',
3528
3536
  searchShow: false,
3529
- ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
3537
+ ruleset: ['[Gen 4] PU'],
3538
+ banlist: [
3539
+ 'Ampharos', 'Armaldo', 'Bellossom', 'Dragonair', 'Gabite', 'Gastrodon', 'Glaceon', 'Glalie', 'Golduck',
3540
+ 'Gorebyss', 'Hippopotas', 'Kadabra', 'Machoke', 'Magmar', 'Mantine', 'Marowak', 'Metang', 'Misdreavus',
3541
+ 'Monferno', 'Mr. Mime', 'Muk', 'Murkrow', 'Pinsir', 'Politoed', 'Purugly', 'Quagsire', 'Raichu',
3542
+ 'Rampardos', 'Rapidash', 'Regigigas', 'Relicanth', 'Rhydon', 'Scyther', 'Sneasel', 'Snover', 'Solrock',
3543
+ 'Tangela', 'Torkoal', 'Victreebel', 'Xatu', 'Zangoose', 'Damp Rock',
3544
+ ],
3530
3545
  },
3531
3546
  {
3532
3547
  name: "[Gen 4] Custom Game",
@@ -3617,7 +3632,7 @@ export const Formats: FormatList = [
3617
3632
  searchShow: false,
3618
3633
  ruleset: ['Standard', 'NFE Clause'],
3619
3634
  banlist: ['Uber', 'OU', 'UUBL', 'Smeargle + Ingrain', 'Baton Pass'],
3620
- unbanlist: ['Scyther', 'Sand Veil'],
3635
+ unbanlist: ['Scyther'],
3621
3636
  },
3622
3637
  {
3623
3638
  name: "[Gen 3] NU",
package/data/abilities.ts CHANGED
@@ -1837,7 +1837,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = {
1837
1837
  },
1838
1838
  libero: {
1839
1839
  onPrepareHit(source, target, move) {
1840
- if (move.hasBounced || move.sourceEffect === 'snatch') return;
1840
+ if (move.hasBounced || move.isFutureMove || move.sourceEffect === 'snatch') return;
1841
1841
  const type = move.type;
1842
1842
  if (type && type !== '???' && source.getTypes().join() !== type) {
1843
1843
  if (!source.setType(type)) return;
@@ -2831,7 +2831,7 @@ export const Abilities: {[abilityid: string]: AbilityData} = {
2831
2831
  },
2832
2832
  protean: {
2833
2833
  onPrepareHit(source, target, move) {
2834
- if (move.hasBounced || move.sourceEffect === 'snatch') return;
2834
+ if (move.hasBounced || move.isFutureMove || move.sourceEffect === 'snatch') return;
2835
2835
  const type = move.type;
2836
2836
  if (type && type !== '???' && source.getTypes().join() !== type) {
2837
2837
  if (!source.setType(type)) return;
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"],
@@ -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: {