mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
Fix z coordinate writeback
This commit is contained in:
parent
30914d00ee
commit
09a41f66ba
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user