@nonz250/ai-rotom 1.2.4 → 1.2.6

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/dist/index.mjs CHANGED
@@ -921,14 +921,12 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
921
921
  "Adaptability",
922
922
  "Aerilate",
923
923
  "Aftermath",
924
- "Air Lock",
925
924
  "Analytic",
926
925
  "Anger Point",
927
926
  "Anticipation",
928
927
  "Armor Tail",
929
928
  "Aroma Veil",
930
929
  "Battle Armor",
931
- "Battle Bond",
932
930
  "Berserk",
933
931
  "Big Pecks",
934
932
  "Blaze",
@@ -937,8 +935,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
937
935
  "Chlorophyll",
938
936
  "Clear Body",
939
937
  "Cloud Nine",
940
- "Color Change",
941
- "Comatose",
942
938
  "Competitive",
943
939
  "Compound Eyes",
944
940
  "Contrary",
@@ -957,21 +953,24 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
957
953
  "Early Bird",
958
954
  "Earth Eater",
959
955
  "Eelevate",
956
+ "Effect Spore",
957
+ "Electric Surge",
960
958
  "Electromorphosis",
961
959
  "Fairy Aura",
962
- "Fire Mane",
963
960
  "Filter",
961
+ "Fire Mane",
964
962
  "Flame Body",
965
963
  "Flash Fire",
966
964
  "Flower Veil",
965
+ "Fluffy",
967
966
  "Forecast",
968
967
  "Forewarn",
969
968
  "Friend Guard",
970
969
  "Frisk",
971
970
  "Fur Coat",
972
971
  "Gale Wings",
973
- "Galvanize",
974
972
  "Gluttony",
973
+ "Good as Gold",
975
974
  "Gooey",
976
975
  "Guts",
977
976
  "Harvest",
@@ -1003,7 +1002,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1003
1002
  "Light Metal",
1004
1003
  "Lightning Rod",
1005
1004
  "Limber",
1006
- "Liquid Ooze",
1007
1005
  "Liquid Voice",
1008
1006
  "Long Reach",
1009
1007
  "Magic Bounce",
@@ -1020,12 +1018,10 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1020
1018
  "Mold Breaker",
1021
1019
  "Moody",
1022
1020
  "Motor Drive",
1023
- "Mountaineer",
1024
1021
  "Moxie",
1025
1022
  "Multiscale",
1026
1023
  "Mummy",
1027
1024
  "Natural Cure",
1028
- "Neutralizing Gas",
1029
1025
  "No Guard",
1030
1026
  "Oblivious",
1031
1027
  "Opportunist",
@@ -1033,7 +1029,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1033
1029
  "Overgrow",
1034
1030
  "Own Tempo",
1035
1031
  "Parental Bond",
1036
- "Persistent",
1037
1032
  "Pickpocket",
1038
1033
  "Pickup",
1039
1034
  "Piercing Drill",
@@ -1042,7 +1037,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1042
1037
  "Poison Heal",
1043
1038
  "Poison Point",
1044
1039
  "Poison Touch",
1045
- "Power of Alchemy",
1046
1040
  "Prankster",
1047
1041
  "Pressure",
1048
1042
  "Protean",
@@ -1052,8 +1046,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1052
1046
  "Quick Draw",
1053
1047
  "Quick Feet",
1054
1048
  "Rain Dish",
1055
- "Rattled",
1056
- "Rebound",
1057
1049
  "Receiver",
1058
1050
  "Reckless",
1059
1051
  "Refrigerate",
@@ -1070,7 +1062,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1070
1062
  "Sap Sipper",
1071
1063
  "Scrappy",
1072
1064
  "Screen Cleaner",
1073
- "Serene Grace",
1074
1065
  "Shadow Tag",
1075
1066
  "Sharpness",
1076
1067
  "Shed Skin",
@@ -1078,7 +1069,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1078
1069
  "Shell Armor",
1079
1070
  "Shield Dust",
1080
1071
  "Skill Link",
1081
- "Slow Start",
1082
1072
  "Slush Rush",
1083
1073
  "Sniper",
1084
1074
  "Snow Cloak",
@@ -1096,9 +1086,9 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1096
1086
  "Steadfast",
1097
1087
  "Stench",
1098
1088
  "Sticky Hold",
1099
- "Storm Drain",
1100
1089
  "Strong Jaw",
1101
1090
  "Sturdy",
1091
+ "Suction Cups",
1102
1092
  "Super Luck",
1103
1093
  "Supersweet Syrup",
1104
1094
  "Supreme Overlord",
@@ -1112,12 +1102,10 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1112
1102
  "Technician",
1113
1103
  "Telepathy",
1114
1104
  "Thick Fat",
1115
- "Tinted Lens",
1116
1105
  "Torrent",
1117
1106
  "Tough Claws",
1118
1107
  "Toxic Debris",
1119
1108
  "Trace",
1120
- "Triage",
1121
1109
  "Unaware",
1122
1110
  "Unburden",
1123
1111
  "Unnerve",
@@ -1127,7 +1115,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1127
1115
  "Wandering Spirit",
1128
1116
  "Water Absorb",
1129
1117
  "Water Bubble",
1130
- "Water Veil",
1131
1118
  "Weak Armor",
1132
1119
  "White Smoke",
1133
1120
  "Zero to Hero"
@@ -10581,8 +10568,6 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
10581
10568
  var _b;
10582
10569
  var e_3;
10583
10570
  var _c;
10584
- var e_4;
10585
- var _d;
10586
10571
  exports.__esModule = true;
10587
10572
  exports.Species = exports.SPECIES = void 0;
10588
10573
  var util_1 = require_util$1();
@@ -26109,13 +26094,9 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26109
26094
  sd: 140
26110
26095
  } },
26111
26096
  Articuno: { otherFormes: ["Articuno-Galar"] },
26112
- Blastoise: { otherFormes: ["Blastoise-Gmax", "Blastoise-Mega"] },
26113
- Butterfree: { otherFormes: ["Butterfree-Gmax"] },
26114
- Charizard: { otherFormes: [
26115
- "Charizard-Gmax",
26116
- "Charizard-Mega-X",
26117
- "Charizard-Mega-Y"
26118
- ] },
26097
+ Blastoise: { canGigantamax: "G-Max Cannonade" },
26098
+ Butterfree: { canGigantamax: "G-Max Flutterby" },
26099
+ Charizard: { canGigantamax: "G-Max Wildfire" },
26119
26100
  Corsola: { otherFormes: ["Corsola-Galar"] },
26120
26101
  Darmanitan: { otherFormes: [
26121
26102
  "Darmanitan-Galar",
@@ -26123,35 +26104,36 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26123
26104
  "Darmanitan-Zen"
26124
26105
  ] },
26125
26106
  Darumaka: { otherFormes: ["Darumaka-Galar"] },
26126
- Eevee: { otherFormes: ["Eevee-Gmax"] },
26107
+ Eevee: { canGigantamax: "G-Max Cuddle" },
26127
26108
  Equilibra: { bs: { sa: 133 } },
26128
26109
  "Farfetch’d": { otherFormes: ["Farfetch’d-Galar"] },
26129
- Garbodor: { otherFormes: ["Garbodor-Gmax"] },
26130
- Gengar: { otherFormes: ["Gengar-Gmax", "Gengar-Mega"] },
26131
- Kingler: { otherFormes: ["Kingler-Gmax"] },
26132
- Lapras: { otherFormes: ["Lapras-Gmax"] },
26110
+ Garbodor: { canGigantamax: "G-Max Malodor" },
26111
+ Gengar: { canGigantamax: "G-Max Terror" },
26112
+ Kingler: { canGigantamax: "G-Max Foam Burst" },
26113
+ Lapras: { canGigantamax: "G-Max Resonance" },
26133
26114
  Linoone: { otherFormes: ["Linoone-Galar"] },
