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
    exit;
8
}
9
else
10
{
11
    image_alpha = 1;
12
}
13
dir_inc = clamp(dir_inc + 0.05, 0, 2);
14
direction += dir_inc;