Update src/field_control_avatar.c

Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
This commit is contained in:
TheXaman 2022-09-05 11:03:01 +02:00 committed by GitHub
parent 6cab795c5c
commit 0b3eddc9a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,10 +132,10 @@ void FieldGetPlayerInput(struct FieldInput *input, u16 newKeys, u16 heldKeys)
input->dpadDirection = DIR_EAST;
#if DEBUG_SYSTEM_ENABLE == TRUE && DEBUG_SYSTEM_IN_MENU == FALSE
if ((heldKeys & R_BUTTON) && input->pressedStartButton)
if ((heldKeys & DEBUG_SYSTEM_HELD_KEYS) && input->DEBUG_SYSTEM_TRIGGER_EVENT)
{
input->input_field_1_2 = TRUE;
input->pressedStartButton = FALSE;
input->DEBUG_SYSTEM_TRIGGER_EVENT = FALSE;
}
#endif
}