summaryrefslogtreecommitdiff
path: root/include/contest_effect.h
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-09-07 11:50:23 +0100
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-09-07 11:50:23 +0100
commit9dec2bdef891653d10060a45417609c4d31b14c7 (patch)
treef9080cfc922a15570aeeee98d1ff695596e55ccb /include/contest_effect.h
parentbc42c5054c335f4de8a6b43135673ce931991c3e (diff)
parentef62393289b7a1d2e20fe195e24830d5c1f2f973 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into spritesheet
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