Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_hand_left_Step_2

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_martlet_body))
2
{
3
    instance_destroy();
4
    exit;
5
}
6
if (obj_martlet_body.animating == true)
7
{
8
    x = obj_martlet_body.x - 26;
9
    y = obj_martlet_body.hand_left_displacement_y;
10
}
11
else
12
{
13
    x = starting_point_x;
14
    y = starting_point_y;
15
}
16
sprite_index = hand_left_sprite;
17
image_speed = 0;
18
image_index = 0;
19
with (obj_martlet_hand_left_shadow)
20
    event_user(0);