level saving and loading

This commit is contained in:
2023-02-03 19:41:53 +00:00
parent 7e1eaaae64
commit bea49b5e64
6 changed files with 49 additions and 41 deletions

View File

@@ -202,6 +202,10 @@ duk_ret_t duk_nuke(duk_context *duk)
case 5:
nuke_label(duk_to_string(duk, 1));
return 0;
case 6:
duk_push_boolean(duk, nuke_btn(duk_to_string(duk, 1)));
return 1;
}
return 0;