26134
- Machamp: { otherFormes: ["Machamp-Gmax"] },
26115
+ Machamp: { canGigantamax: "G-Max Chi Strike" },
26135
26116
  Magearna: { otherFormes: ["Magearna-Original"] },
26136
- Melmetal: { otherFormes: ["Melmetal-Gmax"] },
26137
- Meowth: { otherFormes: [
26138
- "Meowth-Alola",
26139
- "Meowth-Galar",
26140
- "Meowth-Gmax"
26141
- ] },
26117
+ Melmetal: { canGigantamax: "G-Max Meltdown" },
26118
+ Meowth: {
26119
+ canGigantamax: "G-Max Gold Rush",
26120
+ otherFormes: ["Meowth-Alola", "Meowth-Galar"]
26121
+ },
26142
26122
  Moltres: { otherFormes: ["Moltres-Galar"] },
26143
26123
  "Mr. Mime": { otherFormes: ["Mr. Mime-Galar"] },
26144
- Pikachu: { otherFormes: [
26145
- "Pikachu-Alola",
26146
- "Pikachu-Gmax",
26147
- "Pikachu-Hoenn",
26148
- "Pikachu-Kalos",
26149
- "Pikachu-Original",
26150
- "Pikachu-Partner",
26151
- "Pikachu-Sinnoh",
26152
- "Pikachu-Unova",
26153
- "Pikachu-World"
26154
- ] },
26124
+ Pikachu: {
26125
+ canGigantamax: "G-Max Volt Crash",
26126
+ otherFormes: [
26127
+ "Pikachu-Alola",
26128
+ "Pikachu-Hoenn",
26129
+ "Pikachu-Kalos",
26130
+ "Pikachu-Original",
26131
+ "Pikachu-Partner",
26132
+ "Pikachu-Sinnoh",
26133
+ "Pikachu-Unova",
26134
+ "Pikachu-World"
26135
+ ]
26136
+ },
26155
26137
  Ponyta: { otherFormes: ["Ponyta-Galar"] },
26156
26138
  Pyroak: { bs: {
26157
26139
  sa: 70,
@@ -26161,9 +26143,9 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26161
26143
  Slowbro: { otherFormes: ["Slowbro-Galar", "Slowbro-Mega"] },
26162
26144
  Slowking: { otherFormes: ["Slowking-Galar"] },
26163
26145
  Slowpoke: { otherFormes: ["Slowpoke-Galar"] },
26164
- Snorlax: { otherFormes: ["Snorlax-Gmax"] },
26146
+ Snorlax: { canGigantamax: "G-Max Replenish" },
26165
26147
  Stunfisk: { otherFormes: ["Stunfisk-Galar"] },
26166
- Venusaur: { otherFormes: ["Venusaur-Gmax", "Venusaur-Mega"] },
26148
+ Venusaur: { canGigantamax: "G-Max Vine Lash" },
26167
26149
  Voodoom: { bs: { sa: 130 } },
26168
26150
  Weezing: { otherFormes: ["Weezing-Galar"] },
26169
26151
  Yamask: { otherFormes: ["Yamask-Galar"] },
@@ -26182,7 +26164,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26182
26164
  weightkg: .5,
26183
26165
  gender: "F",
26184
26166
  abilities: { 0: "Sweet Veil" },
26185
- otherFormes: ["Alcremie-Gmax"]
26167
+ canGigantamax: "G-Max Finale"
26186
26168
  },
26187
26169
  Appletun: {
26188
26170
  types: ["Grass", "Dragon"],
@@ -26196,7 +26178,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26196
26178
  },
26197
26179
  weightkg: 13,
26198
26180
  abilities: { 0: "Ripen" },
26199
- otherFormes: ["Appletun-Gmax"]
26181
+ canGigantamax: "G-Max Sweetness"
26200
26182
  },
26201
26183
  Applin: {
26202
26184
  types: ["Grass", "Dragon"],
@@ -26393,7 +26375,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26393
26375
  },
26394
26376
  weightkg: 120,
26395
26377
  abilities: { 0: "Flash Fire" },
26396
- otherFormes: ["Centiskorch-Gmax"]
26378
+ canGigantamax: "G-Max Centiferno"
26397
26379
  },
26398
26380
  Chewtle: {
26399
26381
  types: ["Water"],
@@ -26435,7 +26417,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26435
26417
  },
26436
26418
  weightkg: 33,
26437
26419
  abilities: { 0: "Blaze" },
26438
- otherFormes: ["Cinderace-Gmax"]
26420
+ canGigantamax: "G-Max Fireball"
26439
26421
  },
26440
26422
  Clobbopus: {
26441
26423
  types: ["Fighting"],
@@ -26463,7 +26445,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26463
26445
  },
26464
26446
  weightkg: 310.5,
26465
26447
  abilities: { 0: "Steam Engine" },
26466
- otherFormes: ["Coalossal-Gmax"]
26448
+ canGigantamax: "G-Max Volcalith"
26467
26449
  },
26468
26450
  Copperajah: {
26469
26451
  types: ["Steel"],
@@ -26477,7 +26459,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26477
26459
  },
26478
26460
  weightkg: 650,
26479
26461
  abilities: { 0: "Sheer Force" },
26480
- otherFormes: ["Copperajah-Gmax"]
26462
+ canGigantamax: "G-Max Steelsurge"
26481
26463
  },
26482
26464
  "Corsola-Galar": {
26483
26465
  types: ["Ghost"],
@@ -26506,7 +26488,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26506
26488
  },
26507
26489
  weightkg: 75,
26508
26490
  abilities: { 0: "Pressure" },
26509
- otherFormes: ["Corviknight-Gmax"]
26491
+ canGigantamax: "G-Max Wind Rage"
26510
26492
  },
26511
26493
  Corvisquire: {
26512
26494
  types: ["Flying"],
@@ -26715,7 +26697,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26715
26697
  },
26716
26698
  weightkg: 115.5,
26717
26699
  abilities: { 0: "Strong Jaw" },
26718
- otherFormes: ["Drednaw-Gmax"]
26700
+ canGigantamax: "G-Max Stonesurge"
26719
26701
  },
26720
26702
  Dreepy: {
26721
26703
  types: ["Dragon", "Ghost"],
@@ -26770,7 +26752,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26770
26752
  },
26771
26753
  weightkg: 40,
26772
26754
  abilities: { 0: "Light Metal" },
26773
- otherFormes: ["Duraludon-Gmax"]
26755
+ canGigantamax: "G-Max Depletion"
26774
26756
  },
26775
26757
  Eiscue: {
26776
26758
  types: ["Ice"],
@@ -26884,7 +26866,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26884
26866
  },
26885
26867
  weightkg: 1,
26886
26868
  abilities: { 0: "Ripen" },
26887
- otherFormes: ["Flapple-Gmax"]
26869
+ canGigantamax: "G-Max Tartness"
26888
26870
  },
26889
26871
  Frosmoth: {
26890
26872
  types: ["Ice", "Bug"],
@@ -26966,7 +26948,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
26966
26948
  weightkg: 61,
26967
26949
  gender: "M",
26968
26950
  abilities: { 0: "Prankster" },
26969
- otherFormes: ["Grimmsnarl-Gmax"]
26951
+ canGigantamax: "G-Max Snooze"
26970
26952
  },
26971
26953
  Grookey: {
26972
26954
  types: ["Grass"],
@@ -27010,7 +26992,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27010
26992
  weightkg: 5.1,
27011
26993
  gender: "F",
27012
26994
  abilities: { 0: "Healer" },
27013
- otherFormes: ["Hatterene-Gmax"]
26995
+ canGigantamax: "G-Max Smite"
27014
26996
  },
27015
26997
  Hattrem: {
27016
26998
  types: ["Psychic"],
@@ -27084,7 +27066,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27084
27066
  },
27085
27067
  weightkg: 45.2,
27086
27068
  abilities: { 0: "Torrent" },
27087
- otherFormes: ["Inteleon-Gmax"]
27069
+ canGigantamax: "G-Max Hydrosnipe"
27088
27070
  },
27089
27071
  "Kubfu": {
27090
27072
  types: ["Fighting"],
@@ -27312,7 +27294,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27312
27294
  },
27313
27295
  weightkg: 40.8,
27314
27296
  abilities: { 0: "Swarm" },
27315
- otherFormes: ["Orbeetle-Gmax"]
27297
+ canGigantamax: "G-Max Gravitas"
27316
27298
  },
27317
27299
  Perrserker: {
27318
27300
  types: ["Steel"],
@@ -27468,7 +27450,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27468
27450
  },
27469
27451
  weightkg: 90,
27470
27452
  abilities: { 0: "Overgrow" },
27471
- otherFormes: ["Rillaboom-Gmax"]
27453
+ canGigantamax: "G-Max Drum Solo"
27472
27454
  },
27473
27455
  Rolycoly: {
27474
27456
  types: ["Rock"],
@@ -27550,7 +27532,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27550
27532
  },
27551
27533
  weightkg: 65.5,
27552
27534
  abilities: { 0: "Sand Spit" },
27553
- otherFormes: ["Sandaconda-Gmax"]
27535
+ canGigantamax: "G-Max Sandblast"
27554
27536
  },
27555
27537
  Scorbunny: {
27556
27538
  types: ["Fire"],
@@ -27832,11 +27814,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27832
27814
  },
27833
27815
  weightkg: 40,
27834
27816
  abilities: { 0: "Punk Rock" },
27835
- otherFormes: [
27836
- "Toxtricity-Gmax",
27837
- "Toxtricity-Low-Key",
27838
- "Toxtricity-Low-Key-Gmax"
27839
- ]
27817
+ canGigantamax: "G-Max Stun Shock",
27818
+ otherFormes: ["Toxtricity-Low-Key"]
27840
27819
  },
27841
27820
  "Toxtricity-Low-Key": {
27842
27821
  types: ["Electric", "Poison"],
@@ -27850,6 +27829,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27850
27829
  },
27851
27830
  weightkg: 40,
27852
27831
  abilities: { 0: "Punk Rock" },
27832
+ canGigantamax: "G-Max Stun Shock",
27853
27833
  baseSpecies: "Toxtricity"
27854
27834
  },
27855
27835
  Urshifu: {
@@ -27864,11 +27844,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27864
27844
  },
27865
27845
  weightkg: 105,
27866
27846
  abilities: { 0: "Unseen Fist" },
27867
- otherFormes: [
27868
- "Urshifu-Gmax",
27869
- "Urshifu-Rapid-Strike",
27870
- "Urshifu-Rapid-Strike-Gmax"
27871
- ]
27847
+ canGigantamax: "G-Max One Blow",
27848
+ otherFormes: ["Urshifu-Rapid-Strike"]
27872
27849
  },
27873
27850
  "Urshifu-Rapid-Strike": {
27874
27851
  types: ["Fighting", "Water"],
@@ -27882,6 +27859,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
27882
27859
  },
27883
27860
  weightkg: 105,
27884
27861
  abilities: { 0: "Unseen Fist" },
27862
+ canGigantamax: "G-Max Rapid Flow",
27885
27863
  baseSpecies: "Urshifu"
27886
27864
  },
