Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_transformation_beam_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
switch scene
4
{
5
    case 0:
6
        if (draw_alpha < 1)
7
            draw_alpha += 0.12
8
        break
9
    case 1:
10
        if (draw_alpha > 0)
11
            draw_alpha -= 0.2
12
        else
13
            instance_destroy()
14
        break
15
}