diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-08-21 02:36:48 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-08-21 02:36:48 -0400 |
commit | 469ec5f248ce3f3708940dfaedcb1b1c2d6d3380 (patch) | |
tree | 7df808adb6a7da6cfd764bd7996a94bb7858519e /src/contest_effect.c | |
parent | 6c34effda93c67a37895e79b684b31b3cb9a2a88 (diff) |
Document contest AI commands
Diffstat (limited to 'src/contest_effect.c')
-rw-r--r-- | src/contest_effect.c | 5 |
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; |