Cleanup.
This commit is contained in:
parent
0a69d97dc3
commit
1824b97f98
3 changed files with 9 additions and 6 deletions
|
@ -5,7 +5,6 @@
|
|||
* 2015-2016 arookas
|
||||
\* ================================================= */
|
||||
|
||||
// builtins
|
||||
builtin startBGM(num);
|
||||
builtin stopBGM(num);
|
||||
|
||||
|
|
|
@ -5,10 +5,12 @@
|
|||
* 2015-2016 arookas
|
||||
\* ================================================= */
|
||||
|
||||
// builtins
|
||||
// ================================================= \\
|
||||
// FLAGS
|
||||
// ================================================= \\
|
||||
|
||||
builtin getSystemFlag(flag);
|
||||
builtin setSystemFlag(flag, value);
|
||||
|
||||
// functions
|
||||
function setOnSystemFlag(flag) { setSystemFlag(flag, true); }
|
||||
function setOffSystemFlag(flag) { setSystemFlag(flag, false); }
|
||||
|
|
|
@ -16,9 +16,11 @@ const TALKF_CLOSE = (1 << 0);
|
|||
// builtins
|
||||
builtin getTalkMode();
|
||||
builtin isTalkModeNow();
|
||||
|
||||
builtin setTalkMsgID(msgID, flags);
|
||||
|
||||
builtin getTalkNPC();
|
||||
builtin getTalkNPCName();
|
||||
builtin setTalkMsgID(msgID, flags);
|
||||
|
||||
// functions
|
||||
function waitTalkStart(name) {
|
||||
|
@ -85,8 +87,8 @@ function select(msgID, flags) {
|
|||
return getTalkSelectedValue();
|
||||
}
|
||||
|
||||
function talkAndSelect(msgID) { select(msgID, TALKF_WAIT); }
|
||||
function talkAndSelectClose(msgID) { select(msgID, TALKF_CLOSE); }
|
||||
function talkAndSelect(msgID) { return select(msgID, TALKF_WAIT); }
|
||||
function talkAndSelectClose(msgID) { return select(msgID, TALKF_CLOSE); }
|
||||
|
||||
// ================================================= \\
|
||||
// FORCE
|
||||
|
|
Loading…
Reference in a new issue