summaryrefslogtreecommitdiff
path: root/include/contest.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-03-22 02:01:55 -0400
committerGitHub <noreply@github.com>2017-03-22 02:01:55 -0400
commite3c26e52ae6ab881ade913ca1fad2cd9629bbcb1 (patch)
tree291912dbcf0f77d6c88b7e691efa18dcd9d4bc53 /include/contest.h
parent515ae5e00f2661559583a4720d9944755e23d141 (diff)
parentd507cdcebb39e2ec43c4d0f756570a5734fcb42e (diff)
Merge pull request #241 from ProjectRevoTPP/master
decompile fldeff_cut.c, script_pokemon_util_80C4BF0.c, document save.c, move data to C files, decompile the next 3 functions in item_use.c, and a lot of labeling
Diffstat (limited to 'include/contest.h')
-rw-r--r--include/contest.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/contest.h b/include/contest.h
new file mode 100644
index 000000000..82520717f
--- /dev/null
+++ b/include/contest.h
@@ -0,0 +1,26 @@
+#ifndef GUARD_CONTEST_H
+#define GUARD_CONTEST_H
+
+struct ContestPokemon
+{
+ /* 0x00 */ u16 species;
+ /* 0x02 */ u8 nickname[POKEMON_NAME_LENGTH];
+ /* 0x0D */ u8 trainerName[8];
+ /* 0x15 */ u8 unk15;
+ /* 0x16 */ u8 unk16;
+ /* 0x17 */ u8 filler17[7];
+ /* 0x1E */ u16 moves[4]; // moves
+ /* 0x26 */ u8 cool; // cool
+ /* 0x27 */ u8 beauty; // beauty
+ /* 0x28 */ u8 cute; // cute
+ /* 0x29 */ u8 smart; // smart
+ /* 0x2A */ u8 tough; // tough
+ /* 0x2B */ u8 sheen; // sheen
+ /* 0x2C */ u8 filler2C[12];
+ /* 0x38 */ u32 unk38;
+ /* 0x3C */ u32 unk3C;
+}; // wow
+
+extern struct ContestPokemon gContestMons[];
+
+#endif // GUARD_CONTEST_H