summaryrefslogtreecommitdiff
path: root/src/code/code_801A51F0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/code_801A51F0.c')
-rw-r--r--src/code/code_801A51F0.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/code/code_801A51F0.c b/src/code/code_801A51F0.c
new file mode 100644
index 000000000..6a40bf23a
--- /dev/null
+++ b/src/code/code_801A51F0.c
@@ -0,0 +1,42 @@
+#include "global.h"
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/D_801E0EC0.s")
+
+UNK_TYPE func_801A51F0(UNK_TYPE arg0) {
+ switch (arg0) {
+ case 1:
+ case 4:
+ case 5:
+ case 11:
+ case 13:
+ case 14:
+ case 15:
+ return -1;
+ default:
+ return 0;
+ }
+}
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5228.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5390.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A53DC.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A53E8.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A541C.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5488.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A54C4.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A54D0.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5680.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5808.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5A10.s")
+
+#pragma GLOBAL_ASM("asm/non_matchings/code/code_801A51F0/func_801A5A1C.s")