From 0b3eddc9a4529d34debd2521b8d11dcdc2a38a96 Mon Sep 17 00:00:00 2001 From: TheXaman <48356183+TheXaman@users.noreply.github.com> Date: Mon, 5 Sep 2022 11:03:01 +0200 Subject: [PATCH] Update src/field_control_avatar.c Co-authored-by: Eduardo Quezada D'Ottone --- src/field_control_avatar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/field_control_avatar.c b/src/field_control_avatar.c index 76503a85a2..0494c52d81 100644 --- a/src/field_control_avatar.c +++ b/src/field_control_avatar.c @@ -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 }