Deltarune (Chapter 1) script viewer

← back to main script listing

gml_GlobalScript_scr_os_checks

(view raw script w/o annotations or w/e)
1
function scr_is_switch_os()
2
{
3
    return os_type == os_switch || os_type == os_switch2;
4
}
5
6
function scr_is_valid_mic_platform()
7
{
8
    var __validPlat = false;
9
    if (os_type == os_windows || os_type == os_macosx)
10
        __validPlat = true;
11
    if (onSteamDeck())
12
        __validPlat = false;
13
    return __validPlat;
14
}