Removed unused parentheses

This commit is contained in:
PokeCodec
2020-09-05 10:01:21 -04:00
parent de274dcb07
commit 3e25d9e5a2
5 changed files with 25 additions and 26 deletions
+6 -7
View File
@@ -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)