mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-31 13:46:09 -05:00
Tweak egg prerequisites
Moved Met Level check into the encounter check, don't care about it for checking an egg's relearn moves.
This commit is contained in:
parent
5b87114a2a
commit
d1e98cb429
|
|
@ -745,8 +745,9 @@ public void TradeFriendshipAffection(string SAV_TRAINER)
|
|||
|
||||
// Legality Properties
|
||||
public bool WasLink => Met_Location == 30011;
|
||||
public bool WasEgg => Legal.EggLocations.Contains(Egg_Location) && Met_Level == 1;
|
||||
public bool WasEgg => Legal.EggLocations.Contains(Egg_Location);
|
||||
public bool WasEvent => FatefulEncounter && Met_Location > 40000;
|
||||
public bool WasEventEgg => FatefulEncounter && (Egg_Location > 40000 || Egg_Location == 30002) && Met_Level == 1;
|
||||
public bool WasTradedEgg => Egg_Location == 30002;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user