/// <inheritdoc /> public override bool IsMatchLocation(int location) { if (Location == location) { return(true); } // get all other areas that can bleed encounters to the met location if (!ConnectingArea8.TryGetValue(location, out var others)) { return(false); } return(others.Contains((byte)location)); }
/// <inheritdoc /> public override bool IsMatchLocation(int location) { if (Location == location) { return(true); } if (!PermitCrossover) { return(false); } // Get all other areas that the Location can bleed encounters to if (!ConnectingArea8.TryGetValue(Location, out var others)) { return(false); } // Check if any of the other areas are the met location return(others.Contains((byte)location)); }