Update EncounterArea7g/8g

Now properly grabs forms for Unown, Arceus, Vivillon, and Silvally.
This commit is contained in:
sora10pls 2021-03-03 17:45:18 -05:00
parent 77aefbf20d
commit 9ee27aaf8f
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ namespace PKHeX.Core
private static EncounterArea7g GetArea(byte[] data)
{
var sf = BitConverter.ToInt16(data, 0);
var sf = BitConverter.ToUInt16(data, 0);
int species = sf & 0x7FF;
int form = sf >> 11;

View file

@ -35,7 +35,7 @@ namespace PKHeX.Core
private static EncounterArea8g GetArea(byte[] data)
{
var sf = BitConverter.ToInt16(data, 0);
var sf = BitConverter.ToUInt16(data, 0);
int species = sf & 0x7FF;
int form = sf >> 11;