mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Update EncounterTrade1.cs
This commit is contained in:
parent
4db6661ffd
commit
24346cc4e1
1 changed files with 3 additions and 2 deletions
|
@ -45,8 +45,6 @@
|
||||||
{
|
{
|
||||||
if (Level > pkm.CurrentLevel) // minimum required level
|
if (Level > pkm.CurrentLevel) // minimum required level
|
||||||
return false;
|
return false;
|
||||||
if (!(pkm is PK1 pk1) || !pkm.Gen1_NotTradeback)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
if (Version == GameVersion.BU)
|
if (Version == GameVersion.BU)
|
||||||
{
|
{
|
||||||
|
@ -58,6 +56,9 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!(pkm is PK1 pk1) || !pkm.Gen1_NotTradeback)
|
||||||
|
return true;
|
||||||
|
|
||||||
var req = GetInitialCatchRate();
|
var req = GetInitialCatchRate();
|
||||||
return req == pk1.Catch_Rate;
|
return req == pk1.Catch_Rate;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue