Skip to content

Commit e2527f0

Browse files
committed
Skip Dialogs - Basic Implementation
1 parent a78768b commit e2527f0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/window_message.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,14 @@ void Window_Message::UpdateMessage() {
664664
text_index = text_prev;
665665
continue;
666666
}
667+
668+
if (Player::debug_flag && Input::IsPressed(Input::CANCEL)){
669+
line_char_counter = 0;
670+
if (strlen(text_index) < 3 && !pending_message.HasNumberInput() && pending_message.GetNumChoices() <= 0) {
671+
SetWait(5);
672+
FinishMessageProcessing();
673+
}
674+
}
667675
}
668676
}
669677
}

0 commit comments

Comments
 (0)