Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_battle_effect_expand_Step_2

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_heart_battle_fighting_parent))
2
{
3
    instance_destroy()
4
    return;
5
}
6
x = obj_heart_battle_fighting_parent.x
7
y = obj_heart_battle_fighting_parent.y
8
image_xscale += 0.1
9
image_yscale += 0.1
10
image_alpha -= 0.05
11
if (image_alpha <= 0)
12
    instance_destroy()