Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_summary_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 > 0)
7
            draw_alpha -= 0.03
8
        else
9
            scene++
10
        break
11
    case 1:
12
        cutscene_advance()
13
        break
14
    case 2:
15
        cutscene_wait(3.5)
16
        break
17
    case 3:
18
        if (global.route == 3)
19
        {
20
            var mus = audio_play_sound(mus_greenhouse, 20, 1)
21
            audio_sound_pitch(mus, 0.3)
22
        }
23
        else
24
            mus = audio_play_sound(mus_kanako, 1, 0)
25
        scene++
26
        break
27
}
28
29
if (irandom(100) == 1)
30
    monumber += irandom_range(1, 100)
31
monumber_current = lerp(monumber_current, monumber, 0.15)