diff options
author | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-05 10:01:21 -0400 |
---|---|---|
committer | PokeCodec <67983839+PokeCodec@users.noreply.github.com> | 2020-09-05 10:01:21 -0400 |
commit | 3e25d9e5a2e0346a53b1bfdf9e14f98e14cceb21 (patch) | |
tree | 995eed5e53b8faf2088066744281a8f34517c07e /src/pokenav_conditions_3.c | |
parent | de274dcb078f15d4c4266444c63c4629071b130a (diff) |
Removed unused parentheses
Diffstat (limited to 'src/pokenav_conditions_3.c')
-rw-r--r-- | src/pokenav_conditions_3.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/pokenav_conditions_3.c b/src/pokenav_conditions_3.c index 0c1fb08d2..15b687a42 100644 --- a/src/pokenav_conditions_3.c +++ b/src/pokenav_conditions_3.c @@ -172,27 +172,26 @@ static u32 sub_81CF030(struct PokenavSub7 *structPtr) { if (JOY_REPEAT(DPAD_UP)) return 1; - else if (JOY_REPEAT(DPAD_DOWN)) + if (JOY_REPEAT(DPAD_DOWN)) return 2; - else if (JOY_NEW(DPAD_LEFT)) + if (JOY_NEW(DPAD_LEFT)) return 3; - else if (JOY_NEW(DPAD_RIGHT)) + if (JOY_NEW(DPAD_RIGHT)) return 4; - else if (JOY_NEW(B_BUTTON)) + if (JOY_NEW(B_BUTTON)) { structPtr->unk1C = 0; structPtr->unk0 = sub_81CF0B0; return 5; } - else if (JOY_NEW(A_BUTTON)) + if (JOY_NEW(A_BUTTON)) { structPtr->unkPtr->unk2 = GetSelectedMatchCall(); structPtr->unk1C = 1; structPtr->unk0 = sub_81CF0B8; return 6; } - else - return 0; + return 0; } static u32 sub_81CF0B0(struct PokenavSub7 *structPtr) |