Skip to content

Commit

Permalink
Merge pull request #332 from DizzyEggg/patch-5
Browse files Browse the repository at this point in the history
Use defines for BattleAI_ChooseMoveOrAction
  • Loading branch information
diegoisawesome authored Sep 17, 2018
2 parents 6978a89 + 5164215 commit 7f2d52d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/battle_controller_opponent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7f2d52d

Please sign in to comment.