Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey1_Other_7

(view raw script w/o annotations or w/e)
1
if (sprite_index == spr_floweyrise)
2
{
3
    sprite_index = spr_flowey;
4
    image_speed = 0;
5
    waiter = 1;
6
}
7
if (sprite_index == spr_floweyleave && global.flag[24 Flowey introduction progress] != 3)
8
{
9
    instance_destroy();
10
    instance_create(x, y, obj_determinationcutscene);
11
}
12
if (sprite_index == spr_floweyleave && global.flag[24 Flowey introduction progress] == 3)
13
{
14
    instance_destroy();
15
    instance_create(x, y, obj_determination);
16
}