mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-13 08:05:18 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user