Skip to content

Commit

Permalink
Added ability to edit Black Market items.
Browse files Browse the repository at this point in the history
Fixed broken Gamecube Chao checksum calculating implementation that I broke at some point.
  • Loading branch information
dfrood committed Jun 9, 2019
1 parent 9292374 commit e07b0a7
Show file tree
Hide file tree
Showing 13 changed files with 8,216 additions and 137 deletions.
4 changes: 2 additions & 2 deletions SA2SaveUtility/ChaoSave.cs
Expand Up @@ -861,8 +861,8 @@ public static byte[] ByteSwapChao(byte[] chao)
public static byte[] ByteSwapChaoWorld(byte[] save)
{
List<byte> byteArray = save.ToList();
byteArray.Reverse(0x3A50, 4);
byteArray.Reverse(0x3A54, 4);
byteArray.Reverse((int)offsets.chaoSave.MarketCount, 4);
byteArray.Reverse((int)offsets.chaoSave.HeldCount, 4);
return byteArray.ToArray();
}

Expand Down
32 changes: 16 additions & 16 deletions SA2SaveUtility/HeldItems.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e07b0a7

Please sign in to comment.