summaryrefslogtreecommitdiff
path: root/src/contest_effect.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-21 02:36:48 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-08-21 02:36:48 -0400
commit469ec5f248ce3f3708940dfaedcb1b1c2d6d3380 (patch)
tree7df808adb6a7da6cfd764bd7996a94bb7858519e /src/contest_effect.c
parent6c34effda93c67a37895e79b684b31b3cb9a2a88 (diff)
Document contest AI commands
Diffstat (limited to 'src/contest_effect.c')
-rw-r--r--src/contest_effect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/contest_effect.c b/src/contest_effect.c
index 8d1bbb298..1fe21daab 100644
--- a/src/contest_effect.c
+++ b/src/contest_effect.c
@@ -68,7 +68,10 @@ bool8 AreMovesContestCombo(u16 lastMove, u16 nextMove)
if (lastMoveComboStarterId == 0)
return FALSE;
- else if (lastMoveComboStarterId == nextMoveComboMoves[0] || lastMoveComboStarterId == nextMoveComboMoves[1] || lastMoveComboStarterId == nextMoveComboMoves[2] || lastMoveComboStarterId == nextMoveComboMoves[3])
+ else if (lastMoveComboStarterId == nextMoveComboMoves[0]
+ || lastMoveComboStarterId == nextMoveComboMoves[1]
+ || lastMoveComboStarterId == nextMoveComboMoves[2]
+ || lastMoveComboStarterId == nextMoveComboMoves[3])
return gComboStarterLookupTable[lastMoveComboStarterId];
else
return FALSE;