Skip to content

Legality

Lusamine edited this page Oct 27, 2020 · 31 revisions

These settings control how Auto-Legality Mod (ALM) generates Pokémon. Basic rules for ALM are covered in more detail on PKHeX-Plugins' Wiki under How does Auto=Legality Mod (ALM) work?

Custom Trainer Data

Refer to Auto-Legality Mod's page on Using Custom Trainer Data.

  • It should be noted that you need trainer data for EVERY game if you want to ensure that any generated Pokémon has the trainer details you provide.
  • You can specify your own TID/SID in the bot settings, but these should be the 5 digit numbers seen in PKHeX when hovering over the trainer information. These values may be changed by ALM if required for legality, such as for shiny Pokémon. If you do not provide trainer files for other games, ensure that your OT does not contain any characters that are illegal in any game.

Other Settings

  • MGDBPath: directory for any additional Wonder Cards that should be loaded. Most Wonder Cards should be bundled with the PKHeX Core, but this can be used to load in any new Wonder Cards before an official release is published. New Wonder Cards can be obtained from Project Pokémon and should end in .wc8.
  • SetAllLegalRibbons: attempts to add all legal ribbons according to PKHeX legality.
  • SetMatchingBalls: applies a legal Pokéball that matches the color of the Pokémon.
  • ForceSpecifiedBall: allows the user to attempt to specify a legal Pokéball by including it as a line in their set. This should be used as Ball: Level Ball.
  • UseXOROSHIRO: generates legal nonshiny raid Pokémon based on the game's RNG. Due to the restrictions of Xoroshiro, Pokémon IVs will very likely be imperfect and then Hyper-Trained afterwards.
  • EnableEasterEggs: Tells the bot to replace illegal sets with Easter Egg joke Pokémon instead.
  • VerifyLegality: uses the PKHeX core to check legality of Pokémon before trading or cloning. This is the best way to avoid generating Pokémon that do not trade.
  • AllowTrainerDataOverride: Allows usage of the OT:, TID:, SID:, and OTGender fields.
  • AllowBatchCommands: Enables use of Batch Editor commands for further customization.
  • ResetHOMETracker: zeroes out the HOME tracker for traded and cloned Pokémon.
Clone this wiki locally