Merge branch 'ai_switch_mon_fix' of https://github.com/DizzyEggg/pokeemerald into ai_switch_mon_fix

This commit is contained in:
DizzyEggg 2023-08-29 10:42:07 +02:00
commit 00e1542cb8

View File

@ -508,7 +508,7 @@ static u8 ChooseMoveOrAction_Singles(void)
gActiveBattler = sBattler_AI; gActiveBattler = sBattler_AI;
// Swith mon if there are no good moves to use. // Switch mon if there are no good moves to use.
if (AI_ShouldSwitchIfBadMoves(sBattler_AI, FALSE)) if (AI_ShouldSwitchIfBadMoves(sBattler_AI, FALSE))
return AI_CHOICE_SWITCH; return AI_CHOICE_SWITCH;