fix names

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-06-19 09:23:13 -04:00
parent 4794378461
commit 94861e5296
4 changed files with 18 additions and 15 deletions

View File

@ -4,7 +4,7 @@ Open https://xenoblade.github.io/xb2/bdat/common/BLD_NameList.html and paste
this into the browser inspector: this into the browser inspector:
```js ```js
let names = []; names = [];
Array.from(document.getElementsByClassName("sortable")[0].children[1].children) Array.from(document.getElementsByClassName("sortable")[0].children[1].children)
.forEach(row => names.push(row.children[2] .forEach(row => names.push(row.children[2]
.innerHTML .innerHTML

View File

@ -792,7 +792,7 @@
"millie", "millie",
"milotic", "milotic",
"miltank", "miltank",
"mime jr.", "mime-jr",
"mimikyu", "mimikyu",
"minami", "minami",
"minazuki", "minazuki",
@ -824,7 +824,7 @@
"mothim", "mothim",
"moyoi", "moyoi",
"mr-breezy", "mr-breezy",
"mr. mime", "mr-mime",
"mr-stripes", "mr-stripes",
"mr-waddle", "mr-waddle",
"mr-zippy", "mr-zippy",
@ -1278,10 +1278,10 @@
"tamon", "tamon",
"tangela", "tangela",
"tangrowth", "tangrowth",
"tapu bulu", "tapu-bulu",
"tapu fini", "tapu-fini",
"tapu koko", "tapu-koko",
"tapu lele", "tapu-lele",
"tarantella", "tarantella",
"tauros", "tauros",
"teddiursa", "teddiursa",
@ -1349,7 +1349,7 @@
"tyhei", "tyhei",
"tympole", "tympole",
"tynamo", "tynamo",
"type: null", "type-null",
"typhlosion", "typhlosion",
"tyranitar", "tyranitar",
"tyrantrum", "tyrantrum",

View File

@ -4,5 +4,8 @@
curl https://raw.githubusercontent.com/fanzeyi/pokemon.json/master/pokedex.json \ curl https://raw.githubusercontent.com/fanzeyi/pokemon.json/master/pokedex.json \
| jq -r '.[].name.english' \ | jq -r '.[].name.english' \
| tr '[:upper:]' '[:lower:]' \ | tr '[:upper:]' '[:lower:]' \
| tr ' ' '-' \
| sed 's/\.//g' \
| sed 's/://g' \
| jq --raw-input '.' \ | jq --raw-input '.' \
| jq -s > pokemon.json | jq -s > pokemon.json

View File

@ -120,7 +120,7 @@
"seaking", "seaking",
"staryu", "staryu",
"starmie", "starmie",
"mr. mime", "mr-mime",
"scyther", "scyther",
"jynx", "jynx",
"electabuzz", "electabuzz",
@ -437,7 +437,7 @@
"bronzor", "bronzor",
"bronzong", "bronzong",
"bonsly", "bonsly",
"mime jr.", "mime-jr",
"happiny", "happiny",
"chatot", "chatot",
"spiritomb", "spiritomb",
@ -770,7 +770,7 @@
"sandygast", "sandygast",
"palossand", "palossand",
"pyukumuku", "pyukumuku",
"type: null", "type-null",
"silvally", "silvally",
"minior", "minior",
"komala", "komala",
@ -783,10 +783,10 @@
"jangmo-o", "jangmo-o",
"hakamo-o", "hakamo-o",
"kommo-o", "kommo-o",
"tapu koko", "tapu-koko",
"tapu lele", "tapu-lele",
"tapu bulu", "tapu-bulu",
"tapu fini", "tapu-fini",
"cosmog", "cosmog",
"cosmoem", "cosmoem",
"solgaleo", "solgaleo",