mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
2c9ee80004
* Add contest move effects * Fix constants and also fix some laughable combo coding * comment usum moves for cleaner merge * clean up gitignore * revert gitignore * also revert moves.h because I'm bad at reading messages * add some missing effects because the spreadsheet I sourced is bad
28 lines
594 B
C
28 lines
594 B
C
#ifndef GUARD_CONTEST_EFFECT_H
|
|
#define GUARD_CONTEST_EFFECT_H
|
|
#define MAX_COMBO_MOVES 5
|
|
|
|
struct ContestMove
|
|
{
|
|
u8 effect;
|
|
u8 contestCategory:3;
|
|
u8 comboStarterId;
|
|
u8 comboMoves[MAX_COMBO_MOVES];
|
|
};
|
|
|
|
struct ContestEffect
|
|
{
|
|
u8 effectType;
|
|
u8 appeal;
|
|
u8 jam;
|
|
};
|
|
|
|
extern const struct ContestMove gContestMoves[];
|
|
extern const struct ContestEffect gContestEffects[];
|
|
extern const u8 *const gContestEffectDescriptionPointers[];
|
|
extern const u8 *const gContestMoveTypeTextPointers[];
|
|
|
|
bool8 AreMovesContestCombo(u16 lastMove, u16 nextMove);
|
|
|
|
#endif //GUARD_CONTEST_EFFECT_H
|