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

B_LAST_USED_BALL and .importance #5834

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

AERDU
Copy link

@AERDU AERDU commented Dec 20, 2024

Description

Using B_LAST_USED_BALL does not take importance into consideration.
This patch fixes it and will not run RemoveBagItem if it sees the item (probably a ball) has .importance = 1.

Useful for projects that have some sort of infinite pokeball item.

Feature(s) this PR does NOT handle:

If something like "last healing item" exists, this does not cover it.

Things to note in the release changelog:

  • prevents B_LAST_USED_BALL from removing balls with .importance = 1

disc

47929991024

@AlexOn1ine AlexOn1ine merged commit a797e90 into rh-hideout:master Dec 20, 2024
1 check passed
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.

2 participants