Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supersonic merge fixes #2553

Merged
merged 20 commits into from
Feb 28, 2023

Conversation

briaguya-ai
Copy link
Contributor

@briaguya-ai briaguya-ai 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

@briaguya-ai briaguya-ai merged commit 7f5221b into HarbourMasters:develop Feb 28, 2023
@dcvz dcvz mentioned this pull request Feb 28, 2023
@briaguya-ai briaguya-ai 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.

None yet

3 participants