mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -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:
parent
d80d1598dc
commit
4fb33413e3
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user