mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
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)
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user