From 608f7ebe12d381a641cca7b32a764a214711a9fc Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 5 Jan 2024 09:47:53 -0800 Subject: [PATCH] Update Roaming8bRNG.cs --- PKHeX.Core/Legality/RNG/Methods/Gen8b/Roaming8bRNG.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PKHeX.Core/Legality/RNG/Methods/Gen8b/Roaming8bRNG.cs b/PKHeX.Core/Legality/RNG/Methods/Gen8b/Roaming8bRNG.cs index e53c318d7..bbddafd6d 100644 --- a/PKHeX.Core/Legality/RNG/Methods/Gen8b/Roaming8bRNG.cs +++ b/PKHeX.Core/Legality/RNG/Methods/Gen8b/Roaming8bRNG.cs @@ -20,6 +20,10 @@ public static void ApplyDetails(PKM pk, EncounterCriteria criteria, Shiny shiny if (flawless == -1) flawless = 0; + // Since the inner methods do not set Gender (only fixed Genders are applicable) and Nature (assume Synchronize used), set them here. + pk.Gender = pk.Species == (int)Species.Cresselia ? 1 : 2; // Mesprit + pk.Nature = pk.StatNature = (int)criteria.GetNature(); + int ctr = 0; var rnd = Util.Rand; do