Skip to content

Commit

Permalink
Fix Less Status AI Flag
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamAquasHideout committed Jan 1, 2025
1 parent 0f2216c commit aaa7d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_ai_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3288,7 +3288,7 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move)

// check status move preference
if (AI_THINKING_STRUCT->aiFlags[battlerAtk] & AI_FLAG_DONT_PREFER_STATUS_MOVES && IS_MOVE_STATUS(move) && effectiveness != AI_EFFECTIVENESS_x0)
ADJUST_SCORE(-5);
ADJUST_SCORE(-2);

// check thawing moves
if ((gBattleMons[battlerAtk].status1 & (STATUS1_FREEZE | STATUS1_FROSTBITE)) && gMovesInfo[move].thawsUser)
Expand Down

0 comments on commit aaa7d68

Please sign in to comment.