diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2022-06-14 02:37:54 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-14 01:37:54 -0700 |
| commit | d9bd7bfbc0f6d45312d6d13b1902e9ae4e4b839e (patch) | |
| tree | ff88776da6c86bd467a560f2e631a6bff6d23edd /src/code_800AF9B0.c | |
| parent | ed3dad7e1a38f126b9364e3134eb43d0ab30671e (diff) | |
crash_screen decomp and misc (#221)
* crash_screen decomp and misc
Diffstat (limited to 'src/code_800AF9B0.c')
| -rw-r--r-- | src/code_800AF9B0.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/code_800AF9B0.c b/src/code_800AF9B0.c index 4aa937ea2..5d4b81183 100644 --- a/src/code_800AF9B0.c +++ b/src/code_800AF9B0.c @@ -2161,17 +2161,11 @@ GLOBAL_ASM("asm/non_matchings/code_800AF9B0/func_800B29D8.s") #endif s32 func_800B34E8(s32 arg0) { - if (arg0 == gCharacterGridSelections[0]) { - return 0; - } - if (arg0 == D_8018EDE5) { - return 0; - } - if (arg0 == D_8018EDE6) { - return 0; - } - if (arg0 == D_8018EDE7) { - return 0; + s32 i; + for (i =0; i < 4; i++) { + if (arg0 == gCharacterGridSelections[i]) { + return 0; + } } return 1; } |
