mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 01:25:13 -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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user