@pkmn/sim 0.7.23 → 0.7.25

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 (67) hide show
  1. package/build/cjs/config/formats.js +5 -5
  2. package/build/cjs/config/formats.js.map +1 -1
  3. package/build/cjs/data/abilities.js +2 -2
  4. package/build/cjs/data/abilities.js.map +1 -1
  5. package/build/cjs/data/conditions.js +1 -1
  6. package/build/cjs/data/conditions.js.map +1 -1
  7. package/build/cjs/data/formats-data.js +19 -23
  8. package/build/cjs/data/formats-data.js.map +1 -1
  9. package/build/cjs/data/learnsets.js +106 -0
  10. package/build/cjs/data/learnsets.js.map +1 -1
  11. package/build/cjs/data/legality.js +86 -9
  12. package/build/cjs/data/legality.js.map +1 -1
  13. package/build/cjs/data/mods/gen8/pokedex.js +0 -4
  14. package/build/cjs/data/mods/gen8/pokedex.js.map +1 -1
  15. package/build/cjs/data/moves.js +39 -1
  16. package/build/cjs/data/moves.js.map +1 -1
  17. package/build/cjs/data/pokedex.js +27 -1
  18. package/build/cjs/data/pokedex.js.map +1 -1
  19. package/build/cjs/sim/battle-actions.js +2 -2
  20. package/build/cjs/sim/battle-actions.js.map +1 -1
  21. package/build/cjs/sim/battle-stream.js +4 -30
  22. package/build/cjs/sim/battle-stream.js.map +1 -1
  23. package/build/cjs/sim/battle.js +28 -3
  24. package/build/cjs/sim/battle.js.map +1 -1
  25. package/build/cjs/sim/index.js +2 -1
  26. package/build/cjs/sim/index.js.map +1 -1
  27. package/build/cjs/sim/pokemon.js +2 -2
  28. package/build/cjs/sim/pokemon.js.map +1 -1
  29. package/build/cjs/sim/team-validator.js +3 -3
  30. package/build/cjs/sim/team-validator.js.map +1 -1
  31. package/build/esm/config/formats.mjs +5 -5
  32. package/build/esm/config/formats.mjs.map +1 -1
  33. package/build/esm/data/abilities.mjs +2 -2
  34. package/build/esm/data/abilities.mjs.map +1 -1
  35. package/build/esm/data/conditions.mjs +1 -1
  36. package/build/esm/data/conditions.mjs.map +1 -1
  37. package/build/esm/data/formats-data.mjs +19 -23
  38. package/build/esm/data/formats-data.mjs.map +1 -1
  39. package/build/esm/data/learnsets.mjs +106 -0
  40. package/build/esm/data/learnsets.mjs.map +1 -1
  41. package/build/esm/data/legality.mjs +86 -9
  42. package/build/esm/data/legality.mjs.map +1 -1
  43. package/build/esm/data/mods/gen8/pokedex.mjs +0 -4
  44. package/build/esm/data/mods/gen8/pokedex.mjs.map +1 -1
  45. package/build/esm/data/moves.mjs +39 -1
  46. package/build/esm/data/moves.mjs.map +1 -1
  47. package/build/esm/data/pokedex.mjs +27 -1
  48. package/build/esm/data/pokedex.mjs.map +1 -1
  49. package/build/esm/sim/battle-actions.mjs +2 -2
  50. package/build/esm/sim/battle-actions.mjs.map +1 -1
  51. package/build/esm/sim/battle-stream.mjs +1 -26
  52. package/build/esm/sim/battle-stream.mjs.map +1 -1
  53. package/build/esm/sim/battle.mjs +25 -1
  54. package/build/esm/sim/battle.mjs.map +1 -1
  55. package/build/esm/sim/index.mjs +1 -1
  56. package/build/esm/sim/index.mjs.map +1 -1
  57. package/build/esm/sim/pokemon.mjs +2 -2
  58. package/build/esm/sim/pokemon.mjs.map +1 -1
  59. package/build/esm/sim/team-validator.mjs +3 -3
  60. package/build/esm/sim/team-validator.mjs.map +1 -1
  61. package/build/types/sim/battle-stream.d.ts +0 -4
  62. package/build/types/sim/battle.d.ts +3 -0
  63. package/build/types/sim/exported-global-types.d.ts +11 -0
  64. package/build/types/sim/global-types.d.ts +11 -0
  65. package/build/types/sim/index.d.ts +1 -1
  66. package/build/types/sim/pokemon.d.ts +1 -1
  67. package/package.json +1 -1
@@ -696,7 +696,7 @@ export const Legality = {
696
696
  '6S35', '6S40',
697
697
  '6S42'
698
698
  ],
699
- irontail: ['6S37', '5S24', '5S30', '4S21'],
699
+ irontail: ['9S54', '6S37', '5S24', '5S30', '4S21'],
700
700
  lastresort: ['4S18'],
701
701
  lightscreen: ['4S11', '3S0', '3S6', '3S7', '3S8'],
702
702
  megakick: ['6S32'],
@@ -708,6 +708,7 @@ export const Legality = {
708
708
  '6S36', '6S38',
709
709
  '6S40', '6S42'
710
710
  ],
711
+ playrough: ['9S54'],
711
712
  present: ['4S12', '4S15', '4S17', '4S18', '4S20', '4S22'],
712
713
  protect: ['5S27', '4S14', '4S16'],
