mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-06-03 05:04:12 -05:00
fix egg seed writeback endianness
only was a problem if users modified the egg seed remove extra reverse that undid everything
This commit is contained in:
parent
7184961b69
commit
b8b5b36903
|
|
@ -847,7 +847,7 @@ public override void setDaycareRNGSeed(int loc, string seed)
|
|||
.Where(x => x % 2 == 0)
|
||||
.Reverse()
|
||||
.Select(x => Convert.ToByte(seed.Substring(x, 2), 16))
|
||||
.Reverse().ToArray().CopyTo(Data, Daycare + 0x1DC);
|
||||
.ToArray().CopyTo(Data, Daycare + 0x1DC);
|
||||
}
|
||||
public override void setDaycareHasEgg(int loc, bool hasEgg)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user