Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_doorAny_Other_19

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

global.entrance = 1; event_user(7); instance_create(0, 0, obj_persistentfadein); room_goto(doorRoom);
7
    event_user(8);
8
    touched = 1;
9
}