mirror of
https://github.com/suloku/BW_tool.git
synced 2026-09-07 08:36:19 -05:00
Merge pull request #5 from Bl4ckSh4rk/master
added missing trainer name/id/sid offsets to Memory Link Editor
This commit is contained in:
@@ -464,6 +464,7 @@ namespace BW_tool
|
||||
.Replace("\u0027", "\u2019") // farfetch'd
|
||||
.PadRight(value.Length + 1, (char)0xFFFF); // Null Terminator
|
||||
Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x48);
|
||||
Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x60);
|
||||
Encoding.Unicode.GetBytes(TempNick).CopyTo(Data, 0x78);
|
||||
}
|
||||
}
|
||||
@@ -476,6 +477,7 @@ namespace BW_tool
|
||||
set
|
||||
{
|
||||
setData(BitConverter.GetBytes((UInt16)value), 0x44);
|
||||
setData(BitConverter.GetBytes((UInt16)value), 0x5C);
|
||||
setData(BitConverter.GetBytes((UInt16)value), 0x74);
|
||||
}
|
||||
}
|
||||
@@ -488,6 +490,7 @@ namespace BW_tool
|
||||
set
|
||||
{
|
||||
setData(BitConverter.GetBytes((UInt16)value), 0x46);
|
||||
setData(BitConverter.GetBytes((UInt16)value), 0x5E);
|
||||
setData(BitConverter.GetBytes((UInt16)value), 0x76);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user