@pkmn/mods 0.4.15 → 0.4.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 (73) hide show
  1. package/README.md +3 -0
  2. package/build/gen2stadium2/moves.js +2 -4
  3. package/build/gen2stadium2/moves.js.map +1 -1
  4. package/build/gen4pt/formats-data.d.ts +4 -0
  5. package/build/gen4pt/formats-data.js +10 -0
  6. package/build/gen4pt/formats-data.js.map +1 -0
  7. package/build/gen4pt/index.d.ts +3 -0
  8. package/build/gen4pt/index.js +10 -0
  9. package/build/gen4pt/index.js.map +1 -0
  10. package/build/gen4pt/learnsets.d.ts +4 -0
  11. package/build/gen4pt/learnsets.js +32333 -0
  12. package/build/gen4pt/learnsets.js.map +1 -0
  13. package/build/gen4pt/scripts.d.ts +2 -0
  14. package/build/gen4pt/scripts.js +7 -0
  15. package/build/gen4pt/scripts.js.map +1 -0
  16. package/build/gen5bw1/formats-data.d.ts +4 -0
  17. package/build/gen5bw1/formats-data.js +42 -0
  18. package/build/gen5bw1/formats-data.js.map +1 -0
  19. package/build/gen5bw1/index.d.ts +5 -0
  20. package/build/gen5bw1/index.js +14 -0
  21. package/build/gen5bw1/index.js.map +1 -0
  22. package/build/gen5bw1/items.d.ts +4 -0
  23. package/build/gen5bw1/items.js +46 -0
  24. package/build/gen5bw1/items.js.map +1 -0
  25. package/build/gen5bw1/learnsets.d.ts +4 -0
  26. package/build/gen5bw1/learnsets.js +44238 -0
  27. package/build/gen5bw1/learnsets.js.map +1 -0
  28. package/build/gen5bw1/pokedex.d.ts +4 -0
  29. package/build/gen5bw1/pokedex.js +638 -0
  30. package/build/gen5bw1/pokedex.js.map +1 -0
  31. package/build/gen5bw1/scripts.d.ts +2 -0
  32. package/build/gen5bw1/scripts.js +7 -0
  33. package/build/gen5bw1/scripts.js.map +1 -0
  34. package/build/gen6xy/formats-data.d.ts +4 -0
  35. package/build/gen6xy/formats-data.js +130 -0
  36. package/build/gen6xy/formats-data.js.map +1 -0
  37. package/build/gen6xy/index.d.ts +6 -0
  38. package/build/gen6xy/index.js +16 -0
  39. package/build/gen6xy/index.js.map +1 -0
  40. package/build/gen6xy/items.d.ts +4 -0
  41. package/build/gen6xy/items.js +106 -0
  42. package/build/gen6xy/items.js.map +1 -0
  43. package/build/gen6xy/learnsets.d.ts +4 -0
  44. package/build/gen6xy/learnsets.js +51919 -0
  45. package/build/gen6xy/learnsets.js.map +1 -0
  46. package/build/gen6xy/moves.d.ts +4 -0
  47. package/build/gen6xy/moves.js +22 -0
  48. package/build/gen6xy/moves.js.map +1 -0
  49. package/build/gen6xy/pokedex.d.ts +4 -0
  50. package/build/gen6xy/pokedex.js +82 -0
  51. package/build/gen6xy/pokedex.js.map +1 -0
  52. package/build/gen6xy/scripts.d.ts +2 -0
  53. package/build/gen6xy/scripts.js +7 -0
  54. package/build/gen6xy/scripts.js.map +1 -0
  55. package/package.json +10 -4
  56. package/src/gen2stadium2/moves.ts +2 -4
  57. package/src/gen4pt/formats-data.ts +8 -0
  58. package/src/gen4pt/index.ts +3 -0
  59. package/src/gen4pt/learnsets.ts +32331 -0
  60. package/src/gen4pt/scripts.ts +5 -0
  61. package/src/gen5bw1/formats-data.ts +40 -0
  62. package/src/gen5bw1/index.ts +5 -0
  63. package/src/gen5bw1/items.ts +44 -0
  64. package/src/gen5bw1/learnsets.ts +44236 -0
  65. package/src/gen5bw1/pokedex.ts +636 -0
  66. package/src/gen5bw1/scripts.ts +5 -0
  67. package/src/gen6xy/formats-data.ts +128 -0
  68. package/src/gen6xy/index.ts +6 -0
  69. package/src/gen6xy/items.ts +104 -0
  70. package/src/gen6xy/learnsets.ts +51917 -0
  71. package/src/gen6xy/moves.ts +20 -0
  72. package/src/gen6xy/pokedex.ts +80 -0
  73. package/src/gen6xy/scripts.ts +5 -0
