Command
|
Description
|
Example
|
FLxxxx |
switch, xxxx could be from 0001 to 0999 only used with #if, #if not, #set and #clear |
|
' | commentary | ' New Episode |
:<label> | label | :Quit |
#SEND <label> #GOTO <label> |
jump to label | #GoTo Quit |
#CALL <label> | jump to label with return | #Call Quit |
#PROGCALL <script> | go to another script with return | #ProgCall intro |
#PROGGOTO <script> | go to another script w/o return | #ProgGoTo intro |
#LOADBKG <image> | load background image | #LoadBKG Title |
#CLEARBKG | remove background | #ClearBKG |
#PLAYMUSIC <music> | play music file | #PlayMusic GameOver |
#STOPMUSIC | stop music | #StopMusic |
#LOOPMUSIC <music> | play music file continuously | #LoopMusic GameOver |
#SET FL<switch> | set switch to ON | #Set FL0001 |
#CLEAR FL<switch> | clear switch to OFF | #Clear FL0001 |
#IF FLxxxx | check the state of the switch to be ON |
' Display "Hello, world!" if FL0001 is set to ON
' Conditions could be combined in chain |
#IF NOT FLxxxx | check the state of the switch to be OFF |
' Display menu item "Quit" if FL0001 is set to OFF
' Conditions could be combined in chain |
#RETURN | return from script or label | #Return |
#END | end of program | #End |
#INCLUDE <script> |
include <script> in the current script Maximum inclusion depth = 8 |
#include ShowName |
!<label>;<text> | menu item with text <text> and jump to label <label> after selection |
Do you want to leave? |
/I | wait for input: player should press any key (A, B or C) or select item from the menu | |
Ctrl + i | inserts "/i" command |
Ctrl + t | inserts "#SET FL" command |
Ctrl + g | inserts "#GOTO" command |
Ctrl + s | save script |
F5 | run project |