Update EncounterStatic9a.cs

This commit is contained in:
Kurt 2025-12-21 14:20:27 -06:00
parent 31edf20c87
commit 61a13fda08

View File

@ -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)
{