Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_savebox_Destroy_0

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_savefl))
2
{
3
    obj_savefl.sprite_index = obj_savefl.leavesprite;
4
    obj_savefl.image_speed = 0.2;
5
}
6
else
7
{
8
    global.cutscene = false;
9
    obj_pl.state = scr_normal_state;
10
}