Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_axis_blue_laser_spin_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_angle = direction
4
if (image_alpha < 0.99)
5
{
6
    image_alpha = lerp(image_alpha, 1, 0.25)
7
    return;
8
}
9
else
10
    image_alpha = 1
11
dir_inc = clamp((dir_inc + 0.05), 0, 2)
12
direction += dir_inc