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

Verify and document another bug in the catching formula #1148

Open
Grate-Oracle-Lewot opened this issue Nov 7, 2024 · 0 comments
Open

Verify and document another bug in the catching formula #1148

Grate-Oracle-Lewot opened this issue Nov 7, 2024 · 0 comments
Labels

Comments

@Grate-Oracle-Lewot
Copy link

According to this article... https://www.dragonflycave.com/mechanics/gen-ii-capturing

...a wild Pokemon with more than 341 max HP will cause errors in the catching formula, including possible game freezes due to division by 0. The article explains the mechanics of the error in detail, but I don't understand the assembly commands well enough to verify or fix it myself, so the most I can do is bring attention to it.

No wild Pokemon in vanilla can have this much HP, which is probably why this has gone unnoticed. But wild Chansey or Blissey exceeding Lv50 or so will start to enter this range, and that's hardly an unreasonable thing for someone to put in their hack.

This was originally brought up by Pyrois in the Discord server, who found it on Bulbapedia, which seems to have gotten it from the article linked above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants