From ec511705ce96d80d4e2a36054769c211448e8ec8 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 11 Feb 2021 20:47:46 -0500 Subject: Added choice prompts "A presses" are also no longer special values in the lines list, but are rather a field on the MessageLine object. --- res/scripts/common.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'res/scripts/common.lua') diff --git a/res/scripts/common.lua b/res/scripts/common.lua index b540548..2023e63 100644 --- a/res/scripts/common.lua +++ b/res/scripts/common.lua @@ -36,6 +36,14 @@ function DisplayMessage(msg, name, type) message():displayMessage(msg, name, type) end +function ShowChoice(one, two) + message():showChoice(one, two) +end + +function GetChoiceSelection() + return message():getChoiceSelection() +end + function WaitForEndOfMessage() while (message().isMessageActive) do coroutine.yield() -- cgit 1.4.1