summaryrefslogtreecommitdiff
path: root/src/battle_ai_script_commands.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-12-09 11:56:50 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-12-09 11:56:50 +0100
commit4683cdc30cbe81db56b69dfeb7a1fb32fe6641e2 (patch)
treec7c791620bcb6849a24b549b4a5c48abec281c10 /src/battle_ai_script_commands.c
parent606fb71392651dac4f5f8773c4117f35de7b087e (diff)
parent0b91d2948a431a5d44166544897a550061c01a31 (diff)
Merge branch 'master' into weather
Diffstat (limited to 'src/battle_ai_script_commands.c')
-rw-r--r--src/battle_ai_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_ai_script_commands.c b/src/battle_ai_script_commands.c
index 3e7064eb5..a88189870 100644
--- a/src/battle_ai_script_commands.c
+++ b/src/battle_ai_script_commands.c
@@ -463,7 +463,7 @@ static u8 ChooseMoveOrAction_Doubles(void)
{
if (i == sBattler_AI || gBattleMons[i].hp == 0)
{
- actionOrMoveIndex[i] = -1;
+ actionOrMoveIndex[i] = 0xFF;
bestMovePointsForTarget[i] = -1;
}
else