Use defines for BattleAI_ChooseMoveOrAction

This commit is contained in:
DizzyEggg 2018-09-16 17:06:35 +02:00 committed by GitHub
parent 6a8f27c1ac
commit 5164215c91
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) switch (chosenMoveId)
{ {
case 5: case AI_CHOICE_WATCH:
BtlController_EmitTwoReturnValues(1, B_ACTION_SAFARI_WATCH_CAREFULLY, 0); BtlController_EmitTwoReturnValues(1, B_ACTION_SAFARI_WATCH_CAREFULLY, 0);
break; break;
case 4: case AI_CHOICE_FLEE:
BtlController_EmitTwoReturnValues(1, B_ACTION_RUN, 0); BtlController_EmitTwoReturnValues(1, B_ACTION_RUN, 0);
break; break;
case 6: case 6: