@pkmn/sim 0.4.25 → 0.5.3

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 (59) hide show
  1. package/build/config/formats.js +272 -204
  2. package/build/config/formats.js.map +1 -1
  3. package/build/data/abilities.js +5 -1
  4. package/build/data/abilities.js.map +1 -1
  5. package/build/data/formats-data.js +48 -41
  6. package/build/data/formats-data.js.map +1 -1
  7. package/build/data/items.js +26 -2
  8. package/build/data/items.js.map +1 -1
  9. package/build/data/learnsets.js +35 -1
  10. package/build/data/learnsets.js.map +1 -1
  11. package/build/data/mods/gen1/scripts.js +12 -0
  12. package/build/data/mods/gen1/scripts.js.map +1 -1
  13. package/build/data/mods/gen2/formats-data.js +2 -2
  14. package/build/data/mods/gen2/formats-data.js.map +1 -1
  15. package/build/data/mods/gen3/formats-data.js +1 -1
  16. package/build/data/mods/gen3/formats-data.js.map +1 -1
  17. package/build/data/moves.js +9 -13
  18. package/build/data/moves.js.map +1 -1
  19. package/build/data/pokedex.js +33 -0
  20. package/build/data/pokedex.js.map +1 -1
  21. package/build/data/rulesets.js +39 -5
  22. package/build/data/rulesets.js.map +1 -1
  23. package/build/data/text/items.js +4 -0
  24. package/build/data/text/items.js.map +1 -1
  25. package/build/data/text/moves.js +1 -1
  26. package/build/data/text/moves.js.map +1 -1
  27. package/build/sim/battle-actions.js +8 -3
  28. package/build/sim/battle-actions.js.map +1 -1
  29. package/build/sim/dex-formats.js +1 -1
  30. package/build/sim/dex-formats.js.map +1 -1
  31. package/build/sim/dex-species.js +4 -3
  32. package/build/sim/dex-species.js.map +1 -1
  33. package/build/sim/exported-global-types.d.ts +1 -0
  34. package/build/sim/global-types.d.ts +1 -0
  35. package/build/sim/pokemon.js +1 -1
  36. package/build/sim/pokemon.js.map +1 -1
  37. package/build/sim/team-validator.js +3 -0
  38. package/build/sim/team-validator.js.map +1 -1
  39. package/config/formats.ts +276 -205
  40. package/data/abilities.ts +3 -1
  41. package/data/formats-data.ts +48 -41
  42. package/data/items.ts +26 -2
  43. package/data/learnsets.ts +35 -1
  44. package/data/mods/gen1/scripts.ts +11 -0
  45. package/data/mods/gen2/formats-data.ts +2 -2
  46. package/data/mods/gen3/formats-data.ts +1 -1
  47. package/data/moves.ts +9 -13
  48. package/data/pokedex.ts +33 -0
  49. package/data/rulesets.ts +35 -6
  50. package/data/text/items.ts +4 -0
  51. package/data/text/moves.ts +1 -1
  52. package/package.json +1 -1
  53. package/sim/battle-actions.ts +8 -3
  54. package/sim/dex-formats.ts +1 -1
  55. package/sim/dex-species.ts +4 -3
  56. package/sim/exported-global-types.ts +1 -0
  57. package/sim/global-types.ts +1 -0
  58. package/sim/pokemon.ts +1 -1
  59. package/sim/team-validator.ts +3 -0
@@ -11,7 +11,7 @@ exports.FormatsData = {
11
11
  venusaur: {
12
12
  randomBattleMoves: ["gigadrain", "leechseed", "sleeppowder", "sludgebomb", "substitute"],
13
13
  randomBattleLevel: 82,
14
- tier: "RUBL",
14
+ tier: "UU",
15
15
  doublesTier: "(DUU)",
16
16
  },
17
17
  venusaurmega: {
@@ -356,7 +356,7 @@ exports.FormatsData = {
356
356
  randomDoubleBattleMoves: ["auroraveil", "blizzard", "encore", "freezedry", "moonblast"],
357
357
  randomDoubleBattleLevel: 81,
358
358
  tier: "OU",
359
- doublesTier: "DUU",
359
+ doublesTier: "DOU",
360
360
  },
361
361
  igglybuff: {
362
362
  tier: "LC",
@@ -493,7 +493,7 @@ exports.FormatsData = {
493
493
  randomDoubleBattleMoves: ["calmmind", "encore", "icebeam", "muddywater", "protect"],
494
494
  randomDoubleBattleLevel: 88,
495
495
  tier: "(PU)",
496
- doublesTier: "(DUU)",
496
+ doublesTier: "DUU",
497
497
  },
498
498
  mankey: {
499
499
  isNonstandard: "Past",
@@ -533,7 +533,7 @@ exports.FormatsData = {
533
533
  randomBattleLevel: 86,
534
534
  randomDoubleBattleMoves: ["earthpower", "helpinghand", "icywind", "muddywater", "protect"],
535
535
  randomDoubleBattleLevel: 84,
536
- tier: "RU",
536
+ tier: "(PU)",
537
537
  doublesTier: "DUU",
538
538
  },
539
539
  abra: {
@@ -665,7 +665,7 @@ exports.FormatsData = {
665
665
  randomBattleLevel: 86,
666
666
  randomDoubleBattleMoves: ["fireblast", "healpulse", "protect", "psychic", "shellsidearm", "trickroom"],
667
667
  randomDoubleBattleLevel: 85,
668
- tier: "UU",
668
+ tier: "RUBL",
669
669
  doublesTier: "(DUU)",
670
670
  },
671
671
  slowking: {
@@ -713,7 +713,7 @@ exports.FormatsData = {
713
713
  randomBattleMoves: ["bravebird", "closecombat", "firstimpression", "knockoff", "swordsdance"],
714
714
  randomBattleLevel: 82,
715
715
  randomDoubleBattleMoves: ["bravebird", "closecombat", "firstimpression", "knockoff", "poisonjab", "protect", "swordsdance"],
716
- randomDoubleBattleLevel: 84,
716
+ randomDoubleBattleLevel: 85,
717
717
  randomBattleNoDynamaxMoves: ["bravebird", "closecombat", "firstimpression", "knockoff", "poisonjab", "swordsdance"],
718
718
  tier: "NU",
719
719
  doublesTier: "(DUU)",
@@ -949,7 +949,7 @@ exports.FormatsData = {
949
949
  randomBattleLevel: 82,
950
950
  randomDoubleBattleMoves: ["highhorsepower", "icepunch", "megahorn", "protect", "rockslide", "stoneedge"],
951
951
  randomDoubleBattleLevel: 84,
952
- tier: "UU",
952
+ tier: "RU",
953
953
  doublesTier: "(DUU)",
954
954
  },
955
955
  happiny: {
@@ -1005,7 +1005,7 @@ exports.FormatsData = {
1005
1005
  randomDoubleBattleLevel: 82,
1006
1006
  randomBattleNoDynamaxMoves: ["dracometeor", "flipturn", "hydropump", "icebeam", "raindance"],
1007
1007
  tier: "PUBL",
1008
- doublesTier: "DOU",
1008
+ doublesTier: "DUU",
1009
1009
  },
1010
1010
  goldeen: {
1011
1011
  tier: "LC",
@@ -1212,7 +1212,7 @@ exports.FormatsData = {
1212
1212
  randomBattleLevel: 82,
1213
1213
  randomDoubleBattleMoves: ["calmmind", "dazzlinggleam", "morningsun", "protect", "psychic", "shadowball"],
1214
1214
  randomDoubleBattleLevel: 84,
1215
- tier: "NU",
1215
+ tier: "PU",
1216
1216
  doublesTier: "(DUU)",
1217
1217
  },
1218
1218
  umbreon: {
@@ -1245,7 +1245,7 @@ exports.FormatsData = {
1245
1245
  randomDoubleBattleMoves: ["calmmind", "hypervoice", "mysticalfire", "protect", "psyshock"],
1246
1246
  randomDoubleBattleLevel: 80,
1247
1247
  tier: "NU",
1248
- doublesTier: "DUU",
1248
+ doublesTier: "(DUU)",
1249
1249
  },
1250
1250
  porygon: {
1251
1251
  tier: "LC",
@@ -1349,7 +1349,7 @@ exports.FormatsData = {
1349
1349
  randomBattleLevel: 76,
1350
1350
  randomDoubleBattleMoves: ["bravebird", "bulkup", "closecombat", "throatchop", "thunderouskick", "uturn"],
1351
1351
  randomDoubleBattleLevel: 76,
1352
- tier: "UUBL",
1352
+ tier: "OU",
1353
1353
  doublesTier: "DOU",
1354
1354
  },
1355
1355
  moltres: {
@@ -1546,7 +1546,7 @@ exports.FormatsData = {
1546
1546
  randomDoubleBattleMoves: ["aquajet", "knockoff", "liquidation", "playrough", "protect"],
1547
1547
  randomDoubleBattleLevel: 87,
1548
1548
  tier: "UU",
1549
- doublesTier: "(DUU)",
1549
+ doublesTier: "DUU",
1550
1550
  },
1551
1551
  bonsly: {
1552
1552
  tier: "LC",
@@ -2083,7 +2083,7 @@ exports.FormatsData = {
2083
2083
  randomBattleLevel: 82,
2084
2084
  randomDoubleBattleMoves: ["closecombat", "feint", "knockoff", "protect", "swordsdance", "tripleaxel", "zenheadbutt"],
2085
2085
  randomDoubleBattleLevel: 86,
2086
- tier: "(PU)",
2086
+ tier: "PU",
2087
2087
  doublesTier: "(DUU)",
2088
2088
  },
2089
2089
  gallademega: {
@@ -2126,7 +2126,7 @@ exports.FormatsData = {
2126
2126
  randomBattleLevel: 86,
2127
2127
  randomDoubleBattleMoves: ["acrobatics", "defog", "leechlife", "protect", "swordsdance"],
2128
2128
  randomDoubleBattleLevel: 88,
2129
- tier: "NU",
2129
+ tier: "PU",
2130
2130
  doublesTier: "(DUU)",
2131
2131
  },
2132
2132
  shedinja: {
@@ -2444,7 +2444,7 @@ exports.FormatsData = {
2444
2444
  randomDoubleBattleMoves: ["powerwhip", "protect", "recover", "stealthrock", "stoneedge", "stringshot", "toxic"],
2445
2445
  randomDoubleBattleLevel: 88,
2446
2446
  tier: "(PU)",
2447
- doublesTier: "DUU",
2447
+ doublesTier: "(DUU)",
2448
2448
  },
2449
2449
  anorith: {
2450
2450
  tier: "LC",
@@ -2505,7 +2505,6 @@ exports.FormatsData = {
2505
2505
  randomDoubleBattleMoves: ["allyswitch", "haze", "helpinghand", "nightshade", "painsplit", "trickroom", "willowisp"],
2506
2506
  randomDoubleBattleLevel: 84,
2507
2507
  tier: "NFE",
2508
- doublesTier: "DUU",
2509
2508
  },
2510
2509
  dusknoir: {
2511
2510
  randomBattleMoves: ["earthquake", "icepunch", "painsplit", "poltergeist", "shadowsneak", "trick", "willowisp"],
@@ -2962,7 +2961,7 @@ exports.FormatsData = {
2962
2961
  randomBattleLevel: 82,
2963
2962
  randomDoubleBattleMoves: ["allyswitch", "bodypress", "explosion", "ironhead", "trickroom"],
2964
2963
  randomDoubleBattleLevel: 88,
2965
- tier: "NU",
2964
+ tier: "RU",
2966
2965
  doublesTier: "DUU",
2967
2966
  },
2968
2967
  chatot: {
@@ -3172,7 +3171,7 @@ exports.FormatsData = {
3172
3171
  randomDoubleBattleMoves: ["bodyslam", "knockoff", "protect", "thunderwave"],
3173
3172
  randomDoubleBattleLevel: 86,
3174
3173
  tier: "(PU)",
3175
- doublesTier: "(DUU)",
3174
+ doublesTier: "DUU",
3176
3175
  },
3177
3176
  giratina: {
3178
3177
  randomBattleMoves: ["hex", "rest", "sleeptalk", "toxic", "willowisp"],
@@ -3446,7 +3445,7 @@ exports.FormatsData = {
3446
3445
  },
3447
3446
  audino: {
3448
3447
  randomBattleMoves: ["healbell", "knockoff", "protect", "toxic", "wish"],
3449
- randomBattleLevel: 88,
3448
+ randomBattleLevel: 90,
3450
3449
  randomDoubleBattleMoves: ["bodyslam", "healpulse", "helpinghand", "knockoff", "protect", "thunderwave"],
3451
3450
  randomDoubleBattleLevel: 89,
3452
3451
  tier: "PU",
@@ -3483,7 +3482,7 @@ exports.FormatsData = {
3483
3482
  randomBattleLevel: 84,
3484
3483
  randomDoubleBattleMoves: ["earthpower", "knockoff", "muddywater", "powerwhip", "protect", "raindance"],
3485
3484
  randomDoubleBattleLevel: 86,
3486
- tier: "UU",
3485
+ tier: "RU",
3487
3486
  doublesTier: "(DUU)",
3488
3487
  },
3489
3488
  throh: {
@@ -3656,7 +3655,7 @@ exports.FormatsData = {
3656
3655
  randomBattleLevel: 86,
3657
3656
  randomDoubleBattleMoves: ["bodypress", "irondefense", "painsplit", "shadowball", "trickroom", "willowisp"],
3658
3657
  randomDoubleBattleLevel: 88,
3659
- tier: "(PU)",
3658
+ tier: "PU",
3660
3659
  doublesTier: "(DUU)",
3661
3660
  },
3662
3661
  runerigus: {
@@ -3773,7 +3772,7 @@ exports.FormatsData = {
3773
3772
  randomDoubleBattleMoves: ["auroraveil", "blizzard", "freezedry", "iceshard", "protect"],
3774
3773
  randomDoubleBattleLevel: 82,
3775
3774
  tier: "(PU)",
3776
- doublesTier: "DUU",
3775
+ doublesTier: "(DUU)",
3777
3776
  },
3778
3777
  deerling: {
3779
3778
  isNonstandard: "Past",
@@ -3835,7 +3834,7 @@ exports.FormatsData = {
3835
3834
  randomBattleMoves: ["bugbuzz", "gigadrain", "stickyweb", "thunder", "voltswitch"],
3836
3835
  randomBattleLevel: 82,
3837
3836
  randomDoubleBattleMoves: ["bugbuzz", "electroweb", "energyball", "protect", "stickyweb", "thunder"],
3838
- randomDoubleBattleLevel: 86,
3837
+ randomDoubleBattleLevel: 85,
3839
3838
  tier: "PU",
3840
3839
  doublesTier: "(DUU)",
3841
3840
  },
@@ -3971,7 +3970,7 @@ exports.FormatsData = {
3971
3970
  randomBattleLevel: 82,
3972
3971
  randomDoubleBattleMoves: ["closecombat", "fakeout", "knockoff", "poisonjab", "protect", "uturn"],
3973
3972
  randomDoubleBattleLevel: 84,
3974
- tier: "RUBL",
3973
+ tier: "UUBL",
3975
3974
  doublesTier: "(DUU)",
3976
3975
  },
3977
3976
  druddigon: {
@@ -4073,7 +4072,7 @@ exports.FormatsData = {
4073
4072
  randomDoubleBattleMoves: ["bugbuzz", "gigadrain", "heatwave", "hurricane", "protect", "quiverdance"],
4074
4073
  randomDoubleBattleLevel: 80,
4075
4074
  tier: "OU",
4076
- doublesTier: "DUU",
4075
+ doublesTier: "(DUU)",
4077
4076
  },
4078
4077
  cobalion: {
4079
4078
  randomBattleMoves: ["closecombat", "ironhead", "stealthrock", "stoneedge", "swordsdance", "voltswitch"],
@@ -4170,7 +4169,7 @@ exports.FormatsData = {
4170
4169
  randomBattleLevel: 80,
4171
4170
  randomDoubleBattleMoves: ["dracometeor", "earthpower", "freezedry", "glaciate", "protect", "roost"],
4172
4171
  randomDoubleBattleLevel: 78,
4173
- tier: "OU",
4172
+ tier: "Uber",
4174
4173
  doublesTier: "DUU",
4175
4174
  },
4176
4175
  kyuremblack: {
@@ -4197,7 +4196,7 @@ exports.FormatsData = {
4197
4196
  },
4198
4197
  keldeoresolute: {
4199
4198
  randomBattleMoves: ["airslash", "calmmind", "hydropump", "icywind", "scald", "secretsword", "substitute"],
4200
- randomBattleLevel: 80,
4199
+ randomBattleLevel: 79,
4201
4200
  },
4202
4201
  meloetta: {
4203
4202
  isNonstandard: "Past",
@@ -4280,7 +4279,7 @@ exports.FormatsData = {
4280
4279
  randomBattleLevel: 80,
4281
4280
  randomDoubleBattleMoves: ["bodyslam", "highhorsepower", "knockoff", "protect", "quickattack", "swordsdance", "uturn"],
4282
4281
  randomDoubleBattleLevel: 86,
4283
- tier: "UU",
4282
+ tier: "RUBL",
4284
4283
  doublesTier: "(DUU)",
4285
4284
  },
4286
4285
  fletchling: {
@@ -4547,7 +4546,7 @@ exports.FormatsData = {
4547
4546
  randomDoubleBattleMoves: ["dazzlinggleam", "foulplay", "spikes", "thunderwave"],
4548
4547
  randomDoubleBattleLevel: 84,
4549
4548
  tier: "RU",
4550
- doublesTier: "(DUU)",
4549
+ doublesTier: "DUU",
4551
4550
  },
4552
4551
  phantump: {
4553
4552
  tier: "LC",
@@ -4958,7 +4957,7 @@ exports.FormatsData = {
4958
4957
  randomBattleLevel: 84,
4959
4958
  randomDoubleBattleMoves: ["highjumpkick", "knockoff", "playrough", "powerwhip", "rapidspin", "tripleaxel", "uturn"],
4960
4959
  randomDoubleBattleLevel: 88,
4961
- tier: "PU",
4960
+ tier: "NU",
4962
4961
  doublesTier: "DOU",
4963
4962
  },
4964
4963
  comfey: {
@@ -4967,7 +4966,7 @@ exports.FormatsData = {
4967
4966
  randomDoubleBattleMoves: ["defog", "drainingkiss", "floralhealing", "gigadrain", "helpinghand", "protect"],
4968
4967
  randomDoubleBattleLevel: 89,
4969
4968
  tier: "NU",
4970
- doublesTier: "DOU",
4969
+ doublesTier: "DUU",
4971
4970
  },
4972
4971
  oranguru: {
4973
4972
  randomBattleMoves: ["focusblast", "nastyplot", "psychic", "thunderbolt", "trickroom"],
@@ -5114,7 +5113,7 @@ exports.FormatsData = {
5114
5113
  randomBattleLevel: 84,
5115
5114
  randomDoubleBattleMoves: ["multiattack", "rockslide", "swordsdance", "tailwind"],
5116
5115
  randomDoubleBattleLevel: 89,
5117
- tier: "(PU)",
5116
+ tier: "NU",
5118
5117
  doublesTier: "(DUU)",
5119
5118
  },
5120
5119
  silvallyice: {
@@ -5310,7 +5309,7 @@ exports.FormatsData = {
5310
5309
  randomDoubleBattleMoves: ["grassknot", "meteorbeam", "protect", "sludgebomb", "thunderbolt"],
5311
5310
  randomDoubleBattleLevel: 81,
5312
5311
  tier: "UU",
5313
- doublesTier: "DOU",
5312
+ doublesTier: "DUU",
5314
5313
  },
5315
5314
  buzzwole: {
5316
5315
  randomBattleMoves: ["closecombat", "darkestlariat", "dualwingbeat", "ironhead", "leechlife", "stoneedge"],
@@ -5335,7 +5334,7 @@ exports.FormatsData = {
5335
5334
  randomDoubleBattleMoves: ["dazzlinggleam", "energyball", "thunderbolt", "voltswitch"],
5336
5335
  randomDoubleBattleLevel: 79,
5337
5336
  tier: "RU",
5338
- doublesTier: "(DUU)",
5337
+ doublesTier: "DUU",
5339
5338
  },
5340
5339
  celesteela: {
5341
5340
  randomBattleMoves: ["airslash", "earthquake", "fireblast", "flashcannon", "leechseed", "protect"],
@@ -5344,7 +5343,7 @@ exports.FormatsData = {
5344
5343
  randomDoubleBattleLevel: 78,
5345
5344
  randomBattleNoDynamaxMoves: ["airslash", "earthquake", "fireblast", "heavyslam", "leechseed", "protect"],
5346
5345
  tier: "UU",
5347
- doublesTier: "DUU",
5346
+ doublesTier: "DOU",
5348
5347
  },
5349
5348
  kartana: {
5350
5349
  randomBattleMoves: ["knockoff", "leafblade", "sacredsword", "smartstrike", "swordsdance"],
@@ -5908,7 +5907,7 @@ exports.FormatsData = {
5908
5907
  randomBattleLevel: 84,
5909
5908
  randomDoubleBattleMoves: ["expandingforce", "followme", "healpulse", "helpinghand", "protect"],
5910
5909
  randomDoubleBattleLevel: 80,
5911
- tier: "PUBL",
5910
+ tier: "NU",
5912
5911
  doublesTier: "DOU",
5913
5912
  },
5914
5913
  morpeko: {
@@ -5939,7 +5938,7 @@ exports.FormatsData = {
5939
5938
  },
5940
5939
  dracozolt: {
5941
5940
  randomBattleMoves: ["aerialace", "boltbeak", "earthquake", "lowkick", "outrage"],
5942
- randomBattleLevel: 79,
5941
+ randomBattleLevel: 78,
5943
5942
  randomDoubleBattleMoves: ["aerialace", "boltbeak", "dragonclaw", "highhorsepower", "rockslide"],
5944
5943
  randomDoubleBattleLevel: 82,
5945
5944
  randomBattleNoDynamaxMoves: ["boltbeak", "dragonclaw", "earthquake", "outrage"],
@@ -5952,7 +5951,7 @@ exports.FormatsData = {
5952
5951
  randomDoubleBattleMoves: ["blizzard", "boltbeak", "iciclecrash", "lowkick", "protect"],
5953
5952
  randomDoubleBattleLevel: 88,
5954
5953
  tier: "UUBL",
5955
- doublesTier: "(DUU)",
5954
+ doublesTier: "DUU",
5956
5955
  },
5957
5956
  dracovish: {
5958
5957
  randomBattleMoves: ["crunch", "fishiousrend", "icefang", "lowkick", "psychicfangs"],
@@ -6094,7 +6093,7 @@ exports.FormatsData = {
6094
6093
  randomDoubleBattleMoves: ["electroweb", "extremespeed", "protect", "thundercage", "voltswitch"],
6095
6094
  randomDoubleBattleLevel: 82,
6096
6095
  randomBattleNoDynamaxMoves: ["explosion", "rapidspin", "thunderbolt", "voltswitch"],
6097
- tier: "UU",
6096
+ tier: "OU",
6098
6097
  doublesTier: "DOU",
6099
6098
  },
6100
6099
  regidrago: {
@@ -6103,14 +6102,14 @@ exports.FormatsData = {
6103
6102
  randomDoubleBattleMoves: ["crunch", "dragonclaw", "dragonenergy", "firefang"],
6104
6103
  randomDoubleBattleLevel: 78,
6105
6104
  tier: "NUBL",
6106
- doublesTier: "DUU",
6105
+ doublesTier: "(DUU)",
6107
6106
  },
6108
6107
  glastrier: {
6109
6108
  randomBattleMoves: ["closecombat", "highhorsepower", "iciclecrash", "swordsdance"],
6110
6109
  randomBattleLevel: 82,
6111
6110
  randomDoubleBattleMoves: ["closecombat", "highhorsepower", "iciclecrash", "protect"],
6112
6111
  randomDoubleBattleLevel: 82,
6113
- tier: "NU",
6112
+ tier: "PU",
6114
6113
  doublesTier: "(DUU)",
6115
6114
  },
6116
6115
  spectrier: {
@@ -6413,6 +6412,14 @@ exports.FormatsData = {
6413
6412
  isNonstandard: "CAP",
6414
6413
  tier: "CAP",
6415
6414
  },
6415
+ venomicon: {
6416
+ isNonstandard: "CAP",
6417
+ tier: "CAP",
6418
+ },
6419
+ venomiconepilogue: {
6420
+ isNonstandard: "CAP",
6421
+ tier: "CAP",
6422
+ },
6416
6423
  pokestarsmeargle: {
6417
6424
  isNonstandard: "Custom",
6418
6425
  tier: "Illegal",