Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_gray_hand_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (abs(x - 320) > 900)
4
    instance_destroy()
5
sin_deg += sin_inc
6
if (sin_deg > 360)
7
    sin_deg -= 360
8
y = ystart + sin(degtorad(sin_deg)) * y_variation