diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-12-08 21:44:12 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-08 21:44:12 -0600 |
commit | 0b91d2948a431a5d44166544897a550061c01a31 (patch) | |
tree | 6e590fbd965b8cd96852ec36474a6841a74dc9b8 /src/battle_ai_script_commands.c | |
parent | 88ffb0976571c8782a5e632df79d34b7260882c9 (diff) | |
parent | cceb8ac3314c9ba5a48d0b69bc39c41080335119 (diff) |
Merge pull request #429 from nullableVoidPtr/master
Various fixes and cleanups
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 |