Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_newhome_03_cutscene_clover_soul_capsule_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
if (fade_in == true && image_alpha < 1)
4
    image_alpha += 0.1;
5
else
6
    fade_in = false;
7
switch (scene)
8
{
9
    case 1:
10
        sin_deg += sin_deg_inc;
11
        if (sin_deg >= 360)
12
            sin_deg -= 360;
13
        y = ystart + (sin(degtorad(sin_deg)) * 2);
14
        break;
15
}
16
if (flash_alpha > 0.1)
17
    flash_alpha = lerp(flash_alpha, 0, 0.05);
18
else
19
    flash_alpha = 0;