summaryrefslogtreecommitdiff
path: root/src/code_800AF9B0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code_800AF9B0.c')
-rw-r--r--src/code_800AF9B0.c16
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;
}