Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_chair_man_snowdin_Create_0

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