diff options
author | garak <garakmon@gmail.com> | 2018-12-19 21:35:32 -0500 |
---|---|---|
committer | garak <garakmon@gmail.com> | 2018-12-19 21:35:32 -0500 |
commit | af208a6bbb671cbf471d08856994470e707c5051 (patch) | |
tree | 9a57703eecf8c18f444454f2fae8f5dccf19d408 /src/battle_ai_script_commands.c | |
parent | 7e170a06cc3155a6a8785af0b910434e5ab43d2b (diff) | |
parent | f801eed3a84862d88af0d5e43c6b6754e36001f2 (diff) |
Merge branch 'fldeff' of https://github.com/garakmon/pokeemerald into fldeff
Diffstat (limited to 'src/battle_ai_script_commands.c')
-rw-r--r-- | src/battle_ai_script_commands.c | 2 |
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 |