@pkmn/sim 0.5.18 → 0.5.19

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.
@@ -570,44 +570,35 @@ exports.Formats = [
570
570
  column: 2,
571
571
  },
572
572
  {
573
- name: "[Gen 8] Crazyhouse",
574
- desc: `Pokémon you KO are added to your team and removed from the opponent's, and vice versa.`,
573
+ name: "[Gen 8] Tier Shift",
574
+ desc: `Pokémon get a +10 boost to each stat, barring HP, per tier below OU they are in.`,
575
575
  threads: [
576
- `&bullet; <a href="https://www.smogon.com/forums/threads/3699268/">Crazyhouse</a>`,
576
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3662165/">Tier Shift</a>`,
577
577
  ],
578
578
  mod: 'gen8',
579
- ruleset: ['Standard', 'Crazyhouse Rule', 'Dynamax Clause', 'Sleep Moves Clause', 'Evasion Abilities Clause', '!Sleep Clause Mod'],
579
+ ruleset: ['Standard', 'Tier Shift Mod', 'Dynamax Clause'],
580
580
  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',
581
+ 'Calyrex-Ice', 'Calyrex-Shadow', 'Cinderace', 'Darmanitan-Galar', 'Dialga', 'Dracovish', 'Eternatus', 'Genesect', 'Giratina', 'Giratina-Origin',
582
+ 'Groudon', 'Ho-Oh', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Magearna', 'Marshadow', 'Mewtwo',
583
+ 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Rayquaza', 'Reshiram', 'Solgaleo', 'Spectrier', 'Urshifu-Base',
584
+ 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Zygarde-Base', 'Arena Trap', 'Moody', 'Power Construct', 'Sand Veil',
585
+ 'Shadow Tag', 'Snow Cloak', 'Bright Powder', 'Damp Rock', 'Eviolite', 'Heat Rock', 'King\'s Rock', 'Lax Incense', 'Baton Pass',
588
586
  ],
589
587
  },
590
588
  {
591
- name: "[Gen 8] Pokebilities AAA",
592
- desc: `Pok&eacute;mon have all of their released abilities simultaneously alongside any additional ability.`,
589
+ name: "[Gen 8] Inverse",
590
+ desc: `Weaknesses become resistances, while resistances and immunities become weaknesses.`,
593
591
  threads: [
594
- `&bullet; <a href="https://www.smogon.com/forums/posts/8821047">Pok&eacute;bilities AAA</a>`,
592
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3666858/">Inverse</a>`,
595
593
  ],
596
- mod: 'pokebilities',
597
- ruleset: ['[Gen 8] Pokebilities', '!Obtainable Abilities', 'AAA Restricted Abilities', '2 Ability Clause', 'Sleep Moves Clause', '!Sleep Clause Mod'],
594
+ mod: 'gen8',
595
+ ruleset: ['Standard', 'Inverse Mod', 'Dynamax Clause'],
598
596
  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',
597
+ 'Cinderace', 'Calyrex-Ice', 'Calyrex-Shadow', 'Darmanitan-Galar', 'Dialga', 'Diggersby', 'Dracovish', 'Dracozolt', 'Eternatus', 'Genesect', 'Giratina',
598
+ 'Giratina-Origin', 'Groudon', 'Ho-Oh', 'Kartana', 'Kyogre', 'Kyurem', 'Kyurem-Black', 'Kyurem-White', 'Landorus-Base', 'Lugia', 'Lunala', 'Marshadow',
599
+ 'Mewtwo', 'Naganadel', 'Necrozma-Dawn-Wings', 'Necrozma-Dusk-Mane', 'Palkia', 'Pheromosa', 'Porygon-Z', 'Rayquaza', 'Regidrago', 'Regieleki', 'Reshiram',
600
+ 'Reuniclus', 'Rillaboom', 'Solgaleo', 'Spectrier', 'Urshifu-Base', 'Xerneas', 'Yveltal', 'Zacian', 'Zacian-Crowned', 'Zamazenta-Base', 'Zekrom', 'Arena Trap',
601
+ 'Moody', 'Power Construct', 'Shadow Tag', 'King\'s Rock', 'Baton Pass',
611
602
  ],
