Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_insomnitot_ear_right_a_Step_2

(view raw script w/o annotations or w/e)
1
if (obj_insomnitot_body_a.animating == true)
2
{
3
    x = obj_insomnitot_body_a.x + x_offset
4
    y = obj_insomnitot_body_a.ears_displacement_y
5
    image_angle = image_angle_max * (obj_insomnitot_body_a.animation_disjoint_yscale / obj_insomnitot_body_a.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_a)
14
    event_user(0)