mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-01 13:48:22 -05:00
Wi-Fi: use gen 7 minisprites
This commit is contained in:
@@ -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">`;
|
||||
|
||||
Reference in New Issue
Block a user