mirror of
https://github.com/kwsch/NLSE.git
synced 2026-04-24 23:47:23 -05:00
Fix Town Name writing offset
This is why you don't copy paste commit.
This commit is contained in:
parent
f30071246a
commit
f4d96f9bce
|
|
@ -172,7 +172,7 @@ public byte[] Write()
|
|||
Data[0x5C7B9] = (byte)((Data[0x5C7B9] & 0xFC) | TrainStationColor);
|
||||
Data[0x5C836] = (byte)NativeFruit;
|
||||
|
||||
Array.Copy(Encoding.Unicode.GetBytes(TownName.PadRight(9, '\0')), 0, Data, 0x55A8, 0x12);
|
||||
Array.Copy(Encoding.Unicode.GetBytes(TownName.PadRight(9, '\0')), 0, Data, 0x5C7BA, 0x12);
|
||||
Array.Copy(BitConverter.GetBytes(SecondsPlayed), 0, Data, 0x5C7B0, 4);
|
||||
Array.Copy(BitConverter.GetBytes(PlayDays), 0, Data, 0x5C83A, 2);
|
||||
return Data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user