Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_gray_spawner_pathetic1_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
        with (obj_flowey_battle_phase_2_gray_pellet)
7
        {
8
            if (image_alpha < 1)
9
                return;
10
           alarm[0]
11
        }
12
        scene++
13
        break
14
    case 1:
15
        cutscene_wait(0.5)
16
        break
17
    case 2:
18
        with (obj_flowey_battle_phase_2_gray_pellet)
19
        {
20
            if (speed < 8)
21
                speed += 0.2
22
           alarm[0]
23
        }
24
        cutscene_wait(4)
25
        break
26
    case 3:
27
        instance_destroy()
28
        break
29
}