Undertale script viewer

← back to main script listing

gml_Object_obj_tileblue_Step_0

(view raw script w/o annotations or w/e)
1
if (collision_rectangle(x + 5, y + 5, x + 15, y + 15, obj_tileguy, 0, 1))
2
{
3
    if (splash == 0)
4
    {
5
        snd_play(snd_splash);
6
        splash = 1;
7
    }
8
}
9
else
10
{
11
    splash = 0;
12
}