mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 00:28:58 -05:00
Update EncounterSlot8GO.cs
This commit is contained in:
@@ -38,9 +38,9 @@ public bool IsWithinStartEnd(int y, int m, int d)
|
||||
public bool IsWithinStartEnd(int stamp)
|
||||
{
|
||||
if (End == 0)
|
||||
return stamp >= Start;
|
||||
return Start <= stamp;
|
||||
if (Start == 0)
|
||||
return stamp <= Start;
|
||||
return stamp <= End;
|
||||
return Start <= stamp && stamp <= End;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user