mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
parent
8b02f05bd5
commit
c270479bf9
2 changed files with 2 additions and 1 deletions
|
@ -287,6 +287,7 @@ namespace PKHeX.Core
|
|||
public virtual bool IsShiny => TSV == PSV;
|
||||
public virtual bool Locked { get => false; set { } }
|
||||
public int TrainerID7 => (int)((uint)(TID | (SID << 16)) % 1000000);
|
||||
public int TrainerSID7 => (int)((uint)(TID | (SID << 16)) / 1000000);
|
||||
public bool VC2 => Version >= 39 && Version <= 41;
|
||||
public bool VC1 => Version >= 35 && Version <= 38;
|
||||
public bool Horohoro => Version == 34;
|
||||
|
|
|
@ -1619,7 +1619,7 @@ namespace PKHeX.WinForms.Controls
|
|||
|
||||
string IDstr = $"TSV: {pkm.TSV:d4}";
|
||||
if (pkm.Format > 6)
|
||||
IDstr += Environment.NewLine + $"G7TID: {pkm.TrainerID7:d6}";
|
||||
IDstr += Environment.NewLine + $"G7TID: ({pkm.TrainerSID7:d4}){pkm.TrainerID7:d6}";
|
||||
|
||||
Tip1.SetToolTip(TB_TID, IDstr);
|
||||
Tip2.SetToolTip(TB_SID, IDstr);
|
||||
|
|
Loading…
Reference in a new issue