Skip to content

Conversation

@briaguya0
Copy link
Contributor

@briaguya0 briaguya0 commented Feb 28, 2023

something strange happened with #2510, this should have merge conflicts resolved cleanly

Build Artifacts

Comment on lines +91 to +93
Rupees_ChangeBy(-1);
} else {
Health_ChangeBy(gPlayState, -16);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dcvz should we use GameInteractor::RawAction here instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my guess is no because we want to actually be able to go down to 0 health with it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually can! GameInteractor::RawAction::HealOrDamagePlayer takes in a parameter of the number of hearts positive or negative. 1 here is 0x10 which is 16. So it would work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i looked into that and it seems like there's some extra logic in there with invincibility that i'm not sure we want to have for this

@briaguya0 briaguya0 merged commit 7f5221b into HarbourMasters:develop Feb 28, 2023
@dcvz dcvz mentioned this pull request Feb 28, 2023
@briaguya0 briaguya0 deleted the supersonic-merge-fixes branch March 1, 2023 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants