mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-03 17:29:13 +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
|
||||
return false;
|
||||
if (!(pkm is PK1 pk1) || !pkm.Gen1_NotTradeback)
|
||||
return true;
|
||||
|
||||
if (Version == GameVersion.BU)
|
||||
{
|
||||
|
@ -58,6 +56,9 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!(pkm is PK1 pk1) || !pkm.Gen1_NotTradeback)
|
||||
return true;
|
||||
|
||||
var req = GetInitialCatchRate();
|
||||
return req == pk1.Catch_Rate;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue