mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 00:13:10 +00:00
parent
12187a5128
commit
496cc35f97
4 changed files with 4 additions and 4 deletions
|
@ -189,7 +189,7 @@ namespace PKHeX.Core
|
|||
// Generated Attributes
|
||||
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
||||
public override int TSV => (TID ^ SID) >> 3;
|
||||
public bool Japanese => Language == 1;
|
||||
public override bool Japanese => Language == 1;
|
||||
|
||||
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 PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 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 WasIngameTrade => Met_Location == 254; // Trade
|
||||
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
|
||||
public override int PSV => (int)((PID >> 16 ^ PID & 0xFFFF) >> 3);
|
||||
public override int TSV => (TID ^ SID) >> 3;
|
||||
public bool Japanese => Language == 1;
|
||||
public override bool Japanese => Language == 1;
|
||||
|
||||
protected override byte[] Encrypt()
|
||||
{
|
||||
|
|
|
@ -102,7 +102,7 @@ namespace PKHeX.Core
|
|||
Y[64].CatchRate = 96; // Kadabra
|
||||
|
||||
// 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;
|
||||
}
|
||||
private static void PopulateGen3Tutors()
|
||||
|
|
Loading…
Reference in a new issue