@pokepc/dataset 7.0.0 → 7.1.1

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 (319) hide show
  1. package/README.md +57 -1
  2. package/build/{box-preset-sanitizer-BE4i0vEj.mjs → box-preset-sanitizer-DRi4Ayrn.mjs} +2 -2
  3. package/build/{box-preset-sanitizer-BE4i0vEj.mjs.map → box-preset-sanitizer-DRi4Ayrn.mjs.map} +1 -1
  4. package/build/enums-Ajt5avHN.mjs +488 -0
  5. package/build/enums-Ajt5avHN.mjs.map +1 -0
  6. package/build/enums-DCL82p1t.d.mts +66 -0
  7. package/build/enums-DCL82p1t.d.mts.map +1 -0
  8. package/build/{evolution-schemas-BZQILLSQ.mjs → evolution-schemas-Db7-jivr.mjs} +2 -2
  9. package/build/{evolution-schemas-BZQILLSQ.mjs.map → evolution-schemas-Db7-jivr.mjs.map} +1 -1
  10. package/build/form-schemas-BjyAMPZU.mjs +166 -0
  11. package/build/form-schemas-BjyAMPZU.mjs.map +1 -0
  12. package/build/form-schemas-Bq10Ac7d.d.mts +1407 -0
  13. package/build/form-schemas-Bq10Ac7d.d.mts.map +1 -0
  14. package/build/lib/availability-sources.mjs +1 -1
  15. package/build/lib/availability-sources.mjs.map +1 -1
  16. package/build/lib/box-preset-sanitizer.mjs +1 -1
  17. package/build/lib/box-preset-transform.mjs +2 -2
  18. package/build/lib/enums.d.mts +2 -2
  19. package/build/lib/enums.mjs +2 -2
  20. package/build/lib/evolution-schemas.mjs +1 -1
  21. package/build/lib/form-methods.d.mts +11 -0
  22. package/build/lib/form-methods.d.mts.map +1 -0
  23. package/build/lib/form-methods.mjs +56 -0
  24. package/build/lib/form-methods.mjs.map +1 -0
  25. package/build/lib/form-schemas.d.mts +2 -0
  26. package/build/lib/form-schemas.mjs +2 -0
  27. package/build/lib/fs.d.mts +6 -6
  28. package/build/lib/schemas.d.mts +3 -2
  29. package/build/lib/schemas.mjs +4 -3
  30. package/build/lib/types.d.mts +7 -2
  31. package/build/lib/types.d.mts.map +1 -1
  32. package/build/lib-next/schemas.d.mts +8 -8
  33. package/build/{schemas-30DCmCcg.mjs → schemas-Bl5_UJHu.mjs} +6 -4
  34. package/build/schemas-Bl5_UJHu.mjs.map +1 -0
  35. package/build/{schemas-D2xLu3LV.d.mts → schemas-Cw4Mrff5.d.mts} +589 -11
  36. package/build/schemas-Cw4Mrff5.d.mts.map +1 -0
  37. package/data/items.json +140 -0
  38. package/data/pokedexes/xd.json +16 -1
  39. package/data/pokemon/abomasnow-mega.json +26 -1
  40. package/data/pokemon/absol-mega-z.json +18 -1
  41. package/data/pokemon/absol-mega.json +26 -1
  42. package/data/pokemon/aegislash-blade.json +66 -0
  43. package/data/pokemon/aerodactyl-mega.json +34 -1
  44. package/data/pokemon/aggron-mega.json +26 -1
  45. package/data/pokemon/alakazam-mega.json +34 -1
  46. package/data/pokemon/alcremie-gmax.json +76 -0
  47. package/data/pokemon/altaria-mega.json +26 -1
  48. package/data/pokemon/ampharos-mega.json +26 -1
  49. package/data/pokemon/appletun-gmax.json +12 -0
  50. package/data/pokemon/arceus-bug.json +145 -1
  51. package/data/pokemon/arceus-dark.json +145 -1
  52. package/data/pokemon/arceus-dragon.json +145 -1
  53. package/data/pokemon/arceus-electric.json +145 -1
  54. package/data/pokemon/arceus-fairy.json +121 -1
  55. package/data/pokemon/arceus-fighting.json +145 -1
  56. package/data/pokemon/arceus-fire.json +145 -1
  57. package/data/pokemon/arceus-flying.json +145 -1
  58. package/data/pokemon/arceus-ghost.json +145 -1
  59. package/data/pokemon/arceus-grass.json +145 -1
  60. package/data/pokemon/arceus-ground.json +145 -1
  61. package/data/pokemon/arceus-ice.json +145 -1
  62. package/data/pokemon/arceus-legendary.json +55 -1
  63. package/data/pokemon/arceus-poison.json +145 -1
  64. package/data/pokemon/arceus-psychic.json +145 -1
  65. package/data/pokemon/arceus-rock.json +145 -1
  66. package/data/pokemon/arceus-steel.json +145 -1
  67. package/data/pokemon/arceus-water.json +145 -1
  68. package/data/pokemon/arceus.json +263 -0
  69. package/data/pokemon/audino-mega.json +26 -1
  70. package/data/pokemon/banette-mega.json +26 -1
  71. package/data/pokemon/barbaracle-mega.json +18 -1
  72. package/data/pokemon/basculin-blue-striped.json +1 -0
  73. package/data/pokemon/baxcalibur-mega.json +18 -1
  74. package/data/pokemon/beedrill-mega.json +34 -1
  75. package/data/pokemon/blastoise-gmax.json +12 -0
  76. package/data/pokemon/blastoise-mega.json +34 -1
  77. package/data/pokemon/blaziken-mega.json +26 -1
  78. package/data/pokemon/burmy-sandy.json +95 -0
  79. package/data/pokemon/burmy-trash.json +52 -0
  80. package/data/pokemon/burmy.json +52 -0
  81. package/data/pokemon/butterfree-gmax.json +12 -0
  82. package/data/pokemon/calyrex-ice.json +18 -0
  83. package/data/pokemon/calyrex-shadow.json +18 -0
  84. package/data/pokemon/camerupt-mega.json +26 -1
  85. package/data/pokemon/castform-rainy.json +64 -0
  86. package/data/pokemon/castform-snowy.json +64 -0
  87. package/data/pokemon/castform-sunny.json +64 -0
  88. package/data/pokemon/centiskorch-gmax.json +12 -0
  89. package/data/pokemon/chandelure-mega.json +18 -1
  90. package/data/pokemon/charizard-gmax.json +12 -0
  91. package/data/pokemon/charizard-mega-x.json +34 -1
  92. package/data/pokemon/charizard-mega-y.json +34 -1
  93. package/data/pokemon/cherrim-sunshine.json +219 -0
  94. package/data/pokemon/chesnaught-mega.json +18 -1
  95. package/data/pokemon/chimecho-mega.json +18 -1
  96. package/data/pokemon/cinderace-gmax.json +12 -0
  97. package/data/pokemon/clefable-mega.json +18 -1
  98. package/data/pokemon/coalossal-gmax.json +12 -0
  99. package/data/pokemon/copperajah-gmax.json +12 -0
  100. package/data/pokemon/corviknight-gmax.json +12 -0
  101. package/data/pokemon/crabominable-mega.json +18 -1
  102. package/data/pokemon/cramorant-gorging.json +67 -0
  103. package/data/pokemon/cramorant-gulping.json +67 -0
  104. package/data/pokemon/darkrai-mega.json +18 -0
  105. package/data/pokemon/darmanitan-galar-zen.json +24 -0
  106. package/data/pokemon/darmanitan-zen.json +31 -0
  107. package/data/pokemon/deerling-autumn.json +47 -0
  108. package/data/pokemon/deerling-summer.json +36 -0
  109. package/data/pokemon/deerling-winter.json +47 -0
  110. package/data/pokemon/deerling.json +47 -0
  111. package/data/pokemon/delphox-mega.json +18 -1
  112. package/data/pokemon/deoxys-attack.json +90 -0
  113. package/data/pokemon/deoxys-defense.json +90 -0
  114. package/data/pokemon/deoxys-speed.json +90 -0
  115. package/data/pokemon/deoxys.json +117 -0
  116. package/data/pokemon/dialga-origin.json +40 -1
  117. package/data/pokemon/diancie-mega.json +26 -1
  118. package/data/pokemon/dragalge-mega.json +18 -1
  119. package/data/pokemon/dragonite-mega.json +18 -1
  120. package/data/pokemon/drampa-mega.json +18 -1
  121. package/data/pokemon/drednaw-gmax.json +12 -0
  122. package/data/pokemon/duraludon-gmax.json +12 -0
  123. package/data/pokemon/eelektross-mega.json +18 -1
  124. package/data/pokemon/eevee-gmax.json +12 -0
  125. package/data/pokemon/eiscue-noice.json +32 -0
  126. package/data/pokemon/emboar-mega.json +18 -1
  127. package/data/pokemon/empoleon.json +1 -0
  128. package/data/pokemon/enamorus-therian.json +16 -0
  129. package/data/pokemon/excadrill-mega.json +18 -1
  130. package/data/pokemon/falinks-mega.json +18 -1
  131. package/data/pokemon/feraligatr-mega.json +18 -1
  132. package/data/pokemon/flapple-gmax.json +12 -0
  133. package/data/pokemon/floette-eternal-mega.json +18 -1
  134. package/data/pokemon/froslass-mega.json +18 -1
  135. package/data/pokemon/furfrou-dandy.json +191 -0
  136. package/data/pokemon/furfrou-debutante.json +191 -0
  137. package/data/pokemon/furfrou-diamond.json +191 -0
  138. package/data/pokemon/furfrou-heart.json +191 -0
  139. package/data/pokemon/furfrou-kabuki.json +191 -0
  140. package/data/pokemon/furfrou-la-reine.json +191 -0
  141. package/data/pokemon/furfrou-matron.json +191 -0
  142. package/data/pokemon/furfrou-pharaoh.json +191 -0
  143. package/data/pokemon/furfrou-star.json +191 -0
  144. package/data/pokemon/furfrou.json +99 -0
  145. package/data/pokemon/gallade-mega.json +26 -1
  146. package/data/pokemon/garbodor-gmax.json +12 -0
  147. package/data/pokemon/garchomp-mega-z.json +18 -1
  148. package/data/pokemon/garchomp-mega.json +26 -1
  149. package/data/pokemon/gardevoir-mega.json +26 -1
  150. package/data/pokemon/genesect-burn.json +25 -1
  151. package/data/pokemon/genesect-chill.json +25 -1
  152. package/data/pokemon/genesect-douse.json +25 -1
  153. package/data/pokemon/genesect-shock.json +25 -1
  154. package/data/pokemon/genesect.json +29 -0
  155. package/data/pokemon/gengar-gmax.json +12 -0
  156. package/data/pokemon/gengar-mega.json +34 -1
  157. package/data/pokemon/gengar.json +1 -0
  158. package/data/pokemon/giratina-origin.json +118 -1
  159. package/data/pokemon/glalie-mega.json +26 -1
  160. package/data/pokemon/glimmora-mega.json +18 -1
  161. package/data/pokemon/golisopod-mega.json +18 -1
  162. package/data/pokemon/golurk-mega.json +18 -1
  163. package/data/pokemon/greninja-ash.json +25 -0
  164. package/data/pokemon/greninja-mega.json +18 -1
  165. package/data/pokemon/grimmsnarl-gmax.json +12 -0
  166. package/data/pokemon/groudon-primal.json +40 -0
  167. package/data/pokemon/gyarados-mega.json +34 -1
  168. package/data/pokemon/hatterene-gmax.json +12 -0
  169. package/data/pokemon/hawlucha-mega.json +18 -1
  170. package/data/pokemon/heatran-mega.json +18 -0
  171. package/data/pokemon/heracross-mega.json +26 -1
  172. package/data/pokemon/hoopa-unbound.json +60 -0
  173. package/data/pokemon/houndoom-mega.json +26 -1
  174. package/data/pokemon/inteleon-gmax.json +12 -0
  175. package/data/pokemon/kangaskhan-mega.json +34 -1
  176. package/data/pokemon/keldeo-resolute.json +92 -0
  177. package/data/pokemon/kingler-gmax.json +12 -0
  178. package/data/pokemon/kyogre-primal.json +40 -0
  179. package/data/pokemon/kyurem-black.json +33 -0
  180. package/data/pokemon/kyurem-white.json +33 -0
  181. package/data/pokemon/landorus-therian.json +32 -0
  182. package/data/pokemon/lapras-gmax.json +12 -0
  183. package/data/pokemon/latias-mega.json +26 -1
  184. package/data/pokemon/latios-mega.json +26 -1
  185. package/data/pokemon/lopunny-mega.json +26 -1
  186. package/data/pokemon/lucario-mega-z.json +18 -1
  187. package/data/pokemon/lucario-mega.json +26 -1
  188. package/data/pokemon/machamp-gmax.json +12 -0
  189. package/data/pokemon/magearna-mega.json +18 -1
  190. package/data/pokemon/magearna-original-mega.json +18 -1
  191. package/data/pokemon/malamar-mega.json +18 -1
  192. package/data/pokemon/manectric-mega.json +26 -1
  193. package/data/pokemon/mawile-mega.json +26 -1
  194. package/data/pokemon/mawile.json +0 -1
  195. package/data/pokemon/medicham-mega.json +26 -1
  196. package/data/pokemon/meganium-mega.json +18 -1
  197. package/data/pokemon/melmetal-gmax.json +12 -0
  198. package/data/pokemon/meloetta-pirouette.json +29 -0
  199. package/data/pokemon/meowstic-mega.json +18 -1
  200. package/data/pokemon/meowth-alola.json +2 -0
  201. package/data/pokemon/meowth-gmax.json +12 -0
  202. package/data/pokemon/metagross-mega.json +26 -1
  203. package/data/pokemon/mewtwo-mega-x.json +34 -1
  204. package/data/pokemon/mewtwo-mega-y.json +34 -1
  205. package/data/pokemon/mimikyu-busted.json +53 -0
  206. package/data/pokemon/minior-blue.json +53 -0
  207. package/data/pokemon/minior-green.json +53 -0
  208. package/data/pokemon/minior-indigo.json +53 -0
  209. package/data/pokemon/minior-orange.json +53 -0
  210. package/data/pokemon/minior-red.json +53 -0
  211. package/data/pokemon/minior-violet.json +53 -0
  212. package/data/pokemon/minior-yellow.json +53 -0
  213. package/data/pokemon/morpeko-hangry.json +57 -0
  214. package/data/pokemon/necrozma-dawn-wings.json +18 -0
  215. package/data/pokemon/necrozma-dusk-mane.json +18 -0
  216. package/data/pokemon/necrozma-ultra.json +21 -0
  217. package/data/pokemon/ogerpon-cornerstone.json +9 -1
  218. package/data/pokemon/ogerpon-hearthflame.json +9 -1
  219. package/data/pokemon/ogerpon-wellspring.json +9 -1
  220. package/data/pokemon/ogerpon.json +13 -0
  221. package/data/pokemon/orbeetle-gmax.json +12 -0
  222. package/data/pokemon/oricorio-pau.json +9 -0
  223. package/data/pokemon/oricorio-pom-pom.json +9 -0
  224. package/data/pokemon/oricorio-sensu.json +9 -0
  225. package/data/pokemon/oricorio.json +9 -0
  226. package/data/pokemon/palafin-hero.json +16 -0
  227. package/data/pokemon/palkia-origin.json +40 -1
  228. package/data/pokemon/persian-alola.json +2 -0
  229. package/data/pokemon/pidgeot-mega.json +34 -1
  230. package/data/pokemon/pikachu-gmax.json +12 -0
  231. package/data/pokemon/pinsir-mega.json +34 -1
  232. package/data/pokemon/piplup.json +1 -0
  233. package/data/pokemon/prinplup.json +1 -0
  234. package/data/pokemon/pyroar-mega.json +18 -1
  235. package/data/pokemon/raichu-mega-x.json +18 -1
  236. package/data/pokemon/raichu-mega-y.json +18 -1
  237. package/data/pokemon/rayquaza-mega.json +29 -0
  238. package/data/pokemon/rillaboom-gmax.json +12 -0
  239. package/data/pokemon/rotom-fan.json +94 -0
  240. package/data/pokemon/rotom-frost.json +94 -0
  241. package/data/pokemon/rotom-heat.json +94 -0
  242. package/data/pokemon/rotom-mow.json +94 -0
  243. package/data/pokemon/rotom-wash.json +94 -0
  244. package/data/pokemon/rotom.json +112 -0
  245. package/data/pokemon/sableye-mega.json +26 -1
  246. package/data/pokemon/salamence-mega.json +26 -1
  247. package/data/pokemon/sandaconda-gmax.json +12 -0
  248. package/data/pokemon/sawsbuck-autumn.json +47 -0
  249. package/data/pokemon/sawsbuck-summer.json +36 -0
  250. package/data/pokemon/sawsbuck-winter.json +47 -0
  251. package/data/pokemon/sawsbuck.json +47 -0
  252. package/data/pokemon/sceptile-mega.json +26 -1
  253. package/data/pokemon/scizor-mega.json +26 -1
  254. package/data/pokemon/scolipede-mega.json +18 -1
  255. package/data/pokemon/scolipede.json +1 -0
  256. package/data/pokemon/scovillain-mega.json +18 -1
  257. package/data/pokemon/scrafty-mega.json +18 -1
  258. package/data/pokemon/sharpedo-mega.json +26 -1
  259. package/data/pokemon/shaymin-sky.json +151 -0
  260. package/data/pokemon/shiftry-f.json +1 -0
  261. package/data/pokemon/shiftry.json +1 -0
  262. package/data/pokemon/silvally-bug.json +27 -1
  263. package/data/pokemon/silvally-dark.json +27 -1
  264. package/data/pokemon/silvally-dragon.json +27 -1
  265. package/data/pokemon/silvally-electric.json +27 -1
  266. package/data/pokemon/silvally-fairy.json +27 -1
  267. package/data/pokemon/silvally-fighting.json +27 -1
  268. package/data/pokemon/silvally-fire.json +27 -1
  269. package/data/pokemon/silvally-flying.json +27 -1
  270. package/data/pokemon/silvally-ghost.json +27 -1
  271. package/data/pokemon/silvally-grass.json +27 -1
  272. package/data/pokemon/silvally-ground.json +27 -1
  273. package/data/pokemon/silvally-ice.json +27 -1
  274. package/data/pokemon/silvally-poison.json +27 -1
  275. package/data/pokemon/silvally-psychic.json +27 -1
  276. package/data/pokemon/silvally-rock.json +27 -1
  277. package/data/pokemon/silvally-steel.json +27 -1
  278. package/data/pokemon/silvally-water.json +27 -1
  279. package/data/pokemon/silvally.json +50 -0
  280. package/data/pokemon/skarmory-mega.json +18 -1
  281. package/data/pokemon/slowbro-mega.json +34 -1
  282. package/data/pokemon/snorlax-gmax.json +12 -0
  283. package/data/pokemon/staraptor-mega.json +18 -0
  284. package/data/pokemon/starmie-mega.json +18 -1
  285. package/data/pokemon/steelix-mega.json +26 -1
  286. package/data/pokemon/swampert-mega.json +26 -1
  287. package/data/pokemon/tatsugiri-droopy-mega.json +18 -1
  288. package/data/pokemon/tatsugiri-mega.json +18 -1
  289. package/data/pokemon/tatsugiri-stretchy-mega.json +18 -1
  290. package/data/pokemon/terapagos-stellar.json +15 -0
  291. package/data/pokemon/terapagos-terastal.json +15 -0
  292. package/data/pokemon/thundurus-therian.json +32 -0
  293. package/data/pokemon/tornadus-therian.json +32 -0
  294. package/data/pokemon/toxtricity-gmax.json +12 -0
  295. package/data/pokemon/toxtricity-low-key-gmax.json +12 -0
  296. package/data/pokemon/tyranitar-mega.json +26 -1
  297. package/data/pokemon/urshifu-gmax.json +12 -0
  298. package/data/pokemon/urshifu-rapid-strike-gmax.json +12 -0
  299. package/data/pokemon/venipede.json +1 -0
  300. package/data/pokemon/venusaur-gmax.json +12 -0
  301. package/data/pokemon/venusaur-mega.json +34 -1
  302. package/data/pokemon/victreebel-mega.json +18 -1
  303. package/data/pokemon/whirlipede.json +1 -0
  304. package/data/pokemon/wishiwashi-school.json +24 -0
  305. package/data/pokemon/xerneas-active.json +11 -0
  306. package/data/pokemon/zacian-crowned.json +19 -1
  307. package/data/pokemon/zamazenta-crowned.json +19 -1
  308. package/data/pokemon/zeraora-mega.json +18 -1
  309. package/data/pokemon/zygarde-10.json +19 -0
  310. package/data/pokemon/zygarde-complete-mega.json +18 -1
  311. package/data/pokemon/zygarde-complete.json +36 -0
  312. package/data/pokemon/zygarde.json +33 -0
  313. package/package.json +4 -1
  314. package/build/enums-CXl-yCW7.mjs +0 -274
  315. package/build/enums-CXl-yCW7.mjs.map +0 -1
  316. package/build/enums-DNGH357y.d.mts +0 -43
  317. package/build/enums-DNGH357y.d.mts.map +0 -1
  318. package/build/schemas-30DCmCcg.mjs.map +0 -1
  319. package/build/schemas-D2xLu3LV.d.mts.map +0 -1
