Deltarune (Chapter Select) script viewer

← back to main script listing

gml_Object_obj_CHAPTER_SELECT_old_Alarm_2

(view raw script w/o annotations or w/e)
1
audio_stop_all();
2
var chapstring = string(chaptertoload_temp);
3
var parameters = get_chapter_switch_parameters();
4
switch (os_type)
5
{
6
    case os_windows:
7
        game_change("/chapter" + chapstring + "_windows", "-game data.win" + parameters);
8
        break;
9
    case os_switch:
10
        game_change("rom:/chapter" + chapstring + "_switch/", parameters);
11
        break;
12
    case os_ps4:
13
        game_change("", "-game /app0/games/chapter" + chapstring + "_ps4/game.win" + parameters);
14
        break;
15
    case os_ps5:
16
        game_change("", "-game /app0/games/chapter" + chapstring + "_ps5/game.win" + parameters);
17
        break;
18
    case os_macosx:
19
        game_change("chapter" + chapstring + "_mac", parameters);
20
        break;
21
}