612
603
  },
613
604
  // Other Metagames
@@ -2080,6 +2071,17 @@ exports.Formats = [
2080
2071
  team: 'randomStaffBros',
2081
2072
  ruleset: ['Dynamax Clause', 'HP Percentage Mod', 'Cancel Mod', 'Sleep Clause Mod'],
2082
2073
  onBegin() {
2074
+ if (!this.ruleTable.has('dynamaxclause')) {
2075
+ // Old joke format we're bringing back
2076
+ for (const side of this.sides) {
2077
+ side.dynamaxUsed = true;
2078
+ }
2079
+ this.add('message', 'Delphox only');
2080
+ this.add('message', 'No items');
2081
+ this.add('message', 'Final Destination');
2082
+ return;
2083
+ }
2084
+ // TODO look into making an event to put this right after turn|1
2083
2085
  // https://discordapp.com/channels/630837856075513856/630845310033330206/716126469528485909
2084
2086
  // Requires client change
2085
2087
  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 +2186,7 @@ exports.Formats = [
2184
2186
  ],
2185
2187
  mod: 'gen7',
2186
2188
  team: 'random',
2187
- ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod'],
2189
+ ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
2188
2190
  },
2189
2191
  {
2190
2192
  name: "[Gen 7] Random Doubles Battle",
@@ -2240,7 +2242,7 @@ exports.Formats = [
2240
2242
  name: "[Gen 6] Random Battle",
2241
2243
  mod: 'gen6',
2242
2244
  team: 'random',
2243
- ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod'],
2245
+ ruleset: ['Obtainable', 'Sleep Clause Mod', 'HP Percentage Mod', 'Cancel Mod', 'Mega Rayquaza Clause'],
2244
2246
  },
2245
2247
  {
2246
2248
  name: "[Gen 6] Battle Factory",
@@ -2316,33 +2318,35 @@ exports.Formats = [
2316
2318
  column: 3,
2317
2319
  },
2318
2320
  {
2319
- name: "[Gen 6] UU",
2321
+ name: "[Gen 7] UU",
2320
2322
  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>`,
2323
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3621217/">USM UU Sample Teams</a>`,
2324
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3641346/">USM UU Viability Rankings</a>`,
2323
2325
  ],
2324
- mod: 'gen6',
2326
+ mod: 'gen7',
2325
2327
  // searchShow: false,
2326
- ruleset: ['[Gen 6] OU'],
2327
- banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
2328
+ ruleset: ['[Gen 7] OU'],
2329
+ banlist: ['OU', 'UUBL', 'Drizzle', 'Drought', 'Kommonium Z', 'Mewnium Z'],
2328
2330
  },
2329
2331
  {
2330
- name: "[Gen 4] Anything Goes",
2331
- mod: 'gen4',
2332
+ name: "[Gen 6] ZU",
2333
+ threads: [
2334
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/zu/">ORAS ZU Banlist</a>`,
2335
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8034679/">ORAS ZU Viability Rankings</a>`,
2336
+ ],
2337
+ mod: 'gen6',
2332
2338
  // searchShow: false,
2333
- ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
2339
+ ruleset: ['[Gen 6] PU'],
2340
+ banlist: ['PU', 'Fraxure', 'Regigigas', 'Simisear'],
2334
2341
  },
2335
2342
  {
2336
- name: "[Gen 7] RU",
2343
+ name: "[Gen 1] Ubers",
2337
2344
  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>`,
2345
+ `&bullet; <a href="https://www.smogon.com/forums/posts/8286283/">RBY Ubers</a>`,
2340
2346
  ],
2341
- mod: 'gen7',
2347
+ mod: 'gen1',
2342
2348
  // searchShow: false,
2343
- ruleset: ['[Gen 7] UU'],
2344
- banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2345
- unbanlist: ['Drought'],
2349
+ ruleset: ['Standard'],
2346
2350
  },
2347
2351
  // Past Gens OU
2348
2352
  ///////////////////////////////////////////////////////////////////
@@ -2562,15 +2566,16 @@ exports.Formats = [
2562
2566
  banlist: ['Baton Pass'],
2563
2567
  },
2564
2568
  {
2565
- name: "[Gen 7] UU",
2569
+ name: "[Gen 7] RU",
2566
2570
  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>`,
2571
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645338/">USM RU Sample Teams</a>`,
2572
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3645873/">USM RU Viability Rankings</a>`,
2569
2573
  ],
2570
2574
  mod: 'gen7',
2571
2575
  searchShow: false,
2572
- ruleset: ['[Gen 7] OU'],
2573
- banlist: ['OU', 'UUBL', 'Drizzle', 'Drought', 'Kommonium Z', 'Mewnium Z'],
2576
+ ruleset: ['[Gen 7] UU'],
2577
+ banlist: ['UU', 'RUBL', 'Mimikyu', 'Aurora Veil'],
2578
+ unbanlist: ['Drought'],
2574
2579
  },
2575
2580
  {
2576
2581
  name: "[Gen 7] NU",
@@ -2841,6 +2846,17 @@ exports.Formats = [
2841
2846
  searchShow: false,
2842
2847
  ruleset: ['Standard', 'Swagger Clause', 'Mega Rayquaza Clause'],
2843
2848
  },
2849
+ {
2850
+ name: "[Gen 6] UU",
2851
+ threads: [
2852
+ `&bullet; <a href="https://www.smogon.com/dex/xy/formats/uu/">ORAS UU Banlist</a>`,
2853
+ `&bullet; <a href="https://www.smogon.com/forums/threads/3598164/">ORAS UU Viability Rankings</a>`,
2854
+ ],
2855
+ mod: 'gen6',
2856
+ searchShow: false,
2857
+ ruleset: ['[Gen 6] OU'],
2858
+ banlist: ['OU', 'UUBL', 'Drizzle', 'Drought'],
2859
+ },
2844
2860
  {
2845
2861
  name: "[Gen 6] RU",
2846
2862
  threads: [
@@ -2936,17 +2952,6 @@ exports.Formats = [
2936
2952
  searchShow: false,
2937
2953
  ruleset: ['Obtainable', 'Team Preview', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
2938
2954
  },
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
2955
  {
2951
2956
  name: "[Gen 6] CAP",
2952
2957
  threads: [
@@ -3171,7 +3176,7 @@ exports.Formats = [
3171
3176
  searchShow: false,
3172
3177
  ruleset: [
3173
3178
  'Picked Team Size = 1', 'Max Team Size = 3',
3174
- 'Standard', 'Baton Pass Clause', 'Swagger Clause', 'Accuracy Moves Clause',
3179
+ 'Standard', 'Baton Pass Clause', 'Swagger Clause', 'Accuracy Moves Clause', 'Sleep Moves Clause',
3175
3180
  ],
3176
3181
  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
3182
  unbanlist: ['Genesect', 'Landorus', 'Manaphy', 'Thundurus', 'Tornadus-Therian'],
@@ -3335,6 +3340,12 @@ exports.Formats = [
3335
3340
  'Berry Juice', 'Deep Sea Tooth', 'Dragon Rage', 'Sonic Boom', 'Swagger',
3336
3341
  ],
3337
3342
  },
3343
+ {
3344
+ name: "[Gen 4] Anything Goes",
3345
+ mod: 'gen4',
3346
+ searchShow: false,
3347
+ ruleset: ['Obtainable', 'Arceus EV Limit', 'Endless Battle Clause', 'HP Percentage Mod', 'Cancel Mod'],
3348
+ },
3338
3349
  {
3339
3350
  name: "[Gen 4] 1v1",
3340
3351
  desc: `Bring three Pok&eacute;mon to Team Preview and choose one to battle.`,
@@ -3571,15 +3582,6 @@ exports.Formats = [
3571
3582
  battle: { trunc: Math.trunc },
3572
3583
  ruleset: ['HP Percentage Mod', 'Cancel Mod', 'Max Team Size = 24', 'Max Move Count = 24', 'Max Level = 9999', 'Default Level = 100'],
3573
3584
  },
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
3585
  {
3584
3586
  name: "[Gen 1] UU",
3585
3587
  threads: [