turnstates

This commit is contained in:
the me 2022-08-19 10:19:08 -07:00
parent 1a13781220
commit cd85677efd
57 changed files with 1813 additions and 104 deletions

View file

@ -1,21 +1,21 @@
function msglang(english, japanese=[txt()], language=global.lang) {
return array_insert_array_parse(argument[language-1]);
/*switch language {
function msglang(english, japanese, language=global.lang) {
switch language {
case LANGUAGE.ENGLISH:
return array_insert_array_parse(english);
return english;
break;
case LANGUAGE.JAPANESE:
return array_insert_array_parse(japanese);
return japanese;
break;
default:
return [txt()];
break;
}*/
}
}
enum LANGUAGE {
NULL,
ENGLISH,
JAPANESE,
}
}
global.lang = LANGUAGE.ENGLISH;

View file

@ -2,8 +2,8 @@
"isDnD": false,
"isCompatibility": false,
"parent": {
"name": "data",
"path": "folders/Scripts/util/data.yy",
"name": "Textbox",
"path": "folders/Textbox.yy",
},
"resourceVersion": "1.0",
"name": "msglang",