Dapizz01 / PokemonWeaknessCalculator

0 stars 0 forks source link

Pokemon "official-artwork" sprites #5

Closed Dapizz01 closed 3 years ago

Dapizz01 commented 3 years ago

On pokeAPI, if the "Dream World" sprite of a pokemon isn't available than it's possible to use the "official-artwork" sprites, but because of "-" it's impossible to access the value (error in parsing JSON). As of now, if the Dream World sprite is null, than the program picks the "default-front", but it has a horrible resolution.

Dapizz01 commented 3 years ago

Fixed, now the sprites are picked in this order:

  1. Dream World sprites;
  2. Official-artwork sprites;
  3. default game sprites.