Separate PokeAPI ID from national dex for correct form identification
Pokemon forms (e.g., Alolan Rattata) had their PokeAPI ID (10091) stored as national_dex, causing them to display incorrectly. This renames the unique identifier to pokeapi_id and adds a real national_dex field shared between forms and their base species, so Alolan Rattata correctly shows as #19. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"order": 1,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 252,
|
||||
"pokeapi_id": 252,
|
||||
"pokemon_name": "treecko",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -12,7 +12,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 255,
|
||||
"pokeapi_id": 255,
|
||||
"pokemon_name": "torchic",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -20,7 +20,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 258,
|
||||
"pokeapi_id": 258,
|
||||
"pokemon_name": "mudkip",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -34,7 +34,7 @@
|
||||
"order": 2,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 345,
|
||||
"pokeapi_id": 345,
|
||||
"pokemon_name": "lileep",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -42,7 +42,7 @@
|
||||
"max_level": 20
|
||||
},
|
||||
{
|
||||
"national_dex": 347,
|
||||
"pokeapi_id": 347,
|
||||
"pokemon_name": "anorith",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -56,7 +56,7 @@
|
||||
"order": 3,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 360,
|
||||
"pokeapi_id": 360,
|
||||
"pokemon_name": "wynaut",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -70,7 +70,7 @@
|
||||
"order": 4,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 351,
|
||||
"pokeapi_id": 351,
|
||||
"pokemon_name": "castform",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -84,7 +84,7 @@
|
||||
"order": 5,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 374,
|
||||
"pokeapi_id": 374,
|
||||
"pokemon_name": "beldum",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
||||
"order": 1,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 1,
|
||||
"pokeapi_id": 1,
|
||||
"pokemon_name": "bulbasaur",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -12,7 +12,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 4,
|
||||
"pokeapi_id": 4,
|
||||
"pokemon_name": "charmander",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -20,7 +20,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 7,
|
||||
"pokeapi_id": 7,
|
||||
"pokemon_name": "squirtle",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -34,7 +34,7 @@
|
||||
"order": 2,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 129,
|
||||
"pokeapi_id": 129,
|
||||
"pokemon_name": "magikarp",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -48,7 +48,7 @@
|
||||
"order": 3,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 133,
|
||||
"pokeapi_id": 133,
|
||||
"pokemon_name": "eevee",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -62,7 +62,7 @@
|
||||
"order": 4,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 131,
|
||||
"pokeapi_id": 131,
|
||||
"pokemon_name": "lapras",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -70,7 +70,7 @@
|
||||
"max_level": 25
|
||||
},
|
||||
{
|
||||
"national_dex": 106,
|
||||
"pokeapi_id": 106,
|
||||
"pokemon_name": "hitmonlee",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -78,7 +78,7 @@
|
||||
"max_level": 25
|
||||
},
|
||||
{
|
||||
"national_dex": 107,
|
||||
"pokeapi_id": 107,
|
||||
"pokemon_name": "hitmonchan",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -92,7 +92,7 @@
|
||||
"order": 5,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 138,
|
||||
"pokeapi_id": 138,
|
||||
"pokemon_name": "omanyte",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -100,7 +100,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 140,
|
||||
"pokeapi_id": 140,
|
||||
"pokemon_name": "kabuto",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -108,7 +108,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 142,
|
||||
"pokeapi_id": 142,
|
||||
"pokemon_name": "aerodactyl",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -122,7 +122,7 @@
|
||||
"order": 6,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 175,
|
||||
"pokeapi_id": 175,
|
||||
"pokemon_name": "togepi",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"order": 1,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 1,
|
||||
"pokeapi_id": 1,
|
||||
"pokemon_name": "bulbasaur",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -12,7 +12,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 4,
|
||||
"pokeapi_id": 4,
|
||||
"pokemon_name": "charmander",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -20,7 +20,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 7,
|
||||
"pokeapi_id": 7,
|
||||
"pokemon_name": "squirtle",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -34,7 +34,7 @@
|
||||
"order": 2,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 129,
|
||||
"pokeapi_id": 129,
|
||||
"pokemon_name": "magikarp",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -48,7 +48,7 @@
|
||||
"order": 3,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 133,
|
||||
"pokeapi_id": 133,
|
||||
"pokemon_name": "eevee",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -62,7 +62,7 @@
|
||||
"order": 4,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 131,
|
||||
"pokeapi_id": 131,
|
||||
"pokemon_name": "lapras",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -70,7 +70,7 @@
|
||||
"max_level": 25
|
||||
},
|
||||
{
|
||||
"national_dex": 106,
|
||||
"pokeapi_id": 106,
|
||||
"pokemon_name": "hitmonlee",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -78,7 +78,7 @@
|
||||
"max_level": 25
|
||||
},
|
||||
{
|
||||
"national_dex": 107,
|
||||
"pokeapi_id": 107,
|
||||
"pokemon_name": "hitmonchan",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -92,7 +92,7 @@
|
||||
"order": 5,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 138,
|
||||
"pokeapi_id": 138,
|
||||
"pokemon_name": "omanyte",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -100,7 +100,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 140,
|
||||
"pokeapi_id": 140,
|
||||
"pokemon_name": "kabuto",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -108,7 +108,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 142,
|
||||
"pokeapi_id": 142,
|
||||
"pokemon_name": "aerodactyl",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -122,7 +122,7 @@
|
||||
"order": 6,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 175,
|
||||
"pokeapi_id": 175,
|
||||
"pokemon_name": "togepi",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
||||
"order": 1,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 252,
|
||||
"pokeapi_id": 252,
|
||||
"pokemon_name": "treecko",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -12,7 +12,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 255,
|
||||
"pokeapi_id": 255,
|
||||
"pokemon_name": "torchic",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -20,7 +20,7 @@
|
||||
"max_level": 5
|
||||
},
|
||||
{
|
||||
"national_dex": 258,
|
||||
"pokeapi_id": 258,
|
||||
"pokemon_name": "mudkip",
|
||||
"method": "starter",
|
||||
"encounter_rate": 100,
|
||||
@@ -34,7 +34,7 @@
|
||||
"order": 2,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 345,
|
||||
"pokeapi_id": 345,
|
||||
"pokemon_name": "lileep",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -42,7 +42,7 @@
|
||||
"max_level": 20
|
||||
},
|
||||
{
|
||||
"national_dex": 347,
|
||||
"pokeapi_id": 347,
|
||||
"pokemon_name": "anorith",
|
||||
"method": "fossil",
|
||||
"encounter_rate": 100,
|
||||
@@ -56,7 +56,7 @@
|
||||
"order": 3,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 360,
|
||||
"pokeapi_id": 360,
|
||||
"pokemon_name": "wynaut",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -70,7 +70,7 @@
|
||||
"order": 4,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 351,
|
||||
"pokeapi_id": 351,
|
||||
"pokemon_name": "castform",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
@@ -84,7 +84,7 @@
|
||||
"order": 5,
|
||||
"encounters": [
|
||||
{
|
||||
"national_dex": 374,
|
||||
"pokeapi_id": 374,
|
||||
"pokemon_name": "beldum",
|
||||
"method": "gift",
|
||||
"encounter_rate": 100,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user