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 <canoehope@users.noreply.github.com>
This commit is contained in:
Kurt 2020-02-28 17:35:50 -08:00
parent d80d1598dc
commit 4fb33413e3

View File

@ -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)