Pokedex issue on the dev branch of the bot..
knobunc opened this issue · comments
Ben Bennett commented
pokedex isn't loading anything...
TypeError: self.pokemonArray[(pkmID - 1)] is undefined
mapView.sortAndShowPokedex() main.js:615
mapView.buildMenu() main.js:328
mapView.bindUi/<() main.js:180
n.event.dispatch() jquery.min.js:3
n.event.add/r.handle() jquery.min.js:3
[Spun off from another issue that had the candy bug too]
Tim de Boer commented
Easy to fix:
Replace on line 614:
"pkmID = pokedex_entry.pokedex_entry_number," with;
"pkmID = pokedex_entry.pokemon_id,"
Will create pull request later on!
Mirza Hasanbasic commented
fixed #125