Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_doorX_musfade_Alarm_2

(view raw script w/o annotations or w/e)
1
global.entrance = 24;
2
instance_create(0, 0, obj_persistentfadein);
3
event_user(7);
4
if (room == room_castle_town)
5
    room_goto(room_castle_tutorial );
6
if (room == room_castle_tutorial)
7
    room_goto(room_castle_town );
8
if (room == room_town_krisyard)
9
    room_goto(room_torhouse );
10
if (room == room_torhouse)
11
    room_goto(room_town_krisyard );
12
if (room == room_town_school)
13
    room_goto(room_schoollobby );
14
if (room == room_schoollobby)
15
    room_goto(room_town_school );
16
if (global.chapter == 2)
17
{
18
    if (room == room_dw_castle_area_2_transformed)
19
        room_goto(room_shop1 );
20
    if (room == room_dw_cyber_musical_shop)
21
        room_goto(room_shop_ch2_music );
22
}