Skip to content

Conversation

@jdunn596
Copy link

@jdunn596 jdunn596 commented Jan 5, 2026

Fixes #2514

After a discussion in #dev-bug-reports (thanks @flagrama @GSKirox, @aofengen) we've uncovered the issue where starting health was miscalcuated due to a bug in determining how much health to add relative to the number of currently collected heart pieces in save context. This change corrects this miscalcuation, while also updating the mask value to mirror decomp

Testing

Rolled a few seeds with a bunch of starting health items, both Pieces of Heart and Heart Containers, and observed the health value written to save context during generation. Also tested in-game to make sure the correct health value was written.

@fenhl fenhl added Type: Bug Something isn't working Component: Patching Affects the patching of the ROM labels Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Patching Affects the patching of the ROM Type: Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Starting Health Not Calculated Correctly

4 participants