summaryrefslogtreecommitdiff
path: root/src/contest_link_80C857C.c
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-07-05 17:48:21 -0400
committerGitHub <noreply@github.com>2017-07-05 17:48:21 -0400
commit124e2eb02c4adc46265e5b34b47ac0c625a24ec3 (patch)
tree5c0af98d9e49a767f455fff1ceec5d07cb8539b8 /src/contest_link_80C857C.c
parent123d5cc8b26d2a93fa3981beaccb84377c6ae20f (diff)
parent813c1846c94fa14b55bf75cf4c14465f1fb26635 (diff)
Merge branch 'master' into master
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