mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-12 09:45:22 -05:00
@@ -264,6 +264,8 @@ public override void SetDex(PKM pkm)
|
||||
if (index < 0)
|
||||
return;
|
||||
|
||||
bool owned = GetCaught(species);
|
||||
|
||||
var g = pkm.Gender == 1 ? 1 : 0;
|
||||
bool shiny = pkm.IsShiny;
|
||||
var s = shiny ? 2 : 0;
|
||||
@@ -282,7 +284,8 @@ public override void SetDex(PKM pkm)
|
||||
SetSeenRegion(species, form, g | s);
|
||||
SetCaught(species);
|
||||
SetIsLanguageObtained(species, pkm.Language);
|
||||
SetAltFormDisplayed(species, (byte)form);
|
||||
if (!owned)
|
||||
SetAltFormDisplayed(species, (byte)form);
|
||||
|
||||
if (shiny)
|
||||
SetDisplayShiny(species);
|
||||
|
||||
Reference in New Issue
Block a user