Skip to content

Commit 35ffb03

Browse files
committed
1 parent ce7c613 commit 35ffb03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+404
-348
lines changed

client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"build"
1616
],
1717
"dependencies": {
18-
"@pkmn/data": "^0.9.28",
18+
"@pkmn/data": "^0.9.29",
1919
"@pkmn/protocol": "^0.6.30"
2020
},
2121
"devDependencies": {
22-
"@pkmn/dex": "^0.9.28"
22+
"@pkmn/dex": "^0.9.29"
2323
},
2424
"scripts": {
2525
"lint": "eslint --cache src",

data/index.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ for (const [pkg, Dex] of Object.entries(DATA)) {
274274
expect(gen.species.get('p groudon')!.name).toBe('Groudon-Primal');
275275
// Rockruff-Dusk
276276
expect(gen.species.get('Rockruff-Dusk')).toBeDefined();
277-
// FIXME expect(Gen(7).species.get('Rockruff-Dusk')!.name).toBe('Rockruff-Dusk');
277+
expect(Gen(7).species.get('Rockruff-Dusk')!.name).toBe('Rockruff-Dusk');
278278
});
279279

280280
it('counts', () => {
@@ -315,7 +315,7 @@ for (const [pkg, Dex] of Object.entries(DATA)) {
315315
// Alola (18) + Totem (12) + Pikachu (7) - Pikachu (6) + Greninja (2) + Zygarde (2) +
316316
// Oricorio (3) + Rockruff (1) + Lycanroc (2) + Wishiwashi (1) + Silvally (17) + Minior (1)
317317
// Mimikyu (1) + Necrozma (3) [Magearna (1) + LGPE Starters/Meltan/Melmetal (4)]
318-
formes += 18 + 12 + 7 - 6 + 2 + 2 + 3 + 1 + 2 + 1 + 17 + 1 + 1 + 3 - 1; // FIXME Rockruff
318+
formes += 18 + 12 + 7 - 6 + 2 + 2 + 3 + 1 + 2 + 1 + 17 + 1 + 1 + 3;
319319
expect(counts(7)).toEqual({species: 807, formes});
320320
// Silvally (17) + Rotom (5) + Basculin (1) + Meowstic (1) +
321321
// Aegislash (1) + Pumpkaboo (3) + Gourgeist (3) + Pikachu (7) + Galar (14) +
@@ -329,10 +329,10 @@ for (const [pkg, Dex] of Object.entries(DATA)) {
329329
// {GMax} 26 + 7
330330
formes = 17 + 5 + 1 + 1 + 1 + 3 + 3 + 7 + 14 + 8 +
331331
1 + 1 + 1 + 2 + 1 + 2 + 2 + 2 + 1 + 1 + 2 + 2 + 1 +
332-
(4 + 1 + 1 + 1 + 1 + 2 + (1 + 1)) + (1 + 3 + 4 + 2 + 3 + 1 + 2) - 1; // FIXME Rockruff
332+
(4 + 1 + 1 + 1 + 1 + 2 + (1 + 1)) + (1 + 3 + 4 + 2 + 3 + 1 + 2);
333333
expect(counts(8)).toEqual({species: 664, formes});
334334
// Galar (1) + Paldea (4) + Rotom (5) + Basculin (1) + Vivillon-Fancy (1) + Oricorio (3) +
335-
// Lycanroc (2) + Mimikyu (1) + Toxtricity (1) + Eiscue (1) + Indeedee (1) +
335+
// Rockruff (1) + Lycanroc (2) + Mimikyu (1) + Toxtricity (1) + Eiscue (1) + Indeedee (1) +
336336
// Oinkologne (1) + Dudunsparce (1) + Palafin (1) + Maushold (1) + Squawkabilly (3) +
337337
// *-Antique (2) + Hisui (2)
338338
// {HOME} Pikachu (8) + *-Origin (3) + *-Therian (4) + Alola (7) + Galar (6) + Hisui (14) +
@@ -343,7 +343,7 @@ for (const [pkg, Dex] of Object.entries(DATA)) {
343343
// *-Masterpiece (2) + Ogerpon (7)
344344
// {DLC2} Alola(1) + Deoxys (3) + Keldeo (1) + Kyurem (2) + Meowstic (1) + Minior (1) +
345345
// Necrozma (2) + Terapagos (2)
346-
formes = 1 + 4 + 5 + 1 + 1 + 3 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 3 + 2 + 2 +
346+
formes = 1 + 4 + 5 + 1 + 1 + 3 + 1 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 3 + 2 + 2 +
347347
(8 + 3 + 4 + 7 + 6 + 14 + 17 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 1 + 1 + 2 + 1 + 1) +
348348
(8 + 1 + 2 + 1 + 1 + 2 + 7) + (1 + 3 + 1 + 2 + 1 + 1 + 2 + 2);
349349
// Charizard (3) + Cinderace (3) + Greninja (3) + Vivillon (1) + Walking Wake (1) +

data/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pkmn/data",
3-
"version": "0.9.28",
3+
"version": "0.9.29",
44
"description": "A forked implementation of the Pokémon Showdown client's data layer",
55
"repository": "github:pkmn/ps",
66
"license": "MIT",
@@ -16,12 +16,12 @@
1616
"build"
1717
],
1818
"dependencies": {
19-
"@pkmn/dex-types": "^0.9.28"
19+
"@pkmn/dex-types": "^0.9.29"
2020
},
2121
"devDependencies": {
22-
"@pkmn/dex": "^0.9.28",
23-
"@pkmn/mods": "^0.9.28",
24-
"@pkmn/sim": "^0.9.28",
22+
"@pkmn/dex": "^0.9.29",
23+
"@pkmn/mods": "^0.9.29",
24+
"@pkmn/sim": "^0.9.29",
2525
"@smogon/calc": "^0.10.0"
2626
},
2727
"scripts": {

dex/data/abilities.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@
408408
"desc": "Prevents other Pokemon from lowering this Pokemon's accuracy stat stage.",
409409
"shortDesc": "Prevents other Pokemon from lowering this Pokemon's accuracy stat stage."
410410
},
411+
"magicbounce": {
412+
"inherit": true,
413+
"desc": "This Pokemon is unaffected by certain non-damaging moves directed at it and will instead use such moves against the original user. Moves reflected in this way are unable to be reflected again by this or Magic Coat's effect. Spikes, Stealth Rock, and Toxic Spikes can only be reflected once per side, by the leftmost Pokemon under this or Magic Coat's effect. The Lightning Rod and Storm Drain Abilities redirect their respective moves before this Ability takes effect."
414+
},
411415
"oblivious": {
412416
"inherit": true,
413417
"desc": "This Pokemon cannot be infatuated. Gaining this Ability while infatuated cures it.",
@@ -433,10 +437,6 @@
433437
"inherit": true,
434438
"desc": "This Pokemon is immune to Ground-type attacks and the effects of Spikes, Toxic Spikes, and the Arena Trap Ability. The effects of Gravity, Ingrain, Smack Down, and Iron Ball nullify the immunity."
435439
},
436-
"magicbounce": {
437-
"inherit": true,
438-
"desc": "This Pokemon is unaffected by certain non-damaging moves directed at it and will instead use such moves against the original user. Moves reflected in this way are unable to be reflected again by this or Magic Coat's effect. Spikes, Stealth Rock, and Toxic Spikes can only be reflected once per side, by the leftmost Pokemon under this or Magic Coat's effect. The Lightning Rod and Storm Drain Abilities redirect their respective moves before this Ability takes effect."
439-
},
440440
"magnetpull": {
441441
"inherit": true,
442442
"desc": "Prevents adjacent opposing Steel-type Pokemon from choosing to switch out, unless they are holding a Shed Shell.",

dex/data/aliases.json

-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@
446446
"ogerponteal": "Ogerpon",
447447
"ogerpontealmask": "Ogerpon",
448448
"terapagosbaby": "Terapagos",
449-
"rockruffdusk": "Rockruff",
450449
"raticatet": "Raticate-Alola-Totem",
451450
"totemalolanraticate": "Raticate-Alola-Totem",
452451
"totemraticate": "Raticate-Alola-Totem",

dex/data/formats-data.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
"kakuna": {"tier": "NFE"},
424424
"beedrill": {"tier": "ZU"},
425425
"pidgey": {"tier": "LC"},
426-
"pidgeotto": {"tier": "ZU"},
426+
"pidgeotto": {"tier": "NFE"},
427427
"pidgeot": {"tier": "NU"},
428428
"rattata": {"tier": "LC"},
429429
"raticate": {"tier": "NU"},
@@ -440,7 +440,7 @@
440440
"nidorina": {"tier": "NFE"},
441441
"nidoqueen": {"tier": "UU"},
442442
"nidoranm": {"tier": "LC"},
443-
"nidorino": {"tier": "ZU"},
443+
"nidorino": {"tier": "NFE"},
444444
"nidoking": {"tier": "UU"},
445445
"cleffa": {"tier": "LC"},
446446
"clefairy": {"tier": "NFE"},
@@ -469,7 +469,7 @@
469469
"golduck": {"tier": "UU"},
470470
"mankey": {"tier": "LC"},
471471
"primeape": {"tier": "RU"},
472-
"growlithe": {"tier": "ZU"},
472+
"growlithe": {"tier": "LC"},
473473
"arcanine": {"tier": "UU"},
474474
"poliwag": {"tier": "LC"},
475475
"poliwhirl": {"tier": "ZUBL"},
@@ -508,7 +508,7 @@
508508
"gastly": {"tier": "PU"},
509509
"haunter": {"tier": "NU"},
510510
"gengar": {"tier": "OU"},
511-
"onix": {"tier": "ZU"},
511+
"onix": {"tier": "LC"},
512512
"steelix": {"tier": "UUBL"},
513513
"drowzee": {"tier": "ZU"},
514514
"hypno": {"tier": "UU"},
@@ -533,17 +533,17 @@
533533
"blissey": {"tier": "OU"},
534534
"tangela": {"tier": "PU"},
535535
"kangaskhan": {"tier": "UU"},
536-
"horsea": {"tier": "ZU"},
536+
"horsea": {"tier": "LC"},
537537
"seadra": {"tier": "PU"},
538538
"kingdra": {"tier": "UUBL"},
539539
"goldeen": {"tier": "LC"},
540540
"seaking": {"tier": "ZU"},
541-
"staryu": {"tier": "ZU"},
541+
"staryu": {"tier": "LC"},
542542
"starmie": {"tier": "OU"},
543543
"mrmime": {"tier": "RU"},
544544
"scyther": {"tier": "UU"},
545545
"scizor": {"tier": "UUBL"},
546-
"smoochum": {"tier": "ZU"},
546+
"smoochum": {"tier": "LC"},
547547
"jynx": {"tier": "UUBL"},
548548
"elekid": {"tier": "ZU"},
549549
"electabuzz": {"tier": "UU"},
@@ -580,7 +580,7 @@
580580
"chikorita": {"tier": "LC"},
581581
"bayleef": {"tier": "NFE"},
582582
"meganium": {"tier": "RU"},
583-
"cyndaquil": {"tier": "ZU"},
583+
"cyndaquil": {"tier": "LC"},
584584
"quilava": {"tier": "ZU"},
585585
"typhlosion": {"tier": "UUBL"},
586586
"totodile": {"tier": "LC"},
@@ -679,12 +679,12 @@
679679
"cascoon": {"tier": "NFE"},
680680
"dustox": {"tier": "ZU"},
681681
"lotad": {"tier": "LC"},
682-
"lombre": {"tier": "ZU"},
682+
"lombre": {"tier": "NFE"},
683683
"ludicolo": {"tier": "UUBL"},
684684
"seedot": {"tier": "LC"},
685685
"nuzleaf": {"tier": "NFE"},
686686
"shiftry": {"tier": "RU"},
687-
"taillow": {"tier": "ZU"},
687+
"taillow": {"tier": "LC"},
688688
"swellow": {"tier": "UUBL"},
689689
"wingull": {"tier": "LC"},
690690
"pelipper": {"tier": "NU"},
@@ -727,7 +727,7 @@
727727
"swalot": {"tier": "PU"},
728728
"carvanha": {"tier": "LC"},
729729
"sharpedo": {"tier": "RU"},
730-
"wailmer": {"tier": "ZU"},
730+
"wailmer": {"tier": "LC"},
731731
"wailord": {"tier": "NU"},
732732
"numel": {"tier": "LC"},
733733
"camerupt": {"tier": "RU"},
@@ -770,7 +770,7 @@
770770
"tropius": {"tier": "ZU"},
771771
"chimecho": {"tier": "NU"},
772772
"absol": {"tier": "RU"},
773-
"snorunt": {"tier": "ZU"},
773+
"snorunt": {"tier": "LC"},
774774
"glalie": {"tier": "NU"},
775775
"spheal": {"tier": "LC"},
776776
"sealeo": {"tier": "PU"},
@@ -8590,7 +8590,7 @@
85908590
"tandemaus": {"tier": "LC"},
85918591
"maushold": {"tier": "RU", "doublesTier": "DUU", "natDexTier": "RU"},
85928592
"cetoddle": {"tier": "LC"},
8593-
"cetitan": {"tier": "PUBL", "doublesTier": "(DUU)", "natDexTier": "RU"},
8593+
"cetitan": {"tier": "NUBL", "doublesTier": "(DUU)", "natDexTier": "RU"},
85948594
"frigibax": {"tier": "LC"},
85958595
"arctibax": {"tier": "NFE"},
85968596
"baxcalibur": {

0 commit comments

Comments
 (0)