Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_chair_man_Create_0

(view raw script w/o annotations or w/e)
1
if (global.fun_event[0] == true)
2
{
3
    instance_destroy()
4
    return;
5
}
6
if (global.fun_value >= 2 && global.fun_value <= 10)
7
{
8
    global.fun_event[0] = true
9
    instance_destroy(103618)
10
}
11
else
12
    instance_destroy()