script_load - Load a script file
bool script_load("<filename>.gbc");
Load the script bytecode file named <filename> stored in the SD-Card at /TITAN TWO/MEMSLOT/
.
Returns TRUE if the bytecode file was successfully loaded, FALSE
otherwise.
main { // If BUTTON_2 is pressed ... if(event_active(BUTTON_2)) { // ... load the bytecode file "Example". if(script_load("Example.gbc") == FALSE) { printf("Error loading Example.gbc"); } } }