Undertale script viewer

← back to main script listing

gml_Object_obj_mysteryman_Step_0

(view raw script w/o annotations or w/e)
1
if (myinteract == 1 && con == 0)
2
{
3
    con = 1;
4
    snd_play(snd_mysterygo);
5
    image_index = 1;
6
}
7
if (con == 1)
8
{
9
    image_alpha -= 0.03;
10
    if (image_alpha <= 0.03)
11
        instance_destroy();
12
}