27887
27865
  Venomicon: {
@@ -28090,486 +28068,6 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
28090
28068
  nfe: true,
28091
28069
  abilities: { 0: "Pickup" },
28092
28070
  baseSpecies: "Zigzagoon"
28093
- },
28094
- "Alcremie-Gmax": {
28095
- types: ["Fairy"],
28096
- bs: {
28097
- hp: 65,
28098
- at: 60,
28099
- df: 75,
28100
- sa: 110,
28101
- sd: 121,
28102
- sp: 64
28103
- },
28104
- weightkg: 0,
28105
- gender: "F",
28106
- abilities: { 0: "Sweet Veil" },
28107
- baseSpecies: "Alcremie"
28108
- },
28109
- "Appletun-Gmax": {
28110
- types: ["Grass", "Dragon"],
28111
- bs: {
28112
- hp: 110,
28113
- at: 85,
28114
- df: 80,
28115
- sa: 100,
28116
- sd: 80,
28117
- sp: 30
28118
- },
28119
- weightkg: 0,
28120
- abilities: { 0: "Ripen" },
28121
- baseSpecies: "Appletun"
28122
- },
28123
- "Blastoise-Gmax": {
28124
- types: ["Water"],
28125
- bs: {
28126
- hp: 79,
28127
- at: 83,
28128
- df: 100,
28129
- sa: 85,
28130
- sd: 105,
28131
- sp: 78
28132
- },
28133
- weightkg: 0,
28134
- abilities: { 0: "Torrent" },
28135
- baseSpecies: "Blastoise"
28136
- },
28137
- "Butterfree-Gmax": {
28138
- types: ["Bug", "Flying"],
28139
- bs: {
28140
- hp: 60,
28141
- at: 45,
28142
- df: 50,
28143
- sa: 90,
28144
- sd: 80,
28145
- sp: 70
28146
- },
28147
- weightkg: 0,
28148
- abilities: { 0: "Compound Eyes" },
28149
- baseSpecies: "Butterfree"
28150
- },
28151
- "Centiskorch-Gmax": {
28152
- types: ["Fire", "Bug"],
28153
- bs: {
28154
- hp: 100,
28155
- at: 115,
28156
- df: 65,
28157
- sa: 90,
28158
- sd: 90,
28159
- sp: 65
28160
- },
28161
- weightkg: 0,
28162
- abilities: { 0: "Flash Fire" },
28163
- baseSpecies: "Centiskorch"
28164
- },
28165
- "Charizard-Gmax": {
28166
- types: ["Fire", "Flying"],
28167
- bs: {
28168
- hp: 78,
28169
- at: 84,
28170
- df: 78,
28171
- sa: 109,
28172
- sd: 85,
28173
- sp: 100
28174
- },
28175
- weightkg: 0,
28176
- abilities: { 0: "Blaze" },
28177
- baseSpecies: "Charizard"
28178
- },
28179
- "Cinderace-Gmax": {
28180
- types: ["Fire"],
28181
- bs: {
28182
- hp: 80,
28183
- at: 116,
28184
- df: 75,
28185
- sa: 65,
28186
- sd: 75,
28187
- sp: 119
28188
- },
28189
- weightkg: 0,
28190
- abilities: { 0: "Blaze" },
28191
- baseSpecies: "Cinderace"
28192
- },
28193
- "Coalossal-Gmax": {
28194
- types: ["Rock", "Fire"],
28195
- bs: {
28196
- hp: 110,
28197
- at: 80,
28198
- df: 120,
28199
- sa: 80,
28200
- sd: 90,
28201
- sp: 30
28202
- },
28203
- weightkg: 0,
28204
- abilities: { 0: "Steam Engine" },
28205
- baseSpecies: "Coalossal"
28206
- },
28207
- "Copperajah-Gmax": {
28208
- types: ["Steel"],
28209
- bs: {
28210
- hp: 122,
28211
- at: 130,
28212
- df: 69,
28213
- sa: 80,
28214
- sd: 69,
28215
- sp: 30
28216
- },
28217
- weightkg: 0,
28218
- abilities: { 0: "Sheer Force" },
28219
- baseSpecies: "Copperajah"
28220
- },
28221
- "Corviknight-Gmax": {
28222
- types: ["Flying", "Steel"],
28223
- bs: {
28224
- hp: 98,
28225
- at: 87,
28226
- df: 105,
28227
- sa: 53,
28228
- sd: 85,
28229
- sp: 67
28230
- },
28231
- weightkg: 0,
28232
- abilities: { 0: "Pressure" },
28233
- baseSpecies: "Corviknight"
28234
- },
28235
- "Drednaw-Gmax": {
28236
- types: ["Water", "Rock"],
28237
- bs: {
28238
- hp: 90,
28239
- at: 115,
28240
- df: 90,
28241
- sa: 48,
28242
- sd: 68,
28243
- sp: 74
28244
- },
28245
- weightkg: 0,
28246
- abilities: { 0: "Strong Jaw" },
28247
- baseSpecies: "Drednaw"
28248
- },
28249
- "Duraludon-Gmax": {
28250
- types: ["Steel", "Dragon"],
28251
- bs: {
28252
- hp: 70,
28253
- at: 95,
28254
- df: 115,
28255
- sa: 120,
28256
- sd: 50,
28257
- sp: 85
28258
- },
28259
- weightkg: 0,
28260
- abilities: { 0: "Light Metal" },
28261
- baseSpecies: "Duraludon"
28262
- },
28263
- "Eevee-Gmax": {
28264
- types: ["Normal"],
28265
- bs: {
28266
- hp: 55,
28267
- at: 55,
28268
- df: 50,
28269
- sa: 45,
28270
- sd: 65,
28271
- sp: 55
28272
- },
28273
- weightkg: 0,
28274
- abilities: { 0: "Run Away" },
28275
- baseSpecies: "Eevee"
28276
- },
28277
- "Flapple-Gmax": {
28278
- types: ["Grass", "Dragon"],
28279
- bs: {
28280
- hp: 70,
28281
- at: 110,
28282
- df: 80,
28283
- sa: 95,
28284
- sd: 60,
28285
- sp: 70
28286
- },
28287
- weightkg: 0,
28288
- abilities: { 0: "Ripen" },
28289
- baseSpecies: "Flapple"
28290
- },
28291
- "Garbodor-Gmax": {
28292
- types: ["Poison"],
28293
- bs: {
28294
- hp: 80,
28295
- at: 95,
28296
- df: 82,
28297
- sa: 60,
28298
- sd: 82,
28299
- sp: 75
28300
- },
28301
- weightkg: 0,
28302
- abilities: { 0: "Stench" },
28303
- baseSpecies: "Garbodor"
28304
- },
28305
- "Gengar-Gmax": {
28306
- types: ["Ghost", "Poison"],
28307
- bs: {
28308
- hp: 60,
28309
- at: 65,
28310
- df: 60,
28311
- sa: 130,
28312
- sd: 75,
28313
- sp: 110
28314
- },
28315
- weightkg: 0,
28316
- abilities: { 0: "Cursed Body" },
28317
- baseSpecies: "Gengar"
28318
- },
28319
- "Grimmsnarl-Gmax": {
28320
- types: ["Dark", "Fairy"],
28321
- bs: {
28322
- hp: 95,
28323
- at: 120,
28324
- df: 65,
28325
- sa: 95,
28326
- sd: 75,
28327
- sp: 60
28328
- },
28329
- weightkg: 0,
28330
- gender: "M",
28331
- abilities: { 0: "Prankster" },
28332
- baseSpecies: "Grimmsnarl"
28333
- },
28334
- "Hatterene-Gmax": {
28335
- types: ["Psychic", "Fairy"],
28336
- bs: {
28337
- hp: 57,
28338
- at: 90,
28339
- df: 95,
28340
- sa: 136,
28341
- sd: 103,
28342
- sp: 29
28343
- },
28344
- weightkg: 0,
28345
- gender: "F",
28346
- abilities: { 0: "Healer" },
28347
- baseSpecies: "Hatterene"
28348
- },
28349
- "Inteleon-Gmax": {
28350
- types: ["Water"],
28351
- bs: {
28352
- hp: 70,
28353
- at: 85,
28354
- df: 65,
28355
- sa: 125,
28356
- sd: 65,
28357
- sp: 120
28358
- },
28359
- weightkg: 0,
28360
- abilities: { 0: "Torrent" },
28361
- baseSpecies: "Inteleon"
28362
- },
28363
- "Kingler-Gmax": {
28364
- types: ["Water"],
28365
- bs: {
28366
- hp: 55,
28367
- at: 130,
28368
- df: 115,
28369
- sa: 50,
28370
- sd: 50,
28371
- sp: 75
28372
- },
28373
- weightkg: 0,
28374
- abilities: { 0: "Hyper Cutter" },
28375
- baseSpecies: "Kingler"
28376
- },
28377
- "Lapras-Gmax": {
28378
- types: ["Water", "Ice"],
28379
- bs: {
28380
- hp: 130,
28381
- at: 85,
28382
- df: 80,
28383
- sa: 85,
28384
- sd: 95,
28385
- sp: 60
28386
- },
28387
- weightkg: 0,
28388
- abilities: { 0: "Water Absorb" },
28389
- baseSpecies: "Lapras"
28390
- },
28391
- "Machamp-Gmax": {
28392
- types: ["Fighting"],
28393
- bs: {
28394
- hp: 90,
28395
- at: 130,
28396
- df: 80,
28397
- sa: 65,
28398
- sd: 85,
28399
- sp: 55
28400
- },
28401
- weightkg: 0,
28402
- abilities: { 0: "Guts" },
28403
- baseSpecies: "Machamp"
28404
- },
28405
- "Melmetal-Gmax": {
28406
- types: ["Steel"],
28407
- bs: {
28408
- hp: 135,
28409
- at: 143,
28410
- df: 143,
28411
- sa: 80,
28412
- sd: 65,
28413
- sp: 34
28414
- },
28415
- weightkg: 0,
28416
- gender: "N",
28417
- abilities: { 0: "Iron Fist" },
28418
- baseSpecies: "Melmetal"
28419
- },
28420
- "Meowth-Gmax": {
28421
- types: ["Normal"],
28422
- bs: {
28423
- hp: 40,
28424
- at: 45,
28425
- df: 35,
28426
- sa: 40,
28427
- sd: 40,
28428
- sp: 90
28429
- },
28430
- weightkg: 0,
28431
- abilities: { 0: "Pickup" },
28432
- baseSpecies: "Meowth"
28433
- },
28434
- "Orbeetle-Gmax": {
28435
- types: ["Bug", "Psychic"],
28436
- bs: {
28437
- hp: 60,
28438
- at: 45,
28439
- df: 110,
28440
- sa: 80,
28441
- sd: 120,
28442
- sp: 90
28443
- },
28444
- weightkg: 0,
28445
- abilities: { 0: "Swarm" },
28446
- baseSpecies: "Orbeetle"
28447
- },
28448
- "Pikachu-Gmax": {
28449
- types: ["Electric"],
28450
- bs: {
28451
- hp: 35,
28452
- at: 55,
28453
- df: 40,
28454
- sa: 50,
28455
- sd: 50,
28456
- sp: 90
28457
- },
28458
- weightkg: 0,
28459
- abilities: { 0: "Static" },
28460
- baseSpecies: "Pikachu"
28461
- },
28462
- "Rillaboom-Gmax": {
28463
- types: ["Grass"],
28464
- bs: {
28465
- hp: 100,
28466
- at: 125,
28467
- df: 90,
28468
- sa: 60,
28469
- sd: 70,
28470
- sp: 85
28471
- },
28472
- weightkg: 0,
28473
- abilities: { 0: "Overgrow" },
28474
- baseSpecies: "Rillaboom"
28475
- },
28476
- "Sandaconda-Gmax": {
28477
- types: ["Ground"],
28478
- bs: {
28479
- hp: 72,
28480
- at: 107,
28481
- df: 125,
28482
- sa: 65,
28483
- sd: 70,
28484
- sp: 71
28485
- },
28486
- weightkg: 0,
28487
- abilities: { 0: "Sand Spit" },
28488
- baseSpecies: "Sandaconda"
28489
- },
28490
- "Snorlax-Gmax": {
28491
- types: ["Normal"],
28492
- bs: {
28493
- hp: 160,
28494
- at: 110,
28495
- df: 65,
28496
- sa: 65,
28497
- sd: 110,
28498
- sp: 30
28499
- },
28500
- weightkg: 0,
28501
- abilities: { 0: "Immunity" },
28502
- baseSpecies: "Snorlax"
28503
- },
28504
- "Toxtricity-Gmax": {
28505
- types: ["Electric", "Poison"],
28506
- bs: {
28507
- hp: 75,
28508
- at: 98,
28509
- df: 70,
28510
- sa: 114,
28511
- sd: 70,
28512
- sp: 75
28513
- },
28514
- weightkg: 0,
28515
- abilities: { 0: "Punk Rock" },
28516
- baseSpecies: "Toxtricity"
28517
- },
28518
- "Toxtricity-Low-Key-Gmax": {
28519
- types: ["Electric", "Poison"],
28520
- bs: {
28521
- hp: 75,
28522
- at: 98,
28523
- df: 70,
28524
- sa: 114,
28525
- sd: 70,
28526
- sp: 75
28527
- },
28528
- weightkg: 0,
28529
- abilities: { 0: "Punk Rock" },
28530
- baseSpecies: "Toxtricity"
28531
- },
28532
- "Urshifu-Gmax": {
28533
- types: ["Fighting", "Dark"],
28534
- bs: {
28535
- hp: 100,
28536
- at: 130,
28537
- df: 100,
28538
- sa: 63,
28539
- sd: 60,
28540
- sp: 97
28541
- },
28542
- weightkg: 0,
28543
- abilities: { 0: "Unseen Fist" },
28544
- baseSpecies: "Urshifu"
28545
- },
28546
- "Urshifu-Rapid-Strike-Gmax": {
28547
- types: ["Fighting", "Water"],
28548
- bs: {
28549
- hp: 100,
28550
- at: 130,
28551
- df: 100,
28552
- sa: 63,
28553
- sd: 60,
28554
- sp: 97
28555
- },
28556
- weightkg: 0,
28557
- abilities: { 0: "Unseen Fist" },
28558
- baseSpecies: "Urshifu"
28559
- },
28560
- "Venusaur-Gmax": {
28561
- types: ["Grass", "Poison"],
28562
- bs: {
28563
- hp: 80,
28564
- at: 82,
28565
- df: 83,
28566
- sa: 100,
28567
- sd: 100,
28568
- sp: 80
28569
- },
28570
- weightkg: 0,
28571
- abilities: { 0: "Overgrow" },
28572
- baseSpecies: "Venusaur"
28573
28071
  }
28574
28072
  });
28575
28073
  delete SS["Eevee-Starter"];
@@ -32031,29 +31529,6 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32031
31529
  baseSpecies: "Zygarde"
32032
31530
  }
32033
31531
  });
32034
- try {
32035
- for (var _e = __values(Object.entries(SV)), _f = _e.next(); !_f.done; _f = _e.next()) {
32036
- var _g = __read(_f.value, 2), name_1 = _g[0], specie = _g[1];
32037
- if (name_1.endsWith("-Gmax")) {
32038
- delete SV[name_1];
32039
- continue;
32040
- }
32041
- if (specie.otherFormes) {
32042
- specie.otherFormes = __spreadArray([], __read(new Set(specie.otherFormes)), false).filter(function(f) {
32043
- return !f.endsWith("-Gmax");
32044
- });
32045
- if (!specie.otherFormes.length) specie.otherFormes = void 0;
32046
- }
32047
- }
32048
- } catch (e_2_1) {
32049
- e_2 = { error: e_2_1 };
32050
- } finally {
32051
- try {
32052
- if (_f && !_f.done && (_b = _e["return"])) _b.call(_e);
32053
- } finally {
32054
- if (e_2) throw e_2.error;
32055
- }
32056
- }
32057
31532
  var CHAMPIONS_LIST = [
32058
31533
  "Abomasnow",
32059
31534
  "Abomasnow-Mega",
@@ -32388,8 +31863,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32388
31863
  });
32389
31864
  removeAttr(CHAMPIONS, "Floette-Eternal", "baseSpecies");
32390
31865
  try {
32391
- for (var _h = __values(Object.values(CHAMPIONS)), _j = _h.next(); !_j.done; _j = _h.next()) {
32392
- var species = _j.value;
31866
+ for (var _d = __values(Object.values(CHAMPIONS)), _e = _d.next(); !_e.done; _e = _d.next()) {
31867
+ var species = _e.value;
32393
31868
  if (species.otherFormes) {
32394
31869
  species.otherFormes = __spreadArray([], __read(new Set(species.otherFormes)), false).filter(function(f) {
32395
31870
  return CHAMPIONS_LIST.includes(f);
@@ -32397,13 +31872,13 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32397
31872
  if (!species.otherFormes.length) delete species.otherFormes;
32398
31873
  }
32399
31874
  }
32400
- } catch (e_3_1) {
32401
- e_3 = { error: e_3_1 };
31875
+ } catch (e_2_1) {
31876
+ e_2 = { error: e_2_1 };
32402
31877
  } finally {
32403
31878
  try {
32404
- if (_j && !_j.done && (_c = _h["return"])) _c.call(_h);
31879
+ if (_e && !_e.done && (_b = _d["return"])) _b.call(_d);
32405
31880
  } finally {
32406
- if (e_3) throw e_3.error;
31881
+ if (e_2) throw e_2.error;
32407
31882
  }
32408
31883
  }
32409
31884
  exports.SPECIES = [
@@ -32466,10 +31941,9 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32466
31941
  baseStats.spd = gen === 0 || gen >= 2 ? data.bs.sd : data.bs.sl;
32467
31942
  baseStats.spe = data.bs.sp;
32468
31943
  this.baseStats = baseStats;
32469
- this.otherFormes = data.otherFormes;
32470
31944
  (0, util_1.assignWithout)(this, data, Specie.EXCLUDE);
32471
31945
  }
32472
- Specie.EXCLUDE = /* @__PURE__ */ new Set(["bs", "otherFormes"]);
31946
+ Specie.EXCLUDE = /* @__PURE__ */ new Set(["bs"]);
32473
31947
  return Specie;
32474
31948
  }();
32475
31949
  var SPECIES_BY_ID = [];
@@ -32486,13 +31960,13 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32486
31960
  SPECIES_BY_ID.push(map);
32487
31961
  gen++;
32488
31962
  }
32489
- } catch (e_4_1) {
32490
- e_4 = { error: e_4_1 };
31963
+ } catch (e_3_1) {
31964
+ e_3 = { error: e_3_1 };
32491
31965
  } finally {
32492
31966
  try {
32493
- if (SPECIES_1_1 && !SPECIES_1_1.done && (_d = SPECIES_1["return"])) _d.call(SPECIES_1);
31967
+ if (SPECIES_1_1 && !SPECIES_1_1.done && (_c = SPECIES_1["return"])) _c.call(SPECIES_1);
32494
31968
  } finally {
32495
- if (e_4) throw e_4.error;
31969
+ if (e_3) throw e_3.error;
32496
31970
  }
32497
31971
  }
32498
31972
  }));
@@ -34122,6 +33596,12 @@ var require_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
34122
33596
  class_1.prototype.DVToIV = function(dv) {
34123
33597
  return dv * 2;
34124
33598
  };
