diff --git a/src/battle-dex-data.ts b/src/battle-dex-data.ts index 599d69790..51b163fa0 100644 --- a/src/battle-dex-data.ts +++ b/src/battle-dex-data.ts @@ -339,6 +339,9 @@ const BattlePokemonIconIndexes: {[id: string]: number} = { zaciancrowned: 900 + 194, zamazentacrowned: 900 + 195, slowpokegalar: 900 + 196, + slowbrogalar: 900 + 197, + zarudedada: 900 + 198, + pikachuworld: 900 + 199, gumshoostotem: 735, raticatealolatotem: 900 + 120, @@ -431,6 +434,13 @@ const BattlePokemonIconIndexes: {[id: string]: number} = { copperajahgmax: 1104 + 74, duraludongmax: 1104 + 75, eternatuseternamax: 1104 + 76, + venusaurgmax: 1104 + 77, + blastoisegmax: 1104 + 78, + rillaboomgmax: 1104 + 79, + cinderacegmax: 1104 + 80, + inteleongmax: 1104 + 81, + urshifugmax: 1104 + 82, + urshifurapidstrikegmax: 1104 + 83, syclant: 1296 + 0, revenankh: 1296 + 1, diff --git a/src/battle-dex.ts b/src/battle-dex.ts index ae24d90af..f3e392087 100644 --- a/src/battle-dex.ts +++ b/src/battle-dex.ts @@ -757,7 +757,7 @@ const Dex = new class implements ModdedDex { num = BattlePokedex[id].num; } if (num < 0) num = 0; - if (num > 890) num = 0; + if (num > 893) num = 0; if (window.BattlePokemonIconIndexes?.[id]) { num = BattlePokemonIconIndexes[id]; @@ -803,7 +803,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?g8) no-repeat scroll -${left}px -${top}px${fainted}`; + return `background:transparent url(${Dex.resourcePrefix}sprites/pokemonicons-sheet.png?d1) no-repeat scroll -${left}px -${top}px${fainted}`; } getTeambuilderSpriteData(pokemon: any, gen: number = 0): TeambuilderSpriteData {