Wi-Fi: use gen 7 minisprites

This commit is contained in:
Bär Halberkamp
2016-12-14 19:46:23 +01:00
committed by GitHub
parent b8f4287af6
commit 2fc6729e3c

View File

@@ -135,7 +135,7 @@ class Giveaway {
if (mons.size > 1) {
let top = Math.floor(value.num / 12) * 30;
let left = (value.num % 12) * 40;
output += `<div style="display:inline-block;width:40px;height:30px;background:transparent url('/sprites/xyicons-sheet.png?a1') no-repeat scroll -${left}px -${top}px'"></div>`;
output += `<div style="display:inline-block;width:40px;height:30px;background:transparent url('/sprites/smicons-sheet.png?a1') no-repeat scroll -${left}px -${top}px'"></div>`;
} else {
let shiny = (text.includes("shiny") && !text.includes("shinystone") ? '-shiny' : '');
output += `<img src="/sprites/xyani${shiny}/${spriteid}.gif">`;