@@ -0,0 +1,4 @@
1
+ import type { ModdedMoveData } from '@pkmn/sim';
2
+ export declare const Moves: {
3
+ [k: string]: ModdedMoveData;
4
+ };
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Moves = void 0;
4
+ exports.Moves = {
5
+ dragonascent: {
6
+ inherit: true,
7
+ isNonstandard: "Future",
8
+ },
9
+ hyperspacefury: {
10
+ inherit: true,
11
+ isNonstandard: "Future",
12
+ },
13
+ originpulse: {
14
+ inherit: true,
15
+ isNonstandard: "Future",
16
+ },
17
+ precipiceblades: {
18
+ inherit: true,
19
+ isNonstandard: "Future",
20
+ },
21
+ };
22
+ //# sourceMappingURL=moves.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moves.js","sourceRoot":"","sources":["../../src/gen6xy/moves.ts"],"names":[],"mappings":";;;AAEa,QAAA,KAAK,GAAkC;IACnD,YAAY,EAAE;QACb,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,QAAQ;KACvB;IACD,cAAc,EAAE;QACf,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,QAAQ;KACvB;IACD,WAAW,EAAE;QACZ,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,QAAQ;KACvB;IACD,eAAe,EAAE;QAChB,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,QAAQ;KACvB;CACD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ModdedSpeciesData } from '@pkmn/sim';
2
+ export declare const Pokedex: {
3
+ [k: string]: ModdedSpeciesData;
4
+ };
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Pokedex = void 0;
4
+ exports.Pokedex = {
5
+ pikachu: {
6
+ inherit: true,
7
+ formeOrder: ["Pikachu"],
8
+ },
9
+ articuno: {
10
+ inherit: true,
11
+ unreleasedHidden: true,
12
+ },
13
+ zapdos: {
14
+ inherit: true,
15
+ unreleasedHidden: true,
16
+ },
17
+ moltres: {
18
+ inherit: true,
19
+ unreleasedHidden: true,
20
+ },
21
+ snivy: {
22
+ inherit: true,
23
+ unreleasedHidden: true,
24
+ },
25
+ servine: {
26
+ inherit: true,
27
+ unreleasedHidden: true,
28
+ },
29
+ serperior: {
30
+ inherit: true,
31
+ unreleasedHidden: true,
32
+ },
33
+ tepig: {
34
+ inherit: true,
35
+ unreleasedHidden: true,
36
+ },
37
+ pignite: {
38
+ inherit: true,
39
+ unreleasedHidden: true,
40
+ },
41
+ emboar: {
42
+ inherit: true,
43
+ unreleasedHidden: true,
44
+ },
45
+ oshawott: {
46
+ inherit: true,
47
+ unreleasedHidden: true,
48
+ },
49
+ dewott: {
50
+ inherit: true,
51
+ unreleasedHidden: true,
52
+ },
53
+ samurott: {
54
+ inherit: true,
55
+ unreleasedHidden: true,
56
+ },
57
+ skrelp: {
58
+ inherit: true,
59
+ unreleasedHidden: true,
60
+ },
61
+ dragalge: {
62
+ inherit: true,
63
+ unreleasedHidden: true,
64
+ },
65
+ tyrunt: {
66
+ inherit: true,
67
+ unreleasedHidden: true,
68
+ },
69
+ tyrantrum: {
70
+ inherit: true,
71
+ unreleasedHidden: true,
72
+ },
73
+ amaura: {
74
+ inherit: true,
75
+ unreleasedHidden: true,
76
+ },
77
+ aurorus: {
78
+ inherit: true,
79
+ unreleasedHidden: true,
80
+ },
81
+ };
82
+ //# sourceMappingURL=pokedex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pokedex.js","sourceRoot":"","sources":["../../src/gen6xy/pokedex.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAAqC;IACxD,OAAO,EAAE;QACR,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,CAAC,SAAS,CAAC;KACvB;IACD,QAAQ,EAAE;QACT,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,OAAO,EAAE;QACR,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,KAAK,EAAE;QACN,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,OAAO,EAAE;QACR,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,SAAS,EAAE;QACV,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,KAAK,EAAE;QACN,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,OAAO,EAAE;QACR,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,QAAQ,EAAE;QACT,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,QAAQ,EAAE;QACT,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,QAAQ,EAAE;QACT,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,SAAS,EAAE;QACV,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,MAAM,EAAE;QACP,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;IACD,OAAO,EAAE;QACR,OAAO,EAAE,IAAI;QACb,gBAAgB,EAAE,IAAI;KACtB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { ModdedBattleScriptsData } from '@pkmn/sim';
2
+ export declare const Scripts: ModdedBattleScriptsData;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Scripts = void 0;
4
+ exports.Scripts = {
5
+ inherit: 'gen6',
6
+ };
7
+ //# sourceMappingURL=scripts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scripts.js","sourceRoot":"","sources":["../../src/gen6xy/scripts.ts"],"names":[],"mappings":";;;AAEa,QAAA,OAAO,GAA4B;IAC/C,OAAO,EAAE,MAAM;CACf,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pkmn/mods",
3
- "version": "0.4.15",
3
+ "version": "0.4.19",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "exports": {
@@ -8,6 +8,9 @@
8
8
  "./gen1jpn": "./build/gen1jpn/index.js",
9
9
  "./gen1stadium": "./build/gen1stadium/index.js",
10
10
  "./gen2stadium2": "./build/gen2stadium2/index.js",
11
+ "./gen4pt": "./build/gen4pt/index.js",
12
+ "./gen5bw1": "./build/gen5bw1/index.js",
13
+ "./gen6xy": "./build/gen6xy/index.js",
11
14
  "./gen7letsgo": "./build/gen7letsgo/index.js",
12
15
  "./gen8dlc1": "./build/gen8dlc1/index.js",
13
16
  "./vgc17": "./build/vgc17/index.js"
@@ -30,11 +33,11 @@
30
33
  "!src/*.test.*"
31
34
  ],
