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

Moved Item Effects to gItems #3991

Merged

Conversation

AsparagusEduardo
Copy link
Collaborator

Description

Also removed some redundant item effects.

Feature(s) this PR does NOT handle:

Does not refactor the item effect system, just moves where the data is obtained.

Discord contact info

AsparagusEduardo

@@ -36,20 +36,12 @@ const u8 gItemEffect_MaxPotion[7] = {

const u8 gItemEffect_HyperPotion[7] = {
[4] = ITEM4_HEAL_HP,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Out of scope for this PR obviously, but I really feel like the array indices should not be magic numbers supported by a comment and rather be easier through use through defines or macros or something

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If someone is able to do so, they should PR it to pret :)

@Bassoonian Bassoonian merged commit 9445953 into rh-hideout:upcoming Jan 14, 2024
1 check passed
@AsparagusEduardo AsparagusEduardo deleted the _RHH/pr/upcoming/ItemEffects branch January 14, 2024 17:33
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