This commit is contained in:
arookas 2016-01-29 17:08:55 -05:00
parent 0a69d97dc3
commit 1824b97f98
3 changed files with 9 additions and 6 deletions

View file

@ -5,7 +5,6 @@
* 2015-2016 arookas * 2015-2016 arookas
\* ================================================= */ \* ================================================= */
// builtins
builtin startBGM(num); builtin startBGM(num);
builtin stopBGM(num); builtin stopBGM(num);

View file

@ -5,10 +5,12 @@
* 2015-2016 arookas * 2015-2016 arookas
\* ================================================= */ \* ================================================= */
// builtins // ================================================= \\
// FLAGS
// ================================================= \\
builtin getSystemFlag(flag); builtin getSystemFlag(flag);
builtin setSystemFlag(flag, value); builtin setSystemFlag(flag, value);
// functions
function setOnSystemFlag(flag) { setSystemFlag(flag, true); } function setOnSystemFlag(flag) { setSystemFlag(flag, true); }
function setOffSystemFlag(flag) { setSystemFlag(flag, false); } function setOffSystemFlag(flag) { setSystemFlag(flag, false); }

View file

@ -16,9 +16,11 @@ const TALKF_CLOSE = (1 << 0);
// builtins // builtins
builtin getTalkMode(); builtin getTalkMode();
builtin isTalkModeNow(); builtin isTalkModeNow();
builtin setTalkMsgID(msgID, flags);
builtin getTalkNPC(); builtin getTalkNPC();
builtin getTalkNPCName(); builtin getTalkNPCName();
builtin setTalkMsgID(msgID, flags);
// functions // functions
function waitTalkStart(name) { function waitTalkStart(name) {
@ -85,8 +87,8 @@ function select(msgID, flags) {
return getTalkSelectedValue(); return getTalkSelectedValue();
} }
function talkAndSelect(msgID) { select(msgID, TALKF_WAIT); } function talkAndSelect(msgID) { return select(msgID, TALKF_WAIT); }
function talkAndSelectClose(msgID) { select(msgID, TALKF_CLOSE); } function talkAndSelectClose(msgID) { return select(msgID, TALKF_CLOSE); }
// ================================================= \\ // ================================================= \\
// FORCE // FORCE