@pkmn/sim 0.8.8 → 0.9.0

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 (82) hide show
  1. package/README.md +33 -1
  2. package/build/cjs/config/formats.js +178 -596
  3. package/build/cjs/config/formats.js.map +1 -1
  4. package/build/cjs/data/abilities.js +1 -1
  5. package/build/cjs/data/abilities.js.map +1 -1
  6. package/build/cjs/data/aliases.js +2 -2
  7. package/build/cjs/data/aliases.js.map +1 -1
  8. package/build/cjs/data/formats-data.js +126 -126
  9. package/build/cjs/data/formats-data.js.map +1 -1
  10. package/build/cjs/data/learnsets.js +3 -0
  11. package/build/cjs/data/learnsets.js.map +1 -1
  12. package/build/cjs/data/mods/gen2/formats-data.js +2 -2
  13. package/build/cjs/data/mods/gen2/formats-data.js.map +1 -1
  14. package/build/cjs/data/mods/gen3/abilities.js +9 -0
  15. package/build/cjs/data/mods/gen3/abilities.js.map +1 -1
  16. package/build/cjs/data/mods/gen5/formats-data.js +110 -129
  17. package/build/cjs/data/mods/gen5/formats-data.js.map +1 -1
  18. package/build/cjs/data/mods/gen8/moves.js +1 -9
  19. package/build/cjs/data/mods/gen8/moves.js.map +1 -1
  20. package/build/cjs/data/moves.js +40 -11
  21. package/build/cjs/data/moves.js.map +1 -1
  22. package/build/cjs/data/pokedex.js +18 -18
  23. package/build/cjs/data/pokedex.js.map +1 -1
  24. package/build/cjs/data/rulesets.js +0 -1
  25. package/build/cjs/data/rulesets.js.map +1 -1
  26. package/build/cjs/sim/battle-actions.js +2 -1
  27. package/build/cjs/sim/battle-actions.js.map +1 -1
  28. package/build/cjs/sim/battle-stream.d.ts +3 -2
  29. package/build/cjs/sim/battle-stream.js +4 -2
  30. package/build/cjs/sim/battle-stream.js.map +1 -1
  31. package/build/cjs/sim/battle.d.ts +1 -1
  32. package/build/cjs/sim/battle.js +4 -4
  33. package/build/cjs/sim/battle.js.map +1 -1
  34. package/build/cjs/sim/dex-formats.d.ts +2 -0
  35. package/build/cjs/sim/dex-formats.js +12 -6
  36. package/build/cjs/sim/dex-formats.js.map +1 -1
  37. package/build/cjs/sim/dex-moves.d.ts +2 -0
  38. package/build/cjs/sim/dex-moves.js.map +1 -1
  39. package/build/cjs/sim/dex.d.ts +4 -2
  40. package/build/cjs/sim/dex.js +2 -0
  41. package/build/cjs/sim/dex.js.map +1 -1
  42. package/build/esm/config/formats.mjs +178 -596
  43. package/build/esm/config/formats.mjs.map +1 -1
  44. package/build/esm/data/abilities.mjs +1 -1
  45. package/build/esm/data/abilities.mjs.map +1 -1
  46. package/build/esm/data/aliases.mjs +2 -2
  47. package/build/esm/data/aliases.mjs.map +1 -1
  48. package/build/esm/data/formats-data.mjs +126 -126
  49. package/build/esm/data/formats-data.mjs.map +1 -1
  50. package/build/esm/data/learnsets.mjs +3 -0
  51. package/build/esm/data/learnsets.mjs.map +1 -1
  52. package/build/esm/data/mods/gen2/formats-data.mjs +2 -2
  53. package/build/esm/data/mods/gen2/formats-data.mjs.map +1 -1
  54. package/build/esm/data/mods/gen3/abilities.mjs +9 -0
  55. package/build/esm/data/mods/gen3/abilities.mjs.map +1 -1
  56. package/build/esm/data/mods/gen5/formats-data.mjs +110 -129
  57. package/build/esm/data/mods/gen5/formats-data.mjs.map +1 -1
  58. package/build/esm/data/mods/gen8/moves.mjs +1 -9
  59. package/build/esm/data/mods/gen8/moves.mjs.map +1 -1
  60. package/build/esm/data/moves.mjs +40 -11
  61. package/build/esm/data/moves.mjs.map +1 -1
  62. package/build/esm/data/pokedex.mjs +18 -18
  63. package/build/esm/data/pokedex.mjs.map +1 -1
  64. package/build/esm/data/rulesets.mjs +0 -1
  65. package/build/esm/data/rulesets.mjs.map +1 -1
  66. package/build/esm/sim/battle-actions.mjs +2 -1
  67. package/build/esm/sim/battle-actions.mjs.map +1 -1
  68. package/build/esm/sim/battle-stream.d.mts +3 -2
  69. package/build/esm/sim/battle-stream.mjs +4 -2
  70. package/build/esm/sim/battle-stream.mjs.map +1 -1
  71. package/build/esm/sim/battle.d.mts +1 -1
  72. package/build/esm/sim/battle.mjs +4 -4
  73. package/build/esm/sim/battle.mjs.map +1 -1
  74. package/build/esm/sim/dex-formats.d.mts +2 -0
  75. package/build/esm/sim/dex-formats.mjs +12 -6
  76. package/build/esm/sim/dex-formats.mjs.map +1 -1
  77. package/build/esm/sim/dex-moves.d.mts +2 -0
  78. package/build/esm/sim/dex-moves.mjs.map +1 -1
  79. package/build/esm/sim/dex.d.mts +4 -2
  80. package/build/esm/sim/dex.mjs +2 -0
  81. package/build/esm/sim/dex.mjs.map +1 -1
  82. package/package.json +3 -3
