_parent = -4; auto_text = true; auto_text_buffer_time = 90; auto_text_buffer = auto_text_buffer_time; auto_text_start = false; auto_text_stop = false; con = -1; convo = []; convo_parent_index = 0; convo_index = 0; convo_line_index = 0; convo_wait = false; convo_timer = 0; convo_stopped = false; convo_finished = false; convo[0][0] = [new scr_auto_convo("toriel", stringsetloc("* Kris...?", "obj_ch5_LW01W_convo_slash_Create_0_gml_26_0")), new scr_auto_convo("toriel", stringsetloc("* Kris^1, are you feeling all right...?", "obj_ch5_LW01W_convo_slash_Create_0_gml_27_0")), new scr_auto_convo("toriel", stringsetloc("* I know it is the weekend^1, but...", "obj_ch5_LW01W_convo_slash_Create_0_gml_28_0")), new scr_auto_convo("toriel", stringsetloc("* You have not left your room all day.", "obj_ch5_LW01W_convo_slash_Create_0_gml_29_0"))]; convo[0][1] = [new scr_auto_convo("toriel", stringsetloc("* The..^1. Festival was today^1, you know.", "obj_ch5_LW01W_convo_slash_Create_0_gml_33_0")), new scr_auto_convo("toriel", stringsetloc("* The sun is going down now...", "obj_ch5_LW01W_convo_slash_Create_0_gml_34_0")), new scr_auto_convo("toriel", stringsetloc("* If you get up now^1, you could still see the parade.", "obj_ch5_LW01W_convo_slash_Create_0_gml_35_0"))]; convo[0][2] = [new scr_auto_convo("toriel", stringsetloc("* Kris^1, at the very least^1, you should eat something.", "obj_ch5_LW01W_convo_slash_Create_0_gml_39_0")), new scr_auto_convo("toriel", stringsetloc("* There is some honey toast on the table downstairs...", "obj_ch5_LW01W_convo_slash_Create_0_gml_40_0")), new scr_auto_convo("toriel", stringsetloc("* I made it for you.", "obj_ch5_LW01W_convo_slash_Create_0_gml_41_0"))]; convo[0][3] = [new scr_auto_convo("toriel", stringsetloc("* ..^1. well^1, I will be downstairs reading.", "obj_ch5_LW01W_convo_slash_Create_0_gml_45_0")), new scr_auto_convo("toriel", stringsetloc("* I know it has been difficult without your brother...", "obj_ch5_LW01W_convo_slash_Create_0_gml_46_0")), new scr_auto_convo("toriel", stringsetloc("* But...", "obj_ch5_LW01W_convo_slash_Create_0_gml_47_0"))]; convo[0][4] = [new scr_auto_convo("toriel", stringsetloc("* ..^1. well.", "obj_ch5_LW01W_convo_slash_Create_0_gml_51_0")), new scr_auto_convo("toriel", stringsetloc("* No one can make you get out of bed^1, honey.", "obj_ch5_LW01W_convo_slash_Create_0_gml_52_0"))]; init_parent = function(arg0) { _parent = arg0; }; start_convo = function() { con = 0; change_convo_index(0); }; stop_convo = function() { convo_stopped = true; auto_text = false; }; interrupt_convo = function() { con = -1; trigger_event("convo_interrupted"); with (obj_writer) instance_destroy(); with (obj_dialoguer) instance_destroy(); }; change_convo_index = function(arg0, arg1 = 1) { convo_parent_index = arg0; convo_index = 0; convo_line_index = 0; con = 0; set_timer(arg1 * 30); }; start_final_convo = function() { change_convo_index(1, 2); }; set_timer = function(arg0) { convo_timer = arg0; }; trigger_event = function(arg0) { with (_parent) trigger_event(arg0); };