Undertale script viewer

← back to main script listing

gml_Object_obj_gyftrothead_Create_0

(view raw script w/o annotations or w/e)
1
alarm[2] = random(60) + 40;
2
image_xscale = 2;
3
image_yscale = 2;
4
alarm[1] = 45;
gml_Object_obj_gyftrothead_Alarm_1.gml

if (x > (xstart + 8)) hspeed = -1; else hspeed = 1; if (instance_exists(obj_gyftrotmouth)) obj_gyftrotmouth.hspeed = hspeed; alarm[4] = 8 + random(10);
5
instance_create(x + 50, y + 96, obj_gyftrotmouth);
6
image_speed = 0;