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

Fix roamers having 0 hp on repeat encounters #6366

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danaYatsuta
Copy link

Description

Fixes #5805, which is consistently reproducible by:

  1. Encountering a roamer;
  2. Letting it flee;
  3. Encountering a roamer of the same species again.

The fix is to ensure that ZeroEnemyPartyMons is called after UpdateRoamerHPStatus.

Images

Demonstration of the bug (mGBA 10.4, expansion 1.10):

mgba.webm

Issue(s) that this PR fixes

Fixes #5805.

Discord contact info

yyatsuta

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.

[ROMAER] Potential HP and Status issue
1 participant