Stat Switch [Azumarill+Regice Banned]

Oh btw, here are the stats of the ORAS Megas, just because I'm bored and so you guys have easier thero

Beedrill: 60/40/90/45/80/75 --> 60/15/40/150/80/145
Pidgeot: 83/80/75/101/101/70 --> 83/135/135/80/135/121
Slowbro: 95/75/30/100/80/110 --> 95/75/30/130/80/180
Steelix: 75/85/30/55/65/200 --> 75/125/30/55/95/230 (Lol its still a poor man's Mega Aggron)
Sceptile: 70/85/120/105/85/65 --> 145/110/75/70/85/70
Swampert: 100/60/90/85/90/110 --> 100/70/110/95/110/150 (Wow this thing is fast in the rain)
Sableye: 75/50/50/65/65/75 --> 50/85/20/85/115/125
Sharpedo: 70/40/120/95/120/95 --> 70/65/70/110/140/105
Camerupt: 70/100/70/40/75/105 --> 70/120/100/20/105/145
Altaria: 75/105/90/105/70/80 --> 110/75/75/75/100/80
Glaile: 80/80/80/80/80/80 --> 120/80/120/80/120/100
Salamence: 95/80/135/110/135/100 --> 95/90/130/120/145/120
Metagross: 80/70/130/95/90/130 --> 150/145/80/105/110/110
Latias: 130/130/90/110/80/110 --> 150/100/120/140/80/110
Latios: 130/90/130/80/110/110 --> 160/130/100/80/120/110
Lopunny: 65/76/84/105/96/54 --> 65/54/94/136/96/135 (Yay a Special Fighting type with only Focus Miss)
Gallade: 68/65/125/125/115/80 --> 68/65/95/165/115/100 (Yay another Special Fighting type with only Focus Miss)
Audino: 50/60/86/60/86/103 --> 103/60/50/80/50/126
Diancie: 150/100/50/100/50/150 --> 160/50/110/50/110/110

Honestly, the intersting ones imo are Pidgeot, Metagross, the Latis, Camerupt, and Diancie, they all look pretty here, and hooray Diancie isn't horribly outclassed anymore
so I forgot what meta this was and thought these were all wrong. GOOD JOB SELF.
Anyway, Pidgeot looks to be pretty solid, with decent bulk and attack, but nothing much to abuse No Guard with. oh well.

Altaria gets shafted really hard...
Camerupt looks scary, although base 20 special defense is lol.
Audino is... eh... yeah, garbage. along with Diancie.
 
so I forgot what meta this was and thought these were all wrong. GOOD JOB SELF.
Anyway, Pidgeot looks to be pretty solid, with decent bulk and attack, but nothing much to abuse No Guard with. oh well.

Altaria gets shafted really hard...
Camerupt looks scary, although base 20 special defense is lol.
Audino is... eh... yeah, garbage. along with Diancie.
*Special Attack
 
Re: Possibly unbanning Mega Kangaskhan

I am quite serious that it might be non-crazy. A crucial difference between Special Stat Swap Mega Kanga and Standard Physical Mega Kanga is that Stat Swap Mega Kanga's best option for STAB is either Round (60 BP) or Uproar (90 BP, locks the user in for 2-3 turns), both of which are substantial downgrades over Standard Mega Kanga running Return/Frustration at 102 BP. Not only that, but Stat Swap Mega Kanga is completely lacking in good priority -it can either run greatly weakened Fake Out and Sucker Punch, or it can miss out on priority entirely, making Pokemon faster than Mega Kanga much more able to dish out real damage to it before it touches them. (As opposed to Sucker Punching them to death instantly)

Not only that but lacks Special equivalents to both Power Up Punch (Which is a big part of what makes it so out of control, particularly in conjunction with Sucker Punch) and Drain Punch. (Which hugely supplements its bulk)

Stat Swap Mega Kanga doesn't even have as much coverage and variety in its movepool as Standard Mega Kanga -Standard Mega Kanga just doesn't run Thunderpunch and the like normally because Return+Fighting move+Sucker Punch/Crunch can take on literally anything in the game. Stat Swap Mega Kanga lacks that luxury -its only Fighting move is Focus Miss, and it has no Dark move at all, though Shadow Ball can sub in reasonably well. But it's still not priority.
 

Pikachuun

the entire waruda machine
Re: Possibly unbanning Mega Kangaskhan

I am quite serious that it might be non-crazy. A crucial difference between Special Stat Swap Mega Kanga and Standard Physical Mega Kanga is that Stat Swap Mega Kanga's best option for STAB is either Round (60 BP) or Uproar (90 BP, locks the user in for 2-3 turns), both of which are substantial downgrades over Standard Mega Kanga running Return/Frustration at 102 BP. Not only that, but Stat Swap Mega Kanga is completely lacking in good priority -it can either run greatly weakened Fake Out and Sucker Punch, or it can miss out on priority entirely, making Pokemon faster than Mega Kanga much more able to dish out real damage to it before it touches them. (As opposed to Sucker Punching them to death instantly)

Not only that but lacks Special equivalents to both Power Up Punch (Which is a big part of what makes it so out of control, particularly in conjunction with Sucker Punch) and Drain Punch. (Which hugely supplements its bulk)

Stat Swap Mega Kanga doesn't even have as much coverage and variety in its movepool as Standard Mega Kanga -Standard Mega Kanga just doesn't run Thunderpunch and the like normally because Return+Fighting move+Sucker Punch/Crunch can take on literally anything in the game. Stat Swap Mega Kanga lacks that luxury -its only Fighting move is Focus Miss, and it has no Dark move at all, though Shadow Ball can sub in reasonably well. But it's still not priority.
Lol no do not unban this

While your arguments are valid in the respect of no good stab whatsoever, you're forgetting about one of M-Kanga's more underrated sets; Seismic Toss, which really shines here, especially since its main move to hit Ghosts is no longer crippled by burn, and Chansey/Blissey no longer have their godly HP stats. It can recover via Wish as well, so it's not that easily worn down.
 
Parental Bond Seismic Toss is quite good, but Mega Kangaskhan is normally an Uber because basically anything you do is liable to result in it OHKOing you if you're not an Uber, regardless of Sturdy, Focus Band, typing (Ghost: Crunch/Sucker Punch. Rock and/or Steel: Drain Punch/Power Up Punch/Earthquake. Everything else: Return/Frustration), and often even move choice. (The only real exception being a Ghost dumping Will O Wisp on it, and even then Crunch variants will tear apart slower non-Prankster Ghosts before they get a chance) Even aside from the fact that Regice and Regirock will outspeed it and rip it in half in this meta, it just flat out lacks its nightmarish combination of perfect coverage and completely overwhelming firepower and genuine bulk if it wants it. (Drain Punch letting it kill things and heal itself in one go)

Here's some calcs.

252+ SpA Parental Bond Mega Kangaskhan Flamethrower vs. 0 HP / 0 SpD Breloom: 252-297 (62.8 - 74%) -- guaranteed 2HKO
^
Super effective max investment while Breloom has no investment.

252+ SpA Technician Breloom Vacuum Wave vs. 0 HP / 0 SpD Mega Kangaskhan: 218-258 (62.1 - 73.5%) -- guaranteed 2HKO
^
The reverse scenario. Keep in mind Breloom could instead use Giga Drain to heal off the Seismic Toss below.

Mega Kangaskhan Seismic Toss vs. 0 HP Breloom: 200-200 (49.8 - 49.8%) -- guaranteed 3HKO

Ohmygod so broken.

252+ SpA Parental Bond Mega Kangaskhan Swift vs. 0 HP / 0 SpD Breloom: 126-150 (31.4 - 37.4%) -- 83.3% chance to 3HKO

(Used Swift because the calculator doesn't acknowledge Round's existence)

Hahahahahaa. Round is so weak Mega Kangaskhan should just flat-out never run it -even after STAB, it's at best equal to the likes of Thunderbolt or Surf, only those can be super effective or have useful side effects. So unless you desperately want the Sound property to bypass Substitutes...

Seriously, Mega Kanga is going to kind of suck when compared against some of the monsters of this meta.

EDIT: Let's compare it against Regirock and Regice!

252+ SpA Parental Bond Mega Kangaskhan Surf vs. 252 HP / 0 SpD Regirock: 315-372 (86.5 - 102.1%) -- 12.5% chance to OHKO

Yeah don't switch Regirock in on Mega Kangaskhan -it absolutely can OHKO you without even resorting to Focus Miss.

252+ SpA Regirock Focus Blast vs. 252 HP / 0 SpD Mega Kangaskhan: 400-472 (96.6 - 114%) -- 81.3% chance to OHKO

It's Focus Miss, and isn't a OHKO for sure even if it hits, but it's also worth noting that Regirock gets Charge Beam. At +1 Ancient Power -well...

+1 252+ SpA Regirock Ancient Power vs. 252 HP / 0 SpD Mega Kangaskhan: 225-265 (54.3 - 64%) -- guaranteed 2HKO

So it's not safe for Mega Kangaskhan to switch in on Regirock except as a revenge-switch. And it's not really all that safe unless it's invested in HP and Special Defense -it's not going to outspeed. And if you have HP and Special Defense fully invested...

0 SpA Parental Bond Mega Kangaskhan Focus Blast vs. 252 HP / 0 SpD Regirock: 315-372 (86.5 - 102.1%) -- 12.5% chance to OHKO

Yeah, not anything to count on, especially given Regirock might be wearing an Assault Vest, very mildly bolstered its Special Defense, or just be incidentally in Sand.

Now as for Regice...

0 SpA Parental Bond Mega Kangaskhan Flamethrower vs. 252 HP / 0 SpD Regice: 408-480 (112 - 131.8%) -- guaranteed OHKO

Yeah not surprising when Regice has only 50 Special Defense.

Conversely...

252+ Atk Regice Ice Punch vs. 252 HP / 4 Def Mega Kangaskhan: 186-220 (44.9 - 53.1%) -- 31.6% chance to 2HKO

Not that great so far...

252+ Atk Regice Hammer Arm vs. 252 HP / 4 Def Mega Kangaskhan: 332-392 (80.1 - 94.6%) -- guaranteed 2HKO

252+ Atk Regice Superpower vs. 252 HP / 4 Def Mega Kangaskhan: 398-470 (96.1 - 113.5%) -- 75% chance to OHKO

And oh man not even super effective high BP moves are sure kills!

But Regice gets both Power Up Punch and Curse (And is so fast that even after a Curse it will outspeed most of the meta, including Mega Kangaskhan here), so jolt these numbers up 50%. It is, again, certainly not safe for Mega Kangaskhan to switch in on Regice except as a revenge switch.
 
Last edited:
Sorry to double post, but I noticed that the Pizza Man's Megas/Primals post has errors.

Mega Sableye is better than presented, because Megas inherit HP, and Sabeleye jolts from 50 HP to 75 -of course Mega Sableye is still going to be annihilating its Defense in exchange for Speed, at which point it's basically a really bad regular Prankster Sableye. Eugh.

Since HP is inherited and Megas ignore it in their own swapping, Mega Sceptile is not sacrificing Speed and Special Attack for HP -it's sacrificing them for Defense. Which... is worse.

Oh god Mega Sharpedo is basically a flat downgrade, since Sharpedo sacrifices Attack for Defense and Special Defense where Mega Sharpedo just straight swaps Attack for Special Defense.

Again, HP is ignored, so Mega Altaria is instead dumping three stats for Speed... which... is not really any better...

HP ignored, so Mega Glalie is stuck with regular Glalie's OK 80 HP, making it less extraordinary of a wall. Kind of too bad since Ice is so defensively bad, it would've been actually interesting.

HP ignored, so Mega Metagross is actually swapping its Defense for its Special Attack -which could make it a nifty mixed attacker, though that's kind of crappy with it having Tough Claws.

I will note Gallade actually gets Vacuum Wave, not to mention inheriting a bunch of good Special moves from Ralts/Kirlia. It might even use Synchronoise? Maybe?

Since HP is inherited, Mega Audino really really sucks.

Since HP is inherited, Mega Latios and Latias both have 130 HP, and since HP is not factored into Mega swaps Mega Latias trades Special Defense for Attack, while Mega Latios trades Special Attack for Defense.

Mega Diancie on the other hand is horrifying, inheriting Diancie's 150 HP and then swapping its own 160 Attack for its Defense, Special Defense, and Speed, while holding onto its 150 Special Attack -holy crap will it be hard to kill and plenty hard-hitting. Mega Diancie has an effective BST of 800. Jesus christ Arceus can't save us now. It actually has more stats than Arceus in every stat except Attack, where it is only 10 behind.

Stat Swap Mega Diancie is your new god.
 
Last edited:

Da Pizza Man

Pizza Time
is a Pre-Contributor
Oh yeah I completely forgot about the Primals and Mega Rayquaza, but since there uber I geusd it doesn't matter to much, but I will post them anyways

Kyogre: 100/100/150/90/140/150 --> 100/150/180/90/160/180
Groudon: 100/90/140/100/150/150 --> 100/90/160/150/180/180
Rayquaza: 105/90/150/90/150/95 --> 105/100/180/100/180/115

Yeah I don't see any of these tree gettong unbanned when ORAS comes , the closest to being unbanned is probably Rayquaza but even that is not likely to happen

Also for the lazy people, here are the stat changes for changed HP pokes if HP is ignored

Sceptile: 70/85/120/105/85/65 --> 70/110/145/75/85/75
Sabeleye: 75/50/50/65/65/75 --> 75/85/20/85/115/125
Altaria: 75/105/90/105/70/80 --> 75/80/80/80/105/110
Glaile: 80/80/80/80/80/80 --> 80/80/120/80/120/100
Metagross: 80/70/130/95/90/135 --> 80/145/105/150/110/110
Latias: 130/130/90/110/80/110 --> 130/150/120/140/100/110
Latios: 130/90/130/80/110/110 --> 130/130/160/100/120/110
Audino: 50/60/86/60/86/103 --> 50/60/50/80/50/126
Diancie: 150/100/50/100/50/150 --> 150/110/160/110/160/160
(Enter the Queen of Stat Switch)
 
Last edited:
Mega Latios is king of physical setup sweeping IMO. 130/160/120 bulk is nothing to laugh at (barring Ice-type special attacks and Regice), so he can probably DD up with impunity (although this meta has some seriously absurd offensive stats running around occasionally). And he has base 130 Attack to start with, which isn't too shabby but is basically "okay" in stat swap. And he has Roost/Recover. You could even add Refresh on to that if you think he's strong enough to go mono-attacker.

Except Regice exists.

Non-Mega Latios is definitely a defensive mon with good 130/130/110 bulk. He can set screens, recover, refresh, defog, tailwind, TWave, Toxic, and trap with Whirlpool. Problem is, he can't do all that at once. If he could screens, recover, refresh, Toxic, AND Whirlpool, Latios would quite possibly be a very happy Pokémon.

Again, except Regice. lol.

Standard Latias has a niche over Mega Latios in her access to Sucker Punch for priority, which might make Band Latias a thing, especially since she doesn't take up your Mega slot. She's got a fair number of other physical moves to work with too: Dragon Claw/Outrage, Zen Headbutt, Waterfall, Earthquake, and even Steel Wing and Shadow Claw if you're desperate. And she can BandTrick people if you want to.
As for Mega Latias, she can run mixed with some effectiveness but lacks the Attack boost of a Band, making her weaker overall. She can run Hone Claws though (which also fixes Zen Headbutt, Draco Meteor, and Steel Wing accuracy), but I doubt that's really all that worthwhile. But again, Sucker Punch priority. She also might be useful as a healer with offensive presence as 130 base HP makes pretty big Wishes, at least as far as standard OU is concerned (they might be underwhelming for this crazy meta though). (And realistically 130/120/100 is probably still pretty respectable bulk.)

Regice is freaking insane. I don't think anything short of Mega Diancie can tank a banded Ice Punch (she can live 3 of them with no investment OMG). (I was wrong, there are other things that can.) And for that, there's Iron Head.

252+ Atk Choice Band Regice Ice Punch vs. 0 HP / 0 Def (Mega) Diancie: 186-220 (42.1 - 49.8%) -- guaranteed 3HKO

Behold the Queen of Stat Switch!

But at the same time, Regice only has to run 100 Speed EVs to be able to outspeed a max speed Mega Diancie, and then it still gets to run Adamant.

She can tank a single Iron Head if she runs full defensive...

252+ Atk Choice Band Regice Iron Head vs. 248 HP / 252+ Def (Mega) Diancie: 412-488 (81.9 - 97%) -- guaranteed 2HKO

But then she can't really do enough damage back.

8 SpA (Mega) Diancie Ancient Power vs. 156 HP / 0 SpD Regice: 246-290 (72.3 - 85.2%) -- guaranteed 2HKO

(And yes, with no Attack or Sp. Atk investment and a neutral nature in both, Ancient Power really does hit Regice harder than Diamond Storm does.)

Also Regice doesn't even have to run Iron Head to take her out.
252+ Atk Choice Band Regice Earthquake vs. 248 HP / 252+ Def (Mega) Diancie: 258-304 (51.2 - 60.4%) -- guaranteed 2HKO

As for things that can actually tank Regice...

Well, Arcanine sure can't thanks to Clear Body blocking Intimidate.

Chansey can stop it though. Sure, she takes a boatload from Hammer Arm, but she also heals back up with Drain Punch. That said, even Chansey only beats it 1v1. (Or she can come in when it's locked into a move she can tank, like anything that isn't Hammer Arm or Superpower, and then whack something with her 250 base Attack as they switch.)

Physically defensive Genesect outright counters Regice provided Stealth Rock isn't up.

252+ Atk Choice Band Regice Earthquake vs. 248 HP / 252+ Def Genesect: 186-219 (41.9 - 49.4%) -- guaranteed 3HKO after Leftovers recovery

Meanwhile...

+1 8 SpA Genesect Flash Cannon vs. 156 HP / 0 SpD Regice: 342-404 (100.5 - 118.8%) -- guaranteed OHKO

The +1 is from Download, obviously. As for whether or not a physically-defensive Genesect is good for anything else, well, IDK. Download can make even base 71 offences good enough to deal with especially fragile sweepers if you have proper coverage, though.

Also, Carbink seems like a good one- or two-use revenge killer thanks to Sturdy and its amazing 150 base Speed. Stick a Scarf on it (yeah, Scarf and not specs, so you can outspeed Regice), make it Rash 4 attacks, and revenge kill everything. In fact, it can also counter Regice by surviving Iron Head with Sturdy, outspeeding with the Scarf, and doing this in return:

252+ SpA Carbink Power Gem vs. 156 HP / 0 SpD Regice: 554-654 (162.9 - 192.3%) -- guaranteed OHKO

Which more than likely means your opponent will switch out to something that can take the Power Gem, and you should go for Earth Power or Moonblast instead. There is a problem here though: You still can't outspeed fully-invested Mega Aggron and Mega Steelix! 230 base speed is simply beyond Carbink's ability to beat without both Scarf and a +Speed nature, which drastically reduces its nuking power. So to be honest, your best bet is to not even try because really, who would run fully-invested base 230?

The Carbink mini-nuke set I've come up with looks something like this:

GRENADE! (Carbink) w/ Choice Scarf
Ability: Sturdy
EVs: 104 Atk / 252 SpA / 152 Spe
Rash Nature
- Power Gem
- Moonblast
- Earth Power
- Explosion

Feel free to sub Explosion for any sort of powerful coverage option you may have available, such as Psychic or Stone Miss. With this spread, you outspeed max EV'd, neutral-natured Base 230s thanks to your scarf. Remaining EVs go into Attack for you to Explode on things because you're not gonna live more than 2 hits with base 50 defences anyway.

And that's everything of potential interest that I have to say at the moment.

Edit: More things!

People seem to like to advocate the use of Vacuum Wave Primeape to deal with Regice. But actually, Primeape is outclassed by Gallade.

(note: Bold marks the high stat swap-in, italics marks the low stat swap-in.)
Primeape stats: 65/60/105/105/70/95.

Gallade stats: 68/65/125/125/115/80.

Gallade hits harder with Vacuum Wave and is bulkier, and also gets Calm Mind (an actual useful boosting move!), Psychic, Psyshock, Shadow Ball, Signal Beam, Draining Kiss (self-healing!), Dazzling Gleam, Thunderbolt, Icy Wind, and Stored Power, along with an extensive support movepool. Overall, his Special movepool is simply far superior to that of Primeape, whose coverage options are basically Thunder/Thunderbolt, Overheat, and Hidden Power. You can run Bulky Specs Gallade to be able to switch in to Regice, or use a bulky Calm Mind sweeper Gallade and make sure Regice can't switch into you and deal heavy damage to the opposing team as a whole. Overall, Gallade basically does everything better than Primeape would, with the exception of having a worse speed tier when it's already so low as to be irrelevant. (Well, I suppose Gallade also has a Ghost weakness that Primeape lacks and doesn't resist Dark, but the difference in both bulk and power is great enough to counteract that in almost all circumstances.) And if you want to hit through subs, Gallade has Hyper Voice, while Primeape would have to use the inferior Uproar.

Some other interesting stat changes I've noticed:

Gengar is 130/65/130/60/75/110, but then we already knew that. But taking into account that Megas inherit the base form's HP...

Mega Gengar: 130/170/80/65/95/130.
This guy just became even more Uber. Possibly even too Uber for Ubers! With access to reasonable dual STAB in Poison Jab and Shadow Claw, along with powerful priority in Sucker Punch, self-heals with Drain Punch, Elemental Punch coverage, Knock Off, and even Power-up Punch for boosting if for some reason he needs it, Mega Gengar is ready to wreck the face of Ubers harder than ever. Not to mention he still has Shadow Tag and his crazy support movepool remains intact. And 130/80/95 defences are still nothing to laugh at. Turns out Gengar's physical movepool just might be scarier than his special movepool.

Flareon just became a poor man's pure-Fire Heatran, with 65/60/130/95/110/65 base stats. He does serve a different role than Heatran, though: Flareon can potentially put in work as a cleric. 65 base HP is still really low and is still going to pass weak Wishes regardless, but 65/130/110 defences with Will-O-Wisp or Lava Plume for burns looks pretty darn decent, at least at tanking physical hits that aren't Ground, Water, or Rock. Bottom line: 65/130/110 defences with a pretty decent and rather rare defensive type, Wish, Heal Bell, Roar, Work Up, Curse, Baton Pass, Will-O-Wisp, Lava Plume, Baby-Doll Eyes to nerf physical attackers before they can get a hit on you, and even freakin' Stored Power because why not.

Banette is amusing. Its stats are 64/63/65/83/115/65. But when it Mega Evolves, its stats become 64/75/165/93/83/165. And of course Mega Banette has Prankster, along with Calm Mind and a rather nice Special movepool. In my opinion, a good way to run this thing might be:
CroNette Confirmed (Banette) w/ Banettite
Ability: Frisk
EVs: 252 HP / 4 SpA / 252 SpD
Calm Nature
IVs: 0 Atk
- Rest
- Sleep Talk
- Calm Mind
- Shadow Ball
Prankster Calm Mind, Prankster Rest, Prankster Sleep Talk, Prankster GG.

Also, are we going to make all Formes (not just Megas) share the same base HP as the base Forme, or no?
 
Last edited:
mods/statswitch/scripts.js
Code:
Array.min = function( array ){
    return Math.min.apply( Math, array );
};
Array.max = function( array ){
    return Math.max.apply( Math, array );
};
exports.BattleScripts = {
    init: function() {
        for (var i in this.data.Pokedex) {
            var baseStats = [];
            for (var n in this.data.Pokedex[i].baseStats) {
                baseStats.push(this.data.Pokedex[i].baseStats[n]);
            }
            var lowest = baseStats.min();
            var highest = baseStats.max();
            for (var l in this.data.Pokedex.baseStats) {
                if (this.getTemplate(this.data.Pokedex[i].id).isMega && l === "hp") this.modData('Pokedex', i).baseStats[l] = this.data.Pokedex[this.getTemplate(this.data.Pokedex[i].id).baseSpecies].baseStats['hp'];
                if (this.data.Pokedex[i].baseStats[l] === lowest) this.modData('Pokedex', i).baseStats[l] = highest;
                if (this.data.Pokedex[i].baseStats[l] === highest) this.modData('Pokedex', i).baseStats[l] = lowest;
            }
        }
    }
}
config/formats.js
Code:
       {
        name: "Stat Switch",
        section: "Other Metagames",

        mod: "statswitch",
        ruleset: ['OU'],
        banlist: []
    },
 
Last edited:

Snaquaza

KACAW
is a Community Contributor Alumnusis a Smogon Media Contributor Alumnusis a Battle Simulator Moderator Alumnus
mods/statswitch/scripts.js
Code:
Array.min = function( array ){
    return Math.min.apply( Math, array );
};
Array.max = function( array ){
    return Math.max.apply( Math, array );
};
exports.BattleScripts = {
    init: function() {
        for (var i in this.data.Pokedex) {
            var baseStats = [];
            for (var n in this.data.Pokedex[i].baseStats) {
                baseStats.push(this.data.Pokedex[i].baseStats[n]);
            }
            var lowest = baseStats.min();
            var highest = baseStats.max();
            for (var l in this.data.Pokedex.baseStats) {
                if (this.getTemplate(this.data.Pokedex[i].id).isMega && l === "hp") this.modData('Pokedex', i).baseStats[l] = this.data.Pokedex[this.getTemplate(this.data.Pokedex[i].id).baseSpecies].baseStats['hp'];
                if (this.data.Pokedex[i].baseStats[l] === lowest) this.modData('Pokedex', i).baseStats[l] = highest;
                if (this.data.Pokedex[i].baseStats[l] === highest) this.modData('Pokedex', i).baseStats[l] = lowest;
            }
        }
    }
}
config/formats.js
Code:
       {
        name: "Stat Switch",
        section: "Other Metagames",

        mod: "statswitch",
        ruleset: ['OU'],
        banlist: []
    },
Implemented it on my server! It's now playable on http://84.85.13.2.psim.us/

Edit: It doesn't seem to work. It's normal OU right now, there's probably a problem reaching the mod. (All the meta's without mods work)
 
Actually, it turns out Regice has to run 144 Speed EVs to outspeed max-invested base 165s (like Mega Banette, for example). This means it can only run 112 HP instead of 156. Or you could run full Speed investment with Jolly to let you outspeed almost everything even after a Curse, instead of running it Banded.
 
Edit: It doesn't seem to work. It's normal OU right now, there's probably a problem reaching the mod. (All the meta's without mods work)
This is the same problem that I've been having whenever I attempt to code it.
alright, i've fixed it now
mods/statswitch/scripts.js
Code:
Array.min = function( array ){
    return Math.min.apply( Math, array );
};
Array.max = function( array ){
    return Math.max.apply( Math, array );
};
exports.BattleScripts = {
    init: function() {
        for (var i in this.data.Pokedex) {
            var template = this.getTemplate(i);
            var newStats = {};
            var stats = [];
            for (var j in template.baseStats) {
                stats.push(template.baseStats[j]);
            }
            var bestStatVal = stats.max();
            var worstStatVal = stats.min();
            var bestStat = [];
            var worstStat = [];
            for (var j in template.baseStats) {
                newStats[j] = template.baseStats[j];
                if (template.baseStats[j] === bestStatVal) {
                    newStats[j] = worstStatVal;
                }
                if (template.baseStats[j] === worstStatVal) {
                    newStats[j] = bestStatVal;
                }
            }
            this.modData('Pokedex', i).baseStats = newStats;
        }
    }
};
 
