Skip to content

Commit

Permalink
Update Pokemon icons sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty-D committed Dec 2, 2024
1 parent 72055f2 commit 565a057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions play.pokemonshowdown.com/src/battle-dex-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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} = {
Expand Down
2 changes: 1 addition & 1 deletion play.pokemonshowdown.com/src/battle-dex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 565a057

Please sign in to comment.