Undertale script viewer

← back to main script listing

gml_Object_obj_papdoor_Other_12

(view raw script w/o annotations or w/e)
1
global.interact = 3;
2
instance_create(0, 0, obj_musfadeout);
3
instance_create(0, 0, obj_unfader);
4
if (touched == 0)
5
{
6
    alarm[2] = 13;
gml_Object_obj_papdoor_Alarm_2.gml

global.entrance = 1; instance_create(0, 0, obj_persistentfader); room_goto(room_next(room)); snd_play(mus_doorclose);
7
    touched = 1;
8
}
9
if (global.flag[88 dated_papyrus] < 3)
10
    global.flag[88 dated_papyrus] = 3;