summaryrefslogtreecommitdiff
path: root/include/contest_effect.h
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2018-09-24 08:40:33 -0400
committergarak <garakmon@gmail.com>2018-09-24 08:40:33 -0400
commit72f9afcbf4a81909019f21acad0484b72ed217f6 (patch)
treebc7e9a48b8056e28403e251dab7ac64f649ad9e4 /include/contest_effect.h
parent3964dbd4822f1b22bbc696add7e56ff0c5b2caea (diff)
parent7ceabffc842dfdf127fd594055f895a0803f54f6 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/contest_effect.h')
-rw-r--r--include/contest_effect.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/contest_effect.h b/include/contest_effect.h
new file mode 100644
index 000000000..5f48e1b8b
--- /dev/null
+++ b/include/contest_effect.h
@@ -0,0 +1,25 @@
+#ifndef GUARD_CONTEST_EFFECT_H
+#define GUARD_CONTEST_EFFECT_H
+
+struct ContestMove
+{
+ u8 effect;
+ u8 contestCategory:3;
+ u8 comboStarterId;
+ u8 comboMoves[4];
+};
+
+struct ContestEffect
+{
+ u8 effectType;
+ u8 appeal;
+ u8 jam;
+};
+
+extern const struct ContestMove gContestMoves[];
+extern const struct ContestEffect gContestEffects[];
+extern const u8 *const gContestEffectDescriptionPointers[];
+
+bool8 AreMovesContestCombo(u16 lastMove, u16 nextMove);
+
+#endif //GUARD_CONTEST_EFFECT_H