@pokepc/dataset 6.5.0 → 6.5.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.
- package/build/lib/fs.d.mts +5 -5
- package/build/lib/schemas.d.mts +1 -1
- package/build/lib/types.d.mts +1 -1
- package/build/lib-next/schemas.d.mts +8 -8
- package/build/{schemas-DpUlSCk0.d.mts → schemas-BCuqOH_X.d.mts} +11 -11
- package/build/{schemas-DpUlSCk0.d.mts.map → schemas-BCuqOH_X.d.mts.map} +1 -1
- package/build/utils-internal-Czgdbnkv.mjs.map +1 -1
- package/data/pokemon/annihilape.json +1 -1
- package/data/pokemon/barbaracle.json +2 -1
- package/data/pokemon/blaziken-f.json +7 -2
- package/data/pokemon/blaziken.json +2 -1
- package/data/pokemon/dragalge.json +2 -1
- package/data/pokemon/eelektross.json +2 -1
- package/data/pokemon/falinks.json +1 -1
- package/data/pokemon/gholdengo.json +1 -1
- package/data/pokemon/grimmsnarl.json +1 -1
- package/data/pokemon/houndstone.json +1 -1
- package/data/pokemon/malamar.json +2 -1
- package/data/pokemon/mareanie.json +1 -2
- package/data/pokemon/mawile.json +2 -1
- package/data/pokemon/metagross.json +2 -1
- package/data/pokemon/musharna.json +2 -1
- package/data/pokemon/overqwil.json +1 -1
- package/data/pokemon/pangoro.json +2 -1
- package/data/pokemon/qwilfish.json +2 -1
- package/data/pokemon/sceptile.json +2 -1
- package/data/pokemon/scolipede.json +2 -1
- package/data/pokemon/scrafty.json +2 -1
- package/data/pokemon/staraptor-f.json +2 -1
- package/data/pokemon/staraptor.json +2 -1
- package/data/pokemon/swampert.json +2 -1
- package/data/pokemon/toxapex.json +2 -1
- package/data/pokemon/vileplume-f.json +7 -2
- package/data/pokemon/vileplume.json +2 -1
- package/package.json +1 -1
package/build/lib/fs.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const itemsFs: import("yolodb").YoloDbTable<{
|
|
|
9
9
|
gen: number;
|
|
10
10
|
shortDesc: string;
|
|
11
11
|
desc: string | null;
|
|
12
|
-
category: "
|
|
12
|
+
category: "berry" | "other" | "ball" | "medicine" | "battle" | "machine" | "treasure" | "ingredient" | "material" | "key" | "megastone" | "zcrystal";
|
|
13
13
|
unholdable?: boolean | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
declare const pokeballsFs: import("yolodb").YoloDbTable<{
|
|
@@ -18,7 +18,7 @@ declare const pokeballsFs: import("yolodb").YoloDbTable<{
|
|
|
18
18
|
gen: number;
|
|
19
19
|
shortDesc: string;
|
|
20
20
|
desc: string | null;
|
|
21
|
-
category: "
|
|
21
|
+
category: "special" | "other" | "regular" | "hisuian";
|
|
22
22
|
unusable?: boolean | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
declare const abilitiesFs: import("yolodb").YoloDbTable<{
|
|
@@ -28,7 +28,7 @@ declare const abilitiesFs: import("yolodb").YoloDbTable<{
|
|
|
28
28
|
gen: number;
|
|
29
29
|
shortDesc: string;
|
|
30
30
|
desc: string | null;
|
|
31
|
-
tags: ("other" | "alert" | "ally-helper" | "stat-boost" | "move-boost" | "bypass" | "
|
|
31
|
+
tags: ("defense" | "other" | "alert" | "ally-helper" | "stat-boost" | "move-boost" | "bypass" | "handicap" | "heal" | "items" | "priority-control" | "damage" | "target-weaken" | "status-trigger" | "status-immunity" | "steal" | "weather" | "terrain" | "trap" | "ability-change" | "type-change" | "species-specific")[];
|
|
32
32
|
immunities?: ("normal" | "fire" | "water" | "electric" | "grass" | "ice" | "fighting" | "poison" | "ground" | "flying" | "psychic" | "bug" | "rock" | "ghost" | "dragon" | "dark" | "steel" | "fairy" | "stellar")[] | undefined;
|
|
33
33
|
weaknesses?: ("normal" | "fire" | "water" | "electric" | "grass" | "ice" | "fighting" | "poison" | "ground" | "flying" | "psychic" | "bug" | "rock" | "ghost" | "dragon" | "dark" | "steel" | "fairy" | "stellar")[] | undefined;
|
|
34
34
|
}>;
|
|
@@ -43,7 +43,7 @@ declare const movesFs: import("yolodb").YoloDbTable<{
|
|
|
43
43
|
power: number;
|
|
44
44
|
accuracy: number;
|
|
45
45
|
pp: number;
|
|
46
|
-
category: "
|
|
46
|
+
category: "physical" | "special" | "status";
|
|
47
47
|
priority: number;
|
|
48
48
|
isZ: boolean;
|
|
49
49
|
isGmax: boolean;
|
|
@@ -102,7 +102,7 @@ declare const colorsFs: import("yolodb").YoloDbTable<{
|
|
|
102
102
|
color: string;
|
|
103
103
|
}>;
|
|
104
104
|
declare const languagesFs: import("yolodb").YoloDbTable<{
|
|
105
|
-
id: "en" | "es" | "
|
|
105
|
+
id: "en" | "es" | "de" | "it" | "fr" | "ko" | "ja" | "esla" | "chs" | "cht" | "pt";
|
|
106
106
|
name: string;
|
|
107
107
|
nameEng: string;
|
|
108
108
|
alpha3: "esla" | "chs" | "cht" | "eng" | "esp" | "fra" | "deu" | "ita" | "jap" | "kor" | "por";
|
package/build/lib/schemas.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-
|
|
1
|
+
import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, a as boxPresetMapSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, i as boxPresetIndexItemSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-BCuqOH_X.mjs";
|
|
2
2
|
export { abilitySchema, boxPresetBoxPokemonSchema, boxPresetBoxSchema, boxPresetIndexItemSchema, boxPresetMapSchema, boxPresetSchema, characterSchema, colorSchema, gameFeaturesSchema, gameSchema, generationSchema, i18nTextSchema, itemSchema, languageSchema, markSchema, modernBoxPresetBoxSchema, modernBoxPresetIndexSchema, modernBoxPresetSchema, modernBoxPresetSlotSchema, modernBoxPresetTags, moveSchema, natureSchema, onlineFeaturesSchema, originMarkSchema, personalitySchema, pokeballSchema, pokedexEntrySchema, pokedexSchema, pokemonRefsSchema, pokemonSchema, pokemonSearchFilterSchema, regionSchema, ribbonSchema, typeSchema };
|
package/build/lib/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as statIds, a as gameType, c as ivJudgeValues, d as languageInGameCodes, f as moveCategory, g as ribbonCategory, h as raidStyles, i as gameSeries, l as languageAlpha3Codes, m as pokemonSizes, n as battleStyles, o as genders, p as pokeballCategory, r as gamePlatforms, s as itemCategory, t as abilityTagIds, u as languageIds, v as titleTypes, y as typeIds } from "../enums-CCbmORM6.mjs";
|
|
2
|
-
import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-
|
|
2
|
+
import { A as pokemonSchema, C as onlineFeaturesSchema, D as pokedexEntrySchema, E as pokeballSchema, M as regionSchema, N as ribbonSchema, O as pokedexSchema, P as typeSchema, S as natureSchema, T as personalitySchema, _ as modernBoxPresetIndexSchema, b as modernBoxPresetTags, c as colorSchema, d as generationSchema, f as i18nTextSchema, g as modernBoxPresetBoxSchema, h as markSchema, j as pokemonSearchFilterSchema, k as pokemonRefsSchema, l as gameFeaturesSchema, m as languageSchema, n as boxPresetBoxPokemonSchema, o as boxPresetSchema, p as itemSchema, r as boxPresetBoxSchema, s as characterSchema, t as abilitySchema, u as gameSchema, v as modernBoxPresetSchema, w as originMarkSchema, x as moveSchema, y as modernBoxPresetSlotSchema } from "../schemas-BCuqOH_X.mjs";
|
|
3
3
|
import z$1 from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/lib/types.d.ts
|
|
@@ -78,8 +78,8 @@ declare const moveSchema: z.ZodObject<{
|
|
|
78
78
|
fairy: "fairy";
|
|
79
79
|
}>;
|
|
80
80
|
category: z.ZodEnum<{
|
|
81
|
-
special: "special";
|
|
82
81
|
physical: "physical";
|
|
82
|
+
special: "special";
|
|
83
83
|
status: "status";
|
|
84
84
|
}>;
|
|
85
85
|
power: z.ZodNumber;
|
|
@@ -145,8 +145,8 @@ declare const movesSchema: z.ZodArray<z.ZodObject<{
|
|
|
145
145
|
fairy: "fairy";
|
|
146
146
|
}>;
|
|
147
147
|
category: z.ZodEnum<{
|
|
148
|
-
special: "special";
|
|
149
148
|
physical: "physical";
|
|
149
|
+
special: "special";
|
|
150
150
|
status: "status";
|
|
151
151
|
}>;
|
|
152
152
|
power: z.ZodNumber;
|
|
@@ -211,13 +211,13 @@ declare const itemSchema: z.ZodObject<{
|
|
|
211
211
|
description: z.ZodString;
|
|
212
212
|
pluralName: z.ZodString;
|
|
213
213
|
categories: z.ZodArray<z.ZodEnum<{
|
|
214
|
-
berry: "berry";
|
|
215
|
-
other: "other";
|
|
216
|
-
defense: "defense";
|
|
217
214
|
power_boost: "power_boost";
|
|
218
215
|
recovery: "recovery";
|
|
216
|
+
defense: "defense";
|
|
219
217
|
stat_boost: "stat_boost";
|
|
220
218
|
effect_extend: "effect_extend";
|
|
219
|
+
berry: "berry";
|
|
220
|
+
other: "other";
|
|
221
221
|
mega_stone: "mega_stone";
|
|
222
222
|
}>>;
|
|
223
223
|
}, z.core.$strip>;
|
|
@@ -231,13 +231,13 @@ declare const itemsSchema: z.ZodArray<z.ZodObject<{
|
|
|
231
231
|
description: z.ZodString;
|
|
232
232
|
pluralName: z.ZodString;
|
|
233
233
|
categories: z.ZodArray<z.ZodEnum<{
|
|
234
|
-
berry: "berry";
|
|
235
|
-
other: "other";
|
|
236
|
-
defense: "defense";
|
|
237
234
|
power_boost: "power_boost";
|
|
238
235
|
recovery: "recovery";
|
|
236
|
+
defense: "defense";
|
|
239
237
|
stat_boost: "stat_boost";
|
|
240
238
|
effect_extend: "effect_extend";
|
|
239
|
+
berry: "berry";
|
|
240
|
+
other: "other";
|
|
241
241
|
mega_stone: "mega_stone";
|
|
242
242
|
}>>;
|
|
243
243
|
}, z.core.$strip>>;
|
|
@@ -22,13 +22,13 @@ declare const abilitySchema: z.ZodObject<{
|
|
|
22
22
|
shortDesc: z.ZodString;
|
|
23
23
|
desc: z.ZodNullable<z.ZodString>;
|
|
24
24
|
tags: z.ZodArray<z.ZodEnum<{
|
|
25
|
+
defense: "defense";
|
|
25
26
|
other: "other";
|
|
26
27
|
alert: "alert";
|
|
27
28
|
"ally-helper": "ally-helper";
|
|
28
29
|
"stat-boost": "stat-boost";
|
|
29
30
|
"move-boost": "move-boost";
|
|
30
31
|
bypass: "bypass";
|
|
31
|
-
defense: "defense";
|
|
32
32
|
handicap: "handicap";
|
|
33
33
|
heal: "heal";
|
|
34
34
|
items: "items";
|
|
@@ -237,18 +237,18 @@ declare const itemSchema: z.ZodObject<{
|
|
|
237
237
|
shortDesc: z.ZodString;
|
|
238
238
|
desc: z.ZodNullable<z.ZodString>;
|
|
239
239
|
category: z.ZodEnum<{
|
|
240
|
+
berry: "berry";
|
|
241
|
+
other: "other";
|
|
240
242
|
ball: "ball";
|
|
241
243
|
medicine: "medicine";
|
|
242
244
|
battle: "battle";
|
|
243
|
-
berry: "berry";
|
|
244
245
|
machine: "machine";
|
|
245
|
-
megastone: "megastone";
|
|
246
|
-
zcrystal: "zcrystal";
|
|
247
246
|
treasure: "treasure";
|
|
248
247
|
ingredient: "ingredient";
|
|
249
248
|
material: "material";
|
|
250
249
|
key: "key";
|
|
251
|
-
|
|
250
|
+
megastone: "megastone";
|
|
251
|
+
zcrystal: "zcrystal";
|
|
252
252
|
}>;
|
|
253
253
|
unholdable: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
254
254
|
}, z.core.$strip>;
|
|
@@ -259,9 +259,9 @@ declare const pokeballSchema: z.ZodObject<{
|
|
|
259
259
|
shortDesc: z.ZodString;
|
|
260
260
|
desc: z.ZodNullable<z.ZodString>;
|
|
261
261
|
category: z.ZodEnum<{
|
|
262
|
+
special: "special";
|
|
262
263
|
other: "other";
|
|
263
264
|
regular: "regular";
|
|
264
|
-
special: "special";
|
|
265
265
|
hisuian: "hisuian";
|
|
266
266
|
}>;
|
|
267
267
|
unusable: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
@@ -270,12 +270,12 @@ declare const languageSchema: z.ZodObject<{
|
|
|
270
270
|
id: z.ZodEnum<{
|
|
271
271
|
en: "en";
|
|
272
272
|
es: "es";
|
|
273
|
-
esla: "esla";
|
|
274
|
-
fr: "fr";
|
|
275
273
|
de: "de";
|
|
276
274
|
it: "it";
|
|
277
|
-
|
|
275
|
+
fr: "fr";
|
|
278
276
|
ko: "ko";
|
|
277
|
+
ja: "ja";
|
|
278
|
+
esla: "esla";
|
|
279
279
|
chs: "chs";
|
|
280
280
|
cht: "cht";
|
|
281
281
|
pt: "pt";
|
|
@@ -408,8 +408,8 @@ declare const moveSchema: z.ZodObject<{
|
|
|
408
408
|
accuracy: z.ZodCoercedNumber<unknown>;
|
|
409
409
|
pp: z.ZodCoercedNumber<unknown>;
|
|
410
410
|
category: z.ZodEnum<{
|
|
411
|
-
special: "special";
|
|
412
411
|
physical: "physical";
|
|
412
|
+
special: "special";
|
|
413
413
|
status: "status";
|
|
414
414
|
}>;
|
|
415
415
|
priority: z.ZodCoercedNumber<unknown>;
|
|
@@ -802,4 +802,4 @@ declare const pokemonSearchFilterSchema: z.ZodObject<{
|
|
|
802
802
|
}, z.core.$strip>;
|
|
803
803
|
//#endregion
|
|
804
804
|
export { pokemonSchema as A, onlineFeaturesSchema as C, pokedexEntrySchema as D, pokeballSchema as E, regionSchema as M, ribbonSchema as N, pokedexSchema as O, typeSchema as P, natureSchema as S, personalitySchema as T, modernBoxPresetIndexSchema as _, boxPresetMapSchema as a, modernBoxPresetTags as b, colorSchema as c, generationSchema as d, i18nTextSchema as f, modernBoxPresetBoxSchema as g, markSchema as h, boxPresetIndexItemSchema as i, pokemonSearchFilterSchema as j, pokemonRefsSchema as k, gameFeaturesSchema as l, languageSchema as m, boxPresetBoxPokemonSchema as n, boxPresetSchema as o, itemSchema as p, boxPresetBoxSchema as r, characterSchema as s, abilitySchema as t, gameSchema as u, modernBoxPresetSchema as v, originMarkSchema as w, moveSchema as x, modernBoxPresetSlotSchema as y };
|
|
805
|
-
//# sourceMappingURL=schemas-
|
|
805
|
+
//# sourceMappingURL=schemas-BCuqOH_X.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas-
|
|
1
|
+
{"version":3,"file":"schemas-BCuq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;;;;;;;;;;;;;;;;;;cAsBrB,yBAAA,EAAyB,CAAA,CAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-internal-Czgdbnkv.mjs","names":[],"sources":["../src/utils/utils-internal.ts"],"sourcesContent":["export function capitalizeFirstLetter(string: string): string {\n return string.charAt(0).toUpperCase() + string.slice(1)\n}\n\nexport function arrayUnique<T>(array: T[]): T[] {\n return Array.from(new Set(array))\n}\n\nexport function sanitizeSearchQuery(query?: string | null) {\n if (query === undefined || query === null) {\n return ''\n }\n return query\n .toLowerCase()\n .replace(/\\s{2,}/, ' ')\n .replace(/,/g, ' ')\n .replace(/\\s{2,}/, ' ')\n}\n\nexport function sanitizeFormStringSpaces(str: string | FormDataEntryValue | null | undefined) {\n if (!str) {\n return ''\n }\n return str.toString().replace(/\\s+/g, ' ').trim()\n}\n\nexport function splitSearchQueryTokens(query?: string | null): {\n positive: string[]\n negative: string[]\n} {\n const tokens = sanitizeSearchQuery(query).trim().split(/\\s+/).filter(Boolean)\n\n return tokens.reduce(\n (result, token) => {\n if (token.startsWith('!')) {\n const negatedToken = token.slice(1).trim()\n if (negatedToken) {\n result.negative.push(negatedToken)\n }\n } else {\n result.positive.push(token)\n }\n\n return result\n },\n { positive: [] as string[], negative: [] as string[] },\n )\n}\n\nexport function matchesSearchQuery(haystack: string, query?: string | null): boolean {\n const { positive, negative } = splitSearchQueryTokens(query)\n if (positive.length === 0 && negative.length === 0) {\n return true\n }\n\n const normalizedHaystack = sanitizeSearchQuery(haystack)\n\n return (\n positive.every((token) => normalizedHaystack.includes(token)) &&\n negative.every((token) => !normalizedHaystack.includes(token))\n )\n}\n"],"mappings":";AAAA,SAAgB,sBAAsB,QAAwB;CAC5D,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;AAEA,SAAgB,YAAe,OAAiB;CAC9C,OAAO,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC;AAClC;
|
|
1
|
+
{"version":3,"file":"utils-internal-Czgdbnkv.mjs","names":[],"sources":["../src/utils/utils-internal.ts"],"sourcesContent":["export function capitalizeFirstLetter(string: string): string {\n return string.charAt(0).toUpperCase() + string.slice(1)\n}\n\nexport function arrayUnique<T>(array: T[]): T[] {\n return Array.from(new Set(array))\n}\n\nexport function sortStringsInGivenOrder(strs: string[] | undefined, rightOrder: string[]) {\n return [...(strs ?? [])].sort((a, b) => {\n const aIndex = rightOrder.indexOf(a)\n const bIndex = rightOrder.indexOf(b)\n return aIndex - bIndex\n })\n}\n\nexport function sanitizeSearchQuery(query?: string | null) {\n if (query === undefined || query === null) {\n return ''\n }\n return query\n .toLowerCase()\n .replace(/\\s{2,}/, ' ')\n .replace(/,/g, ' ')\n .replace(/\\s{2,}/, ' ')\n}\n\nexport function sanitizeFormStringSpaces(str: string | FormDataEntryValue | null | undefined) {\n if (!str) {\n return ''\n }\n return str.toString().replace(/\\s+/g, ' ').trim()\n}\n\nexport function splitSearchQueryTokens(query?: string | null): {\n positive: string[]\n negative: string[]\n} {\n const tokens = sanitizeSearchQuery(query).trim().split(/\\s+/).filter(Boolean)\n\n return tokens.reduce(\n (result, token) => {\n if (token.startsWith('!')) {\n const negatedToken = token.slice(1).trim()\n if (negatedToken) {\n result.negative.push(negatedToken)\n }\n } else {\n result.positive.push(token)\n }\n\n return result\n },\n { positive: [] as string[], negative: [] as string[] },\n )\n}\n\nexport function matchesSearchQuery(haystack: string, query?: string | null): boolean {\n const { positive, negative } = splitSearchQueryTokens(query)\n if (positive.length === 0 && negative.length === 0) {\n return true\n }\n\n const normalizedHaystack = sanitizeSearchQuery(haystack)\n\n return (\n positive.every((token) => normalizedHaystack.includes(token)) &&\n negative.every((token) => !normalizedHaystack.includes(token))\n )\n}\n"],"mappings":";AAAA,SAAgB,sBAAsB,QAAwB;CAC5D,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;AAEA,SAAgB,YAAe,OAAiB;CAC9C,OAAO,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC;AAClC;AAUA,SAAgB,oBAAoB,OAAuB;CACzD,IAAI,UAAU,KAAA,KAAa,UAAU,MACnC,OAAO;CAET,OAAO,MACJ,YAAY,CAAC,CACb,QAAQ,UAAU,GAAG,CAAC,CACtB,QAAQ,MAAM,GAAG,CAAC,CAClB,QAAQ,UAAU,GAAG;AAC1B;AASA,SAAgB,uBAAuB,OAGrC;CAGA,OAFe,oBAAoB,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,OAAO,OAEzD,CAAC,CAAC,QACX,QAAQ,UAAU;EACjB,IAAI,MAAM,WAAW,GAAG,GAAG;GACzB,MAAM,eAAe,MAAM,MAAM,CAAC,CAAC,CAAC,KAAK;GACzC,IAAI,cACF,OAAO,SAAS,KAAK,YAAY;EAErC,OACE,OAAO,SAAS,KAAK,KAAK;EAG5B,OAAO;CACT,GACA;EAAE,UAAU,CAAC;EAAe,UAAU,CAAC;CAAc,CACvD;AACF;AAEA,SAAgB,mBAAmB,UAAkB,OAAgC;CACnF,MAAM,EAAE,UAAU,aAAa,uBAAuB,KAAK;CAC3D,IAAI,SAAS,WAAW,KAAK,SAAS,WAAW,GAC/C,OAAO;CAGT,MAAM,qBAAqB,oBAAoB,QAAQ;CAEvD,OACE,SAAS,OAAO,UAAU,mBAAmB,SAAS,KAAK,CAAC,KAC5D,SAAS,OAAO,UAAU,CAAC,mBAAmB,SAAS,KAAK,CAAC;AAEjE"}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"debutIn": "sv",
|
|
37
37
|
"obtainableIn": ["go", "sv-s", "sv-v", "lza"],
|
|
38
38
|
"eventOnlyIn": [],
|
|
39
|
-
"storableIn": ["go", "home", "sv-s", "sv-v", "lza"],
|
|
39
|
+
"storableIn": ["go", "home", "sv-s", "sv-v", "lza", "champions"],
|
|
40
40
|
"shinyReleased": true,
|
|
41
41
|
"baseHp": 110,
|
|
42
42
|
"baseAtk": 115,
|
|
@@ -85,7 +85,8 @@
|
|
|
85
85
|
"bdsp-sp",
|
|
86
86
|
"sv-s",
|
|
87
87
|
"sv-v",
|
|
88
|
-
"lza"
|
|
88
|
+
"lza",
|
|
89
|
+
"champions"
|
|
89
90
|
],
|
|
90
91
|
"shinyReleased": true,
|
|
91
92
|
"baseHp": 80,
|
|
@@ -113,7 +114,11 @@
|
|
|
113
114
|
},
|
|
114
115
|
"evolvesFrom": "combusken",
|
|
115
116
|
"evoFromLevel": 36,
|
|
116
|
-
"names": {
|
|
117
|
+
"names": {
|
|
118
|
+
"eng": "Blaziken (Female)",
|
|
119
|
+
"fra": "Braségali (Female)",
|
|
120
|
+
"deu": "Lohgock (Female)"
|
|
121
|
+
},
|
|
117
122
|
"genus": {
|
|
118
123
|
"eng": "Blaze Pokémon",
|
|
119
124
|
"esp": "Pokémon Llameante",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"debutIn": "swsh",
|
|
35
35
|
"obtainableIn": ["go", "swsh-sw", "swsh-sh", "sv-s", "sv-v", "lza"],
|
|
36
36
|
"eventOnlyIn": [],
|
|
37
|
-
"storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v", "lza"],
|
|
37
|
+
"storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v", "lza", "champions"],
|
|
38
38
|
"shinyReleased": true,
|
|
39
39
|
"baseHp": 65,
|
|
40
40
|
"baseAtk": 100,
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"debutIn": "sv",
|
|
35
35
|
"obtainableIn": ["go", "sv-s", "sv-v", "lza"],
|
|
36
36
|
"eventOnlyIn": [],
|
|
37
|
-
"storableIn": ["go", "home", "sv-s", "sv-v", "lza"],
|
|
37
|
+
"storableIn": ["go", "home", "sv-s", "sv-v", "lza", "champions"],
|
|
38
38
|
"shinyReleased": true,
|
|
39
39
|
"shinyLockedIn": ["sv-s", "sv-v"],
|
|
40
40
|
"baseHp": 87,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"debutIn": "swsh",
|
|
37
37
|
"obtainableIn": ["go", "swsh-sw", "swsh-sh", "sv-s", "sv-v"],
|
|
38
38
|
"eventOnlyIn": [],
|
|
39
|
-
"storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v"],
|
|
39
|
+
"storableIn": ["go", "swsh-sw", "swsh-sh", "home", "sv-s", "sv-v", "champions"],
|
|
40
40
|
"shinyReleased": true,
|
|
41
41
|
"baseHp": 95,
|
|
42
42
|
"baseAtk": 120,
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"debutIn": "sv",
|
|
35
35
|
"obtainableIn": ["go", "sv-s", "sv-v", "lza"],
|
|
36
36
|
"eventOnlyIn": [],
|
|
37
|
-
"storableIn": ["go", "home", "sv-s", "sv-v", "lza"],
|
|
37
|
+
"storableIn": ["go", "home", "sv-s", "sv-v", "lza", "champions"],
|
|
38
38
|
"shinyReleased": true,
|
|
39
39
|
"baseHp": 72,
|
|
40
40
|
"baseAtk": 101,
|
package/data/pokemon/mawile.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"debutIn": "la",
|
|
37
37
|
"obtainableIn": ["go", "la", "sv-s", "sv-v", "lza"],
|
|
38
38
|
"eventOnlyIn": [],
|
|
39
|
-
"storableIn": ["go", "home", "la", "sv-s", "sv-v", "lza"],
|
|
39
|
+
"storableIn": ["go", "home", "la", "sv-s", "sv-v", "lza", "champions"],
|
|
40
40
|
"shinyReleased": true,
|
|
41
41
|
"baseHp": 85,
|
|
42
42
|
"baseAtk": 115,
|
|
@@ -101,7 +101,8 @@
|
|
|
101
101
|
"bdsp-bd",
|
|
102
102
|
"bdsp-sp",
|
|
103
103
|
"sv-s",
|
|
104
|
-
"sv-v"
|
|
104
|
+
"sv-v",
|
|
105
|
+
"champions"
|
|
105
106
|
],
|
|
106
107
|
"shinyReleased": true,
|
|
107
108
|
"baseHp": 75,
|
|
@@ -129,7 +130,11 @@
|
|
|
129
130
|
},
|
|
130
131
|
"evolvesFrom": "gloom",
|
|
131
132
|
"evoFromItem": "leafstone",
|
|
132
|
-
"names": {
|
|
133
|
+
"names": {
|
|
134
|
+
"eng": "Vileplume (Female)",
|
|
135
|
+
"fra": "Rafflesia (Female)",
|
|
136
|
+
"deu": "Giflor (Female)"
|
|
137
|
+
},
|
|
133
138
|
"genus": {
|
|
134
139
|
"eng": "Flower Pokémon",
|
|
135
140
|
"esp": "Pokémon Flor",
|