mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-19 04:11:16 -05:00
CXD location on hover
CXD is a stored version and does not contain others
This commit is contained in:
parent
5f4cf2af29
commit
d222d4bb2e
|
|
@ -786,7 +786,7 @@ private static byte GetGeneration(byte generation, bool isEggLocation, byte form
|
|||
public ILocationSet? GetLocations(byte generation, GameVersion version) => generation switch
|
||||
{
|
||||
2 => Gen2,
|
||||
3 => GameVersion.CXD.Contains(version) ? CXD : Gen3,
|
||||
3 => version is (GameVersion.COLO or GameVersion.XD or GameVersion.CXD) ? CXD : Gen3,
|
||||
4 => Gen4,
|
||||
5 => Gen5,
|
||||
6 => Gen6,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user