mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
This commit is contained in:
parent
9b8137d44d
commit
7ab0dbec92
|
|
@ -546,203 +546,224 @@ export const BattlePokemonIconIndexes: { [id: string]: number } = {
|
|||
inteleongmax: 1320 + 81,
|
||||
urshifugmax: 1320 + 82,
|
||||
urshifurapidstrikegmax: 1320 + 83,
|
||||
// placeholder
|
||||
floettemega: 1032 + 98,
|
||||
zygardemega: 1032 + 139,
|
||||
clefablemega: 1320 + 84,
|
||||
victreebelmega: 1320 + 85,
|
||||
starmiemega: 1320 + 86,
|
||||
dragonitemega: 1320 + 87,
|
||||
meganiummega: 1320 + 88,
|
||||
feraligatrmega: 1320 + 89,
|
||||
skarmorymega: 1320 + 90,
|
||||
froslassmega: 1320 + 91,
|
||||
emboarmega: 1320 + 92,
|
||||
excadrillmega: 1320 + 93,
|
||||
scolipedemega: 1320 + 94,
|
||||
scraftymega: 1320 + 95,
|
||||
eelektrossmega: 1320 + 96,
|
||||
chandeluremega: 1320 + 97,
|
||||
chesnaughtmega: 1320 + 98,
|
||||
delphoxmega: 1320 + 99,
|
||||
greninjamega: 1320 + 100,
|
||||
pyroarmega: 1320 + 101,
|
||||
floettemega: 1320 + 102,
|
||||
malamarmega: 1320 + 103,
|
||||
barbaraclemega: 1320 + 104,
|
||||
dragalgemega: 1320 + 105,
|
||||
hawluchamega: 1320 + 106,
|
||||
zygardemega: 1320 + 107,
|
||||
drampamega: 1320 + 108,
|
||||
falinksmega: 1320 + 109,
|
||||
|
||||
// CAP
|
||||
syclant: 1512 + 0,
|
||||
revenankh: 1512 + 1,
|
||||
pyroak: 1512 + 2,
|
||||
fidgit: 1512 + 3,
|
||||
stratagem: 1512 + 4,
|
||||
arghonaut: 1512 + 5,
|
||||
kitsunoh: 1512 + 6,
|
||||
cyclohm: 1512 + 7,
|
||||
colossoil: 1512 + 8,
|
||||
krilowatt: 1512 + 9,
|
||||
voodoom: 1512 + 10,
|
||||
tomohawk: 1512 + 11,
|
||||
necturna: 1512 + 12,
|
||||
mollux: 1512 + 13,
|
||||
aurumoth: 1512 + 14,
|
||||
malaconda: 1512 + 15,
|
||||
cawmodore: 1512 + 16,
|
||||
volkraken: 1512 + 17,
|
||||
plasmanta: 1512 + 18,
|
||||
naviathan: 1512 + 19,
|
||||
crucibelle: 1512 + 20,
|
||||
crucibellemega: 1512 + 21,
|
||||
kerfluffle: 1512 + 22,
|
||||
pajantom: 1512 + 23,
|
||||
jumbao: 1512 + 24,
|
||||
caribolt: 1512 + 25,
|
||||
smokomodo: 1512 + 26,
|
||||
snaelstrom: 1512 + 27,
|
||||
equilibra: 1512 + 28,
|
||||
astrolotl: 1512 + 29,
|
||||
miasmaw: 1512 + 30,
|
||||
chromera: 1512 + 31,
|
||||
venomicon: 1512 + 32,
|
||||
venomiconepilogue: 1512 + 33,
|
||||
saharaja: 1512 + 34,
|
||||
hemogoblin: 1512 + 35,
|
||||
syclar: 1512 + 36,
|
||||
embirch: 1512 + 37,
|
||||
flarelm: 1512 + 38,
|
||||
breezi: 1512 + 39,
|
||||
scratchet: 1512 + 40,
|
||||
necturine: 1512 + 41,
|
||||
cupra: 1512 + 42,
|
||||
argalis: 1512 + 43,
|
||||
brattler: 1512 + 44,
|
||||
cawdet: 1512 + 45,
|
||||
volkritter: 1512 + 46,
|
||||
snugglow: 1512 + 47,
|
||||
floatoy: 1512 + 48,
|
||||
caimanoe: 1512 + 49,
|
||||
pluffle: 1512 + 50,
|
||||
rebble: 1512 + 51,
|
||||
tactite: 1512 + 52,
|
||||
privatyke: 1512 + 53,
|
||||
nohface: 1512 + 54,
|
||||
monohm: 1512 + 55,
|
||||
duohm: 1512 + 56,
|
||||
protowatt: 1512 + 57,
|
||||
voodoll: 1512 + 58,
|
||||
mumbao: 1512 + 59,
|
||||
fawnifer: 1512 + 60,
|
||||
electrelk: 1512 + 61,
|
||||
smogecko: 1512 + 62,
|
||||
smoguana: 1512 + 63,
|
||||
swirlpool: 1512 + 64,
|
||||
coribalis: 1512 + 65,
|
||||
justyke: 1512 + 66,
|
||||
solotl: 1512 + 67,
|
||||
miasmite: 1512 + 68,
|
||||
dorsoil: 1512 + 69,
|
||||
saharascal: 1512 + 70,
|
||||
ababo: 1512 + 71,
|
||||
scattervein: 1512 + 72,
|
||||
cresceidon: 1512 + 73,
|
||||
chuggalong: 1512 + 74,
|
||||
shox: 1512 + 75,
|
||||
chuggon: 1512 + 76,
|
||||
draggalong: 1512 + 77,
|
||||
ramnarok: 1512 + 78,
|
||||
ramnarokradiant: 1512 + 79,
|
||||
syclant: 1548 + 0,
|
||||
revenankh: 1548 + 1,
|
||||
pyroak: 1548 + 2,
|
||||
fidgit: 1548 + 3,
|
||||
stratagem: 1548 + 4,
|
||||
arghonaut: 1548 + 5,
|
||||
kitsunoh: 1548 + 6,
|
||||
cyclohm: 1548 + 7,
|
||||
colossoil: 1548 + 8,
|
||||
krilowatt: 1548 + 9,
|
||||
voodoom: 1548 + 10,
|
||||
tomohawk: 1548 + 11,
|
||||
necturna: 1548 + 12,
|
||||
mollux: 1548 + 13,
|
||||
aurumoth: 1548 + 14,
|
||||
malaconda: 1548 + 15,
|
||||
cawmodore: 1548 + 16,
|
||||
volkraken: 1548 + 17,
|
||||
plasmanta: 1548 + 18,
|
||||
naviathan: 1548 + 19,
|
||||
crucibelle: 1548 + 20,
|
||||
crucibellemega: 1548 + 21,
|
||||
kerfluffle: 1548 + 22,
|
||||
pajantom: 1548 + 23,
|
||||
jumbao: 1548 + 24,
|
||||
caribolt: 1548 + 25,
|
||||
smokomodo: 1548 + 26,
|
||||
snaelstrom: 1548 + 27,
|
||||
equilibra: 1548 + 28,
|
||||
astrolotl: 1548 + 29,
|
||||
miasmaw: 1548 + 30,
|
||||
chromera: 1548 + 31,
|
||||
venomicon: 1548 + 32,
|
||||
venomiconepilogue: 1548 + 33,
|
||||
saharaja: 1548 + 34,
|
||||
hemogoblin: 1548 + 35,
|
||||
syclar: 1548 + 36,
|
||||
embirch: 1548 + 37,
|
||||
flarelm: 1548 + 38,
|
||||
breezi: 1548 + 39,
|
||||
scratchet: 1548 + 40,
|
||||
necturine: 1548 + 41,
|
||||
cupra: 1548 + 42,
|
||||
argalis: 1548 + 43,
|
||||
brattler: 1548 + 44,
|
||||
cawdet: 1548 + 45,
|
||||
volkritter: 1548 + 46,
|
||||
snugglow: 1548 + 47,
|
||||
floatoy: 1548 + 48,
|
||||
caimanoe: 1548 + 49,
|
||||
pluffle: 1548 + 50,
|
||||
rebble: 1548 + 51,
|
||||
tactite: 1548 + 52,
|
||||
privatyke: 1548 + 53,
|
||||
nohface: 1548 + 54,
|
||||
monohm: 1548 + 55,
|
||||
duohm: 1548 + 56,
|
||||
protowatt: 1548 + 57,
|
||||
voodoll: 1548 + 58,
|
||||
mumbao: 1548 + 59,
|
||||
fawnifer: 1548 + 60,
|
||||
electrelk: 1548 + 61,
|
||||
smogecko: 1548 + 62,
|
||||
smoguana: 1548 + 63,
|
||||
swirlpool: 1548 + 64,
|
||||
coribalis: 1548 + 65,
|
||||
justyke: 1548 + 66,
|
||||
solotl: 1548 + 67,
|
||||
miasmite: 1548 + 68,
|
||||
dorsoil: 1548 + 69,
|
||||
saharascal: 1548 + 70,
|
||||
ababo: 1548 + 71,
|
||||
scattervein: 1548 + 72,
|
||||
cresceidon: 1548 + 73,
|
||||
chuggalong: 1548 + 74,
|
||||
shox: 1548 + 75,
|
||||
chuggon: 1548 + 76,
|
||||
draggalong: 1548 + 77,
|
||||
ramnarok: 1548 + 78,
|
||||
ramnarokradiant: 1548 + 79,
|
||||
};
|
||||
|
||||
export const BattlePokemonIconIndexesLeft: { [id: string]: number } = {
|
||||
pikachubelle: 1404 + 0,
|
||||
pikachupopstar: 1404 + 1,
|
||||
clefairy: 1404 + 2,
|
||||
clefable: 1404 + 3,
|
||||
jigglypuff: 1404 + 4,
|
||||
wigglytuff: 1404 + 5,
|
||||
dugtrioalola: 1404 + 6,
|
||||
poliwhirl: 1404 + 7,
|
||||
poliwrath: 1404 + 8,
|
||||
mukalola: 1404 + 9,
|
||||
kingler: 1404 + 10,
|
||||
croconaw: 1404 + 11,
|
||||
cleffa: 1404 + 12,
|
||||
igglybuff: 1404 + 13,
|
||||
politoed: 1404 + 14,
|
||||
unownb: 1404 + 15,
|
||||
unownc: 1404 + 16,
|
||||
unownd: 1404 + 17,
|
||||
unowne: 1404 + 18,
|
||||
unownf: 1404 + 19,
|
||||
unowng: 1404 + 20,
|
||||
unownh: 1404 + 21,
|
||||
unownj: 1404 + 22,
|
||||
unownk: 1404 + 23,
|
||||
unownl: 1404 + 24,
|
||||
unownm: 1404 + 25,
|
||||
unownn: 1404 + 26,
|
||||
unownp: 1404 + 27,
|
||||
unownq: 1404 + 28,
|
||||
unownquestion: 1404 + 29,
|
||||
unownr: 1404 + 30,
|
||||
unowns: 1404 + 31,
|
||||
unownt: 1404 + 32,
|
||||
unownv: 1404 + 33,
|
||||
unownz: 1404 + 34,
|
||||
sneasel: 1404 + 35,
|
||||
teddiursa: 1404 + 36,
|
||||
roselia: 1404 + 37,
|
||||
zangoose: 1404 + 38,
|
||||
seviper: 1404 + 39,
|
||||
castformsnowy: 1404 + 40,
|
||||
absolmega: 1404 + 41,
|
||||
absol: 1404 + 42,
|
||||
regirock: 1404 + 43,
|
||||
torterra: 1404 + 44,
|
||||
budew: 1404 + 45,
|
||||
roserade: 1404 + 46,
|
||||
magmortar: 1404 + 47,
|
||||
togekiss: 1404 + 48,
|
||||
rotomwash: 1404 + 49,
|
||||
shayminsky: 1404 + 50,
|
||||
emboar: 1404 + 51,
|
||||
pansear: 1404 + 52,
|
||||
simisear: 1404 + 53,
|
||||
drilbur: 1404 + 54,
|
||||
excadrill: 1404 + 55,
|
||||
sawk: 1404 + 56,
|
||||
lilligant: 1404 + 57,
|
||||
garbodor: 1404 + 58,
|
||||
solosis: 1404 + 59,
|
||||
vanilluxe: 1404 + 60,
|
||||
amoonguss: 1404 + 61,
|
||||
klink: 1404 + 62,
|
||||
klang: 1404 + 63,
|
||||
klinklang: 1404 + 64,
|
||||
litwick: 1404 + 65,
|
||||
golett: 1404 + 66,
|
||||
golurk: 1404 + 67,
|
||||
kyuremblack: 1404 + 68,
|
||||
kyuremwhite: 1404 + 69,
|
||||
kyurem: 1404 + 70,
|
||||
keldeoresolute: 1404 + 71,
|
||||
meloetta: 1404 + 72,
|
||||
greninja: 1404 + 73,
|
||||
greninjabond: 1404 + 73,
|
||||
greninjaash: 1404 + 74,
|
||||
furfroudebutante: 1404 + 75,
|
||||
barbaracle: 1404 + 76,
|
||||
clauncher: 1404 + 77,
|
||||
clawitzer: 1404 + 78,
|
||||
sylveon: 1404 + 79,
|
||||
klefki: 1404 + 80,
|
||||
zygarde: 1404 + 81,
|
||||
zygarde10: 1404 + 82,
|
||||
zygardecomplete: 1404 + 83,
|
||||
dartrix: 1404 + 84,
|
||||
steenee: 1404 + 85,
|
||||
tsareena: 1404 + 86,
|
||||
comfey: 1404 + 87,
|
||||
miniormeteor: 1404 + 88,
|
||||
minior: 1404 + 89,
|
||||
miniororange: 1404 + 90,
|
||||
minioryellow: 1404 + 91,
|
||||
miniorgreen: 1404 + 92,
|
||||
miniorblue: 1404 + 93,
|
||||
miniorviolet: 1404 + 94,
|
||||
miniorindigo: 1404 + 95,
|
||||
dhelmise: 1404 + 96,
|
||||
necrozma: 1404 + 97,
|
||||
marshadow: 1404 + 98,
|
||||
pikachuoriginal: 1404 + 99,
|
||||
pikachupartner: 1404 + 100,
|
||||
necrozmaduskmane: 1404 + 101,
|
||||
necrozmadawnwings: 1404 + 102,
|
||||
necrozmaultra: 1404 + 103,
|
||||
stakataka: 1404 + 104,
|
||||
blacephalon: 1404 + 105,
|
||||
// placeholder
|
||||
zygardemega: 1404 + 83,
|
||||
pikachubelle: 1440 + 0,
|
||||
pikachupopstar: 1440 + 1,
|
||||
clefairy: 1440 + 2,
|
||||
clefable: 1440 + 3,
|
||||
jigglypuff: 1440 + 4,
|
||||
wigglytuff: 1440 + 5,
|
||||
dugtrioalola: 1440 + 6,
|
||||
poliwhirl: 1440 + 7,
|
||||
poliwrath: 1440 + 8,
|
||||
mukalola: 1440 + 9,
|
||||
kingler: 1440 + 10,
|
||||
croconaw: 1440 + 11,
|
||||
cleffa: 1440 + 12,
|
||||
igglybuff: 1440 + 13,
|
||||
politoed: 1440 + 14,
|
||||
unownb: 1440 + 15,
|
||||
unownc: 1440 + 16,
|
||||
unownd: 1440 + 17,
|
||||
unowne: 1440 + 18,
|
||||
unownf: 1440 + 19,
|
||||
unowng: 1440 + 20,
|
||||
unownh: 1440 + 21,
|
||||
unownj: 1440 + 22,
|
||||
unownk: 1440 + 23,
|
||||
unownl: 1440 + 24,
|
||||
unownm: 1440 + 25,
|
||||
unownn: 1440 + 26,
|
||||
unownp: 1440 + 27,
|
||||
unownq: 1440 + 28,
|
||||
unownquestion: 1440 + 29,
|
||||
unownr: 1440 + 30,
|
||||
unowns: 1440 + 31,
|
||||
unownt: 1440 + 32,
|
||||
unownv: 1440 + 33,
|
||||
unownz: 1440 + 34,
|
||||
sneasel: 1440 + 35,
|
||||
teddiursa: 1440 + 36,
|
||||
roselia: 1440 + 37,
|
||||
zangoose: 1440 + 38,
|
||||
seviper: 1440 + 39,
|
||||
castformsnowy: 1440 + 40,
|
||||
absolmega: 1440 + 41,
|
||||
absol: 1440 + 42,
|
||||
regirock: 1440 + 43,
|
||||
torterra: 1440 + 44,
|
||||
budew: 1440 + 45,
|
||||
roserade: 1440 + 46,
|
||||
magmortar: 1440 + 47,
|
||||
togekiss: 1440 + 48,
|
||||
rotomwash: 1440 + 49,
|
||||
shayminsky: 1440 + 50,
|
||||
emboar: 1440 + 51,
|
||||
pansear: 1440 + 52,
|
||||
simisear: 1440 + 53,
|
||||
drilbur: 1440 + 54,
|
||||
excadrill: 1440 + 55,
|
||||
sawk: 1440 + 56,
|
||||
lilligant: 1440 + 57,
|
||||
garbodor: 1440 + 58,
|
||||
solosis: 1440 + 59,
|
||||
vanilluxe: 1440 + 60,
|
||||
amoonguss: 1440 + 61,
|
||||
klink: 1440 + 62,
|
||||
klang: 1440 + 63,
|
||||
klinklang: 1440 + 64,
|
||||
litwick: 1440 + 65,
|
||||
golett: 1440 + 66,
|
||||
golurk: 1440 + 67,
|
||||
kyuremblack: 1440 + 68,
|
||||
kyuremwhite: 1440 + 69,
|
||||
kyurem: 1440 + 70,
|
||||
keldeoresolute: 1440 + 71,
|
||||
meloetta: 1440 + 72,
|
||||
greninja: 1440 + 73,
|
||||
greninjabond: 1440 + 73,
|
||||
greninjaash: 1440 + 74,
|
||||
furfroudebutante: 1440 + 75,
|
||||
barbaracle: 1440 + 76,
|
||||
clauncher: 1440 + 77,
|
||||
clawitzer: 1440 + 78,
|
||||
sylveon: 1440 + 79,
|
||||
klefki: 1440 + 80,
|
||||
zygarde: 1440 + 81,
|
||||
zygarde10: 1440 + 82,
|
||||
zygardecomplete: 1440 + 83,
|
||||
dartrix: 1440 + 84,
|
||||
steenee: 1440 + 85,
|
||||
tsareena: 1440 + 86,
|
||||
comfey: 1440 + 87,
|
||||
miniormeteor: 1440 + 88,
|
||||
minior: 1440 + 89,
|
||||
miniororange: 1440 + 90,
|
||||
minioryellow: 1440 + 91,
|
||||
miniorgreen: 1440 + 92,
|
||||
miniorblue: 1440 + 93,
|
||||
miniorviolet: 1440 + 94,
|
||||
miniorindigo: 1440 + 95,
|
||||
dhelmise: 1440 + 96,
|
||||
necrozma: 1440 + 97,
|
||||
marshadow: 1440 + 98,
|
||||
pikachuoriginal: 1440 + 99,
|
||||
pikachupartner: 1440 + 100,
|
||||
necrozmaduskmane: 1440 + 101,
|
||||
necrozmadawnwings: 1440 + 102,
|
||||
necrozmaultra: 1440 + 103,
|
||||
stakataka: 1440 + 104,
|
||||
blacephalon: 1440 + 105,
|
||||
};
|
||||
|
||||
export const BattleAvatarNumbers: { [k: string]: string } = {
|
||||
|
|
|
|||
|
|
@ -830,7 +830,7 @@ export const Dex = new class implements ModdedDex {
|
|||
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?v19) no-repeat scroll -${left}px -${top}px${fainted}`;
|
||||
return `background:transparent url(${Dex.resourcePrefix}sprites/pokemonicons-sheet.png?v20) no-repeat scroll -${left}px -${top}px${fainted}`;
|
||||
}
|
||||
|
||||
getTeambuilderSpriteData(pokemon: any, dex: ModdedDex = Dex): TeambuilderSpriteData {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user