mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Use official artwork for Pokedex rather than sprites
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "119.39.4",
|
"version": "119.39.5",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ module.exports = class Pokemon {
|
|||||||
|
|
||||||
get spriteImageURL() {
|
get spriteImageURL() {
|
||||||
if (this.missingno) return missingno.sprite;
|
if (this.missingno) return missingno.sprite;
|
||||||
return `https://www.serebii.net/swordshield/pokemon/${this.displayID}.png`;
|
return `https://serebii.net/pokemon/art/${this.displayID}.png`;
|
||||||
}
|
}
|
||||||
|
|
||||||
get boxImageURL() {
|
get boxImageURL() {
|
||||||
|
|||||||
Reference in New Issue
Block a user