Quoted By:
By design, it's either SM or LGPE.
The former is one of the many side effects of combatting the sudden and drastic popularity of Yokai Watch in Japan to where even TPC was intimidated for once, from the freeflow nature of the region (likely why Hawaii was selected as the base) and the infamous Rotom Dex.
But especially the latter is blatant as a younger/casual/PoGo transition tool having criteria per gym, let alone the first one being a mandatory type advantage against the gym leader (the whole point of Rock-type's design in Gen I.
Indirectly, I'd say SwSh from how simplistic the entire plot is and how everyone treats the player character (Leon even tells you to not bother with the classic 'crisis between 7th and 8th gym' many games had up to that point since Gen III, instead goading you to continue the gym challenge until Rose goes full retard to where even a kid would be confused), the only exception being Hop going through the realisation he's not the main character and ducks out into becoming Sonia's assistant.
It's actually kinda funny how people in every battle in the stadiums (especially Wyndon) seem to all be fans of your opponents like Marnie, Bede, Hop and of course Leon, and then this random kid comes out of nowhere and crushes them all in the span of a day. It's accidentally comedy gold.
For others, you could argue maybe RGBY since it was meant to be aimed at kids getting into the habit of collecting creatures to battle and trade with one another at school and such, or X and Y by another accidental regard because they forgot what difficulty was for a hot minute there besides a couple random trainers you wouldn't know until they whooped your ass unprepared, solely because of how butchered the EXP system and gym teams/levels were, but nowhere near by design for the (especially Japanese) youth like the Gen 7 trilogy.