33599
+ class_1.prototype.EVToStatEXP = function(ev) {
33600
+ return (ev - 1) * (ev - 1) + 1;
33601
+ };
33602
+ class_1.prototype.StatEXPToEv = function(statexp) {
33603
+ return Math.floor((Math.sqrt(statexp - 1) + 1) / 4) * 4;
33604
+ };
34125
33605
  class_1.prototype.DVsToIVs = function(dvs) {
34126
33606
  var ivs = {};
34127
33607
  var dv;
@@ -34131,7 +33611,7 @@ var require_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
34131
33611
  class_1.prototype.calcStat = function(gen, stat, base, iv, ev, level, nature) {
34132
33612
  if (gen.num < 0 || gen.num > 9) throw new Error("Invalid generation ".concat(gen.num));
34133
33613
  if (gen.num === 0) return this.calcStatChampions(gen.natures, stat, base, ev, nature);
34134
- if (gen.num < 3) return this.calcStatRBY(stat, base, iv, level);
33614
+ if (gen.num < 3) return this.calcStatRBY(stat, base, iv, ev, level);
34135
33615
  return this.calcStatADV(gen.natures, stat, base, iv, ev, level, nature);
34136
33616
  };
34137
33617
  class_1.prototype.calcStatChampions = function(natures, stat, base, sp, nature) {
@@ -34156,12 +33636,12 @@ var require_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
34156
33636
  return Math.floor((Math.floor((base * 2 + iv + Math.floor(ev / 4)) * level / 100) + 5) * n);
34157
33637
  }
34158
33638
  };
