diff --git a/src/field_control_avatar.c b/src/field_control_avatar.c index 137fe8980d..6f5460f589 100644 --- a/src/field_control_avatar.c +++ b/src/field_control_avatar.c @@ -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 }