From 4fb33413e368eb1534468f0a1b76c72aefec1e9b Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 28 Feb 2020 17:35:50 -0800 Subject: [PATCH] Only set display shiny of not owned Closes #2740 ; we don't want to set display shiny if it's not shiny we only want to set display-shiny if (!owned && shiny) Co-Authored-By: canoehope --- PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs b/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs index d84e4de39..d0adcc841 100644 --- a/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs +++ b/PKHeX.Core/Saves/Substructures/PokeDex/Zukan8.cs @@ -285,10 +285,11 @@ public override void SetDex(PKM pkm) SetCaught(species); SetIsLanguageObtained(species, pkm.Language); if (!owned) + { SetAltFormDisplayed(species, (byte)form); - - if (shiny) - SetDisplayShiny(species); + if (shiny) + SetDisplayShiny(species); + } var count = GetBattledCount(species); if (count == 0)