34159
- class_1.prototype.calcStatRBY = function(stat, base, iv, level) {
34160
- return this.calcStatRBYFromDV(stat, base, this.IVToDV(iv), level);
33639
+ class_1.prototype.calcStatRBY = function(stat, base, iv, ev, level) {
33640
+ return this.calcStatRBYFromDV(stat, base, this.IVToDV(iv), this.EVToStatEXP(ev), level);
34161
33641
  };
34162
- class_1.prototype.calcStatRBYFromDV = function(stat, base, dv, level) {
34163
- if (stat === "hp") return Math.floor(((base + dv) * 2 + 63) * level / 100) + level + 10;
34164
- else return Math.floor(((base + dv) * 2 + 63) * level / 100) + 5;
33642
+ class_1.prototype.calcStatRBYFromDV = function(stat, base, dv, statexp, level) {
33643
+ if (stat === "hp") return Math.floor(((base + dv) * 2 + Math.floor((Math.sqrt(statexp - 1) + 1) / 4)) * level / 100) + level + 10;
33644
+ else return Math.floor(((base + dv) * 2 + Math.floor((Math.sqrt(statexp - 1) + 1) / 4)) * level / 100) + 5;
34165
33645
  };
34166
33646
  class_1.prototype.getHiddenPowerIVs = function(gen, hpType) {
34167
33647
  var hp = HP[hpType];
@@ -34268,7 +33748,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
34268
33748
  }
34269
33749
  exports.isGrounded = isGrounded;
34270
33750
  function getModifiedStat(stat, mod, gen) {
34271
- if (gen && gen.num < 3) {
33751
+ if (gen && (gen.num === 1 || gen.num === 2)) {
34272
33752
  if (mod >= 0) stat = Math.floor(stat * [
34273
33753
  1,
34274
33754
  1.5,
@@ -34445,11 +33925,11 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
34445
33925
  }
34446
33926
  exports.checkDownload = checkDownload;
34447
33927
  function checkIntrepidSword(source, gen) {
34448
- if (source.hasAbility("Intrepid Sword") && gen.num > 7) source.boosts.atk = Math.min(6, source.boosts.atk + 1);
33928
+ if (source.hasAbility("Intrepid Sword") && (gen.num === 8 || source.abilityOn)) source.boosts.atk = Math.min(6, source.boosts.atk + 1);
34449
33929
  }
34450
33930
  exports.checkIntrepidSword = checkIntrepidSword;
34451
33931
  function checkDauntlessShield(source, gen) {
34452
- if (source.hasAbility("Dauntless Shield") && gen.num > 7) source.boosts.def = Math.min(6, source.boosts.def + 1);
33932
+ if (source.hasAbility("Dauntless Shield") && (gen.num === 8 || source.abilityOn)) source.boosts.def = Math.min(6, source.boosts.def + 1);
34453
33933
  }
34454
33934
  exports.checkDauntlessShield = checkDauntlessShield;
34455
33935
  function checkWindRider(source, attackingSide) {
@@ -35349,7 +34829,8 @@ var require_desc = /* @__PURE__ */ __commonJSMin(((exports) => {
35349
34829
  if (description.isTabletsOfRuin) output += "Tablets of Ruin ";
35350
34830
  if (description.isVesselOfRuin) output += "Vessel of Ruin ";
35351
34831
  if (description.isProtected) output += "protected ";
35352
- if (description.isDefenderDynamaxed) output += "Dynamax ";
34832
+ if (description.isDefenderDynamaxed === "gmax") output += "Gigantamax ";
34833
+ else if (description.isDefenderDynamaxed) output += "Dynamax ";
35353
34834
  if (description.defenderTera) output += "Tera ".concat(description.defenderTera, " ");
35354
34835
  output += description.defenderName;
35355
34836
  if (description.weather && description.terrain) output += " in " + description.weather + " and " + description.terrain + " Terrain";
@@ -35854,7 +35335,7 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
35854
35335
  if (isAttackerAura) desc.attackerAbility = attacker.ability;
35855
35336
  if (isDefenderAura) desc.defenderAbility = defender.ability;
35856
35337
  }
35857
- if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot")) || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out") || attacker.hasAbility("Tough Claws") && move.flags.contact) {
35338
+ if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot")) || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out" || attacker.abilityOn) || attacker.hasAbility("Tough Claws") && move.flags.contact) {
35858
35339
  bpMods.push(5325);
35859
35340
  desc.attackerAbility = attacker.ability;
35860
35341
  }
@@ -36261,7 +35742,7 @@ var require_gen12 = /* @__PURE__ */ __commonJSMin(((exports) => {
36261
35742
  desc.isSwitching = "out";
36262
35743
  }
36263
35744
  var itemBoostType = attacker.hasItem("Dragon Fang") ? void 0 : (0, items_1.getItemBoostType)(attacker.hasItem("Dragon Scale") ? "Dragon Fang" : attacker.item);
36264
- if (move.hasType(itemBoostType)) {
35745
+ if (move.hasType(itemBoostType) || move.named("Struggle") && itemBoostType === "Normal") {
36265
35746
  baseDamage = Math.floor(baseDamage * 1.1);
36266
35747
  desc.attackerItem = attacker.item;
36267
35748
  }
@@ -36520,7 +36001,7 @@ var require_gen3 = /* @__PURE__ */ __commonJSMin(((exports) => {
36520
36001
  at *= 2;
36521
36002
  desc.attackerAbility = attacker.ability;
36522
36003
  }
36523
- if (!attacker.hasItem("Sea Incense") && move.hasType((0, items_1.getItemBoostType)(attacker.item))) {
36004
+ if (!attacker.hasItem("Sea Incense") && move.hasType((0, items_1.getItemBoostType)(attacker.item)) || move.named("Struggle") && (0, items_1.getItemBoostType)(attacker.item) === "Normal") {
36524
36005
  at = Math.floor(at * 1.1);
36525
36006
  desc.attackerItem = attacker.item;
36526
36007
  } else if (attacker.hasItem("Sea Incense") && move.hasType("Water")) {
@@ -36785,6 +36266,13 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
36785
36266
  filterMod = .75;
36786
36267
  desc.defenderAbility = defender.ability;
36787
36268
  }
36269
+ var metronomeMod = 1;
36270
+ if (attacker.hasItem("Metronome") && move.timesUsedWithMetronome >= 1) {
36271
+ var timesUsedWithMetronome = Math.floor(move.timesUsedWithMetronome);
36272
+ if (timesUsedWithMetronome <= 9) metronomeMod = 1 + .1 * timesUsedWithMetronome;
36273
+ else metronomeMod = 2;
36274
+ desc.attackerItem = attacker.item;
36275
+ }
36788
36276
  var ebeltMod = 1;
36789
36277
  if (attacker.hasItem("Expert Belt") && typeEffectiveness > 1) {
36790
36278
  ebeltMod = 1.2;
@@ -36808,6 +36296,7 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
36808
36296
  damage[i] = Math.floor(damage[i] * type2Effectiveness);
36809
36297
  damage[i] = Math.floor(damage[i] * filterMod);
36810
36298
  damage[i] = Math.floor(damage[i] * ebeltMod);
36299
+ damage[i] = Math.floor(damage[i] * metronomeMod);
36811
36300
  damage[i] = Math.floor(damage[i] * tintedMod);
36812
36301
  damage[i] = Math.floor(damage[i] * berryMod);
36813
36302
  damage[i] = Math.max(1, damage[i]);
@@ -36843,6 +36332,7 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
36843
36332
  newFinalDamage = Math.floor(newFinalDamage * type2Effectiveness);
36844
36333
  newFinalDamage = Math.floor(newFinalDamage * filterMod);
36845
36334
  newFinalDamage = Math.floor(newFinalDamage * ebeltMod);
36335
+ newFinalDamage = Math.floor(newFinalDamage * metronomeMod);
36846
36336
  newFinalDamage = Math.floor(newFinalDamage * tintedMod);
36847
36337
  newFinalDamage = Math.max(1, newFinalDamage);
36848
36338
  damageArray[i] = newFinalDamage;
@@ -36958,7 +36448,7 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
36958
36448
  if (attacker.hasItem("Muscle Band") && isPhysical || attacker.hasItem("Wise Glasses") && !isPhysical) {
36959
36449
  basePower = Math.floor(basePower * 1.1);
36960
36450
  desc.attackerItem = attacker.item;
36961
- } else if (move.hasType((0, items_1.getItemBoostType)(attacker.item)) || attacker.hasItem("Adamant Orb") && attacker.named("Dialga") && move.hasType("Steel", "Dragon") || attacker.hasItem("Lustrous Orb") && attacker.named("Palkia") && move.hasType("Water", "Dragon") || attacker.hasItem("Griseous Orb") && attacker.named("Giratina-Origin") && move.hasType("Ghost", "Dragon")) {
36451
+ } else if (move.hasType((0, items_1.getItemBoostType)(attacker.item)) || attacker.hasItem("Adamant Orb") && attacker.named("Dialga") && move.hasType("Steel", "Dragon") || attacker.hasItem("Lustrous Orb") && attacker.named("Palkia") && move.hasType("Water", "Dragon") || attacker.hasItem("Griseous Orb") && attacker.named("Giratina-Origin") && move.hasType("Ghost", "Dragon") || move.named("Struggle") && (0, items_1.getItemBoostType)(attacker.item) === "Normal") {
36962
36452
  basePower = Math.floor(basePower * 1.2);
36963
36453
  desc.attackerItem = attacker.item;
36964
36454
  }
@@ -37453,7 +36943,7 @@ var require_gen56 = /* @__PURE__ */ __commonJSMin(((exports) => {
37453
36943
  if (attacker.hasAbility("Technician") && basePower <= 60 || attacker.hasAbility("Flare Boost") && attacker.hasStatus("brn") && move.category === "Special" || attacker.hasAbility("Toxic Boost") && attacker.hasStatus("psn", "tox") && move.category === "Physical") {
37454
36944
  bpMods.push(6144);
37455
36945
  desc.attackerAbility = attacker.ability;
37456
- } else if (attacker.hasAbility("Analytic") && turnOrder !== "first") {
36946
+ } else if (attacker.hasAbility("Analytic") && (turnOrder !== "first" || attacker.abilityOn)) {
37457
36947
  bpMods.push(5325);
37458
36948
  desc.attackerAbility = attacker.ability;
37459
36949
  } else if (attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel")) {
@@ -37926,7 +37416,7 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
37926
37416
  else if (isPixilate = attacker.hasAbility("Pixilate") && normal) type = "Fairy";
37927
37417
  else if (isRefrigerate = attacker.hasAbility("Refrigerate") && normal) type = "Ice";
37928
37418
  else if (isNormalize = attacker.hasAbility("Normalize")) type = "Normal";
37929
- else if ((isDragonize = attacker.hasAbility("Dragonize")) && normal) type = "Dragon";
37419
+ else if (isDragonize = attacker.hasAbility("Dragonize") && normal) type = "Dragon";
37930
37420
  if (isGalvanize || isPixilate || isRefrigerate || isAerilate || isNormalize || isDragonize) {
37931
37421
  desc.attackerAbility = attacker.ability;
37932
37422
  hasAteAbilityTypeChange = true;
@@ -38347,7 +37837,7 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
38347
37837
  if (isAttackerAura) desc.attackerAbility = attacker.ability;
38348
37838
  if (isDefenderAura) desc.defenderAbility = defender.ability;
38349
37839
  }
38350
- if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot", "Order Up")) && !move.isMax || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out") || attacker.hasAbility("Tough Claws") && move.flags.contact || attacker.hasAbility("Punk Rock") && move.flags.sound) {
37840
+ if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot", "Order Up")) && !move.isMax || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out" || attacker.abilityOn) || attacker.hasAbility("Tough Claws") && move.flags.contact || attacker.hasAbility("Punk Rock") && move.flags.sound) {
38351
37841
  bpMods.push(5325);
38352
37842
  desc.attackerAbility = attacker.ability;
38353
37843
  }
@@ -38755,13 +38245,13 @@ var require_pokemon = /* @__PURE__ */ __commonJSMin(((exports) => {
38755
38245
  this.gen = gen;
38756
38246
  this.name = options.name || name;
38757
38247
  this.types = this.species.types;
38758
- this.weightkg = this.species.weightkg;
38759
38248
  this.level = gen.num === 0 ? 50 : options.level || 100;
38760
38249
  this.gender = options.gender || this.species.gender || "M";
38761
38250
  this.ability = options.ability || ((_b = this.species.abilities) === null || _b === void 0 ? void 0 : _b[0]) || void 0;
38762
38251
  this.abilityOn = !!options.abilityOn;
38763
- this.isDynamaxed = !!options.isDynamaxed;
38252
+ this.isDynamaxed = options.isDynamaxed;
38764
38253
  this.dynamaxLevel = this.isDynamaxed ? options.dynamaxLevel === void 0 ? 10 : options.dynamaxLevel : void 0;
38254
+ this.weightkg = this.isDynamaxed ? 0 : this.species.weightkg;
38765
38255
  this.alliesFainted = options.alliesFainted;
38766
38256
  this.boostedStat = options.boostedStat;
38767
38257
  this.teraType = options.teraType;
@@ -38770,7 +38260,6 @@ var require_pokemon = /* @__PURE__ */ __commonJSMin(((exports) => {
38770
38260
  this.ivs = Pokemon.withDefault(gen, gen.num === 0 ? {} : options.ivs, 31);
38771
38261
  this.evs = Pokemon.withDefault(gen, options.evs, gen.num === 0 || gen.num >= 3 ? 0 : 252);
38772
38262
  this.boosts = Pokemon.withDefault(gen, options.boosts, 0, false);
38773
- if (this.weightkg === 0 && !this.isDynamaxed && this.species.baseSpecies) this.weightkg = gen.species.get((0, util_1.toID)(this.species.baseSpecies)).weightkg;
38774
38263
  if (gen.num > 0 && gen.num < 3) this.ivs.hp = stats_1.Stats.DVToIV(stats_1.Stats.getHPDV({
38775
38264
  atk: this.ivs.atk,
38776
38265
  def: this.ivs.def,
@@ -38910,7 +38399,7 @@ var require_pokemon = /* @__PURE__ */ __commonJSMin(((exports) => {
38910
38399
  var cur = {};
38911
38400
  if (current) {
38912
38401
  (0, util_1.assignWithout)(cur, current, SPC);
38913
- if (current.spc) {
38402
+ if (current.spc !== void 0) {
38914
38403
  cur.spa = current.spc;
38915
38404
  cur.spd = current.spc;
38916
38405
  }
@@ -38953,7 +38442,7 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
38953
38442
  var data = (0, util_1.extend)(true, { name }, gen.moves.get((0, util_1.toID)(name)), options.overrides);
38954
38443
  this.hits = 1;
38955
38444
  if (options.useMax && data.maxMove) {
38956
- var maxMoveName_1 = getMaxMoveName(data.type, data.name, options.species, !!(data.category === "Status"), options.ability);
38445
+ var maxMoveName_1 = getMaxMoveName(gen, data.type, data.name, !!(data.category === "Status"), options.ability, options.overrideMove);
38957
38446
  var maxMove_1 = gen.moves.get((0, util_1.toID)(maxMoveName_1));
38958
38447
  var maxPower = function() {
38959
38448
  if ([
@@ -38991,8 +38480,8 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
38991
38480
  this.item = options.item;
38992
38481
  this.useZ = options.useZ;
38993
38482
  this.useMax = options.useMax;
38483
+ this.overrideMove = options.overrideMove;
38994
38484
  this.overrides = options.overrides;
38995
- this.species = options.species;
38996
38485
  this.bp = data.basePower;
38997
38486
  var typelessDamage = (gen.num === 0 || gen.num >= 2) && data.id === "struggle" || gen.num > 0 && gen.num <= 4 && ["futuresight", "doomdesire"].includes(data.id);
38998
38487
  this.type = typelessDamage ? "???" : data.type;
@@ -39048,9 +38537,9 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
39048
38537
  return new Move(this.gen, this.originalName, {
39049
38538
  ability: this.ability,
39050
38539
  item: this.item,
39051
- species: this.species,
39052
38540
  useZ: this.useZ,
39053
38541
  useMax: this.useMax,
38542
+ overrideMove: this.overrideMove,
39054
38543
  isCrit: this.isCrit,
39055
38544
  isStellarFirstUse: this.isStellarFirstUse,
39056
38545
  hits: this.hits,
@@ -39105,64 +38594,16 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
39105
38594
  Steel: "Corkscrew Crash",
39106
38595
  Water: "Hydro Vortex"
39107
38596
  };
39108
- function getMaxMoveName(moveType, moveName, pokemonSpecies, isStatus, pokemonAbility) {
38597
+ function getMaxMoveName(gen, moveType, moveName, isStatus, pokemonAbility, isGmax) {
39109
38598
  if (isStatus) return "Max Guard";
39110
- if (pokemonAbility === "Normalize") return "Max Strike";
39111
- if (moveType === "Fire") {
39112
- if (pokemonSpecies === "Charizard-Gmax") return "G-Max Wildfire";
39113
- if (pokemonSpecies === "Centiskorch-Gmax") return "G-Max Centiferno";
39114
- if (pokemonSpecies === "Cinderace-Gmax") return "G-Max Fire Ball";
39115
- }
39116
- if (moveType === "Normal") {
39117
- if (pokemonSpecies === "Eevee-Gmax") return "G-Max Cuddle";
39118
- if (pokemonSpecies === "Meowth-Gmax") return "G-Max Gold Rush";
39119
- if (pokemonSpecies === "Snorlax-Gmax") return "G-Max Replenish";
39120
- if (!(moveName === "Weather Ball" || moveName === "Terrain Pulse")) {
39121
- if (pokemonAbility === "Pixilate") return "Max Starfall";
39122
- if (pokemonAbility === "Aerilate") return "Max Airstream";
39123
- if (pokemonAbility === "Refrigerate") return "Max Hailstorm";
39124
- if (pokemonAbility === "Galvanize") return "Max Lightning";
39125
- }
39126
- }
39127
- if (moveType === "Fairy") {
39128
- if (pokemonSpecies === "Alcremie-Gmax") return "G-Max Finale";
39129
- if (pokemonSpecies === "Hatterene-Gmax") return "G-Max Smite";
39130
- }
39131
- if (moveType === "Steel") {
39132
- if (pokemonSpecies === "Copperajah-Gmax") return "G-Max Steelsurge";
39133
- if (pokemonSpecies === "Melmetal-Gmax") return "G-Max Meltdown";
39134
- }
39135
- if (moveType === "Electric") {
39136
- if (pokemonSpecies === "Pikachu-Gmax") return "G-Max Volt Crash";
39137
- if ((pokemonSpecies === null || pokemonSpecies === void 0 ? void 0 : pokemonSpecies.startsWith("Toxtricity")) && (pokemonSpecies === null || pokemonSpecies === void 0 ? void 0 : pokemonSpecies.endsWith("Gmax"))) return "G-Max Stun Shock";
39138
- }
39139
- if (moveType === "Grass") {
39140
- if (pokemonSpecies === "Appletun-Gmax") return "G-Max Sweetness";
39141
- if (pokemonSpecies === "Flapple-Gmax") return "G-Max Tartness";
39142
- if (pokemonSpecies === "Rillaboom-Gmax") return "G-Max Drum Solo";
39143
- if (pokemonSpecies === "Venusaur-Gmax") return "G-Max Vine Lash";
39144
- }
39145
- if (moveType === "Water") {
39146
- if (pokemonSpecies === "Blastoise-Gmax") return "G-Max Cannonade";
39147
- if (pokemonSpecies === "Drednaw-Gmax") return "G-Max Stonesurge";
39148
- if (pokemonSpecies === "Inteleon-Gmax") return "G-Max Hydrosnipe";
39149
- if (pokemonSpecies === "Kingler-Gmax") return "G-Max Foam Burst";
39150
- if (pokemonSpecies === "Urshifu-Rapid-Strike-Gmax") return "G-Max Rapid Flow";
39151
- }
39152
- if (moveType === "Dark") {
39153
- if (pokemonSpecies === "Grimmsnarl-Gmax") return "G-Max Snooze";
39154
- if (pokemonSpecies === "Urshifu-Gmax") return "G-Max One Blow";
38599
+ if (pokemonAbility === "Normalize") moveType = "Normal";
38600
+ if (moveType === "Normal" && !(moveName === "Weather Ball" || moveName === "Terrain Pulse")) {
38601
+ if (pokemonAbility === "Pixilate") moveType = "Fairy";
38602
+ if (pokemonAbility === "Aerilate") moveType = "Flying";
38603
+ if (pokemonAbility === "Refrigerate") moveType = "Ice";
38604
+ if (pokemonAbility === "Galvanize") moveType = "Electric";
39155
38605
  }
39156
- if (moveType === "Poison" && pokemonSpecies === "Garbodor-Gmax") return "G-Max Malodor";
39157
- if (moveType === "Fighting" && pokemonSpecies === "Machamp-Gmax") return "G-Max Chi Strike";
39158
- if (moveType === "Ghost" && pokemonSpecies === "Gengar-Gmax") return "G-Max Terror";
39159
- if (moveType === "Ice" && pokemonSpecies === "Lapras-Gmax") return "G-Max Resonance";
39160
- if (moveType === "Flying" && pokemonSpecies === "Corviknight-Gmax") return "G-Max Wind Rage";
39161
- if (moveType === "Dragon" && pokemonSpecies === "Duraludon-Gmax") return "G-Max Depletion";
39162
- if (moveType === "Psychic" && pokemonSpecies === "Orbeetle-Gmax") return "G-Max Gravitas";
39163
- if (moveType === "Rock" && pokemonSpecies === "Coalossal-Gmax") return "G-Max Volcalith";
39164
- if (moveType === "Ground" && pokemonSpecies === "Sandaconda-Gmax") return "G-Max Sandblast";
39165
- if (moveType === "Dark" && pokemonSpecies === "Grimmsnarl-Gmax") return "G-Max Snooze";
38606
+ if (isGmax && moveType === gen.moves.get((0, util_1.toID)(isGmax)).type) return isGmax;
39166
38607
  return "Max " + MAXMOVES_TYPING[moveType];
39167
38608
  }
39168
38609
  exports.getMaxMoveName = getMaxMoveName;