Skip to content

Commit

Permalink
Fix Prepare & Retry Overturn.
Browse files Browse the repository at this point in the history
  • Loading branch information
TopazTK committed Oct 5, 2023
1 parent f163a6c commit 5a96fc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions KH2/Functions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,9 @@ public static void RetryPrompt()
{
Helpers.Log("Switched to Prepare Mode! Destroying...", 0);

var _currentSave = Hypervisor.ReadArray(Hypervisor.PureAddress + 0x7A0000, 0x10FC0, true);
Hypervisor.WriteArray(Variables.ADDR_SaveData, _currentSave);

Hypervisor.WriteArray(Hypervisor.PureAddress + Variables.ADDR_WarpINST, _nullArray, true);
Hypervisor.WriteArray(Hypervisor.PureAddress + Variables.ADDR_InventoryINST, new byte[] { 0x48, 0x8D, 0x15 }, true);

Expand Down

0 comments on commit 5a96fc4

Please sign in to comment.