~Functions~ Functions can be used to use the same code multiple times with one line. At the end of the definition, put END there. This example is for making the player wait until A is pressed. ==== DEF (function name) REPEAT CONT=1 IF #A AND BUTTON(2) THEN CONT=2 ENDIF UNTIL CONT==2 END === To use this function, simply write the function name. ==== ?"PRESS A TO CONTINUE" (function name)