Make contest effect table easier to edit in the future
This commit is contained in:
parent
c72b55a5c4
commit
0c7063c5ba
2 changed files with 2836 additions and 360 deletions
|
@ -67,12 +67,11 @@ bool8 AreMovesContestCombo(u16 lastMove, u16 nextMove)
|
|||
nextMoveComboMoves[3] = gContestMoves[nextMove].comboMoves[3];
|
||||
|
||||
if (lastMoveComboStarterId == 0)
|
||||
return 0;
|
||||
|
||||
if (lastMoveComboStarterId == nextMoveComboMoves[0] || lastMoveComboStarterId == nextMoveComboMoves[1] || lastMoveComboStarterId == nextMoveComboMoves[2] || lastMoveComboStarterId == nextMoveComboMoves[3])
|
||||
return FALSE;
|
||||
else if (lastMoveComboStarterId == nextMoveComboMoves[0] || lastMoveComboStarterId == nextMoveComboMoves[1] || lastMoveComboStarterId == nextMoveComboMoves[2] || lastMoveComboStarterId == nextMoveComboMoves[3])
|
||||
return gComboStarterLookupTable[lastMoveComboStarterId];
|
||||
|
||||
return 0;
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// A highly appealing move.
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue