Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey1_Create_0

(view raw script w/o annotations or w/e)
1
script_execute(scr_depth, 0, 0, 0, 0, 0);
2
if (global.flag[24 Flowey introduction progress] == 0 || global.flag[24 Flowey introduction progress] == 2)
3
{
4
    image_speed = 0.2;
5
    waiter = 0;
6
    obj_pl.state = scr_frozen_state;
7
}
8
if (global.flag[24 Flowey introduction progress] == 1)
9
{
10
    sprite_index = spr_flowey;
11
    image_speed = 0;
12
    waiter = 0;
13
    if (instance_exists(obj_pl))
14
        obj_pl.state = scr_frozen_state;
15
}