mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-25 03:47:09 +00:00
parent
12187a5128
commit
496cc35f97
4 changed files with 4 additions and 4 deletions
|
@ -189,7 +189,7 @@ namespace PKHeX.Core
|
||||||
// Generated Attributes
|
// Generated Attributes
|
||||||
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
||||||
public override int TSV => (TID ^ SID) >> 3;
|
public override int TSV => (TID ^ SID) >> 3;
|
||||||
public bool Japanese => Language == 1;
|
public override bool Japanese => Language == 1;
|
||||||
|
|
||||||
protected override byte[] Encrypt()
|
protected override byte[] Encrypt()
|
||||||
{
|
{
|
||||||
|
|
|
@ -156,7 +156,7 @@ namespace PKHeX.Core
|
||||||
public override int AbilityNumber { get => 1 << (AbilityBit ? 1 : 0); set => AbilityBit = value > 1; } // 1/2 -> 0/1
|
public override int AbilityNumber { get => 1 << (AbilityBit ? 1 : 0); set => AbilityBit = value > 1; } // 1/2 -> 0/1
|
||||||
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
||||||
public override int TSV => (TID ^ SID) >> 3;
|
public override int TSV => (TID ^ SID) >> 3;
|
||||||
public bool Japanese => IsEgg || Language == 1;
|
public override bool Japanese => IsEgg || Language == 1;
|
||||||
public override bool WasEvent => Met_Location == 255; // Fateful
|
public override bool WasEvent => Met_Location == 255; // Fateful
|
||||||
public override bool WasIngameTrade => Met_Location == 254; // Trade
|
public override bool WasIngameTrade => Met_Location == 254; // Trade
|
||||||
public override bool WasGiftEgg => IsEgg && Met_Location == 253; // Gift Egg, indistinguible from normal eggs after hatch
|
public override bool WasGiftEgg => IsEgg && Met_Location == 253; // Gift Egg, indistinguible from normal eggs after hatch
|
||||||
|
|
|
@ -195,7 +195,7 @@ namespace PKHeX.Core
|
||||||
// Generated Attributes
|
// Generated Attributes
|
||||||
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
||||||
public override int TSV => (TID ^ SID) >> 3;
|
public override int TSV => (TID ^ SID) >> 3;
|
||||||
public bool Japanese => Language == 1;
|
public override bool Japanese => Language == 1;
|
||||||
|
|
||||||
protected override byte[] Encrypt()
|
protected override byte[] Encrypt()
|
||||||
{
|
{
|
||||||
|
|
|
@ -102,7 +102,7 @@ namespace PKHeX.Core
|
||||||
Y[64].CatchRate = 96; // Kadabra
|
Y[64].CatchRate = 96; // Kadabra
|
||||||
|
|
||||||
// Load Gen2 Gender Ratios into Gen1
|
// Load Gen2 Gender Ratios into Gen1
|
||||||
for (int i = 0; i < 151; i++)
|
for (int i = 0; i <= Legal.MaxSpeciesID_1; i++)
|
||||||
RB[i].Gender = Y[i].Gender = GS[i].Gender;
|
RB[i].Gender = Y[i].Gender = GS[i].Gender;
|
||||||
}
|
}
|
||||||
private static void PopulateGen3Tutors()
|
private static void PopulateGen3Tutors()
|
||||||
|
|
Loading…
Add table
Reference in a new issue