rh-hideout / pokeemerald-expansion

Feature branche for the pokeemerald decompilation. See the wiki for more info.
372 stars 1.21k forks source link

Blunder Policy + Immunities bug #5718

Closed TerraPrograms closed 2 days ago

TerraPrograms commented 4 days ago

Description

As an example, if a Pokemon with Blunder Policy uses Focus Blast against a Ghost Type, it will sometimes activate the Blunder Policy, despite it only activating on misses due to accuracy check. The intended interaction is Blunder Policy never activating. Source: https://bulbapedia.bulbagarden.net/wiki/Blunder_Policy

What I suspect happening here is that when Focus Blast would internally evaluate as a miss, it will activate Blunder Policy regardless. If you set Focus Blast accuracy to 1 for testing purposes, it activates much more.

Version

1.9.3 (Latest release)

Upcoming/master Version

No response

Discord contact info

..terra..

mrgriffin commented 4 days ago

What's the expected behavior when holding Blunder Policy and using Focus Blast against a Ghost-type?

Should the Blunder Policy never activate or should it always activate (or something else)?

TerraPrograms commented 4 days ago

What's the expected behavior when holding Blunder Policy and using Focus Blast against a Ghost-type?

Should the Blunder Policy never activate or should it always activate (or something else)?

Blunder Policy should never activate in that case. Apologies for the unclear descriptions. Edited the Post :)

AlexOn1ine commented 3 days ago

What should happen in case of protect?

ShadowzLmao2 commented 3 days ago

What should happen in case of protect?

It should also not activate.