From 09a41f66bae60752c03e9bcc76a5bbe7d2ed3951 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 3 Dec 2017 07:12:52 -0800 Subject: [PATCH] Fix z coordinate writeback --- PKHeX.Core/Saves/SAV6.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Saves/SAV6.cs b/PKHeX.Core/Saves/SAV6.cs index 3040a1330..296b7d3d9 100644 --- a/PKHeX.Core/Saves/SAV6.cs +++ b/PKHeX.Core/Saves/SAV6.cs @@ -462,7 +462,7 @@ public float Z get => BitConverter.ToSingle(Data, Trainer1 + 0x14); set { - var val = BitConverter.GetBytes(value * 18); + var val = BitConverter.GetBytes(value); val.CopyTo(Data, Trainer1 + 0x14); val.CopyTo(Data, Trainer1 + 0x14 + 0xF4); }