Jump to content

Recommended Posts

Posted

Hello,
I've been using PKHeX for many years now — thank you so much for the continuous development and updates!When editing wild Pokémon in Pokémon Scarlet/Violet, I usually follow this order:
Randomize IVs → Set Nature → Reroll EC → Reroll PID
(For shiny versions, I use Ctrl + the star icon instead of the regular PID reroll button.)My understanding is that the PID Reroll button automatically calculates a new PID based on the current IVs and Nature (to try to keep them consistent where possible).
Is this correct? Or does it simply generate a completely random PID string without taking the current IVs/Nature into account?I'd really appreciate it if someone could explain the exact current behavior/specification of the PID Reroll button in the latest version of PKHeX.
Thank you very much in advance!

Posted (edited)
55 分前、Kaphotics は次のように述べました:

gen3/4では、性質、能力、民族に一致するPIDを付与するために再ロールされます。

gen5 では、国家 (および能力?) に一致する PID を考慮して再ロールされます。

その他はすべてランダムです。

PKHeX/PKHeX.Core/PKM/Util/EntityPID.cs(f816b06d97542516ab4a83df1bcb384b9825dc44) · kwsch/PKHeX

Thank you for the quick and clear explanation on the regular PID reroll button!As a follow-up, for shiny Pokémon (especially wild encounters in Scarlet/Violet), when I use the Ctrl + Star icon button instead:
  1. 1 Does this generate a PID that fully replicates the game's actual wild shiny RNG (e.g., for non-Tera Raid encounters like overworld grass or outbreaks)?
    Or is it a simplified method (e.g., just calculating a TSV/FSV-compatible PID)?
  2. 2 What's the exact behavior of this button in the latest PKHeX?
    Does it take into account the current IVs, Nature, EC, Gender, or Form to ensure legitimacy,
    or is it independent/random like the regular PID reroll?
  3. 3 For best practices to keep wild shiny edits 100% legal:
    ・ Should I always reroll PID after setting IVs/Nature/EC?
    ・ Any specific order or additional steps (e.g., re-reroll EC afterward) to match game data perfectly?
    ・ Does the Legality Checker automatically validate these shiny PIDs under "Wild Encounter" template?
I'd love any code references or tips for batch editing multiple shinies too.
Thanks again!
Edited by sumo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...