Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_attack_block_hurt_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var battle_box = 3154
4
if (y > (battle_box.bbox_bottom + 10))
5
{
6
    image_alpha -= 0.2
7
    if (image_alpha <= 0)
8
        instance_destroy()
9
}
10
else if (image_alpha < 1)
11
    image_alpha += 0.25