mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Merge branch 'ai_switch_mon_fix' of https://github.com/DizzyEggg/pokeemerald into ai_switch_mon_fix
This commit is contained in:
commit
00e1542cb8
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user