Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_gray_fella_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (destroy_self == false)
4
{
5
    var soul_dir = point_direction(x, y, obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y)
6
    direction += ((angle_difference(soul_dir, direction)) * 0.1)
7
}