Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_petal_pull_pollen_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var dir_inc = 1
4
if (instance_exists(target) && target != noone)
5
    direction -= (0.1 * (angle_difference(direction, point_direction(x, y, target.x, target.y))))
6
image_angle = direction