mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 22:54:14 +00:00
Prefix marking property name
Alphabetically sorting properties now has them grouped together (for batch editor).
This commit is contained in:
parent
760468fcae
commit
07e4483ef7
3 changed files with 16 additions and 16 deletions
|
@ -197,10 +197,10 @@ namespace PKHeX
|
|||
EXP = IsEgg ? PKX.getEXP(5, Species) : EXP,
|
||||
IsEgg = false,
|
||||
OT_Friendship = 40,
|
||||
Circle = Circle,
|
||||
Square = Square,
|
||||
Triangle = Triangle,
|
||||
Heart = Heart,
|
||||
MarkCircle = MarkCircle,
|
||||
MarkSquare = MarkSquare,
|
||||
MarkTriangle = MarkTriangle,
|
||||
MarkHeart = MarkHeart,
|
||||
Language = Language,
|
||||
EV_HP = EV_HP,
|
||||
EV_ATK = EV_ATK,
|
||||
|
|
12
PKM/PK5.cs
12
PKM/PK5.cs
|
@ -339,12 +339,12 @@ namespace PKHeX
|
|||
if (HiddenAbility) pk6.AbilityNumber = 4; // Hidden, else G5 or G3/4 correlation.
|
||||
else pk6.AbilityNumber = Gen5 ? 1 << (int)(PID >> 16 & 1) : 1 << (int)(PID & 1);
|
||||
}
|
||||
pk6.Circle = Circle;
|
||||
pk6.Square = Square;
|
||||
pk6.Triangle = Triangle;
|
||||
pk6.Heart = Heart;
|
||||
pk6.Star = Star;
|
||||
pk6.Diamond = Diamond;
|
||||
pk6.MarkCircle = MarkCircle;
|
||||
pk6.MarkSquare = MarkSquare;
|
||||
pk6.MarkTriangle = MarkTriangle;
|
||||
pk6.MarkHeart = MarkHeart;
|
||||
pk6.MarkStar = MarkStar;
|
||||
pk6.MarkDiamond = MarkDiamond;
|
||||
pk6.Language = Language;
|
||||
|
||||
pk6.CNT_Cool = CNT_Cool;
|
||||
|
|
12
PKM/PKM.cs
12
PKM/PKM.cs
|
@ -154,12 +154,12 @@ namespace PKHeX
|
|||
public bool PKRS_Cured => PKRS_Days == 0 && PKRS_Strain > 0;
|
||||
public bool ChecksumValid => Checksum == CalculateChecksum();
|
||||
public int CurrentLevel => PKX.getLevel(Species, EXP);
|
||||
public bool Circle { get { return (MarkByte & (1 << 0)) == 1 << 0; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool Triangle { get { return (MarkByte & (1 << 1)) == 1 << 1; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool Square { get { return (MarkByte & (1 << 2)) == 1 << 2; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool Heart { get { return (MarkByte & (1 << 3)) == 1 << 3; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool Star { get { return (MarkByte & (1 << 4)) == 1 << 4; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool Diamond { get { return (MarkByte & (1 << 5)) == 1 << 5; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool MarkCircle { get { return (MarkByte & (1 << 0)) == 1 << 0; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool MarkTriangle { get { return (MarkByte & (1 << 1)) == 1 << 1; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool MarkSquare { get { return (MarkByte & (1 << 2)) == 1 << 2; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool MarkHeart { get { return (MarkByte & (1 << 3)) == 1 << 3; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool MarkStar { get { return (MarkByte & (1 << 4)) == 1 << 4; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public bool MarkDiamond { get { return (MarkByte & (1 << 5)) == 1 << 5; } set { MarkByte = (byte)(MarkByte & ~(1 << 0) | (value ? 1 << 0 : 0)); } }
|
||||
public Image Sprite => PKX.getSprite(this);
|
||||
public string ShowdownText => ShowdownSet.getShowdownText(this);
|
||||
public string[] QRText => PKX.getQRText(this);
|
||||
|
|
Loading…
Reference in a new issue