@pkmn/sim 0.5.16 → 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.
Files changed (79) hide show
  1. package/build/config/formats.js +97 -114
  2. package/build/config/formats.js.map +1 -1
  3. package/build/data/aliases.js +2 -2
  4. package/build/data/aliases.js.map +1 -1
  5. package/build/data/items.js +1 -3
  6. package/build/data/items.js.map +1 -1
  7. package/build/data/learnsets.js +50 -11
  8. package/build/data/learnsets.js.map +1 -1
  9. package/build/data/mods/gen1/formats-data.js +1 -1
  10. package/build/data/mods/gen1/formats-data.js.map +1 -1
  11. package/build/data/mods/gen1/moves.js +3 -10
  12. package/build/data/mods/gen1/moves.js.map +1 -1
  13. package/build/data/mods/gen3/moves.js +0 -7
  14. package/build/data/mods/gen3/moves.js.map +1 -1
  15. package/build/data/mods/gen3/scripts.js +2 -2
  16. package/build/data/mods/gen3/scripts.js.map +1 -1
  17. package/build/data/mods/gen4/moves.js +1 -1
  18. package/build/data/mods/gen4/moves.js.map +1 -1
  19. package/build/data/mods/gen4/rulesets.js +2 -1
  20. package/build/data/mods/gen4/rulesets.js.map +1 -1
  21. package/build/data/mods/gen5/rulesets.js +2 -1
  22. package/build/data/mods/gen5/rulesets.js.map +1 -1
  23. package/build/data/mods/gen7/formats-data.js +5 -5
  24. package/build/data/mods/gen7/formats-data.js.map +1 -1
  25. package/build/data/mods/gen7/rulesets.js +2 -1
  26. package/build/data/mods/gen7/rulesets.js.map +1 -1
  27. package/build/data/moves.js +57 -78
  28. package/build/data/moves.js.map +1 -1
  29. package/build/data/pokedex.js +10 -3
  30. package/build/data/pokedex.js.map +1 -1
  31. package/build/data/rulesets.js +3 -4
  32. package/build/data/rulesets.js.map +1 -1
  33. package/build/data/text/items.js +1 -0
  34. package/build/data/text/items.js.map +1 -1
  35. package/build/data/text/moves.js +5 -3
  36. package/build/data/text/moves.js.map +1 -1
  37. package/build/sim/battle-actions.js +9 -1
  38. package/build/sim/battle-actions.js.map +1 -1
  39. package/build/sim/battle.js +39 -1
  40. package/build/sim/battle.js.map +1 -1
  41. package/build/sim/dex-conditions.d.ts +1 -0
  42. package/build/sim/dex-conditions.js.map +1 -1
  43. package/build/sim/exported-global-types.d.ts +1 -0
  44. package/build/sim/global-types.d.ts +1 -0
  45. package/build/sim/state.d.ts +1 -1
  46. package/build/sim/state.js +6 -6
  47. package/build/sim/state.js.map +1 -1
  48. package/build/sim/team-validator.js +15 -4
  49. package/build/sim/team-validator.js.map +1 -1
  50. package/build/sim/teams.d.ts +2 -2
  51. package/build/sim/tools/exhaustive-runner.d.ts +9 -0
  52. package/build/sim/tools/exhaustive-runner.js +18 -7
  53. package/build/sim/tools/exhaustive-runner.js.map +1 -1
  54. package/config/formats.ts +100 -117
  55. package/data/aliases.ts +2 -2
  56. package/data/items.ts +1 -3
  57. package/data/learnsets.ts +50 -11
  58. package/data/mods/gen1/formats-data.ts +1 -1
  59. package/data/mods/gen1/moves.ts +3 -10
  60. package/data/mods/gen3/moves.ts +0 -7
  61. package/data/mods/gen3/scripts.ts +3 -3
  62. package/data/mods/gen4/moves.ts +1 -1
  63. package/data/mods/gen4/rulesets.ts +2 -1
  64. package/data/mods/gen5/rulesets.ts +2 -1
  65. package/data/mods/gen7/formats-data.ts +5 -5
  66. package/data/mods/gen7/rulesets.ts +2 -1
  67. package/data/moves.ts +57 -69
  68. package/data/pokedex.ts +10 -3
  69. package/data/rulesets.ts +3 -6
  70. package/data/text/items.ts +2 -0
  71. package/data/text/moves.ts +6 -3
  72. package/package.json +1 -1
  73. package/sim/battle-actions.ts +13 -1
  74. package/sim/battle.ts +38 -1
  75. package/sim/dex-conditions.ts +1 -0
  76. package/sim/exported-global-types.ts +3 -0
  77. package/sim/global-types.ts +3 -0
  78. package/sim/team-validator.ts +16 -4
  79. package/sim/tools/exhaustive-runner.ts +30 -11
@@ -76712,7 +76712,7 @@ exports.Learnsets = {
76712
76712
  },
76713
76713
  zaciancrowned: {
76714
76714
  learnset: {
76715
- behemothblade: ["8M", "8L33"],
76715
+ behemothblade: ["8R"],
76716
76716
  },
76717
76717
  eventOnly: true,
76718
76718
  },
@@ -76783,7 +76783,7 @@ exports.Learnsets = {
76783
76783
  },
76784
76784
  zamazentacrowned: {
76785
76785
  learnset: {
76786
- behemothbash: ["8M", "8L33"],
76786
+ behemothbash: ["8R"],
76787
76787
  },
76788
76788
  eventOnly: true,
76789
76789
  },
@@ -82821,35 +82821,74 @@ exports.Learnsets = {
82821
82821
  },
82822
82822
  venomicon: {
82823
82823
  learnset: {
82824
- acidarmor: ["8L1"],
82824
+ aircutter: ["8L15"],
82825
+ airslash: ["8M"],
82826
+ assurance: ["8M"],
82825
82827
  attract: ["8M"],
82826
82828
  bodypress: ["8M"],
82829
+ bodyslam: ["8M"],
82827
82830
  bravebird: ["8M"],
82828
- coil: ["8L1"],
82829
- discharge: ["8L1"],
82830
- drillpeck: ["8L1"],
82831
+ clearsmog: ["8E"],
82832
+ coil: ["8L50"],
82833
+ confuseray: ["8L10"],
82834
+ darkpulse: ["8M"],
82835
+ drillpeck: ["8L35"],
82836
+ dualwingbeat: ["8T"],
82831
82837
  earthpower: ["8M"],
82832
82838
  endure: ["8M"],
82833
82839
  facade: ["8M"],
82840
+ fly: ["8M"],
82841
+ focusenergy: ["8M"],
82842
+ foulplay: ["8M"],
82843
+ gigaimpact: ["8M"],
82844
+ guardswap: ["8M"],
82834
82845
  gunkshot: ["8M"],
82835
- hurricane: ["8M"],
82846
+ hex: ["8M", "8L25"],
82847
+ hurricane: ["8M", "8L55"],
82848
+ hyperbeam: ["8M"],
82836
82849
  imprison: ["8M"],
82837
- knockoff: ["8L1"],
82850
+ irondefense: ["8M"],
82851
+ knockoff: ["8E"],
82852
+ lashout: ["8T"],
82853
+ magicroom: ["8M"],
82854
+ magicalleaf: ["8M"],
82855
+ meanlook: ["8E"],
82856
+ memento: ["8E"],
82838
82857
  mysticalfire: ["8M"],
82839
82858
  nastyplot: ["8M"],
82840
- poisonjab: ["8M"],
82859
+ payback: ["8M"],
82860
+ peck: ["8L1"],
82861
+ phantomforce: ["8M"],
82862
+ poisonjab: ["8M", "8L40"],
82863
+ poisonsting: ["8L1"],
82864
+ powerswap: ["8M"],
82841
82865
  protect: ["8M"],
82866
+ psychic: ["8M"],
82867
+ psyshock: ["8M"],
82842
82868
  rest: ["8M"],
82843
- roost: ["8L1"],
82869
+ retaliate: ["8M"],
82870
+ roost: ["8L45"],
82844
82871
  round: ["8M"],
82872
+ safeguard: ["8M"],
82873
+ scaryface: ["8M"],
82874
+ shadowball: ["8M"],
82875
+ skillswap: ["8M"],
82845
82876
  sleeptalk: ["8M"],
82846
82877
  sludgebomb: ["8M"],
82878
+ sludgewave: ["8M"],
82847
82879
  snore: ["8M"],
82848
82880
  stealthrock: ["8M"],
82881
+ steelwing: ["8M"],
82849
82882
  substitute: ["8M"],
82883
+ swift: ["8M"],
82850
82884
  thunderwave: ["8M"],
82851
- toxic: ["8L1"],
82885
+ toxic: ["8L30"],
82886
+ toxicspikes: ["8M"],
82887
+ trick: ["8M"],
82852
82888
  uturn: ["8M"],
82889
+ venomdrench: ["8M"],
82890
+ venoshock: ["8M", "8L20"],
82891
+ withdraw: ["8L5"],
82853
82892
  },
82854
82893
  },
82855
82894
  pokestarsmeargle: {