Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_robot_destroy_part_parent_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
vspeed = random_range(-5, -10)
4
hspeed = irandom_range(3, 5)
5
if (x < 320)
6
    hspeed *= -1
7
gravity = 0.5
8
fade_out_timer = 30