From 565a057a5deb0cbea2c3eada0418b1cb24d6300c Mon Sep 17 00:00:00 2001 From: Marty Date: Sun, 1 Dec 2024 21:48:12 -0500 Subject: [PATCH] Update Pokemon icons sheet --- play.pokemonshowdown.com/src/battle-dex-data.ts | 1 + play.pokemonshowdown.com/src/battle-dex.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/play.pokemonshowdown.com/src/battle-dex-data.ts b/play.pokemonshowdown.com/src/battle-dex-data.ts index 4761bc4997..4d31317de7 100644 --- a/play.pokemonshowdown.com/src/battle-dex-data.ts +++ b/play.pokemonshowdown.com/src/battle-dex-data.ts @@ -621,6 +621,7 @@ const BattlePokemonIconIndexes: {[id: string]: number} = { scattervein: 1512 + 72, cresceidon: 1512 + 73, chuggalong: 1512 + 74, + shox: 1512 + 75, }; const BattlePokemonIconIndexesLeft: {[id: string]: number} = { diff --git a/play.pokemonshowdown.com/src/battle-dex.ts b/play.pokemonshowdown.com/src/battle-dex.ts index e45aacc0f7..1ddb5a25e5 100644 --- a/play.pokemonshowdown.com/src/battle-dex.ts +++ b/play.pokemonshowdown.com/src/battle-dex.ts @@ -732,7 +732,7 @@ const Dex = new class implements ModdedDex { let top = Math.floor(num / 12) * 30; let left = (num % 12) * 40; let fainted = ((pokemon as Pokemon | ServerPokemon)?.fainted ? `;opacity:.3;filter:grayscale(100%) brightness(.5)` : ``); - return `background:transparent url(${Dex.resourcePrefix}sprites/pokemonicons-sheet.png?v16) no-repeat scroll -${left}px -${top}px${fainted}`; + return `background:transparent url(${Dex.resourcePrefix}sprites/pokemonicons-sheet.png?v17) no-repeat scroll -${left}px -${top}px${fainted}`; } getTeambuilderSpriteData(pokemon: any, gen: number = 0): TeambuilderSpriteData {