Skip to content

Commit 9f2ee55

Browse files
committed
merged from main branch
2 parents a9ecbae + f928f82 commit 9f2ee55

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

static/js/hydrate/species.js

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -104,23 +104,17 @@ export function hydrateSpecies() {
104104
// add the region based of the id, which is not the thing that works the best
105105
// If you have a better idea let me know
106106
for (const regionsMapped of [
107-
[0, "Kanto"],
108-
[151, "Johto"],
109-
[251, "Hoenn"],
110-
[386, "Sinnoh"],
111-
[493, "Unova"],
112-
[649, "Kalos"],
113-
[721, "Alola"],
114-
[809, "Galar"],
115-
[898, "Hisui"],
116-
[905, "Paldea"],
117-
[1500, ""], //MEGAs to link up after
118-
[1547, "Alola"],
119-
[1568, "Galar"],
120-
[1587, ""], //Misc forms to link up after
121-
[1808, "Hisui"],
122-
[1824, ""],//Misc forms to link up after
123-
[2300, "Redux"],
107+
[0, "Kanto"],
108+
[151, "Johto"],
109+
[251, "Hoenn"],
110+
[386, "Sinnoh"],
111+
[493, "Unova"],
112+
[649, "Kalos"],
113+
[721, "Alola"],
114+
[809, "Galar"],
115+
[898, "Hisui"],
116+
[905, "Paldea"],
117+
[1025, "Redux"],
124118
]) {
125119
if (specie.id <= regionsMapped[0]) break
126120
specie.region = regionsMapped[1]

0 commit comments

Comments
 (0)