Undertale script viewer

← back to main script listing

gml_Object_obj_otherphonecall_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
if (global.flag[7 true_pacifist] == 1)
3
    instance_destroy();
4
if (global.flag[277 fun_call_occurred] == 1)
5
    instance_destroy();
6
type = 0;
7
if (global.flag[5 fun] >= 40 && global.flag[5 fun] <= 45)
8
    type = 1;
9
if (global.flag[5 fun] > 45 && global.flag[5 fun] <= 50)
10
    type = 2;
11
if (global.debug == 1)
12
    type = choose(1, 2);
13
if (type == 0)
14
    instance_destroy();
15
if (global.plot >= 120)
16
    instance_destroy();