mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-28 06:50:23 +00:00
parent
69f145a10e
commit
8d08f291c3
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ namespace PKHeX
|
||||||
public bool PKRS_Infected => PKRS_Strain > 0;
|
public bool PKRS_Infected => PKRS_Strain > 0;
|
||||||
public bool PKRS_Cured => PKRS_Days == 0 && PKRS_Strain > 0;
|
public bool PKRS_Cured => PKRS_Days == 0 && PKRS_Strain > 0;
|
||||||
public virtual bool ChecksumValid => Checksum == CalculateChecksum();
|
public virtual bool ChecksumValid => Checksum == CalculateChecksum();
|
||||||
public int CurrentLevel => PKX.getLevel(Species, EXP);
|
public int CurrentLevel { get { return PKX.getLevel(Species, EXP); } private set { EXP = PKX.getEXP(value, Species); } }
|
||||||
public bool MarkCircle { get { return (MarkValue & (1 << 0)) == 1 << 0; } set { MarkValue = (byte)(MarkValue & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
public bool MarkCircle { get { return (MarkValue & (1 << 0)) == 1 << 0; } set { MarkValue = (byte)(MarkValue & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||||
public bool MarkTriangle { get { return (MarkValue & (1 << 1)) == 1 << 1; } set { MarkValue = (byte)(MarkValue & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
public bool MarkTriangle { get { return (MarkValue & (1 << 1)) == 1 << 1; } set { MarkValue = (byte)(MarkValue & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||||
public bool MarkSquare { get { return (MarkValue & (1 << 2)) == 1 << 2; } set { MarkValue = (byte)(MarkValue & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
public bool MarkSquare { get { return (MarkValue & (1 << 2)) == 1 << 2; } set { MarkValue = (byte)(MarkValue & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||||
|
|
Loading…
Reference in a new issue