PK4: Fix DP met location write

Closes #3431
This commit is contained in:
Kurt 2022-02-11 16:28:51 -08:00
parent 574a7f43a0
commit cedf13c343

View file

@ -205,8 +205,8 @@ namespace PKHeX.Core
else
{
int pthgss = PtHGSS ? value : 0; // only set to PtHGSS loc if encountered in game
Egg_LocationDP = (ushort)pthgss;
Egg_LocationExtended = (ushort)value;
Egg_LocationDP = (ushort)value;
Egg_LocationExtended = (ushort)pthgss;
}
}
}
@ -235,8 +235,8 @@ namespace PKHeX.Core
else
{
int pthgss = PtHGSS ? value : 0; // only set to PtHGSS loc if encountered in game
Met_LocationDP = (ushort)pthgss;
Met_LocationExtended = (ushort)value;
Met_LocationDP = (ushort)value;
Met_LocationExtended = (ushort)pthgss;
}
}
}