mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Fix event flag retrieval
Thanks CaliberDR!
This commit is contained in:
parent
3f5d8fad95
commit
0dd6b05f1d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue