diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-02-27 08:47:47 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-02-27 08:47:47 -0500 |
commit | 7f7b182ca4430b488e6f6b502a53697154df6b86 (patch) | |
tree | d87af52902428e347b3dc85abcb0380645d23abc /src | |
parent | 5162393c166ab9a37ec22993df6588080f1a9aa0 (diff) |
sub_81D1574
Diffstat (limited to 'src')
-rw-r--r-- | src/match_call.c | 32 |
1 files changed, 32 insertions, 0 deletions
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; + } +} |