You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pokémon Online relevant code: BattleBase::inflictConfusedDamage
GSC relevant code: in pret/pokecrystal, see the .confused label in CheckPlayerTurn/CheckEnemyTurn, it runs HitSelfInConfusion (sets appropriate registers to attack/defense after Reflect/level/40 base power), then runs BattleCommand_DamageCalc which checks type boosting items according to the move struct (e.g. not something self-confusion touches) which potentially procs type-boosting items, then after animation related code, sets c to 1 (to ignore Substitute) and runs PlayerHurtItself/EnemyHurtItself (to deal the damage). This means that PO does the following wrong:
It procs damage rolls
It doesn't proc type boosting items if the move you selected would have been affected by it
It ignores Reflect
The text was updated successfully, but these errors were encountered:
This isn't reflected in Pokémon Online.
Pokémon Online relevant code: BattleBase::inflictConfusedDamage
GSC relevant code: in pret/pokecrystal, see the .confused label in CheckPlayerTurn/CheckEnemyTurn, it runs HitSelfInConfusion (sets appropriate registers to attack/defense after Reflect/level/40 base power), then runs BattleCommand_DamageCalc which checks type boosting items according to the move struct (e.g. not something self-confusion touches) which potentially procs type-boosting items, then after animation related code, sets c to 1 (to ignore Substitute) and runs PlayerHurtItself/EnemyHurtItself (to deal the damage). This means that PO does the following wrong:
The text was updated successfully, but these errors were encountered: