Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_sousborg_flip_items_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (vspeed > vspeed_max)
4
    vspeed = vspeed_max
5
image_angle += (image_angle_inc * 5)
6
var box = 3154
7
if (y > (box.bbox_bottom + 6) && vspeed > 0)
8
{
9
    if (image_alpha > 0)
10
        image_alpha -= 0.1
11
    else
12
        instance_destroy()
13
}