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

Changes taget bit of Flower Shield #5698

Merged
merged 2 commits into from
Nov 23, 2024

Conversation

AlexOn1ine
Copy link
Collaborator

Description

MOVE_TARGET_ALL_BATTLERS can't be applied to status moves since they handle the targeting through their own script. This is not ideal because it isn't trivial to make status moves that apply to all battlers but would need a refactor first.

This PR replaces the target bit with MOVE_TARGET_USER. It didn't manifest in expansion but caused a bug in the simultaneous hp reduction branch.

@AlexOn1ine AlexOn1ine added category: battle-mechanic Pertains to battle mechanics type: cleanup labels Nov 21, 2024
@AlexOn1ine AlexOn1ine closed this Nov 21, 2024
@AlexOn1ine AlexOn1ine deleted the flowerShieldTarget branch November 21, 2024 22:33
@AlexOn1ine AlexOn1ine restored the flowerShieldTarget branch November 21, 2024 22:35
@AlexOn1ine AlexOn1ine reopened this Nov 21, 2024
Copy link
Collaborator

@Pawkkie Pawkkie left a comment

Choose a reason for hiding this comment

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

Is this refactor of sufficient priority / interest that it's worth making a new-feature issue for?

@Pawkkie Pawkkie merged commit 194f764 into rh-hideout:upcoming Nov 23, 2024
2 checks passed
iriv24 pushed a commit to iriv24/pokeemerald-expansion that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: battle-mechanic Pertains to battle mechanics type: cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants