IsMoveEffectInPlus wrong stat Id check #5197
Labels
bug
Bug
category: battle-ai
Pertains to Battle Engine Upgrade's AI
status: unconfirmed
This bug has not been reproduced yet
Description
https://github.com/rh-hideout/pokeemerald-expansion/blob/e4c81ba6e0fb353589262869b09f7fac4bf87c5c/src/battle_ai_util.c#L848> should read
if (ShouldLowerStat(battlerDef, STAT_ATK + (gMovesInfo[move].additionalEffects[i].moveEffect - MOVE_EFFECT_ATK_MINUS_2)) && noOfHitsToKo != 1)
instead (MOVE_EFFECT_ATK_MINUS_1 --> MOVE_EFFECT_ATK_MINUS_2)Version
1.9.0 (Latest release)
Upcoming/master Version
No response
Discord contact info
No response
The text was updated successfully, but these errors were encountered: