@pkmn/sim 0.5.20 → 0.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/config/formats.js +330 -285
- package/build/config/formats.js.map +1 -1
- package/build/data/aliases.js +2 -2
- package/build/data/aliases.js.map +1 -1
- package/build/data/formats-data.js +16 -12
- package/build/data/formats-data.js.map +1 -1
- package/build/data/learnsets.js +29 -0
- package/build/data/learnsets.js.map +1 -1
- package/build/data/mods/gen1/conditions.js +4 -0
- package/build/data/mods/gen1/conditions.js.map +1 -1
- package/build/data/mods/gen1/formats-data.js +3 -3
- package/build/data/mods/gen1/formats-data.js.map +1 -1
- package/build/data/mods/gen1/moves.js +0 -4
- package/build/data/mods/gen1/moves.js.map +1 -1
- package/build/data/mods/gen2/learnsets.js +2 -2
- package/build/data/mods/gen2/learnsets.js.map +1 -1
- package/build/data/mods/gen2/scripts.js +16 -0
- package/build/data/mods/gen2/scripts.js.map +1 -1
- package/build/data/mods/gen4/formats-data.js +1 -1
- package/build/data/mods/gen4/formats-data.js.map +1 -1
- package/build/data/mods/gen6/formats-data.js +1 -1
- package/build/data/mods/gen6/formats-data.js.map +1 -1
- package/build/data/mods/gen6/learnsets.js +0 -75
- package/build/data/mods/gen6/learnsets.js.map +1 -1
- package/build/data/pokedex.js +12 -0
- package/build/data/pokedex.js.map +1 -1
- package/build/data/rulesets.js +29 -0
- package/build/data/rulesets.js.map +1 -1
- package/build/data/tags.js +2 -2
- package/build/data/tags.js.map +1 -1
- package/config/formats.ts +321 -282
- package/data/aliases.ts +2 -2
- package/data/formats-data.ts +16 -12
- package/data/learnsets.ts +29 -0
- package/data/mods/gen1/conditions.ts +4 -0
- package/data/mods/gen1/formats-data.ts +3 -3
- package/data/mods/gen1/moves.ts +0 -3
- package/data/mods/gen2/learnsets.ts +2 -2
- package/data/mods/gen2/scripts.ts +16 -0
- package/data/mods/gen4/formats-data.ts +1 -1
- package/data/mods/gen6/formats-data.ts +1 -1
- package/data/mods/gen6/learnsets.ts +0 -75
- package/data/pokedex.ts +12 -0
- package/data/rulesets.ts +28 -0
- package/data/tags.ts +2 -2
- package/package.json +1 -1
package/data/aliases.ts
CHANGED
|
@@ -68,8 +68,8 @@ export const Aliases: {[alias: string]: string} = {
|
|
|
68
68
|
gen6ag: "[Gen 6] Anything Goes",
|
|
69
69
|
crossevo: "[Gen 8] Cross Evolution",
|
|
70
70
|
mayhem: "[Gen 8] Random Battle Mayhem",
|
|
71
|
-
omotm: "[Gen 8]
|
|
72
|
-
lcotm: "[Gen 8]
|
|
71
|
+
omotm: "[Gen 8] Broken Record",
|
|
72
|
+
lcotm: "[Gen 8] Inheritance",
|
|
73
73
|
|
|
74
74
|
// mega evos
|
|
75
75
|
fabio: "Ampharos-Mega",
|
package/data/formats-data.ts
CHANGED
|
@@ -949,7 +949,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
949
949
|
randomDoubleBattleMoves: ["clearsmog", "defog", "fireblast", "painsplit", "strangesteam", "toxicspikes", "willowisp"],
|
|
950
950
|
randomDoubleBattleLevel: 89,
|
|
951
951
|
tier: "RU",
|
|
952
|
-
doublesTier: "DUU",
|
|
952
|
+
doublesTier: "(DUU)",
|
|
953
953
|
},
|
|
954
954
|
rhyhorn: {
|
|
955
955
|
tier: "LC",
|
|
@@ -2153,7 +2153,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
2153
2153
|
randomBattleLevel: 86,
|
|
2154
2154
|
randomDoubleBattleMoves: ["acrobatics", "defog", "leechlife", "protect", "swordsdance"],
|
|
2155
2155
|
randomDoubleBattleLevel: 88,
|
|
2156
|
-
tier: "PU",
|
|
2156
|
+
tier: "(PU)",
|
|
2157
2157
|
doublesTier: "(DUU)",
|
|
2158
2158
|
},
|
|
2159
2159
|
shedinja: {
|
|
@@ -2494,7 +2494,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
2494
2494
|
randomDoubleBattleMoves: ["coil", "hypnosis", "muddywater", "recover"],
|
|
2495
2495
|
randomDoubleBattleLevel: 80,
|
|
2496
2496
|
tier: "RU",
|
|
2497
|
-
doublesTier: "
|
|
2497
|
+
doublesTier: "DUU",
|
|
2498
2498
|
},
|
|
2499
2499
|
castform: {
|
|
2500
2500
|
isNonstandard: "Past",
|
|
@@ -2932,7 +2932,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
2932
2932
|
randomBattleLevel: 84,
|
|
2933
2933
|
randomDoubleBattleMoves: ["clearsmog", "earthpower", "icywind", "protect", "recover", "scald", "yawn"],
|
|
2934
2934
|
randomDoubleBattleLevel: 80,
|
|
2935
|
-
tier: "
|
|
2935
|
+
tier: "NU",
|
|
2936
2936
|
doublesTier: "DOU",
|
|
2937
2937
|
},
|
|
2938
2938
|
drifloon: {
|
|
@@ -2989,7 +2989,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
2989
2989
|
randomDoubleBattleMoves: ["allyswitch", "bodypress", "explosion", "ironhead", "trickroom"],
|
|
2990
2990
|
randomDoubleBattleLevel: 88,
|
|
2991
2991
|
tier: "RU",
|
|
2992
|
-
doublesTier: "DUU",
|
|
2992
|
+
doublesTier: "(DUU)",
|
|
2993
2993
|
},
|
|
2994
2994
|
chatot: {
|
|
2995
2995
|
isNonstandard: "Past",
|
|
@@ -4082,7 +4082,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
4082
4082
|
tier: "Illegal",
|
|
4083
4083
|
},
|
|
4084
4084
|
vullaby: {
|
|
4085
|
-
tier: "
|
|
4085
|
+
tier: "LC",
|
|
4086
4086
|
},
|
|
4087
4087
|
mandibuzz: {
|
|
4088
4088
|
randomBattleMoves: ["bravebird", "defog", "foulplay", "roost", "toxic"],
|
|
@@ -4445,7 +4445,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
4445
4445
|
doublade: {
|
|
4446
4446
|
randomBattleMoves: ["closecombat", "ironhead", "shadowclaw", "shadowsneak", "swordsdance"],
|
|
4447
4447
|
randomBattleLevel: 82,
|
|
4448
|
-
tier: "
|
|
4448
|
+
tier: "PU",
|
|
4449
4449
|
doublesTier: "NFE",
|
|
4450
4450
|
},
|
|
4451
4451
|
aegislash: {
|
|
@@ -4514,7 +4514,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
4514
4514
|
randomBattleLevel: 86,
|
|
4515
4515
|
randomDoubleBattleMoves: ["dracometeor", "dragonpulse", "focusblast", "protect", "sludgebomb"],
|
|
4516
4516
|
randomDoubleBattleLevel: 86,
|
|
4517
|
-
tier: "
|
|
4517
|
+
tier: "NUBL",
|
|
4518
4518
|
doublesTier: "(DUU)",
|
|
4519
4519
|
},
|
|
4520
4520
|
clauncher: {
|
|
@@ -4962,7 +4962,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
4962
4962
|
randomBattleLevel: 80,
|
|
4963
4963
|
randomDoubleBattleMoves: ["leechlife", "liquidation", "lunge", "protect", "stickyweb", "wideguard"],
|
|
4964
4964
|
randomDoubleBattleLevel: 84,
|
|
4965
|
-
tier: "
|
|
4965
|
+
tier: "PU",
|
|
4966
4966
|
doublesTier: "DUU",
|
|
4967
4967
|
},
|
|
4968
4968
|
araquanidtotem: {
|
|
@@ -5078,7 +5078,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
5078
5078
|
randomBattleLevel: 86,
|
|
5079
5079
|
randomDoubleBattleMoves: ["hypnosis", "protect", "scorchingsands", "shadowball", "shoreup", "stealthrock"],
|
|
5080
5080
|
randomDoubleBattleLevel: 88,
|
|
5081
|
-
tier: "PU",
|
|
5081
|
+
tier: "(PU)",
|
|
5082
5082
|
doublesTier: "(DUU)",
|
|
5083
5083
|
},
|
|
5084
5084
|
pyukumuku: {
|
|
@@ -5433,7 +5433,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
5433
5433
|
randomBattleLevel: 84,
|
|
5434
5434
|
randomDoubleBattleMoves: ["dracometeor", "fireblast", "knockoff", "protect", "sludgebomb"],
|
|
5435
5435
|
randomDoubleBattleLevel: 88,
|
|
5436
|
-
tier: "
|
|
5436
|
+
tier: "PU",
|
|
5437
5437
|
doublesTier: "(DUU)",
|
|
5438
5438
|
},
|
|
5439
5439
|
necrozma: {
|
|
@@ -5594,7 +5594,7 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
5594
5594
|
randomBattleLevel: 80,
|
|
5595
5595
|
randomDoubleBattleMoves: ["airslash", "hydropump", "icebeam", "muddywater", "shadowball", "uturn"],
|
|
5596
5596
|
randomDoubleBattleLevel: 84,
|
|
5597
|
-
tier: "
|
|
5597
|
+
tier: "PU",
|
|
5598
5598
|
doublesTier: "(DUU)",
|
|
5599
5599
|
},
|
|
5600
5600
|
inteleongmax: {
|
|
@@ -6531,6 +6531,10 @@ export const FormatsData: {[k: string]: SpeciesFormatsData} = {
|
|
|
6531
6531
|
isNonstandard: "CAP",
|
|
6532
6532
|
tier: "CAP",
|
|
6533
6533
|
},
|
|
6534
|
+
saharaja: {
|
|
6535
|
+
isNonstandard: "CAP",
|
|
6536
|
+
tier: "CAP",
|
|
6537
|
+
},
|
|
6534
6538
|
pokestarsmeargle: {
|
|
6535
6539
|
isNonstandard: "Custom",
|
|
6536
6540
|
tier: "Illegal",
|
package/data/learnsets.ts
CHANGED
|
@@ -82889,6 +82889,35 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
|
|
|
82889
82889
|
withdraw: ["8L5"],
|
|
82890
82890
|
},
|
|
82891
82891
|
},
|
|
82892
|
+
saharaja: {
|
|
82893
|
+
learnset: {
|
|
82894
|
+
attract: ["8M"],
|
|
82895
|
+
bodypress: ["8M"],
|
|
82896
|
+
diamondstorm: ["8L1"],
|
|
82897
|
+
earthquake: ["8M"],
|
|
82898
|
+
endure: ["8M"],
|
|
82899
|
+
facade: ["8M"],
|
|
82900
|
+
healbell: ["8L1"],
|
|
82901
|
+
hornleech: ["8L1"],
|
|
82902
|
+
leechseed: ["8L1"],
|
|
82903
|
+
painsplit: ["8L1"],
|
|
82904
|
+
poisonjab: ["8M"],
|
|
82905
|
+
powerwhip: ["8M"],
|
|
82906
|
+
protect: ["8M"],
|
|
82907
|
+
rapidspin: ["8L1"],
|
|
82908
|
+
rest: ["8M"],
|
|
82909
|
+
rockslide: ["8M"],
|
|
82910
|
+
round: ["8M"],
|
|
82911
|
+
sleeptalk: ["8M"],
|
|
82912
|
+
snore: ["8M"],
|
|
82913
|
+
stealthrock: ["8M"],
|
|
82914
|
+
substitute: ["8M"],
|
|
82915
|
+
suckerpunch: ["8L1"],
|
|
82916
|
+
swordsdance: ["8M"],
|
|
82917
|
+
taunt: ["8M"],
|
|
82918
|
+
thunderwave: ["8M"],
|
|
82919
|
+
},
|
|
82920
|
+
},
|
|
82892
82921
|
pokestarsmeargle: {
|
|
82893
82922
|
eventData: [
|
|
82894
82923
|
{generation: 5, level: 60, gender: "M", abilities: ["owntempo"], moves: ["mindreader", "guillotine", "tailwhip", "gastroacid"]},
|
|
@@ -78,6 +78,7 @@ export const Conditions: {[id: string]: ModdedConditionData} = {
|
|
|
78
78
|
pokemon.lastMove = null;
|
|
79
79
|
return false;
|
|
80
80
|
},
|
|
81
|
+
onAfterMoveSelfPriority: 3,
|
|
81
82
|
onAfterMoveSelf(pokemon) {
|
|
82
83
|
if (pokemon.statusState.time <= 0) pokemon.cureStatus();
|
|
83
84
|
},
|
|
@@ -164,6 +165,9 @@ export const Conditions: {[id: string]: ModdedConditionData} = {
|
|
|
164
165
|
flinch: {
|
|
165
166
|
name: 'flinch',
|
|
166
167
|
duration: 1,
|
|
168
|
+
onStart(target) {
|
|
169
|
+
target.removeVolatile('mustrecharge');
|
|
170
|
+
},
|
|
167
171
|
onBeforeMovePriority: 4,
|
|
168
172
|
onBeforeMove(pokemon) {
|
|
169
173
|
if (!this.runEvent('Flinch', pokemon)) {
|
|
@@ -370,7 +370,7 @@ export const FormatsData: {[k: string]: ModdedSpeciesFormatsData} = {
|
|
|
370
370
|
randomBattleMoves: ["bodyslam", "sleeppowder", "stunspore"],
|
|
371
371
|
essentialMove: "razorleaf",
|
|
372
372
|
comboMoves: ["hyperbeam", "swordsdance"],
|
|
373
|
-
tier: "
|
|
373
|
+
tier: "UU",
|
|
374
374
|
},
|
|
375
375
|
tentacool: {
|
|
376
376
|
randomBattleMoves: ["barrier", "hydropump", "surf"],
|
|
@@ -414,7 +414,7 @@ export const FormatsData: {[k: string]: ModdedSpeciesFormatsData} = {
|
|
|
414
414
|
slowbro: {
|
|
415
415
|
randomBattleMoves: ["amnesia", "surf", "thunderwave"],
|
|
416
416
|
exclusiveMoves: ["blizzard", "psychic", "rest", "rest"],
|
|
417
|
-
tier: "
|
|
417
|
+
tier: "UUBL",
|
|
418
418
|
},
|
|
419
419
|
magnemite: {
|
|
420
420
|
randomBattleMoves: ["thunder", "thunderbolt", "thunderwave"],
|
|
@@ -667,7 +667,7 @@ export const FormatsData: {[k: string]: ModdedSpeciesFormatsData} = {
|
|
|
667
667
|
randomBattleMoves: ["bodyslam", "confuseray", "rest", "sing", "surf"],
|
|
668
668
|
essentialMove: "blizzard",
|
|
669
669
|
exclusiveMoves: ["thunderbolt", "thunderbolt"],
|
|
670
|
-
tier: "
|
|
670
|
+
tier: "UUBL",
|
|
671
671
|
},
|
|
672
672
|
ditto: {
|
|
673
673
|
randomBattleMoves: ["transform"],
|
package/data/mods/gen1/moves.ts
CHANGED
|
@@ -538,15 +538,12 @@ export const Moves: {[k: string]: ModdedMoveData} = {
|
|
|
538
538
|
onBoost(boost, target, source, effect) {
|
|
539
539
|
if (effect.effectType === 'Move' && effect.category !== 'Status') return;
|
|
540
540
|
if (source && target !== source) {
|
|
541
|
-
let showMsg = false;
|
|
542
541
|
let i: BoostID;
|
|
543
542
|
for (i in boost) {
|
|
544
543
|
if (boost[i]! < 0) {
|
|
545
544
|
delete boost[i];
|
|
546
|
-
showMsg = true;
|
|
547
545
|
}
|
|
548
546
|
}
|
|
549
|
-
if (showMsg) this.add('-activate', target, 'move: Mist');
|
|
550
547
|
}
|
|
551
548
|
},
|
|
552
549
|
},
|
|
@@ -7593,11 +7593,11 @@ export const Learnsets: {[k: string]: ModdedLearnsetData} = {
|
|
|
7593
7593
|
dragonrage: ["1S0"],
|
|
7594
7594
|
flail: ["2L30"],
|
|
7595
7595
|
reversal: ["2S2"],
|
|
7596
|
-
splash: ["2L1", "2S2", "2S1", "1L1"],
|
|
7596
|
+
splash: ["2L1", "2S2", "2S1", "1L1", "1S0"],
|
|
7597
7597
|
tackle: ["2L15", "1L15"],
|
|
7598
7598
|
},
|
|
7599
7599
|
eventData: [
|
|
7600
|
-
{generation: 1, level:
|
|
7600
|
+
{generation: 1, level: 15, moves: ["splash", "dragonrage"], japan: true},
|
|
7601
7601
|
{generation: 2, level: 5, shiny: 1, moves: ["splash", "bubble"]},
|
|
7602
7602
|
{generation: 2, level: 5, shiny: 1, moves: ["splash", "reversal"]},
|
|
7603
7603
|
],
|
|
@@ -160,6 +160,22 @@ export const Scripts: ModdedBattleScriptsData = {
|
|
|
160
160
|
return false;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
if (move.target === 'all' || move.target === 'foeSide' || move.target === 'allySide' || move.target === 'allyTeam') {
|
|
164
|
+
if (move.target === 'all') {
|
|
165
|
+
hitResult = this.battle.runEvent('TryHitField', target, pokemon, move);
|
|
166
|
+
} else {
|
|
167
|
+
hitResult = this.battle.runEvent('TryHitSide', target, pokemon, move);
|
|
168
|
+
}
|
|
169
|
+
if (!hitResult) {
|
|
170
|
+
if (hitResult === false) {
|
|
171
|
+
this.battle.add('-fail', pokemon);
|
|
172
|
+
this.battle.attrLastMove('[still]');
|
|
173
|
+
}
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
176
|
+
return this.moveHit(target, pokemon, move);
|
|
177
|
+
}
|
|
178
|
+
|
|
163
179
|
hitResult = this.battle.runEvent('Invulnerability', target, pokemon, move);
|
|
164
180
|
if (hitResult === false) {
|
|
165
181
|
this.battle.attrLastMove('[miss]');
|
|
@@ -882,7 +882,7 @@ export const FormatsData: {[k: string]: ModdedSpeciesFormatsData} = {
|
|
|
882
882
|
},
|
|
883
883
|
mamoswine: {
|
|
884
884
|
randomBattleMoves: ["earthquake", "endeavor", "iceshard", "stealthrock", "stoneedge", "superpower"],
|
|
885
|
-
tier: "OU",
|
|
885
|
+
tier: "(OU)",
|
|
886
886
|
},
|
|
887
887
|
corsola: {
|
|
888
888
|
randomBattleMoves: ["recover", "reflect", "stealthrock", "surf", "toxic"],
|
|
@@ -3918,7 +3918,7 @@ export const FormatsData: {[k: string]: ModdedSpeciesFormatsData} = {
|
|
|
3918
3918
|
volcanion: {
|
|
3919
3919
|
randomBattleMoves: ["earthpower", "fireblast", "hiddenpowerice", "sludgewave", "steameruption", "substitute", "superpower"],
|
|
3920
3920
|
randomDoubleBattleMoves: ["earthquake", "heatwave", "protect", "rockslide", "sludgebomb", "steameruption", "substitute"],
|
|
3921
|
-
tier: "
|
|
3921
|
+
tier: "OU",
|
|
3922
3922
|
doublesTier: "DOU",
|
|
3923
3923
|
},
|
|
3924
3924
|
};
|
|
@@ -172,79 +172,4 @@ export const Learnsets: {[k: string]: ModdedLearnsetData} = {
|
|
|
172
172
|
zenheadbutt: ["7T", "5T"],
|
|
173
173
|
},
|
|
174
174
|
},
|
|
175
|
-
crucibelle: {
|
|
176
|
-
inherit: true,
|
|
177
|
-
learnset: {
|
|
178
|
-
acidarmor: ["7L32", "6L32"],
|
|
179
|
-
astonish: ["7L1", "6L1"],
|
|
180
|
-
attract: ["7M", "6M"],
|
|
181
|
-
block: ["6T"],
|
|
182
|
-
coil: ["7E", "6E"],
|
|
183
|
-
confuseray: ["7L16", "6L16"],
|
|
184
|
-
confusion: ["7L14", "6L14"],
|
|
185
|
-
defensecurl: ["7E", "6E"],
|
|
186
|
-
doubleteam: ["7M", "6M"],
|
|
187
|
-
embargo: ["7M", "6M"],
|
|
188
|
-
endure: ["7L1", "6L1"],
|
|
189
|
-
explosion: ["7M", "7L60", "6M", "6L60"],
|
|
190
|
-
facade: ["7M", "6M"],
|
|
191
|
-
faketears: ["7L10", "6L10"],
|
|
192
|
-
frustration: ["7M", "6M"],
|
|
193
|
-
gigaimpact: ["7M", "6M"],
|
|
194
|
-
grassknot: ["7M", "6M"],
|
|
195
|
-
gravity: ["6T"],
|
|
196
|
-
gunkshot: ["7L56", "6T", "6L56"],
|
|
197
|
-
headsmash: ["6L1"],
|
|
198
|
-
helpinghand: ["6T"],
|
|
199
|
-
hex: ["7L44", "6L44"],
|
|
200
|
-
hiddenpower: ["7M", "6M"],
|
|
201
|
-
hyperbeam: ["7M", "6M"],
|
|
202
|
-
infestation: ["7M", "6M"],
|
|
203
|
-
ironhead: ["6T"],
|
|
204
|
-
lowkick: ["6T"],
|
|
205
|
-
magicroom: ["6T"],
|
|
206
|
-
payback: ["7M", "6M"],
|
|
207
|
-
poisonjab: ["7M", "6M"],
|
|
208
|
-
protect: ["7M", "7L1", "6M", "6L1"],
|
|
209
|
-
psybeam: ["7L40", "6L40"],
|
|
210
|
-
psychic: ["7M", "6M"],
|
|
211
|
-
reflect: ["7M", "7L25", "6M", "6L25"],
|
|
212
|
-
rest: ["7M", "6M"],
|
|
213
|
-
return: ["7M", "6M"],
|
|
214
|
-
rockblast: ["7L52", "6L52"],
|
|
215
|
-
rockpolish: ["7M", "6M"],
|
|
216
|
-
rockslide: ["7M", "7L36", "6M", "6L36"],
|
|
217
|
-
rocksmash: ["7M", "6M"],
|
|
218
|
-
rockthrow: ["7L5", "6L5"],
|
|
219
|
-
rocktomb: ["7M", "6M"],
|
|
220
|
-
rollout: ["7E", "6E"],
|
|
221
|
-
round: ["7M", "6M"],
|
|
222
|
-
safeguard: ["7M", "6M"],
|
|
223
|
-
sandstorm: ["7M", "6M"],
|
|
224
|
-
secretpower: ["7M"],
|
|
225
|
-
shadowball: ["7M", "6M"],
|
|
226
|
-
skillswap: ["6T"],
|
|
227
|
-
sleeptalk: ["7M", "6M"],
|
|
228
|
-
sludge: ["7L28", "6L28"],
|
|
229
|
-
sludgebomb: ["7M", "6M"],
|
|
230
|
-
sludgewave: ["7M", "6M"],
|
|
231
|
-
smackdown: ["7M", "7L23", "6M", "6L23"],
|
|
232
|
-
snatch: ["6T"],
|
|
233
|
-
snore: ["6T"],
|
|
234
|
-
stealthrock: ["6T"],
|
|
235
|
-
stoneedge: ["7M", "6M"],
|
|
236
|
-
substitute: ["7M", "6M"],
|
|
237
|
-
swagger: ["7M", "6M"],
|
|
238
|
-
torment: ["7M", "7L48", "6M", "6L48"],
|
|
239
|
-
toxic: ["7M", "7L7", "6M", "6L7"],
|
|
240
|
-
toxicspikes: ["7L19", "6L19"],
|
|
241
|
-
trick: ["6T"],
|
|
242
|
-
uturn: ["7M", "6M"],
|
|
243
|
-
venoshock: ["7M", "6M"],
|
|
244
|
-
withdraw: ["7L1", "6L1"],
|
|
245
|
-
wonderroom: ["6T"],
|
|
246
|
-
woodhammer: ["7E", "6E"],
|
|
247
|
-
zenheadbutt: ["6T"],
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
175
|
};
|
package/data/pokedex.ts
CHANGED
|
@@ -17419,6 +17419,18 @@ export const Pokedex: {[speciesid: string]: SpeciesData} = {
|
|
|
17419
17419
|
changesFrom: "Venomicon",
|
|
17420
17420
|
gen: 8,
|
|
17421
17421
|
},
|
|
17422
|
+
saharaja: {
|
|
17423
|
+
num: -68,
|
|
17424
|
+
name: "Saharaja",
|
|
17425
|
+
types: ["Ground"],
|
|
17426
|
+
baseStats: {hp: 70, atk: 120, def: 105, spa: 65, spd: 130, spe: 90},
|
|
17427
|
+
abilities: {0: "Water Absorb", 1: "Serene Grace"},
|
|
17428
|
+
heightm: 2.3,
|
|
17429
|
+
weightkg: 303.9,
|
|
17430
|
+
color: "White",
|
|
17431
|
+
eggGroups: ["Undiscovered"],
|
|
17432
|
+
gen: 8,
|
|
17433
|
+
},
|
|
17422
17434
|
// NOTE: PokeStar "formes" are not actually formes and thus do not have a formeOrder
|
|
17423
17435
|
pokestarsmeargle: {
|
|
17424
17436
|
num: -5000,
|
package/data/rulesets.ts
CHANGED
|
@@ -1585,6 +1585,12 @@ export const Rulesets: {[k: string]: FormatData} = {
|
|
|
1585
1585
|
desc: "Prevents Pok\u00e9mon from having moves that would only be obtainable in Pok\u00e9mon Crystal.",
|
|
1586
1586
|
// Implemented in mods/gen2/rulesets.ts
|
|
1587
1587
|
},
|
|
1588
|
+
aptclause: {
|
|
1589
|
+
effectType: 'ValidatorRule',
|
|
1590
|
+
name: 'APT Clause',
|
|
1591
|
+
desc: "Bans the combination of Agility and partial trapping moves like Wrap.",
|
|
1592
|
+
banlist: ['Agility + Wrap', 'Agility + Fire Spin', 'Agility + Bind', 'Agility + Clamp'],
|
|
1593
|
+
},
|
|
1588
1594
|
nintendocup1997movelegality: {
|
|
1589
1595
|
effectType: 'ValidatorRule',
|
|
1590
1596
|
name: "Nintendo Cup 1997 Move Legality",
|
|
@@ -1824,4 +1830,26 @@ export const Rulesets: {[k: string]: FormatData} = {
|
|
|
1824
1830
|
}
|
|
1825
1831
|
},
|
|
1826
1832
|
},
|
|
1833
|
+
reevolutionmod: {
|
|
1834
|
+
effectType: "Rule",
|
|
1835
|
+
name: "Re-Evolution Mod",
|
|
1836
|
+
desc: "Pokémon gain the boosts they would gain from evolving again",
|
|
1837
|
+
ruleset: ['Overflow Stat Mod'],
|
|
1838
|
+
onBegin() {
|
|
1839
|
+
this.add('rule', 'Re-Evolution Mod: Pok\u00e9mon gain the boosts they would gain from evolving again');
|
|
1840
|
+
},
|
|
1841
|
+
onModifySpecies(species, target) {
|
|
1842
|
+
const newSpecies = this.dex.deepClone(species);
|
|
1843
|
+
if (!newSpecies.prevo) return;
|
|
1844
|
+
const prevoSpecies = this.dex.species.get(newSpecies.prevo);
|
|
1845
|
+
let statid: StatID;
|
|
1846
|
+
newSpecies.bst = 0;
|
|
1847
|
+
for (statid in prevoSpecies.baseStats) {
|
|
1848
|
+
const change = newSpecies.baseStats[statid] - prevoSpecies.baseStats[statid];
|
|
1849
|
+
newSpecies.baseStats[statid] = this.clampIntRange(newSpecies.baseStats[statid] + change, 1, 255);
|
|
1850
|
+
newSpecies.bst += newSpecies.baseStats[statid];
|
|
1851
|
+
}
|
|
1852
|
+
return newSpecies;
|
|
1853
|
+
},
|
|
1854
|
+
},
|
|
1827
1855
|
};
|
package/data/tags.ts
CHANGED
|
@@ -199,8 +199,8 @@ export const Tags: {[id: string]: TagData} = {
|
|
|
199
199
|
speciesFilter: species => [
|
|
200
200
|
'Aerodactyl-Mega', 'Alakazam', 'Blacephalon', 'Blaziken', 'Diancie-Mega', 'Gallade-Mega', 'Gardevoir-Mega', 'Gengar', 'Gyarados',
|
|
201
201
|
'Gyarados-Mega', 'Hawlucha', 'Heracross-Mega', 'Hoopa-Unbound', 'Hydreigon', 'Jirachi', 'Latias', 'Latias-Mega', 'Latios',
|
|
202
|
-
'Latios-Mega', 'Manaphy', 'Medicham-Mega', 'Melmetal', 'Mew', '
|
|
203
|
-
'Thundurus', 'Thundurus-Therian', 'Venusaur-Mega', 'Xurkitree', 'Zapdos-Galar',
|
|
202
|
+
'Latios-Mega', 'Manaphy', 'Medicham-Mega', 'Melmetal', 'Mew', 'Moltres-Galar', 'Pinsir-Mega', 'Sableye-Mega', 'Slowbro-Mega',
|
|
203
|
+
'Slowking-Galar', 'Thundurus', 'Thundurus-Therian', 'Venusaur-Mega', 'Xurkitree', 'Zapdos-Galar',
|
|
204
204
|
].includes(species.name),
|
|
205
205
|
},
|
|
206
206
|
|
package/package.json
CHANGED