Fix event flag retrieval

Thanks CaliberDR!
This commit is contained in:
Kaphotics 2016-08-03 17:56:15 -07:00
parent 3f5d8fad95
commit 0dd6b05f1d

View file

@ -235,7 +235,7 @@ namespace PKHeX
ushort[] Constants = new ushort[EventConstMax]; ushort[] Constants = new ushort[EventConstMax];
for (int i = 0; i < Constants.Length; i++) for (int i = 0; i < Constants.Length; i++)
Constants[i] = BitConverter.ToUInt16(Data, EventConst + i); Constants[i] = BitConverter.ToUInt16(Data, EventConst + i * 2);
return Constants; return Constants;
} }
set set