Skip to content

Commit 5190666

Browse files
BoGnYMax Leiter
authored andcommitted
Restore Pokedex issue (#125)
Fixed bug #123
1 parent 6294ffb commit 5190666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ var mapView = {
629629
out = '<div class="items"><div class="row">';
630630
for (var i = 0; i < user.pokedex.length; i++) {
631631
var pokedex_entry = user.pokedex[i].inventory_item_data.pokedex_entry,
632-
pkmID = pokedex_entry.pokedex_entry_number,
632+
pkmID = pokedex_entry.pokemon_id,
633633
pkmnName = self.pokemonArray[pkmID - 1].Name,
634634
pkmEnc = pokedex_entry.times_encountered,
635635
pkmCap = pokedex_entry.times_captured;

0 commit comments

Comments
 (0)