Undertale script viewer

← back to main script listing

gml_Object_obj_doorAmusicfade_Other_19

(view raw script w/o annotations or w/e)
1
global.interact = 3;
2
instance_create(0, 0, obj_unfader);
3
ok = 1;
4
if (room == room_water_undynefinal3 && instance_exists(obj_undynea_chaser) == 1)
5
    ok = 0;
6
if (global.flag[7 true_pacifist] == 0)
7
{
8
    if (ok == 1)
9
        instance_create(0, 0, obj_musfadeout);
10
}
11
if (touched == 0)
12
{
13
alarm[2]
14
    touched = 1;
15
}