Last edited:

Snaquaza

KACAW
is a Community Contributor Alumnusis a Smogon Media Contributor Alumnusis a Battle Simulator Moderator Alumnus
I found the problem! It's working now. Thanks 00001111a .
If anyone wants to play it, I'll be waiting on the server linked in a previous post. Will put it in the OP as well.
 
I found the problem! It's working now. Thanks 00001111a .
If anyone wants to play it, I'll be waiting on the server linked in a previous post. Will put it in the OP as well.
So quick clarification: is HP inherited for Mega Evos or not? The OP still says that it isn't, but prior consensus had been that it would be, and I dunno what the code says about it.
 
The code says HP is NOT inherited for Mega Evos
Oh. Okay. *sadface*

Also, banlist is standard OU for now?

Edit: Also, dunno why you're liking my post when all my calcs were based on the assumption that megas would inherit HP from base form and that their HP was not swappable.
 
Last edited:
Oh. Okay. *sadface*

Also, banlist is standard OU for now?

Edit: Also, dunno why you're liking my post when all my calcs were based on the assumption that megas would inherit HP from base form and that their HP was not swappable.
Banlist and rulesets are standard OU. Also I liked your post because REASONS (mouse derped lol)
 
Aaaawwww, I liked some of the absolute craziness that resulted. Like now Mega Diancie sucks instead of being super god-mode deathbringer.

