mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 11:43:37 +01:00
imrpoved code formatting in field_control_avatar as per suggestion
This commit is contained in:
parent
d9bd272452
commit
e09ba650f3
@ -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…
x
Reference in New Issue
Block a user