Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_insomnitot_ear_right_b_Step_2

(view raw script w/o annotations or w/e)
1
if (obj_insomnitot_body_b.animating == true)
2
{
3
    x = obj_insomnitot_body_b.x + x_offset
4
    y = obj_insomnitot_body_b.ears_displacement_y
5
    image_angle = image_angle_max * (obj_insomnitot_body_b.animation_disjoint_yscale / obj_insomnitot_body_b.max_rise)
6
}
7
else
8
{
9
    x = starting_point_x
10
    y = starting_point_y
11
    image_angle = 0
12
}
13
with (obj_insomnitot_ear_right_shadow_b)
14
    event_user(0)