eastern-flames/eastern flames/scripts/msglang/msglang.gml

21 lines
401 B
Plaintext
Raw Normal View History

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