Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_savefl_Other_7

(view raw script w/o annotations or w/e)
1
if (sprite_index == risesprite)
2
{
3
    sprite_index = downsprite
4
    image_speed = 0
5
    waiter = 1
6
    scr_turn
scr_turn

function scr_turn() //gml_Script_scr_turn { if (obj_pl.direction == 0) direction = 180 if (obj_pl.direction == 90) direction = 270 if (obj_pl.direction == 180) direction = 0 if (obj_pl.direction == 270) direction = 90 }
()
7
}
8
if (sprite_index == leavesprite && global.flowey_death_pop == 0)
9
{
10
    instance_destroy()
11
    instance_create(x, (y + 5), obj_determination)
12
    global.cutscene = false
13
    obj_pl.state = gml_Script_scr_normal_state
14
}
15
if (sprite_index == leavesprite && global.flowey_death_pop == 1)
16
{
17
    instance_destroy()
18
    instance_create(x, (y + 5), obj_determination)
19
    global.cutscene = false
20
    obj_pl.state = gml_Script_scr_normal_state
21
    global.flowey_death_pop = 0
22
}