Undertale script viewer

← back to main script listing

gml_Object_obj_gyftrothead_Alarm_1

(view raw script w/o annotations or w/e)
1
if (x > (xstart + 8))
2
    hspeed = -1;
3
else
4
    hspeed = 1;
5
if (instance_exists(obj_gyftrotmouth))
6
    obj_gyftrotmouth.hspeed = hspeed;
7
alarm[4] = 8 + random(10);
gml_Object_obj_gyftrothead_Alarm_4.gml

hspeed = 0; alarm[1] = 40 + random(20); if (instance_exists(obj_gyftrotmouth)) obj_gyftrotmouth.hspeed = hspeed;