diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-09-16 17:06:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-16 17:06:35 +0200 |
commit | 5164215c9123824c9c6579a9c6ea0ef859e40a2f (patch) | |
tree | f734a24639a758e907d0c618850aa2d20fb3c924 /src | |
parent | 6a8f27c1ac53c8b1d5d1010643781c90eef337c5 (diff) |
Use defines for BattleAI_ChooseMoveOrAction
Diffstat (limited to 'src')
-rw-r--r-- | src/battle_controller_opponent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_controller_opponent.c b/src/battle_controller_opponent.c index 3c126aeec..b3179ed3d 100644 --- a/src/battle_controller_opponent.c +++ b/src/battle_controller_opponent.c @@ -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: |