713
714
  quickattack: [
@@ -729,10 +730,10 @@ export const Legality = {
729
730
  snore: ['4S19'],
730
731
  substitute: ['6S35'],
731
732
  surf: [
732
- '7S47', '7S49', '6S33',
733
- '6S41', '4S9', '4S11',
734
- '4S14', '4S16', '3S3',
735
- '3S5', '3S7'
733
+ '9S54', '7S47', '7S49',
734
+ '6S33', '6S41', '4S9',
735
+ '4S11', '4S14', '4S16',
736
+ '3S3', '3S5', '3S7'
736
737
  ],
737
738
  sweetkiss: ['6S36'],
738
739
  sweetscent: ['7S48'],
@@ -746,10 +747,11 @@ export const Legality = {
746
747
  ],
747
748
  teeterdance: ['7S45', '6S38', '5S23'],
748
749
  thunder: [
749
- '6S35', '5S25',
750
- '4S14', '4S16',
751
- '3S0', '3S6',
752
- '3S7', '3S8'
750
+ '9S54', '6S35',
751
+ '5S25', '4S14',
752
+ '4S16', '3S0',
753
+ '3S6', '3S7',
754
+ '3S8'
753
755
  ],
754
756
  thunderbolt: [
755
757
  '8S51', '7S49', '6S33',
@@ -1161,6 +1163,16 @@ export const Legality = {
1161
1163
  level: 5,
1162
1164
  moves: ['fly', 'tailwhip', 'thundershock', 'quickattack'],
1163
1165
  pokeball: 'pokeball'
1166
+ },
1167
+ {
1168
+ generation: 9,
1169
+ level: 100,
1170
+ gender: 'M',
1171
+ nature: 'Quiet',
1172
+ perfectIVs: 6,
1173
+ isHidden: true,
1174
+ moves: ['thunder', 'surf', 'playrough', 'irontail'],
1175
+ pokeball: 'pokeball'
1164
1176
  }
1165
1177
  ],
1166
1178
  encounters: [
@@ -11212,6 +11224,23 @@ export const Legality = {
11212
11224
  ],
11213
11225
  encounters: [{ generation: 5, level: 25 }]
11214
11226
  },
11227
+ zoroarkhisui: {
11228
+ learnset: {
11229
+ bittermalice: ['9S0'],
11230
+ happyhour: ['9S0'],
11231
+ nastyplot: ['9S0'],
11232
+ terablast: ['9S0']
11233
+ },
11234
+ eventData: [
11235
+ {
11236
+ generation: 9,
11237
+ level: 50,
11238
+ perfectIVs: 3,
11239
+ moves: ['happyhour', 'bittermalice', 'nastyplot', 'terablast'],
11240
+ pokeball: 'cherishball'
11241
+ }
11242
+ ]
11243
+ },
11215
11244
  gothorita: {
11216
11245
  learnset: {
11217
11246
  flatter: ['5S0', '5S1'],
@@ -14656,6 +14685,20 @@ export const Legality = {
14656
14685
  }
14657
14686
  ]
14658
14687
  },
14688
+ garganacl: {
14689
+ learnset: { protect: ['9S0'], recover: ['9S0'], saltcure: ['9S0'], wideguard: ['9S0'] },
14690
+ eventData: [
14691
+ {
14692
+ generation: 9,
14693
+ level: 50,
14694
+ gender: 'M',
14695
+ nature: 'Careful',
14696
+ ivs: { hp: 31, atk: 31, def: 31, spa: 22, spd: 31, spe: 31 },
14697
+ moves: ['saltcure', 'recover', 'wideguard', 'protect'],
14698
+ pokeball: 'cherishball'
14699
+ }
14700
+ ]
14701
+ },
14659
14702
  gimmighoul: {
14660
14703
  learnset: { astonish: ['9S0'], tackle: ['9S0'] },
14661
14704
  eventData: [{ generation: 9, level: 5, moves: ['astonish', 'tackle'] }],
@@ -14996,6 +15039,40 @@ export const Legality = {
14996
15039
  ],
14997
15040
  eventOnly: true
14998
15041
  },
15042
+ walkingwake: {
15043
+ learnset: {
15044
+ dragonpulse: ['9S0'],
15045
+ flamethrower: ['9S0'],
15046
+ hydrosteam: ['9S0'],
15047
+ nobleroar: ['9S0']
15048
+ },
15049
+ eventData: [
15050
+ {
15051
+ generation: 9,
15052
+ level: 75,
15053
+ perfectIVs: 3,
15054
+ moves: ['hydrosteam', 'dragonpulse', 'nobleroar', 'flamethrower']
15055
+ }
15056
+ ],
15057
+ eventOnly: true
15058
+ },
15059
+ ironleaves: {
15060
+ learnset: {
15061
+ leafblade: ['9S0'],
15062
+ megahorn: ['9S0'],
15063
+ psyblade: ['9S0'],
15064
+ swordsdance: ['9S0']
15065
+ },
15066
+ eventData: [
15067
+ {
15068
+ generation: 9,
15069
+ level: 75,
15070
+ perfectIVs: 3,
15071
+ moves: ['psyblade', 'leafblade', 'megahorn', 'swordsdance']
15072
+ }
15073
+ ],
15074
+ eventOnly: true
15075
+ },
14999
15076
  kerfluffle: {
15000
15077
  learnset: { celebrate: ['6S0'], fly: ['6S0'], holdhands: ['6S0'], metronome: ['6S0'] },
15001
15078
  eventData: [