Though it makes a couple of Megas better I guess.
 
Something to note is that the Megas' HP value should not change, ever, so it should have the same base HP as its pre-mega'd forme (and have it exempt from the min-max stat calculation). Just a note.
I agree wholeheartedly with this post. The reason for this is not that HP changes when Mega Evolving cannot be implemented on Showdown, but that such a change goes against the very nature of Mega Evolutions and Forme changes as a whole in-game.

I propose the following two changes:
— Mega Evolutions inherit the same HP as their pre-mega form, and HP is exempt from swap calculations on Megas.
— All alternate Formes inherit the same HP as the base Forme, and HP is exempt from swap calculations on alternate Formes. This means you calculate the base Forme first and then the alternate Formes. For example, Rotom is 95/95/77/50/77/91 in its base Forme, thereby making its alternate Formes 95/107/65/105/65/86. Deoxys-N is 150/50/150/50/150/50. This forces Deoxys-A to be 150/20/180/20/180/150, Deoxys-S to be 150/95/180/95/180/90, and Deoxys-D to be 150/160/70/160/70/90.
 

Da Pizza Man

Pizza Time
is a Pre-Contributor
I agree wholeheartedly with this post. The reason for this is not that HP changes when Mega Evolving cannot be implemented on Showdown, but that such a change goes against the very nature of Mega Evolutions and Forme changes as a whole in-game.