32
35
  "dependencies": {
33
- "@pkmn/dex-types": "^0.4.15"
36
+ "@pkmn/dex-types": "^0.4.19"
34
37
  },
35
38
  "devDependencies": {
36
- "@pkmn/dex": "^0.4.15",
37
- "@pkmn/sim": "^0.4.15"
39
+ "@pkmn/dex": "^0.4.19",
40
+ "@pkmn/sim": "^0.4.19"
38
41
  },
39
42
  "scripts": {
40
43
  "lint": "eslint --cache src --ext ts",
@@ -61,6 +64,9 @@
61
64
  "./src/gen1jpn/*.ts",
62
65
  "./src/gen1stadium/*.ts",
63
66
  "./src/gen2stadium2/*.ts",
67
+ "./src/gen4pt/*.ts",
68
+ "./src/gen5bw1/*.ts",
69
+ "./src/gen6xy/*.ts",
64
70
  "./src/gen7letsgo/*.ts",
65
71
  "./src/gen8dlc1/*.ts",
66
72
  "./src/vgc17/*.ts"
@@ -51,10 +51,8 @@ export const Moves: {[k: string]: ModdedMoveData} = {
51
51
  this.add('-clearallboost');
52
52
  for (const pokemon of this.getAllActive()) {
53
53
  pokemon.clearBoosts();
54
- for (const id of Object.keys(pokemon.volatiles)) {
55
- pokemon.removeVolatile(id);
56
- this.add('-end', pokemon, id);
57
- }
54
+ pokemon.removeVolatile('brnattackdrop');
55
+ pokemon.removeVolatile('parspeeddrop');
58
56
  }
59
57
  },
60
58
  },
@@ -0,0 +1,8 @@
1
+ import type {ModdedSpeciesFormatsData} from '@pkmn/sim';
2
+
3
+ export const FormatsData: {[k: string]: ModdedSpeciesFormatsData} = {
4
+ pichuspikyeared: {
5
+ isNonstandard: "Future",
6
+ tier: "Illegal",
7
+ },
8
+ };
@@ -0,0 +1,3 @@
1
+ export {FormatsData} from './formats-data';
2
+ export {Learnsets} from './learnsets';
3
+ export {Scripts} from './scripts';