Re: move type changes, this is how the games work from Gen 5 to present:
- set the move type to its type in the move data, and allow this value to be overwritten ONCE
- check Electrify, which overwrites the move type with Electric
- check every other move type change event handler that exists (except Ion Deluge) (move events always run before Ability events), overwriting the move type only if Electrify didn't already change it
- again, allow the move type to be overwritten ONCE
- check Ion Deluge, which overwrites the move type with Electric if it's Normal
All of this explains what I observed in Gen 5, and Gen 6, and Gen 7 after the games actually released, etc; I just wrote about it in the order that it made sense logically, with no knowledge of these event flow shenanigans. This is why in my post you linked I specified that Pixilate/whatever couldn't change Chilan Berry Natural Gift's Normal type, but Ion Deluge could.
There are zero differences in the order of the event flow described above between Gen 5 and Gen 9. So in reality Electrify happens first, and Normalize happens after Hidden Power/Judgment/Natural Gift/whatever other move. But it doesn't matter what happens after because the type already changed and further event calls other than Ion Deluge are simply locked out from changing a move's type again.
I am so tired of being gaslit by Bulbapedia to re-research things I tested firsthand... Someone very clearly read my descriptions for Pixilate-like effects "This effect comes after other effects that change a move's type, but before Ion Deluge and Electrify's effects." and without testing it themselves or understanding the sentence whatsoever, wrote "overrides Ion Deluge and Electrify" on all the Bulbapedia pages, which obviously completely changes the meaning. Bulbapedia is not reliable for battle mechanics, and nobody should be reading it, or linking it in research or bug reports, or attempting to implement anything written there unless it's been independently verified by someone on Smogon.
This post was brought to my attention, so I figure I should probably respond to some of the issues raised here.
I have gone and updated the Pixilate, Refrigerate, and Aerliate pages on Bulbapedia to remove that incorrect information. (The Normalize and Galvanize pages didn't contain equivalent claims due to interacting with those moves slightly differently. The Electrify and Ion Deluge pages also did not contain similar claims.) I also reached out to the user who added that information, but they don't remember what their source was.
It's not occasional; the way generational differences are presented on their pages is the source of the vast majority of actual misinformation, not to mention constant misunderstandings from people reporting sim bugs because it's so obtuse.
I agree, I've never been a huge fan of the way the generational differences are laid out, and I think they can often lead to confusion. While I will clean up specific cases when I think they're especially confusing, there's only so much that can be done within that page structure. And unfortunately alternate possible page structures also have issues. The approach Smogon uses (separate pages for the move in each generation, so the effect is described separately each time) is not really practical for the structure of Bulbapedia; however, I think even without repeating the entire effect description every generation, there are often ways that Bulbapedia's effect descriptions can be improved to be substantially clearer.
I'm specifically dismissing Bulbapedia. As a wiki, it trends towards being useless when anyone anywhere can submit edits that appear on their pages instantly, with no oversight. There are maybe two staff members I'm aware of who actually do their own research, but that certainly isn't enough to cover the volume of edits.
This is a reasonable criticism. I assume you're including me among those staff members who research game mechanics, and I definitely don't have the time to review every single edit made to a game mechanics section. There are certainly more people who research game mechanics, but not all of them are on the Bulbapedia staff, and not everyone who researches game mechanics is actively reviewing new edits made by other users (just expanding on existing sections with their own research).
From reading these posts, I certainly get the impression that you've decided that Bulbapedia is just not worth fixing — that it's so frequently wrong that there's no point trying to correct it. I don't expect you have any interest in editing the incorrect pages to fix them. However, could I ask that if you do come across explicitly incorrect information on Bulbapedia (or even just cases where the structure of pages has mislead someone about game mechanics), that you let Bulbapedia staff know so that it can be corrected? I'm perfectly happy if this is just in the form of you DMing me on Discord — a link to a post on the Smogon forums, pasting a snippet from a false bug report on Showdown, etc. is fine, as long as there's enough info there to work out what needs to be fixed. We could certainly set up a more formal communication channel between Bulbapedia staff and Showdown devs if you think that's worthwhile, but I'm hoping something as simple as just Discord DMs is enough to get started.
However, since that specific 2016 post has come up, I should raise an issue with it that I found in my own research.
In Gen 6, the games changed a move's type in this order:
listed move type -> moves that call other moves use the new move instead -> Normalize changes the move to Normal -> moves now change type (Hidden Power/Judgment/Natural Gift/Techno Blast/Weather Ball) -> if the move is unchanged and still Normal (i.e. not Natural Gift with Chilan Berry), Aerilate/Pixilate/Refrigerate change it to Flying/Fairy/Ice -> if the move is Normal, Ion Deluge changes to Electric -> Electrify changes the move to Electric -> Protean activates -> Gems activate if the Gem matches the move type
There's one specific claim in the 2016 post that is inconsistent with my in-game research. Specifically, the post claims that if a type-changing move like Judgment/Weather Ball/Techno Blast (but not Chilan Berry Natural Gift) does not change type and remains a Normal-type move, that it can be affected by Pixilate/etc. From my in-game testing, this is untrue. From my testing, if a Pokémon with Pixilate uses Judgment (without a Plate), Weather Ball (without weather), or Techno Blast (without a Drive), the move will remain Normal-type, unaffected by Pixilate.
The claim was originally made regarding Generation 6, so I just tested in Pokémon X specifically (and did many years ago as well), and found that Normal-type Judgment/Weather Ball/Techno Blast used by a Pokémon with Pixilate remain Normal-type (just like Chilan Berry Natural Gift). (I'm sure I've tested this in Gen 7 as well as got the same result, but I only re-tested Gen 6 while writing this post.)
If I'm misunderstanding that post and my test results are consistent with what you were trying to explain in that post, please let me know.