mirror of https://github.com/pret/pokeemerald.git
Merge pull request #332 from DizzyEggg/patch-5
Use defines for BattleAI_ChooseMoveOrAction
This commit is contained in:
commit
7f2d52d9e0
|
@ -1552,10 +1552,10 @@ static void OpponentHandleChooseMove(void)
|
|||
|
||||
switch (chosenMoveId)
|
||||
{
|
||||
case 5:
|
||||
case AI_CHOICE_WATCH:
|
||||
BtlController_EmitTwoReturnValues(1, B_ACTION_SAFARI_WATCH_CAREFULLY, 0);
|
||||
break;
|
||||
case 4:
|
||||
case AI_CHOICE_FLEE:
|
||||
BtlController_EmitTwoReturnValues(1, B_ACTION_RUN, 0);
|
||||
break;
|
||||
case 6:
|
||||
|
|
Loading…
Reference in New Issue