Skip to content

Commit

Permalink
Fix: Remove internal save check for mystery milk quest on cycle reset. (
Browse files Browse the repository at this point in the history
#64)

We wish to always remove mystery milk since we never give refills.
  • Loading branch information
PhlexPlexico authored Apr 15, 2024
1 parent d5107eb commit 24ca95e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/mm.ld
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ SECTIONS{
*(.patch_DoNotRemoveKeys)
}

.patch_RemoveMysteryMilkFlagCheck 0x1C987C : {
*(.patch_RemoveMysteryMilkFlagCheck)
}

.patch_DoNotGiveSwordBackOnReset 0x1C98DC : {
*(.patch_DoNotGiveSwordBackOnReset)
}
Expand Down
6 changes: 6 additions & 0 deletions code/source/asm/patches.s
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ patch_BlastMaskCooldown:
patch_RemoveRemainsStateCheck:
b hook_RemainsCheckValue

@ Remove the check for anonymous_153 in the save statements and ALWAYS remove mystery/spoiled milk from inventory.
.section .patch_RemoveMysteryMilkFlagCheck
.global patch_RemoveMysteryMilkFlagCheck
patch_RemoveMysteryMilkFlagCheck:
b 0x1C997C

.section .patch_OverrideBomberTextID
.global OverrideBomberTextID_patch
OverrideBomberTextID_patch:
Expand Down

0 comments on commit 24ca95e

Please sign in to comment.