Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_attack_ceroba_transform_ring_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (image_alpha < 1)
4
    image_alpha += 0.1
5
if (attack_delay > 0)
6
{
7
    attack_delay--
8
    return;
9
}
10
image_xscale -= 0.5
11
image_yscale -= 0.5
12
if (image_xscale <= 0 || image_yscale <= 0)
13
{
14
    instance_destroy()
15
    return;
16
}