mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
Make contest effect table easier to edit in the future
This commit is contained in:
parent
c72b55a5c4
commit
0c7063c5ba
@ -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…
x
Reference in New Issue
Block a user