mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -107,7 +107,7 @@ module.exports = class Pokemon {
|
||||
|
||||
formSpriteImageURL(variety) {
|
||||
if (this.missingno) {
|
||||
if (variety === 'yellow') return missingno.sprites.yellow;
|
||||
if (variety.toLowerCase() === 'missingno-yellow') return missingno.sprites.yellow;
|
||||
return missingno.sprites.default;
|
||||
}
|
||||
if (this.id === 898) return 'https://assets.pokemon.com/assets/cms2/img/pokedex/full/898.png';
|
||||
|
||||
Reference in New Issue
Block a user