Merge pull request #332 from DizzyEggg/patch-5

Use defines for BattleAI_ChooseMoveOrAction
This commit is contained in:
Diegoisawesome 2018-09-17 10:11:25 -05:00 committed by GitHub
commit 7f2d52d9e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: