Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_doorw_musfade_Alarm_2

(view raw script w/o annotations or w/e)
1
global.entrance = 23;
2
instance_create(0, 0, obj_persistentfadein);
3
event_user(7);
4
if (room == room_town_mid)
5
{
6
    if (x > 1000 && x < 1140)
7
    {
8
        global.entrance = 22;
9
        room_goto(room_lw_conbini );
10
    }
11
}
12
if (room == room_lw_conbini)
13
{
14
    global.entrance = 22;
15
    room_goto(room_town_mid );
16
}
17
if (room == room_lw_police)
18
{
19
    global.entrance = 22;
20
    room_goto(room_town_south );
21
}
22
if (room == room_castle_tutorial)
23
    room_goto(room_shop_music);