mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-03-21 17:48:28 -05:00
Update EncounterStatic9a.cs
This commit is contained in:
parent
31edf20c87
commit
61a13fda08
|
|
@ -144,7 +144,15 @@ public bool IsMatchExact(PKM pk, EvoCriteria evo)
|
|||
}
|
||||
|
||||
private bool IsMatchEggLocation(PKM pk) => pk.EggLocation == EggLocation;
|
||||
private bool IsMatchLocation(PKM pk) => pk.MetLocation == Location;
|
||||
private bool IsMatchLocation(PKM pk)
|
||||
{
|
||||
var loc = pk.MetLocation;
|
||||
if (loc == Location)
|
||||
return true;
|
||||
if (Species is (ushort)Core.Species.Meltan && loc == 00070) // Rouge Sector 1
|
||||
return true; // crossover (depends on player location)
|
||||
return false;
|
||||
}
|
||||
|
||||
public EncounterMatchRating GetMatchRating(PKM pk)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user