Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_doorW_Other_19

(view raw script w/o annotations or w/e)
1
global.interact = 3;
2
instance_create(0, 0, obj_fadeout);
3
if (touched == 0)
4
{
5
    alarm[2]
 = 8;
gml_Object_obj_doorW_Alarm_2.gml

global.entrance = 23; instance_create(0, 0, obj_persistentfadein); if (room == room_town_south) room_goto(room_hospital_lobby ); if (room == room_hospital_lobby) room_goto(room_town_south ); if (room == room_town_mid) room_goto(room_alphysalley ); if (room == room_alphysalley) room_goto(room_town_mid ); if (room == room_town_north) room_goto(room_beach ); if (room == room_beach) room_goto(room_town_north );
6
    touched = 1;
7
}