@pkmn/sim 0.5.17 → 0.5.20

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.
@@ -163,7 +163,7 @@ exports.Formats = [
163
163
  desc: `All the Pokémon on a team must share a type.`,
164
164
  threads: [
165
165
  `&bullet; <a href="https://www.smogon.com/forums/threads/3672167/">Monotype Metagame Discussion</a>`,
166
- `&bullet; <a href="https://www.smogon.com/forums/threads/3673391/">Monotype Sample Teams</a>`,
166
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3702647/">Monotype Sample Teams</a>`,
167
167
  `&bullet; <a href="https://www.smogon.com/forums/threads/3673165">Monotype Viability Rankings</a>`,
168
168
  ],
169
169
  mod: 'gen8',
@@ -218,8 +218,8 @@ exports.Formats = [
218
218
  mod: 'gen8',
219
219
  ruleset: ['[Gen 8] PU'],
220
220
  banlist: [
221
- 'PU', 'Arctovish', 'Aurorus', 'Basculin', 'Centiskorch', 'Drampa', 'Exeggutor-Alola', 'Gallade', 'Haunter', 'Magmortar', 'Magneton', 'Omastar',
222
- 'Rotom-Frost', 'Turtonator', 'Vanilluxe', 'Vikavolt', 'Silvally-Dragon', 'Silvally-Ground', 'Sneasel', 'Damp Rock', 'Grassy Seed',
221
+ 'PU', 'Arctovish', 'Aurorus', 'Basculin', 'Centiskorch', 'Drampa', 'Exeggutor-Alola', 'Gallade', 'Haunter', 'Magmortar', 'Magneton', 'Malamar',
222
+ 'Omastar', 'Rotom-Frost', 'Turtonator', 'Vanilluxe', 'Vikavolt', 'Silvally-Dragon', 'Silvally-Ground', 'Sneasel', 'Damp Rock', 'Grassy Seed',
223
223
  ],
224
224
  },
225
225
  {
@@ -268,6 +268,14 @@ exports.Formats = [
268
268
  ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8', 'Limit Two Restricted'],
269
269
  restricted: ['Restricted Legendary'],
270
270
  },
271
+ {
272
+ name: "[Gen 8] Single Battle Cup",
273
+ threads: [
274
+ `&bullet; <a href="https://www.pokemon.com/us/pokemon-news/register-now-for-the-single-battle-cup-competition/">Single Battle Cup</a>`,
275
+ ],
276
+ mod: 'gen8',
277
+ ruleset: ['Flat Rules', '!! Adjust Level = 50', 'Min Source Gen = 8'],
278
+ },
271
279
  {
272
280
  name: "[Gen 8] Custom Game",
273
281
  mod: 'gen8',
@@ -570,44 +578,35 @@ exports.Formats = [
570
578
  column: 2,
571
579
  },
572
580
  {
573
- name: "[Gen 8] Crazyhouse",
574
- desc: `Pok&eacute;mon you KO are added to your team and removed from the opponent's, and vice versa.`,
581
+ name: "[Gen 8] Tier Shift",
582
+ desc: `Pok&eacute;mon get a +10 boost to each stat, barring HP, per tier below OU they are in.`,
575
583
  threads: [
576
- `&bullet; <a href="https://www.smogon.com/forums/threads/3699268/">Crazyhouse</a>`,
584
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3662165/">Tier Shift</a>`,
577
585
  ],
578
586
  mod: 'gen8',
579
- ruleset: ['Standard', 'Crazyhouse Rule', 'Dynamax Clause', 'Sleep Moves Clause', 'Evasion Abilities Clause', '!Sleep Clause Mod'],
587
+ ruleset: ['Standard', 'Tier Shift Mod', 'Dynamax Clause'],
580
588
  banlist: [
581
- 'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina',
582
- 'Giratina-Origin', 'Groudon', 'Hawlucha', 'Ho-Oh', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia',
583
- 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa',
584
- 'Rayquaza', 'Reshiram', 'Solgaleo', 'Spectrier', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta',
585
- 'Zamazenta-Crowned', 'Zekrom', 'Zygarde-Base', 'Arena Trap', 'Moody', 'Power Construct', 'Shadow Tag', 'Bright Powder',
586
- 'King\'s Rock', 'Lax Incense', 'Baton Pass', 'Explosion', 'Final Gambit', 'Healing Wish', 'Lunar Dance', 'Memento',
587
- 'Misty Explosion', 'Self-Destruct',
589
+ 'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina', 'Giratina-Origin',
590
+ 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo',
591
+ 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram', 'Solgaleo', 'Spectrier', 'Urshifu-Base',
592
+ 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Zygarde-Base', 'Arena Trap', 'Moody', 'Power Construct', 'Sand Veil',
593
+ 'Shadow Tag', 'Snow Cloak', 'Bright Powder', 'Damp Rock', 'Eviolite', 'Heat Rock', 'King\'s Rock', 'Lax Incense', 'Baton Pass',
588
594
  ],
589
595
  },
590
596
  {
591
- name: "[Gen 8] Pokebilities AAA",
592
- desc: `Pok&eacute;mon have all of their released abilities simultaneously alongside any additional ability.`,
597
+ name: "[Gen 8] Inverse",
598
+ desc: `Weaknesses become resistances, while resistances and immunities become weaknesses.`,
593
599
  threads: [
594
- `&bullet; <a href="https://www.smogon.com/forums/posts/8821047">Pok&eacute;bilities AAA</a>`,
600
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3666858/">Inverse</a>`,
595
601
  ],
596
- mod: 'pokebilities',
597
- ruleset: ['[Gen 8] Pokebilities', '!Obtainable Abilities', 'AAA Restricted Abilities', '2 Ability Clause', 'Sleep Moves Clause', '!Sleep Clause Mod'],
602
+ mod: 'gen8',
603
+ ruleset: ['Standard', 'Inverse Mod', 'Dynamax Clause'],
598
604
  banlist: [
599
- 'Alakazam', 'Blacephalon', 'Buzzwole', 'Clefable', 'Dragapult', 'Dragonite', 'Gengar', 'Kartana', 'Keldeo', 'Kyurem', 'Melmetal', 'Mienshao',
600
- 'Noivern', 'Obstagoon', 'Perrserker', 'Rillaboom', 'Tapu Lele', 'Urshifu', 'Urshifu-Rapid-Strike', 'Victini', 'Weavile', 'Zamazenta-Crowned',
601
- 'Zapdos-Galar', 'Arena Trap', 'Moody', 'Shadow Tag', 'Wonder Guard', 'Chlorophyll + Desolate Land', 'Chlorophyll + Drought', 'Electric Surge + Surge Surfer',
602
- 'Regenerator + Emergency Exit', 'Regenerator + Multiscale', 'Regenerator + Shadow Shield', 'Regenerator + Wimp Out', 'Sand Rush + Sand Stream',
603
- 'Slush Rush + Snow Warning', 'Swift Swim + Drizzle', 'Swift Swim + Primordial Sea', 'Snow Cloak + Snow Warning', 'Sand Veil + Sand Stream',
604
- 'Regenerator > 2', 'Bright Powder', 'Lax Incense', 'Quick Claw',
605
- ],
606
- restricted: [
607
- 'Comatose', 'Contrary', 'Fluffy', 'Fur Coat', 'Gorilla Tactics', 'Huge Power', 'Ice Scales', 'Illusion', 'Imposter', 'Innards Out',
608
- 'Intrepid Sword', 'Libero', 'Magnet Pull', 'Neutralizing Gas', 'Parental Bond', 'Poison Heal', 'Prankster', 'Protean', 'Pure Power',
609
- 'Quick Draw', 'Sand Veil', 'Serene Grace', 'Simple', 'Snow Cloak', 'Speed Boost', 'Stakeout', 'Stench', 'Tinted Lens', 'Triage',
610
- 'Unburden', 'Water Bubble',
605
+ 'Cinderace', 'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Diggersby', 'Dracovish', 'Dracozolt', 'Eternatus', 'Genesect', 'Giratina',
606
+ 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Marshadow',
607
+ 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Porygon-Z', 'Rayquaza', 'Regidrago', 'Regieleki', 'Reshiram',
608
+ 'Reuniclus', 'Rillaboom', 'Solgaleo', 'Spectrier', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Arena Trap',
609
+ 'Moody', 'Power Construct', 'Shadow Tag', 'King\'s Rock', 'Baton Pass',
611
610
  ],
612
611
  },
613
612
  // Other Metagames
@@ -643,8 +642,8 @@ exports.Formats = [
643
642
  mod: 'gen8',
644
643
  ruleset: ['Standard', '!Obtainable Abilities', '2 Ability Clause', 'Dynamax Clause', 'Sleep Moves Clause', '!Sleep Clause Mod'],
645
644
  banlist: [
646
- 'Archeops', 'Blacephalon', 'Buzzwole', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Dragapult', 'Dragonite', 'Eternatus',
647
- 'Gengar', 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Keldeo', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White',
645
+ 'Archeops', 'Blacephalon', 'Buzzwole', 'Calyrex-Ice', 'Calyrex-Shadow', 'Dialga', 'Dracovish', 'Dragapult', 'Dragonite', 'Eternatus', 'Gengar',
646
+ 'Giratina', 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Keldeo', 'Kommo-o', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White',
648
647
  'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Melmetal', 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Noivern',
649
648
  'Palkia', 'Pheromosa', 'Rayquaza', 'Regigigas', 'Reshiram', 'Shedinja', 'Solgaleo', 'Spectrier', 'Urshifu', 'Urshifu-Rapid-Strike',
650
649
  'Victini', 'Weavile', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Zeraora', 'Zygarde-Base',
@@ -2080,6 +2079,17 @@ exports.Formats = [
2080
2079
  team: 'randomStaffBros',
2081
2080
  ruleset: ['Dynamax Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
2082
2081
  onBegin() {
2082
+ if (!this.ruleTable.has('dynamaxclause')) {
2083
+ // Old joke format we're bringing back
2084
+ for (const side of this.sides) {
2085
+ side.dynamaxUsed = true;
2086
+ }
2087
+ this.add('message', 'Delphox only');
2088
+ this.add('message', 'No items');
2089
+ this.add('message', 'Final Destination');
2090
+ return;
2091
+ }
2092
+ // TODO look into making an event to put this right after turn|1
2083
2093
  // https://discordapp.com/channels/630837856075513856/630845310033330206/716126469528485909
2084
2094
  // Requires client change
2085
2095
  this.add(`raw|<div class='broadcast-green'><b>Wondering what all these custom moves, abilities, and items do?<br />Check out the <a href="https://www.smogon.com/articles/super-staff-bros-4" target="_blank">Super Staff Bros 4 Guide</a> or use /ssb to find out!</b></div>`);
@@ -2184,7 +2194,7 @@ exports.Formats = [
2184
2194
  ],
2185
2195
  mod: 'gen7',
2186
2196
  team: 'random',
2187
- ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod'],
2197
+ ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
2188
2198
  },
2189
2199
  {
2190
2200
  name: "[Gen 7] Random Doubles Battle",
@@ -2240,7 +2250,7 @@ exports.Formats = [
2240
2250
  name: "[Gen 6] Random Battle",
2241
2251
  mod: 'gen6',
2242
2252
  team: 'random',
2243
- ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod'],
2253
+ ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
2244
2254
  },
2245
2255
  {
2246
2256
  name: "[Gen 6] Battle Factory",
@@ -2316,33 +2326,35 @@ exports.Formats = [
2316
2326
  column: 3,
2317
2327
  },
2318
2328
  {
2319
- name: "[Gen 6] UU",
2329
+ name: "[Gen 7] UU",
2320
2330
  threads: [
2321
- `&bullet; <a href="https://www.smogon.com/dex/xy/formats/uu/">ORAS UU Banlist</a>`,
2322
- `&bullet; <a href="https://www.smogon.com/forums/threads/3598164/">ORAS UU Viability Rankings</a>`,
2331
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3621217/">USM UU Sample Teams</a>`,
2332
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3641346/">USM UU Viability Rankings</a>`,
2323
2333
  ],
2324
- mod: 'gen6',
2334
+ mod: 'gen7',
2325
2335
  // searchShow: false,
2326
- ruleset: ['[Gen 6] OU'],
2327
- banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
2336
+ ruleset: ['[Gen 7] OU'],
2337
+ banlist: ['OU', 'UUBL', 'Drizzle', 'Drought', 'Kommonium Z', 'Mewnium Z'],
2328
2338
  },
2329
2339
  {
2330
- name: "[Gen 4] Anything Goes",
2331
- mod: 'gen4',
2340
+ name: "[Gen 6] ZU",
2341
+ threads: [
2342
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/zu/">ORAS ZU Banlist</a>`,
2343
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034679/">ORAS ZU Viability Rankings</a>`,
2344
+ ],
2345
+ mod: 'gen6',
2332
2346
  // searchShow: false,
2333
- ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
2347
+ ruleset: ['[Gen 6] PU'],
2348
+ banlist: ['PU', 'Fraxure', 'Regigigas', 'Simisear'],
2334
2349
  },
2335
2350
  {
2336
- name: "[Gen 7] RU",
2351
+ name: "[Gen 1] Ubers",
2337
2352
  threads: [
2338
- `&bullet; <a href="https://www.smogon.com/forums/threads/3645338/">USM RU Sample Teams</a>`,
2339
- `&bullet; <a href="https://www.smogon.com/forums/threads/3645873/">USM RU Viability Rankings</a>`,
2353
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8286283/">RBY Ubers</a>`,
2340
2354
  ],
2341
- mod: 'gen7',
2355
+ mod: 'gen1',
2342
2356
  // searchShow: false,
2343
- ruleset: ['[Gen 7] UU'],
2344
- banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2345
- unbanlist: ['Drought'],
2357
+ ruleset: ['Standard'],
2346
2358
  },
2347
2359
  // Past Gens OU
2348
2360
  ///////////////////////////////////////////////////////////////////
@@ -2562,15 +2574,16 @@ exports.Formats = [
2562
2574
  banlist: ['Baton Pass'],
2563
2575
  },
2564
2576
  {
2565
- name: "[Gen 7] UU",
2577
+ name: "[Gen 7] RU",
2566
2578
  threads: [
2567
- `&bullet; <a href="https://www.smogon.com/forums/threads/3621217/">USM UU Sample Teams</a>`,
2568
- `&bullet; <a href="https://www.smogon.com/forums/threads/3641346/">USM UU Viability Rankings</a>`,
2579
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645338/">USM RU Sample Teams</a>`,
2580
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645873/">USM RU Viability Rankings</a>`,
2569
2581
  ],
2570
2582
  mod: 'gen7',
2571
2583
  searchShow: false,
2572
- ruleset: ['[Gen 7] OU'],
2573
- banlist: ['OU', 'UUBL', 'Drizzle', 'Drought', 'Kommonium Z', 'Mewnium Z'],
2584
+ ruleset: ['[Gen 7] UU'],
2585
+ banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2586
+ unbanlist: ['Drought'],
2574
2587
  },
2575
2588
  {
2576
2589
  name: "[Gen 7] NU",
@@ -2841,6 +2854,17 @@ exports.Formats = [
2841
2854
  searchShow: false,
2842
2855
  ruleset: ['Standard', 'Swagger Clause', 'Mega Rayquaza Clause'],
2843
2856
  },
2857
+ {
2858
+ name: "[Gen 6] UU",
2859
+ threads: [
2860
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/uu/">ORAS UU Banlist</a>`,
2861
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3598164/">ORAS UU Viability Rankings</a>`,
2862
+ ],
2863
+ mod: 'gen6',
2864
+ searchShow: false,
2865
+ ruleset: ['[Gen 6] OU'],
2866
+ banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
2867
+ },
2844
2868
  {
2845
2869
  name: "[Gen 6] RU",
2846
2870
  threads: [
@@ -2936,17 +2960,6 @@ exports.Formats = [
2936
2960
  searchShow: false,
2937
2961
  ruleset: ['Obtainable', 'Team Preview', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
2938
2962
  },
2939
- {
2940
- name: "[Gen 6] ZU",
2941
- threads: [
2942
- `&bullet; <a href="https://www.smogon.com/dex/xy/formats/zu/">ORAS ZU Banlist</a>`,
2943
- `&bullet; <a href="https://www.smogon.com/forums/posts/8034679/">ORAS ZU Viability Rankings</a>`,
2944
- ],
2945
- mod: 'gen6',
2946
- searchShow: false,
2947
- ruleset: ['[Gen 6] PU'],
2948
- banlist: ['PU', 'Fraxure', 'Regigigas', 'Simisear'],
2949
- },
2950
2963
  {
2951
2964
  name: "[Gen 6] CAP",
2952
2965
  threads: [
@@ -3171,7 +3184,7 @@ exports.Formats = [
3171
3184
  searchShow: false,
3172
3185
  ruleset: [
3173
3186
  'Picked Team Size = 1', 'Max Team Size = 3',
3174
- 'Standard', 'Baton Pass Clause', 'Swagger Clause', 'Accuracy Moves Clause',
3187
+ 'Standard', 'Baton Pass Clause', 'Swagger Clause', 'Accuracy Moves Clause', 'Sleep Moves Clause',
3175
3188
  ],
3176
3189
  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'],
3177
3190
  unbanlist: ['Genesect', 'Landorus', 'Manaphy', 'Thundurus', 'Tornadus-Therian'],
@@ -3335,6 +3348,12 @@ exports.Formats = [
3335
3348
  'Berry Juice', 'Deep Sea Tooth', 'Dragon Rage', 'Sonic Boom', 'Swagger',
3336
3349
  ],
3337
3350
  },
3351
+ {
3352
+ name: "[Gen 4] Anything Goes",
3353
+ mod: 'gen4',
3354
+ searchShow: false,
3355
+ ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
3356
+ },
3338
3357
  {
3339
3358
  name: "[Gen 4] 1v1",
3340
3359
  desc: `Bring three Pok&eacute;mon to Team Preview and choose one to battle.`,
@@ -3571,15 +3590,6 @@ exports.Formats = [
3571
3590
  battle: { trunc: Math.trunc },
3572
3591
  ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
3573
3592
  },
3574
- {
3575
- name: "[Gen 1] Ubers",
3576
- threads: [
3577
- `&bullet; <a href="https://www.smogon.com/forums/posts/8286283/">RBY Ubers</a>`,
3578
- ],
3579
- mod: 'gen1',
3580
- searchShow: false,
3581
- ruleset: ['Standard'],
3582
- },
3583
3593
  {
3584
3594
  name: "[Gen 1] UU",
3585
3595
  threads: [