From 7f7b182ca4430b488e6f6b502a53697154df6b86 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 27 Feb 2018 08:47:47 -0500 Subject: sub_81D1574 --- src/match_call.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/match_call.c (limited to 'src') diff --git a/src/match_call.c b/src/match_call.c new file mode 100644 index 000000000..d435ea8a6 --- /dev/null +++ b/src/match_call.c @@ -0,0 +1,32 @@ + +// Includes +#include "global.h" + +// Static type declarations + +// Static RAM declarations + +// Static ROM declarations + +// .rodata + +// .text + +u32 sub_81D1574(u8 *a) +{ + switch (*a) + { + case 0: + default: + return 0; + case 1: + case 5: + return 1; + case 2: + return 2; + case 4: + return 3; + case 3: + return 4; + } +} -- cgit v1.2.3