Undertale script viewer

← back to main script listing

gml_Object_obj_fakepellet_Step_0

related scripts: Alarm_0 • Collision_749 • Create_0 • Other_0 • Step_0

(view raw script w/o annotations or w/e)
1
if (attackyou == 1)
2
{
3
    move_towards_point(obj_fakeheart.xstart, obj_fakeheart.ystart, 0.1);
4
    depth = -500;
5
    attackyou = 2;
6
    friction = -0.004;
7
}