2018-05-03 08:51:52 -04:00
|
|
|
#ifndef GUARD_CONTEST_EFFECT_H
|
|
|
|
#define GUARD_CONTEST_EFFECT_H
|
2020-04-13 09:05:10 -04:00
|
|
|
#define MAX_COMBO_MOVES 5
|
2018-05-03 08:51:52 -04:00
|
|
|
|
|
|
|
struct ContestMove
|
|
|
|
{
|
|
|
|
u8 effect;
|
|
|
|
u8 contestCategory:3;
|
|
|
|
u8 comboStarterId;
|
2020-04-13 09:05:10 -04:00
|
|
|
u8 comboMoves[MAX_COMBO_MOVES];
|
2018-05-03 08:51:52 -04:00
|
|
|
};
|
|
|
|
|
2018-05-11 08:44:21 -04:00
|
|
|
struct ContestEffect
|
|
|
|
{
|
|
|
|
u8 effectType;
|
|
|
|
u8 appeal;
|
|
|
|
u8 jam;
|
|
|
|
};
|
|
|
|
|
2018-05-03 08:51:52 -04:00
|
|
|
extern const struct ContestMove gContestMoves[];
|
2018-08-15 11:43:57 +02:00
|
|
|
extern const struct ContestEffect gContestEffects[];
|
2018-08-14 21:56:11 -07:00
|
|
|
extern const u8 *const gContestEffectDescriptionPointers[];
|
2019-03-08 01:56:38 -05:00
|
|
|
extern const u8 *const gContestMoveTypeTextPointers[];
|
2018-05-03 08:51:52 -04:00
|
|
|
|
2018-08-15 11:43:57 +02:00
|
|
|
bool8 AreMovesContestCombo(u16 lastMove, u16 nextMove);
|
2018-05-03 08:51:52 -04:00
|
|
|
|
|
|
|
#endif //GUARD_CONTEST_EFFECT_H
|