@@ -12,7 +12,6 @@
12
12
  "isPrerelease": false,
13
13
  "isDefault": false,
14
14
  "isForm": true,
15
- "formItem": "venusaurite",
16
15
  "isLegendary": false,
17
16
  "isMythical": false,
18
17
  "isBaby": false,
@@ -61,6 +60,40 @@
61
60
  "serebii": "venusaur",
62
61
  "bulbapedia": "Venusaur"
63
62
  },
63
+ "formMethods": [
64
+ {
65
+ "from": ["venusaur", "venusaur-f"],
66
+ "games": ["xy-x", "xy-y", "oras-or", "oras-as", "sm-s", "sm-m", "usum-us", "usum-um"],
67
+ "trigger": "special",
68
+ "item": { "id": "venusaurite", "role": "held" },
69
+ "conditions": [{ "key": "mechanic", "mechanic": "mega_evolution" }],
70
+ "revert": ["battle_end", "faint"]
71
+ },
72
+ {
73
+ "from": ["venusaur", "venusaur-f"],
74
+ "games": ["lza"],
75
+ "trigger": "special",
76
+ "item": { "id": "venusaurite", "role": "held" },
77
+ "conditions": [
78
+ { "key": "mechanic", "mechanic": "mega_evolution" },
79
+ { "key": "battle_condition", "condition": "mega_gauge_full" }
80
+ ],
81
+ "revert": [
82
+ {
83
+ "trigger": "automatic",
84
+ "conditions": [{ "key": "battle_condition", "condition": "mega_power_depleted" }]
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "from": ["venusaur", "venusaur-f"],
90
+ "games": ["lgpe-lgp", "lgpe-lge"],
91
+ "trigger": "special",
92
+ "item": { "id": "venusaurite", "role": "bag" },
93
+ "conditions": [{ "key": "mechanic", "mechanic": "mega_evolution" }],
94
+ "revert": ["battle_end", "faint"]
95
+ }
96
+ ],
64
97
  "names": {
65
98
  "eng": "Mega Venusaur",
66
99
  "fra": "MégaFlorizarre",
@@ -12,7 +12,6 @@
12
12
  "isPrerelease": false,
13
13
  "isDefault": false,
14
14
  "isForm": true,
15
- "formItem": "victreebelite",
16
15
  "isLegendary": false,
17
16
  "isMythical": false,
18
17
  "isBaby": false,
@@ -61,6 +60,24 @@
61
60
  "serebii": "victreebel",
62
61
  "bulbapedia": "Victreebel"
63
62
  },
63
+ "formMethods": [
64
+ {
65
+ "from": ["victreebel"],
66
+ "games": ["lza"],
67
+ "trigger": "special",
68
+ "item": { "id": "victreebelite", "role": "held" },
69
+ "conditions": [
70
+ { "key": "mechanic", "mechanic": "mega_evolution" },
71
+ { "key": "battle_condition", "condition": "mega_gauge_full" }
72
+ ],
73
+ "revert": [
74
+ {
75
+ "trigger": "automatic",
76
+ "conditions": [{ "key": "battle_condition", "condition": "mega_power_depleted" }]
77
+ }
78
+ ]
79
+ }
80
+ ],
64
81
  "names": {
65
82
  "eng": "Mega Victreebel",
66
83
  "fra": "MégaEmpiflor",
@@ -10,6 +10,7 @@
10
10
  "ability1": "poisonpoint",
11
11
  "ability2": "swarm",
12
12
  "abilityHidden": "speedboost",
13
+ "legacyAbilities": ["quickfeet"],
13
14
  "isPrerelease": false,
14
15
  "isDefault": true,
15
16
  "isForm": false,
@@ -59,6 +59,30 @@
59
59
  "serebii": "wishiwashi",
60
60
  "bulbapedia": "Wishiwashi"
61
61
  },
62
+ "formMethods": [
63
+ {
64
+ "from": ["wishiwashi"],
65
+ "trigger": "automatic",
66
+ "minLevel": 20,
67
+ "conditions": [
68
+ { "key": "ability", "abilities": ["schooling"] },
69
+ { "key": "battle_event", "events": ["switch_in", "end_of_turn"] },
70
+ { "key": "hp", "comparison": "gt", "percent": 25 }
71
+ ],
72
+ "revert": [
73
+ {
74
+ "trigger": "automatic",
75
+ "conditions": [
76
+ { "key": "ability", "abilities": ["schooling"] },
77
+ { "key": "battle_event", "events": ["end_of_turn"] },
78
+ { "key": "hp", "comparison": "lte", "percent": 25 }
79
+ ]
80
+ },
81
+ "switch_out",
82
+ "battle_end"
83
+ ]
84
+ }
85
+ ],
62
86
  "names": {
63
87
  "eng": "Wishiwashi (School Form)",
64
88
  "esp": "Wishiwashi (Forma Banco)",
@@ -60,6 +60,17 @@
60
60
  "serebii": "xerneas",
61
61
  "bulbapedia": "Xerneas"
62
62
  },
63
+ "formMethods": [
64
+ {
65
+ "from": ["xerneas"],
66
+ "trigger": "automatic",
67
+ "conditions": [{ "key": "battle_event", "events": ["battle_start", "switch_in"] }],
68
+ "notes": {
69
+ "eng": "Neutral and Active Modes are appearance changes. This rule covers games representing distinct forms; GO and Legends: Z-A instead animate the appearance."
70
+ },
71
+ "revert": ["switch_out", "battle_end"]
72
+ }
73
+ ],
63
74
  "names": {
64
75
  "eng": "Xerneas (Active Mode)",
65
76
  "fra": "Xerneas (Mode Déchaîné)",
@@ -12,7 +12,6 @@
12
12
  "isPrerelease": false,
13
13
  "isDefault": false,
14
14
  "isForm": true,
15
- "formItem": "rustedsword",
16
15
  "isLegendary": true,
17
16
  "isMythical": false,
18
17
  "isBaby": false,
@@ -62,6 +61,25 @@
62
61
  "serebii": "zacian",
63
62
  "bulbapedia": "Zacian"
64
63
  },
64
+ "formMethods": [
65
+ {
66
+ "from": ["zacian"],
67
+ "games": ["swsh-sw", "swsh-sh", "sv-s", "sv-v"],
68
+ "trigger": "automatic",
69
+ "item": { "id": "rustedsword", "role": "held", "consumed": false },
70
+ "conditions": [{ "key": "battle_event", "events": ["battle_start", "switch_in"] }],
71
+ "notes": { "eng": "Holding the matching rusted item activates the Crowned form in battle." },
72
+ "revert": [
73
+ {
74
+ "trigger": "automatic",
75
+ "conditions": [{ "key": "battle_event", "events": ["battle_end"] }],
76
+ "notes": {
77
+ "eng": "Returns to Hero of Many Battles outside battle; the item is not consumed."
78
+ }
79
+ }
80
+ ]
81
+ }
82
+ ],
65
83
  "names": {
66
84
  "eng": "Zacian (Crowned Sword)",
67
85
  "esp": "Zacian (Espada Suprema)",
@@ -12,7 +12,6 @@
12
12
  "isPrerelease": false,
13
13
  "isDefault": false,
14
14
  "isForm": true,
15
- "formItem": "rustedshield",
16
15
  "isLegendary": true,
17
16
  "isMythical": false,
18
17
  "isBaby": false,
@@ -62,6 +61,25 @@
62
61
  "serebii": "zamazenta",
63
62
  "bulbapedia": "Zamazenta"
64
63
  },
64
+ "formMethods": [
65
+ {
66
+ "from": ["zamazenta"],
67
+ "games": ["swsh-sw", "swsh-sh", "sv-s", "sv-v"],
68
+ "trigger": "automatic",
69
+ "item": { "id": "rustedshield", "role": "held", "consumed": false },
70
+ "conditions": [{ "key": "battle_event", "events": ["battle_start", "switch_in"] }],
71
+ "notes": { "eng": "Holding the matching rusted item activates the Crowned form in battle." },
72
+ "revert": [
73
+ {
74
+ "trigger": "automatic",
75
+ "conditions": [{ "key": "battle_event", "events": ["battle_end"] }],
76
+ "notes": {
77
+ "eng": "Returns to Hero of Many Battles outside battle; the item is not consumed."
78
+ }
79
+ }
80
+ ]
81
+ }
82
+ ],
65
83
  "names": {
66
84
  "eng": "Zamazenta (Crowned Shield)",
67
85
  "esp": "Zamazenta (Escudo Supremo)",
@@ -11,7 +11,6 @@
11
11
  "isPrerelease": false,
12
12
  "isDefault": false,
13
13
  "isForm": true,
14
- "formItem": "zeraorite",
15
14
  "isLegendary": false,
16
15
  "isMythical": true,
17
16
  "isBaby": false,
@@ -61,6 +60,24 @@
61
60
  "serebii": "zeraora",
62
61
  "bulbapedia": "Zeraora"
63
62
  },
63
+ "formMethods": [
64
+ {
65
+ "from": ["zeraora"],
66
+ "games": ["lza"],
67
+ "trigger": "special",
68
+ "item": { "id": "zeraorite", "role": "held" },
69
+ "conditions": [
70
+ { "key": "mechanic", "mechanic": "mega_evolution" },
71
+ { "key": "battle_condition", "condition": "mega_gauge_full" }
72
+ ],
73
+ "revert": [
74
+ {
75
+ "trigger": "automatic",
76
+ "conditions": [{ "key": "battle_condition", "condition": "mega_power_depleted" }]
77
+ }
78
+ ]
79
+ }
80
+ ],
64
81
  "names": {
65
82
  "eng": "Mega Zeraora",
66
83
  "esp": "Mega Zeraora",
@@ -62,6 +62,25 @@
62
62
  "serebii": "zygarde",
63
63
  "bulbapedia": "Zygarde"
64
64
  },
65
+ "formMethods": [
66
+ {
67
+ "from": ["zygarde"],
68
+ "games": ["sm-s", "sm-m", "usum-us", "usum-um"],
69
+ "trigger": "use_item",
70
+ "item": { "id": "zygardecube", "role": "used", "consumed": false },
71
+ "conditions": [{ "key": "ability", "abilities": ["powerconstruct"] }]
72
+ },
73
+ {
74
+ "from": ["zygarde"],
75
+ "games": ["swsh-sw", "swsh-sh", "lza"],
76
+ "trigger": "use_item",
77
+ "item": { "id": "zygardecube", "role": "used", "consumed": false },
78
+ "conditions": [],
79
+ "notes": {
80
+ "eng": "Choose Change form; Sword/Shield permits either Ability and Legends: Z-A has no Abilities."
81
+ }
82
+ }
83
+ ],
65
84
  "names": {
66
85
  "eng": "Zygarde (10% Forme)",
67
86
  "esp": "Zygarde (Forma 10%)",
@@ -12,7 +12,6 @@
12
12
  "isPrerelease": false,
13
13
  "isDefault": false,
14
14
  "isForm": true,
15
- "formItem": "zygardite",
16
15
  "isLegendary": true,
17
16
  "isMythical": false,
18
17
  "isBaby": false,
@@ -62,6 +61,24 @@
62
61
  "serebii": "zygarde",
63
62
  "bulbapedia": "Zygarde"
64
63
  },
64
+ "formMethods": [
65
+ {
66
+ "from": ["zygarde-complete"],
67
+ "games": ["lza"],
68
+ "trigger": "special",
69
+ "item": { "id": "zygardite", "role": "held" },
70
+ "conditions": [
71
+ { "key": "mechanic", "mechanic": "mega_evolution" },
72
+ { "key": "battle_condition", "condition": "mega_gauge_full" }
73
+ ],
74
+ "revert": [
75
+ {
76
+ "trigger": "automatic",
77
+ "conditions": [{ "key": "battle_condition", "condition": "mega_power_depleted" }]
78
+ }
79
+ ]
80
+ }
81
+ ],
65
82
  "names": {
66
83
  "eng": "Mega Zygarde (Complete Forme)",
67
84
  "esp": "Zygarde (Forma Completa)",
@@ -61,6 +61,42 @@
61
61
  "serebii": "zygarde",
62
62
  "bulbapedia": "Zygarde"
63
63
  },
64
+ "formMethods": [
65
+ {
66
+ "from": ["zygarde-10", "zygarde"],
67
+ "games": ["sm-s", "sm-m", "usum-us", "usum-um", "swsh-sw", "swsh-sh"],
68
+ "trigger": "automatic",
69
+ "conditions": [
70
+ { "key": "ability", "abilities": ["powerconstruct"] },
71
+ { "key": "battle_event", "events": ["end_of_turn"] },
72
+ { "key": "hp", "comparison": "lte", "percent": 50 },
73
+ { "key": "hp", "comparison": "gt", "percent": 0 }
74
+ ],
75
+ "notes": {
76
+ "eng": "Complete Forme persists through healing and switching until the battle ends."
77
+ },
78
+ "revert": ["battle_end"]
79
+ },
80
+ {
81
+ "from": ["zygarde-10", "zygarde"],
82
+ "games": ["lza"],
83
+ "trigger": "automatic",
84
+ "conditions": [
85
+ { "key": "hp", "comparison": "lte", "percent": 50 },
86
+ { "key": "hp", "comparison": "gt", "percent": 0 },
87
+ { "key": "battle_condition", "condition": "in_battle" }
88
+ ],
89
+ "notes": {
90
+ "eng": "No Ability is required in Legends: Z-A. If the threshold is crossed while using a move, transformation waits until that move finishes."
91
+ },
92
+ "revert": [
93
+ {
94
+ "trigger": "automatic",
95
+ "conditions": [{ "key": "interaction", "interaction": "recall_outside_battle" }]
96
+ }
97
+ ]
98
+ }
99
+ ],
64
100
  "names": {
65
101
  "eng": "Zygarde (Complete Forme)",
66
102
  "esp": "Zygarde (Forma Completa)",
@@ -86,6 +86,39 @@
86
86
  "serebii": "zygarde",
87
87
  "bulbapedia": "Zygarde"
88
88
  },
89
+ "formMethods": [
90
+ {
91
+ "from": ["zygarde-10"],
92
+ "games": ["sm-s", "sm-m", "usum-us", "usum-um"],
93
+ "trigger": "use_item",
94
+ "item": { "id": "zygardecube", "role": "used", "consumed": false },
95
+ "conditions": [{ "key": "ability", "abilities": ["powerconstruct"] }]
96
+ },
97
+ {
98
+ "from": ["zygarde-10"],
99
+ "games": ["swsh-sw", "swsh-sh", "lza"],
100
+ "trigger": "use_item",
101
+ "item": { "id": "zygardecube", "role": "used", "consumed": false },
102
+ "conditions": [],
103
+ "notes": {
104
+ "eng": "Choose Change form; Sword/Shield permits either Ability and Legends: Z-A has no Abilities."
105
+ }
106
+ },
107
+ {
108
+ "from": ["zygarde-10"],
109
+ "games": ["sm-s", "sm-m", "usum-us", "usum-um"],
110
+ "trigger": "interact",
111
+ "item": { "id": "zygardecube", "role": "bag", "consumed": false },
112
+ "conditions": [
113
+ { "key": "ability", "abilities": ["aurabreak"] },
114
+ { "key": "interaction", "interaction": "reassembly_unit" },
115
+ { "key": "battle_condition", "condition": "at_least_40_additional_zygarde_cells" }
116
+ ],
117
+ "notes": {
118
+ "eng": "Assemble an existing 10% Zygarde with at least 40 additional Cells/Cores at the Route 16 Reassembly Unit to obtain 50% Forme. Assembly using all 100 total Cells/Cores gives Power Construct."
119
+ }
120
+ }
121
+ ],
89
122
  "names": {
90
123
  "eng": "Zygarde",
91
124
  "fra": "Zygarde",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pokepc/dataset",
3
- "version": "7.0.0",
3
+ "version": "7.1.1",
4
4
  "homepage": "https://pokepc.github.io/dataset",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -55,11 +55,13 @@
55
55
  "build": "pnpm build:next && pnpm build:lib && pnpm format",
56
56
  "build:openapi": "node src/openapi/build.ts",
57
57
  "build:pages": "pnpm build:next && node src/openapi/build.ts",
58
+ "build:pages:versions": "node src/pages/build.ts",
58
59
  "build:next": "bun src/lib-next/_build.ts",
59
60
  "generate:pokemon-prose": "bun src/upstream-adapters/pokeapi/generate-pokemon-prose.ts",
60
61
  "pokemon:availability": "node src/upstream-adapters/bulbapedia/cli.ts",
61
62
  "pokemon:availability:all": "node src/upstream-adapters/bulbapedia/review-cli.ts",
62
63
  "locations:import": "bun src/upstream-adapters/locations/cli.ts",
64
+ "pokemon:forms:migrate": "bun src/scripts/migrate-pokemon-forms.ts",
63
65
  "format": "oxfmt --write .",
64
66
  "format:check": "oxfmt --check",
65
67
  "lint": "publint && pnpm typecheck",
@@ -67,6 +69,7 @@
67
69
  "test:e2e": "node tests/smoke-tests/pkg-smoke-test-run.ts",
68
70
  "typecheck": "tsc --noEmit",
69
71
  "dev:openapi": "node src/openapi/dev.ts",
72
+ "dev:pages:versions": "node src/openapi/dev.ts --versions",
70
73
  "dev:editor": "pnpm --filter @pokepc/editor dev",
71
74
  "build:lib": "tsdown",
72
75
  "build:editor": "pnpm --filter @pokepc/editor build",
@@ -1,274 +0,0 @@
1
- //#region src/lib/enums.ts
2
- const gameType = [
3
- "superset",
4
- "set",
5
- "game",
6
- "dlc"
7
- ];
8
- const gamePlatforms = [
9
- "gb",
10
- "gbc",
11
- "gba",
12
- "nds",
13
- "3ds",
14
- "mobile",
15
- "ngc",
16
- "wii",
17
- "wiiu",
18
- "switch",
19
- "switch2"
20
- ];
21
- const gameSeries = [
22
- "main",
23
- "spinoff",
24
- "storage",
25
- "legends"
26
- ];
27
- const itemCategory = [
28
- "ball",
29
- "medicine",
30
- "battle",
31
- "berry",
32
- "machine",
33
- "megastone",
34
- "zcrystal",
35
- "treasure",
36
- "ingredient",
37
- "material",
38
- "key",
39
- "other"
40
- ];
41
- const pokeballCategory = [
42
- "regular",
43
- "special",
44
- "hisuian",
45
- "other"
46
- ];
47
- const languageIds = [
48
- "en",
49
- "es",
50
- "esla",
51
- "fr",
52
- "de",
53
- "it",
54
- "ja",
55
- "ko",
56
- "chs",
57
- "cht",
58
- "pt"
59
- ];
60
- const languageAlpha3Codes = [
61
- "eng",
62
- "esp",
63
- "esla",
64
- "fra",
65
- "deu",
66
- "ita",
67
- "jap",
68
- "kor",
69
- "chs",
70
- "cht",
71
- "por"
72
- ];
73
- /**
74
- * @deprecated use gameLocales from lib-next/languages
75
- */
76
- const languageInGameCodes = [
77
- "ENG",
78
- "ES-ES",
79
- "ES-LA",
80
- "FRA",
81
- "DEU",
82
- "ITA",
83
- "JPN",
84
- "KOR",
85
- "CHT",
86
- "CHS",
87
- "PT-BR"
88
- ];
89
- const ribbonCategory = [
90
- "league",
91
- "contest",
92
- "tower",
93
- "memory",
94
- "gift"
95
- ];
96
- const typeIds = [
97
- "normal",
98
- "fire",
99
- "water",
100
- "electric",
101
- "grass",
102
- "ice",
103
- "fighting",
104
- "poison",
105
- "ground",
106
- "flying",
107
- "psychic",
108
- "bug",
109
- "rock",
110
- "ghost",
111
- "dragon",
112
- "dark",
113
- "steel",
114
- "fairy",
115
- "stellar"
116
- ];
117
- /** Category tags on abilities (data/abilities.json `tags`). */
118
- const abilityTagIds = [
119
- "alert",
120
- "ally-helper",
121
- "stat-boost",
122
- "move-boost",
123
- "bypass",
124
- "defense",
125
- "handicap",
126
- "heal",
127
- "items",
128
- "priority-control",
129
- "damage",
130
- "target-weaken",
131
- "status-trigger",
132
- "status-immunity",
133
- "steal",
134
- "weather",
135
- "terrain",
136
- "trap",
137
- "ability-change",
138
- "type-change",
139
- "species-specific",
140
- "other"
141
- ];
142
- const statIds = [
143
- "hp",
144
- "atk",
145
- "def",
146
- "spa",
147
- "spd",
148
- "spe",
149
- "acc",
150
- "eva"
151
- ];
152
- const moveCategory = [
153
- "physical",
154
- "special",
155
- "status"
156
- ];
157
- const genders = ["m", "f"];
158
- const titleTypes = [
159
- "ribbon",
160
- "mark",
161
- "custom"
162
- ];
163
- const pokemonSizes = [
164
- "xs",
165
- "s",
166
- "m",
167
- "l",
168
- "xl"
169
- ];
170
- const ivJudgeValues = [
171
- "nogood",
172
- "decent",
173
- "good",
174
- "verygood",
175
- "fantastic",
176
- "best"
177
- ];
178
- const battleStyles = [
179
- "singles",
180
- "doubles",
181
- "triples",
182
- "rotation",
183
- "royale"
184
- ];
185
- const raidStyles = ["dynamax", "tera"];
186
- /** Evolution vocabulary, also used by the evolution schemas. */
187
- const evoTriggers = [
188
- "level_up",
189
- "trade",
190
- "use_item",
191
- "special"
192
- ];
193
- const evoItemRoles = [
194
- "held",
195
- "used",
196
- "bag"
197
- ];
198
- const evoActivations = ["automatic", "manual"];
199
- const evoConditionKeys = [
200
- "friendship",
201
- "affection",
202
- "beauty",
203
- "gender",
204
- "time_of_day",
205
- "known_move",
206
- "known_move_type",
207
- "ability",
208
- "party_pokemon",
209
- "party_type",
210
- "trade_partner",
211
- "attack_defense_comparison",
212
- "overworld_weather",
213
- "location",
214
- "region",
215
- "device_upside_down",
216
- "union_circle",
217
- "walk_steps",
218
- "outside_poke_ball",
219
- "battle_experience",
220
- "use_move",
221
- "hit_with_move",
222
- "recoil_damage_without_fainting",
223
- "damage_without_fainting",
224
- "critical_hits_in_one_battle",
225
- "defeat_pokemon_holding_item",
226
- "spin",
227
- "hidden_value_branch",
228
- "nature",
229
- "spare_party_slot",
230
- "spare_poke_ball",
231
- "evolve_other",
232
- "full_moon",
233
- "interact_with_scroll",
234
- "vivillon_pattern",
235
- "candy"
236
- ];
237
- const evoGenders = [
238
- "male",
239
- "female",
240
- "genderless"
241
- ];
242
- const evoTimesOfDay = [
243
- "day",
244
- "night",
245
- "dusk"
246
- ];
247
- const evoStatComparisons = [
248
- "lt",
249
- "eq",
250
- "gt"
251
- ];
252
- const evoWeather = ["rain", "fog"];
253
- const evoLocations = [
254
- "magnetic_field",
255
- "moss_rock",
256
- "ice_rock",
257
- "mount_lanakila",
258
- "dusty_bowl_arch",
259
- "coulant_waterway_bridge"
260
- ];
261
- const evoRegionRelations = ["in", "outside"];
262
- const evoWalkModes = ["lets_go"];
263
- const evoMoveStyles = ["agile", "strong"];
264
- const evoSpinDirections = [
265
- "clockwise",
266
- "counterclockwise",
267
- "either"
268
- ];
269
- const evoSpinComparisons = ["lt", "gt"];
270
- const evoScrolls = ["darkness", "waters"];
271
- //#endregion
272
- export { raidStyles as A, ivJudgeValues as C, moveCategory as D, languageInGameCodes as E, statIds as M, titleTypes as N, pokeballCategory as O, typeIds as P, itemCategory as S, languageIds as T, evoWeather as _, evoGenders as a, gameType as b, evoMoveStyles as c, evoSpinComparisons as d, evoSpinDirections as f, evoWalkModes as g, evoTriggers as h, evoConditionKeys as i, ribbonCategory as j, pokemonSizes as k, evoRegionRelations as l, evoTimesOfDay as m, battleStyles as n, evoItemRoles as o, evoStatComparisons as p, evoActivations as r, evoLocations as s, abilityTagIds as t, evoScrolls as u, gamePlatforms as v, languageAlpha3Codes as w, genders as x, gameSeries as y };
273
-
274
- //# sourceMappingURL=enums-CXl-yCW7.mjs.map