Undertale script viewer

← back to main script listing

gml_Object_obj_inwaterspot_Step_2

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_mainchara))
2
{
3
    if (check == 1 && obj_mainchara.inwater == 1)
4
    {
5
        if (active == 1)
6
            snd_play(snd_noise);
7
    }
8
}
9
check = 0;