Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_axis_heart_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
x = obj_axis_body.x
4
y = obj_axis_body.y
5
with (obj_axis_body)
6
{
7
    if (death_sprite == true)
8
        instance_destroy(other)
9
    else if (sprite_index == spr_axis_body && floor(image_index) > 0)
10
        other.y = y - 2
11
}
12
image_angle = obj_axis_body.image_angle