summaryrefslogtreecommitdiff
path: root/src/contest_link_80C857C.c
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-06-27 15:01:18 -0400
committerscnorton <scnorton@biociphers.org>2017-06-27 15:01:18 -0400
commit00c7dee919c8f93b8519a7eede2c41ba2ddcaf08 (patch)
tree5707f8764920abcd4cffca84c675e5c53c32559d /src/contest_link_80C857C.c
parent3d9eb18add0d8a9eb5bfa77fc64cd7b1f37fea5d (diff)
parent06b6cada0ddedc62063171703ba6607019751a9a (diff)
Merge branch 'master' into pokemon_data
Diffstat (limited to 'src/contest_link_80C857C.c')
-rw-r--r--src/contest_link_80C857C.c55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/contest_link_80C857C.c b/src/contest_link_80C857C.c
new file mode 100644
index 000000000..0ae98af09
--- /dev/null
+++ b/src/contest_link_80C857C.c
@@ -0,0 +1,55 @@
+#include "global.h"
+#include "link.h"
+
+#if GERMAN
+
+void de_sub_80C9274(bool32 arg0) {
+ if (deUnkValue2 != 1)
+ {
+ return;
+ }
+
+ if (arg0)
+ {
+ deUnkValue2 = 3;
+ }
+ else
+ {
+ deUnkValue2 = 2;
+ }
+}
+
+void de_sub_80C9294(bool32 arg0) {
+ if (deUnkValue2 == 1)
+ {
+ if (arg0)
+ {
+ deUnkValue2 = 3;
+ }
+ else
+ {
+ deUnkValue2 = 2;
+ }
+
+ return;
+ }
+
+
+ if (deUnkValue2 == 2)
+ {
+ SendBlock(0, sBlockRequestLookupTable[deUnkValue1].address, sBlockRequestLookupTable[deUnkValue1].size);
+
+ if (arg0)
+ {
+ deUnkValue2 = 0;
+ }
+ else
+ {
+ deUnkValue2 = 1;
+ }
+
+ return;
+ }
+}
+
+#endif