I propose the following two changes:
— Mega Evolutions inherit the same HP as their pre-mega form, and HP is exempt from swap calculations on Megas.
— All alternate Formes inherit the same HP as the base Forme, and HP is exempt from swap calculations on alternate Formes. This means you calculate the base Forme first and then the alternate Formes. For example, Rotom is 95/95/77/50/77/91 in its base Forme, thereby making its alternate Formes 95/107/65/105/65/86. Deoxys-N is 150/50/150/50/150/50. This forces Deoxys-A to be 150/20/180/20/180/150, Deoxys-S to be 150/95/180/95/180/90, and Deoxys-D to be 150/160/70/160/70/90.
Definitely agree with the first point, but not really the second. I really only think that should apply if there is a way for the pokemon to change form in battle
 
I'm not sure there's any Pokemon that change Form in battle where it would have an effect in Stat Switch, but I agree with first and not second too.
 
Definitely agree with the first point, but not really the second. I really only think that should apply if there is a way for the pokemon to change form in battle
Well, the reason I put that in there was that I noticed that no Forme change ever changes base HP. On the other hand, that change would basically break Deoxys as a whole to a ridiculous degree, so I can see why that would be undesirable.

Also, this is going to need its own banlist eventually. Specifically, Genesect and Aegislash should be unbanned (although nobody will use Aegislash ever so that doesn't really matter).
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top