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