Deltarune (Chapter 4) script viewer

← back to main script listing

gml_GlobalScript_scr_rhythmgame_song_flag

(view raw script w/o annotations or w/e)
1
function 
scr_rhythmgame_song_flag
scr_rhythmgame_song_flag

function
scr_rhythmgame_song_flag(arg0, arg1)
{ if (arg0 == 2) return arg1 ? 1667 : 1666; else if (arg0 == 10) return arg1 ? 1669 : 1668; else return arg1 ? 1279 : 1195; }
(arg0, arg1)
2
{
3
    if (arg0 == 2)
4
        return arg1 ? 1667 : 1666;
5
    else if (arg0 == 10)
6
        return arg1 ? 1669 : 1668;
7
    else
8
        return arg1 ? 1279 : 1195;
9
}