Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_shop_music_Alarm_3

(view raw script w/o annotations or w/e)
1
if (global.flag[7 disable_menu?] == 0)
2
    snd_free_all();
3
global.facing = 0;
4
instance_create(0, 0, obj_persistentfadein);
5
if (global.chapter == 2)
6
{
7
    if (global.plot < 200)
8
    {
9
        global.entrance = 23;
10
        room_goto(room_dw_cyber_musical_shop );
11
    }
12
    else
13
    {
14
        global.entrance = 19;
15
        room_goto(room_castle_tutorial );
16
    }
17
}
18
else
19
{
20
    global.entrance = 1;
21
    room_goto(room_dw_castle_town);
22
}