Battle Dome: Difference between revisions

partially restoring (for now), as this appears to describe how the third sentence on the trainer card is generated (will need to check if it's correct, if "battle style" is ever used in-game, and if so in which context, etc.)
(→‎Battle Style: This section is completely wrong. It's based solely on the Pokémon's moves: https://github.com/pret/pokeemerald/blob/master/src/battle_dome.c#L140 | The user who originally added this in Special:Diff/749148 seems to know what they're talking about normally, but this completely contradicts the decompilation)
(partially restoring (for now), as this appears to describe how the third sentence on the trainer card is generated (will need to check if it's correct, if "battle style" is ever used in-game, and if so in which context, etc.))
Tag: Undo
Line 36: Line 36:
===Battle style===
===Battle style===
{{incomplete|section|needs=Expansion based on [https://github.com/pret/pokeemerald/blob/master/src/battle_dome.c#L140 Emerald decompilation]}}
{{incomplete|section|needs=Expansion based on [https://github.com/pret/pokeemerald/blob/master/src/battle_dome.c#L140 Emerald decompilation]}}
The battle style of a Trainer is determined by their Pokémon's moves.
 
The battle style of a Trainer is determined by the [[effort values]] of all of the Trainer's Pokémon. A stat is considered to be emphasized if it makes up at least 30% of the team's EVs (taking [[Nature]] into account: for this calculation, EVs on a Pokémon with a beneficial Nature are worth 10% more, while EVs on a hindering Nature are worth 10% less), and neglected if there are no EVs in that stat among the entered Pokémon.
 
If there are any emphasized stats, they are shown (if there are three emphasized stats, only two are shown). Otherwise, if there are any neglected stats, they are shown (if there are more than two, only two are shown; the ones that are shown are further influenced by the number of entered Pokémon having a hindering Nature in the particular stat). Otherwise, the Trainer is said to "raise Pokémon in a well-balanced way."


===CPU Battles===
===CPU Battles===