@@ -8588,7 +8588,7 @@ export const Pokedex = {
8588
8588
  abilities: { 0: "Pressure", H: "Telepathy" },
8589
8589
  heightm: 7,
8590
8590
  weightkg: 850,
8591
- color: "White",
8591
+ color: "Blue",
8592
8592
  eggGroups: ["Undiscovered"],
8593
8593
  requiredItem: "Adamant Crystal",
8594
8594
  changesFrom: "Dialga",
@@ -15796,7 +15796,7 @@ export const Pokedex = {
15796
15796
  abilities: { 0: "Sweet Veil", H: "Aroma Veil" },
15797
15797
  heightm: 30,
15798
15798
  weightkg: 0,
15799
- color: "White",
15799
+ color: "Yellow",
15800
15800
  eggGroups: ["Fairy", "Amorphous"],
15801
15801
  changesFrom: "Alcremie",
15802
15802
  },
@@ -16415,7 +16415,7 @@ export const Pokedex = {
16415
16415
  abilities: { 0: "Intimidate", 1: "Frisk", H: "Sap Sipper" },
16416
16416
  heightm: 1.8,
16417
16417
  weightkg: 95.1,
16418
- color: "White",
16418
+ color: "Gray",
16419
16419
  prevo: "Stantler",
16420
16420
  evoType: "other",
16421
16421
  evoCondition: "Use Agile style Psyshield Bash 20 times",
@@ -16509,7 +16509,7 @@ export const Pokedex = {
16509
16509
  abilities: { 0: "Pressure", 1: "Unburden", H: "Poison Touch" },
16510
16510
  heightm: 1.3,
16511
16511
  weightkg: 43,
16512
- color: "Purple",
16512
+ color: "Blue",
16513
16513
  prevo: "Sneasel-Hisui",
16514
16514
  evoType: "levelHold",
16515
16515
  evoItem: "Razor Claw",
@@ -16524,7 +16524,7 @@ export const Pokedex = {
16524
16524
  abilities: { 0: "Poison Point", 1: "Swift Swim", H: "Intimidate" },
16525
16525
  heightm: 2.5,
16526
16526
  weightkg: 60.5,
16527
- color: "Gray",
16527
+ color: "Black",
16528
16528
  prevo: "Qwilfish-Hisui",
16529
16529
  evoType: "other",
16530
16530
  evoCondition: "Use Strong style Barb Barrage 20 times",
@@ -17058,7 +17058,7 @@ export const Pokedex = {
17058
17058
  abilities: { 0: "Flash Fire", H: "Weak Armor" },
17059
17059
  heightm: 1.6,
17060
17060
  weightkg: 62,
17061
- color: "Blue",
17061
+ color: "Purple",
17062
17062
  prevo: "Charcadet",
17063
17063
  evoType: "useItem",
17064
17064
  evoItem: "Malicious Armor",
@@ -17591,7 +17591,7 @@ export const Pokedex = {
17591
17591
  abilities: { 0: "Commander", H: "Storm Drain" },
17592
17592
  heightm: 0.3,
17593
17593
  weightkg: 8,
17594
- color: "Pink",
17594
+ color: "Red",
17595
17595
  cosmeticFormes: ["Tatsugiri-Droopy", "Tatsugiri-Stretchy"],
17596
17596
  formeOrder: ["Tatsugiri", "Tatsugiri-Droopy", "Tatsugiri-Stretchy"],
17597
17597
  eggGroups: ["Water 2"],
@@ -17719,7 +17719,7 @@ export const Pokedex = {
17719
17719
  abilities: { 0: "Protosynthesis" },
17720
17720
  heightm: 1.2,
17721
17721
  weightkg: 21,
17722
- color: "Gray",
17722
+ color: "White",
17723
17723
  tags: ["Paradox"],
17724
17724
  eggGroups: ["Undiscovered"],
17725
17725
  },
@@ -17745,7 +17745,7 @@ export const Pokedex = {
17745
17745
  abilities: { 0: "Protosynthesis" },
17746
17746
  heightm: 3.2,
17747
17747
  weightkg: 92,
17748
- color: "Red",
17748
+ color: "White",
17749
17749
  tags: ["Paradox"],
17750
17750
  eggGroups: ["Undiscovered"],
17751
17751
  },
@@ -17823,7 +17823,7 @@ export const Pokedex = {
17823
17823
  abilities: { 0: "Quark Drive" },
17824
17824
  heightm: 1.2,
17825
17825
  weightkg: 36,
17826
- color: "Yellow",
17826
+ color: "White",
17827
17827
  tags: ["Paradox"],
17828
17828
  eggGroups: ["Undiscovered"],
17829
17829
  },
@@ -17860,7 +17860,7 @@ export const Pokedex = {
17860
17860
  abilities: { 0: "Thermal Exchange", H: "Ice Body" },
17861
17861
  heightm: 0.8,
17862
17862
  weightkg: 30,
17863
- color: "Gray",
17863
+ color: "Blue",
17864
17864
  prevo: "Frigibax",
17865
17865
  evoLevel: 35,
17866
17866
  evos: ["Baxcalibur"],
@@ -17874,7 +17874,7 @@ export const Pokedex = {
17874
17874
  abilities: { 0: "Thermal Exchange", H: "Ice Body" },
17875
17875
  heightm: 2.1,
17876
17876
  weightkg: 210,
17877
- color: "Gray",
17877
+ color: "Blue",
17878
17878
  prevo: "Arctibax",
17879
17879
  evoLevel: 54,
17880
17880
  eggGroups: ["Dragon", "Mineral"],
@@ -17889,7 +17889,7 @@ export const Pokedex = {
17889
17889
  abilities: { 0: "Rattled" },
17890
17890
  heightm: 0.3,
17891
17891
  weightkg: 5,
17892
- color: "Brown",
17892
+ color: "Red",
17893
17893
  evos: ["Gholdengo"],
17894
17894
  otherFormes: ["Gimmighoul-Roaming"],
17895
17895
  formeOrder: ["Gimmighoul", "Gimmighoul-Roaming"],
@@ -17906,7 +17906,7 @@ export const Pokedex = {
17906
17906
  abilities: { 0: "Run Away" },
17907
17907
  heightm: 0.1,
17908
17908
  weightkg: 0.1,
17909
- color: "Blue",
17909
+ color: "Gray",
17910
17910
  evos: ["Gholdengo"],
17911
17911
  eggGroups: ["Undiscovered"],
17912
17912
  },
@@ -17986,7 +17986,7 @@ export const Pokedex = {
17986
17986
  abilities: { 0: "Protosynthesis" },
17987
17987
  heightm: 2,
17988
17988
  weightkg: 380,
17989
- color: "Green",
17989
+ color: "Blue",
17990
17990
  tags: ["Paradox"],
17991
17991
  eggGroups: ["Undiscovered"],
17992
17992
  },
@@ -18025,7 +18025,7 @@ export const Pokedex = {
18025
18025
  abilities: { 0: "Hadron Engine" },
18026
18026
  heightm: 3.5,
18027
18027
  weightkg: 240,
18028
- color: "Blue",
18028
+ color: "Purple",
18029
18029
  tags: ["Restricted Legendary"],
18030
18030
  eggGroups: ["Undiscovered"],
18031
18031
  },
@@ -18199,7 +18199,7 @@ export const Pokedex = {
18199
18199
  abilities: { 0: "Water Absorb" },
18200
18200
  heightm: 1.2,
18201
18201
  weightkg: 39.8,
18202
- color: "Green",
18202
+ color: "Blue",
18203
18203
  eggGroups: ["Undiscovered"],
18204
18204
  requiredItem: "Wellspring Mask",
18205
18205
  changesFrom: "Ogerpon",
@@ -18266,7 +18266,7 @@ export const Pokedex = {
18266
18266
  abilities: { 0: "Embody Aspect (Wellspring)" },
18267
18267
  heightm: 1.2,
18268
18268
  weightkg: 39.8,
18269
- color: "Green",
18269
+ color: "Blue",
18270
18270
  eggGroups: ["Undiscovered"],
18271
18271
  requiredItem: "Wellspring Mask",
18272
18272
  battleOnly: "Ogerpon-Wellspring",