What type of bug are you reporting? Mechanics
What is the bug?
Gen 3 (and 2):
Confusion self hit does not halve user's defense when Explosion/Self Destruct is selected. It is documented in several online sources (bulbapedia 1, bulbapedia 2) that if you select explosion/self destruct, and hit yourself in confusion, then the defense halving effect of these moves gets applied during the self hit damage calculation.
As seen in the below replay, when a confused Metagross hits itself in confusion after selecting Psych Up, it hits itself for roughly 10-12% damage. When hitting itself in confusion when clicking Explosion however, the same amount of damage is inflicted, without applying the defense halving effect of Explosion.
https://replay.pokemonshowdown.com/gen3ou-2425716169
Are you able to replicate it? If so, how?
Yes, using the two teams linked below will allow you to test this very easily. It may take a few attempts since confusion self hit is not a sure thing, but it is quickly identifiable when it happens.
https://pokepast.es/9e92ff16255269ed
https://pokepast.es/cd9f8e629b3698ab
What is the bug?
Gen 3 (and 2):
Confusion self hit does not halve user's defense when Explosion/Self Destruct is selected. It is documented in several online sources (bulbapedia 1, bulbapedia 2) that if you select explosion/self destruct, and hit yourself in confusion, then the defense halving effect of these moves gets applied during the self hit damage calculation.
As seen in the below replay, when a confused Metagross hits itself in confusion after selecting Psych Up, it hits itself for roughly 10-12% damage. When hitting itself in confusion when clicking Explosion however, the same amount of damage is inflicted, without applying the defense halving effect of Explosion.
https://replay.pokemonshowdown.com/gen3ou-2425716169

Are you able to replicate it? If so, how?
Yes, using the two teams linked below will allow you to test this very easily. It may take a few attempts since confusion self hit is not a sure thing, but it is quickly identifiable when it happens.
https://pokepast.es/9e92ff16255269ed
https://pokepast.es/cd9f8e629b3698ab