|
1
|
_parent = -4;
|
|
2
|
auto_text = true;
|
|
3
|
auto_text_buffer_time = 90;
|
|
4
|
auto_text_buffer = auto_text_buffer_time;
|
|
5
|
auto_text_start = false;
|
|
6
|
auto_text_stop = false;
|
|
7
|
con = -1;
|
|
8
|
convo = [];
|
|
9
|
convo_parent_index = 0;
|
|
10
|
convo_index = 0;
|
|
11
|
convo_line_index = 0;
|
|
12
|
convo_wait = false;
|
|
13
|
convo_timer = 0;
|
|
14
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (742) > 0)
|
|
15
|
{
|
|
16
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (742) >= 7)
|
|
17
|
{
|
|
18
|
instance_destroy();
|
|
19
|
exit;
|
|
20
|
}
|
|
21
|
convo_index = scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
}
function scr_flag_name_get(arg0)
{
if (!global.is_console)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
else
{
return "";
}
}
function scr_getflag(arg0)
{
return scr_flag_get(arg0);
} (742);
|
|
22
|
}
|
|
23
|
convo[0][0] = [new scr_auto_convoscr_auto_convo
function scr_auto_convo(arg0, arg1, arg2 = []) constructor
{
speaker = arg0;
dialogue = arg1;
options = arg2;
} ("asgore", stringsetloc(Face 0* Dum dee dum..."\\E0* Dum dee dum...", "obj_homealone_bathroom_convo_slash_Create_0_gml_70_0" ), ["face_up"])];
|
|
24
|
convo[0][1] = [new scr_auto_convoscr_auto_convo
function scr_auto_convo(arg0, arg1, arg2 = []) constructor
{
speaker = arg0;
dialogue = arg1;
options = arg2;
} ("asgore", stringsetloc(Face 5* Phew!Delay 11 Cleaning up sure works up an appetite."\\E5* Phew^1! Cleaning up sure works up an appetite.", "obj_homealone_bathroom_convo_slash_Create_0_gml_73_0" ), ["face_down"])];
|
|
25
|
convo[0][2] = [new scr_auto_convoscr_auto_convo
function scr_auto_convo(arg0, arg1, arg2 = []) constructor
{
speaker = arg0;
dialogue = arg1;
options = arg2;
} ("asgore", stringsetloc(Face 3* ...Delay 11 I wonder if the kitchen has any treats for me..."\\E3* ..^1. I wonder if the kitchen has any treats for me...", "obj_homealone_bathroom_convo_slash_Create_0_gml_76_0" ), ["face_left"])];
|
|
26
|
convo[0][3] = [new scr_auto_convoscr_auto_convo
function scr_auto_convo(arg0, arg1, arg2 = []) constructor
{
speaker = arg0;
dialogue = arg1;
options = arg2;
} ("asgore", stringsetloc(Face 1* ...Delay 11 No. Not now. I can't afford to take a break."\\E1* ..^1. No. Not now. I can't afford to take a break.", "obj_homealone_bathroom_convo_slash_Create_0_gml_79_0" ), ["face_up"])];
|
|
27
|
convo[0][4] = [new scr_auto_convoscr_auto_convo
function scr_auto_convo(arg0, arg1, arg2 = []) constructor
{
speaker = arg0;
dialogue = arg1;
options = arg2;
} ("asgore", stringsetloc(Face 2* Now,Delay 11 more than ever...Delay 11 I need to concentrate."\\E2* Now^1, more than ever..^1. I need to concentrate.", "obj_homealone_bathroom_convo_slash_Create_0_gml_82_0" ), ["head_down"])];
|
|
28
|
convo[0][5] = [new scr_auto_convoscr_auto_convo
function scr_auto_convo(arg0, arg1, arg2 = []) constructor
{
speaker = arg0;
dialogue = arg1;
options = arg2;
} ("asgore", stringsetloc(Face 3* ...Delay 11 to settle this once and for all."\\E3* ..^1. to settle this once and for all.", "obj_homealone_bathroom_convo_slash_Create_0_gml_85_0" ))];
|
|
29
|
convo[0][6] = [new scr_auto_convoscr_auto_convo
function scr_auto_convo(arg0, arg1, arg2 = []) constructor
{
speaker = arg0;
dialogue = arg1;
options = arg2;
} ("asgore", stringsetloc(Face 1* ...Delay 11 I've got to go look again."\\E1* ..^1. I've got to go look again.", "obj_homealone_bathroom_convo_slash_Create_0_gml_88_0" ), ["face_down"])];
|
|
30
|
|
|
31
|
init_parent = function(arg0)
|
|
32
|
{
|
|
33
|
_parent = arg0;
|
|
34
|
};
|
|
35
|
|
|
36
|
start_convo = function()
|
|
37
|
{
|
|
38
|
con = 0;
|
|
39
|
change_convo_index(0);
|
|
40
|
};
|
|
41
|
|
|
42
|
interrupt_convo = function()
|
|
43
|
{
|
|
44
|
con = -1;
|
|
45
|
with (obj_writer)
|
|
46
|
instance_destroy();
|
|
47
|
with (obj_dialoguer)
|
|
48
|
instance_destroy();
|
|
49
|
};
|
|
50
|
|
|
51
|
change_convo_index = function(arg0, arg1 = 1)
|
|
52
|
{
|
|
53
|
convo_parent_index = arg0;
|
|
54
|
convo_line_index = 0;
|
|
55
|
con = 0;
|
|
56
|
set_timer(arg1 * 30);
|
|
57
|
};
|
|
58
|
|
|
59
|
start_final_convo = function()
|
|
60
|
{
|
|
61
|
change_convo_index(1, 2);
|
|
62
|
};
|
|
63
|
|
|
64
|
set_timer = function(arg0)
|
|
65
|
{
|
|
66
|
convo_timer = arg0;
|
|
67
|
};
|
|
68
|
|
|
69
|
trigger_event = function(arg0)
|
|
70
|
{
|
|
71
|
with (_parent)
|
|
72
|
trigger_event(arg0);
|
|
73
|
};
|