Undertale script viewer

← back to main script listing

gml_Object_obj_anybt_Step_0

(view raw script w/o annotations or w/e)
1
if (on <= 0)
2
    image_index = 0;
3
if (on > 0)
4
    image_index = 1;
5
on -= 1;
6
if (on > 0)
7
{
8
    if (control_check_pressed(0))
9
        event_user(0);
10
}