Deltarune (Chapter 3) 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_tutorial)
5
    room_goto(room_dw_castle_town);
6
if (room == room_town_krisyard)
7
    room_goto(room_torhouse );
8
if (room == room_torhouse)
9
    room_goto(room_town_krisyard );
10
if (room == room_town_school)
11
    room_goto(room_schoollobby );
12
if (room == room_schoollobby)
13
    room_goto(room_town_school );
14
if (global.chapter >= 2)
15
{
16
    if (room == room_dw_castle_town)
17
        room_goto(room_shop1 );
18
}