All "errors" found by yours truly in src/battle_ai_util (no past issues are included here, to be updated) #6126
Labels
bug
Bug
category: battle-ai
Pertains to Battle Engine Upgrade's AI
status: unconfirmed
This bug has not been reproduced yet
Ping or DM me on discord to lmk when one or more of these have been PR'd so i can edit them out
In case you're wondering about battle_ai_switch_items, that has already been looked through by me and battle_ai_main has been looked through and outside of the TODOs it is fine
Steelsurge is not included in
IsHazardMoveEffect
Refactored IsSemiInvulnerable
Request: Change the ShouldSet[insert weather] functions to also check if a different weather is up and the opponent is using it
Also: Remove TYPE_STEEL and TYPE_GROUND from set sandstorm and TYPE_ICE from hail as they do not benefit from the weather
Why does HasThawingMove exist when you can just run CHECK_MOVE_FLAG(thawsUser)?
Make IsUngroundingEffect check for Skill Swap and Levitate on the opp
Added Sleep Talk in the sleep check in both functions
Added a check for a special move if the user has quick feet (pointless to burn if it halves your damage, not worth speed), can be argued that in a double battle with support moves or just hazard moves the added code should be removed
list expanded
Request: Have accuracy check if the user has any inaccurate moves in the image below
For future reference: in the image below, only check for magic bounce
It has been changed to include magic coat
Not tested, worth looking over: Added punching glove
ROM successfully compiles with all changes above
SShadowzLmao#3643
The text was updated successfully, but these errors were encountered: