imrpoved code formatting in field_control_avatar as per suggestion
This commit is contained in:
parent
d9bd272452
commit
e09ba650f3
1 changed files with 6 additions and 4 deletions
|
@ -138,7 +138,8 @@ void FieldGetPlayerInput(struct FieldInput *input, u16 newKeys, u16 heldKeys)
|
|||
{
|
||||
input->input_field_1_0 = TRUE;
|
||||
input->pressedSelectButton = FALSE;
|
||||
}else if(input->pressedStartButton)
|
||||
}
|
||||
else if (input->pressedStartButton)
|
||||
{
|
||||
input->input_field_1_2 = TRUE;
|
||||
input->pressedStartButton = FALSE;
|
||||
|
@ -146,16 +147,17 @@ void FieldGetPlayerInput(struct FieldInput *input, u16 newKeys, u16 heldKeys)
|
|||
}
|
||||
if (heldKeys & L_BUTTON)
|
||||
{
|
||||
if(input->pressedSelectButton)
|
||||
if (input->pressedSelectButton)
|
||||
{
|
||||
input->input_field_1_1 = TRUE;
|
||||
input->pressedSelectButton = FALSE;
|
||||
}else if(input->pressedStartButton)
|
||||
}
|
||||
else if (input->pressedStartButton)
|
||||
{
|
||||
input->input_field_1_3 = TRUE;
|
||||
input->pressedStartButton = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue