Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_LW02_Step_0

(view raw script w/o annotations or w/e)
1
if (toaster_active && global.interact == 0 && !d_ex())
2
{
3
    global.flag[1745]++;
4
    if (global.flag[1745] >= 300)
5
    {
6
        snd_play(snd_bell);
7
        toaster_complete = true;
8
        toaster_active = false;
9
        toaster_shine();
10
        with (_toaster)
11
            turn_off();
12
    }
13
}
14
if (con < 0)
15
    exit;
16
if (con == 0)
17
{
18
    var triggered = false;
19
    with (_trigger)
20
    {
21
        if (place_meeting(x, y, obj_mainchara))
22
            triggered = true;
23
    }
24
    if (triggered)
25
    {
26
        con = 1;
27
        with (_trigger)
28
            instance_destroy();
29
    }
30
}
31
if (con == 1 && global.interact == 0 && !d_ex())
32
{
33
    con = 15;
34
    global.interact = 1;
35
    cutscene_master = 
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
36
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
37
    to = actor_count + 1;
38
    to_actor = instance_create(toriel_npc.x, toriel_npc.y, obj_actor);
39
    
scr_actor_setup
scr_actor_setup

function
scr_actor_setup(arg0, arg1, arg2)
{ _actorid = arg0; _actorinstance = arg1; _actorname = arg2; obj_cutscene_master.actor_id[_actorid] = _actorinstance; obj_cutscene_master.actor_name[_actorid] = _actorname; with (_actorinstance) { number = arg0; if (object_index != obj_plat_npc)
scr_set_facing_sprites(arg2);
} }
(to, to_actor, "toriel");
40
    to_actor.sprite_index = toriel_npc.sprite_index;
41
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(toriel_npc, "visible", false);
42
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
43
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
44
    
c_emote
c_emote

function
c_emote()
{ if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
else if (argument_count == 4)
c_cmd("emote", argument[0], argument[1], argument[2], argument[3]);
}
("!", 30, 1, 14);
45
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
46
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
47
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toast_ask);
48
    global.msc = -99;
49
    global.choice = -1;
50
    global.choicemsg = [stringsetloc(
#Yes
"#Yes", "obj_ch5_LW02_slash_Step_0_gml_70_0"
), stringsetloc(
#I'm busy
"#I'm busy", "obj_ch5_LW02_slash_Step_0_gml_71_0"
), stringset(""), stringset("")];
51
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
52
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face B* ...Delay 11 Kris.Wait for input
"\\EB* ..^1. Kris./", "obj_ch5_LW02_slash_Step_0_gml_77_0"
);
53
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face C* Could you be a dear and put some toast on?Wait for input
"\\EC* Could you be a dear and put some toast on?/", "obj_ch5_LW02_slash_Step_0_gml_78_0"
);
54
    
c_msgnext
c_msgnext

function
c_msgnext(arg0)
{
c_cmd("msgnext", arg0, 0, 0, 0);
}
("\\C2");
55
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
56
    {
57
        d_make();
58
    });
59
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
60
}
61
if (con == 15 && global.choice != -1 && customcon == 1)
62
{
63
    con = -1;
64
    customcon = 0;
65
    k_d(4);
66
    
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; } function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1) { if (arg1 < 0)
scr_flag_set(arg0, arg2);
else global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3); }
(1435, global.choice + 1);
67
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
68
    if (global.choice == 0)
69
    {
70
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
71
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face B* Thank you,Delay 11 dear.Wait for input
"\\EB* Thank you^1, dear./", "obj_ch5_LW02_slash_Step_0_gml_103_0"
);
72
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face C* ...Delay 11 and,Delay 11 don't forget to put honey on it,Delay 11 okay,Delay 11 honey?Wait for inputClose Message
"\\EC* ..^1. and^1, don't forget to put honey on it^1, okay^1, honey?/%", "obj_ch5_LW02_slash_Step_0_gml_104_0"
);
73
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
74
        
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
75
        {
76
            toaster_shine();
77
        });
78
    }
79
    if (global.choice == 1)
80
    {
81
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
82
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toastless);
83
        if (
scr_flag_get
scr_flag_get

function
scr_flag_get(arg0)
{ return global.flag[arg0]; } function scr_flag_name_get(arg0) { var v = global.flagname[arg0]; return is_undefined(v) ? "*unknown flag*" : v; } function scr_flag_get_ext(arg0, arg1, arg2 = 1) { if (arg1 < 0)
scr_flag_get(arg0);
else return scr_get_bitmask_value(global.flag[arg0], arg1, arg2); }
(1436) == 1)
84
        {
85
            
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
86
            
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* Busy doing what?Delay 11 Flushing the toilet over and over?Delay 11 Come on now...Wait for inputClose Message
"\\E4* Busy doing what^1? Flushing the toilet over and over^1? Come on now.../%", "obj_ch5_LW02_slash_Step_0_gml_121_0"
);
87
            
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
88
        }
89
        else
90
        {
91
            
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
92
            
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face D* Too busy?Delay 11 I see...Delay 11 then I suppose I will just wither away...Wait for inputClose Message
"\\ED* Too busy^1? I see..^1. then I suppose I will just wither away.../%", "obj_ch5_LW02_slash_Step_0_gml_126_0"
);
93
            
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
94
        }
95
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
96
    }
97
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
98
    {
99
        global.plot = 10;
100
        regain_control();
101
    });
102
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
103
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(419, 132);
104
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
105
}
106
if (con == 30 && !d_ex() && customcon == 1)
107
{
108
    con = 32;
109
    customcon = 0;
110
    
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; } function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1) { if (arg1 < 0)
scr_flag_set(arg0, arg2);
else global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3); }
(1439, 1);
111
    
scr_litemremove
scr_litemremove

function
scr_litemremove(arg0)
{ for (i = 0; i < 8; i += 1) { if (global.litem[i] == arg0) script_execute(scr_litemshift, i, 0); } }
(19);
112
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
113
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
114
    {
115
        lose_control();
116
    });
117
    var kr_x_pos = 427;
118
    var kr_y_pos = 124;
119
    var kr_walktime = 
scr_calculate_move_distance
scr_calculate_move_distance

function
scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{ var move_time = 1; var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4); if (distance_time > move_time) move_time = distance_time; return move_time; }
(kr_actor.x, kr_actor.y, kr_x_pos, kr_y_pos, 2);
120
    var kr_walktime_ext = 
scr_calculate_move_distance
scr_calculate_move_distance

function
scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{ var move_time = 1; var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4); if (distance_time > move_time) move_time = distance_time; return move_time; }
(kr_x_pos, kr_y_pos, 407, kr_y_pos, 2);
121
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
122
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(kr_x_pos, kr_y_pos, kr_walktime);
123
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(kr_walktime + 1, "u");
124
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(kr_walktime + 15);
125
    c_snd_play(snd_item);
126
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("no_name");
127
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
* (You gave Toriel the toast.)Wait for inputClose Message
"* (You gave Toriel the toast.)/%", "obj_ch5_LW02_slash_Step_0_gml_174_0"
);
128
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
129
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
130
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
131
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toast_eat);
132
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.1);
133
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
134
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
135
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
136
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.2);
137
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(407, kr_y_pos, kr_walktime_ext);
138
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
139
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "_mogu_active", true);
140
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
141
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
142
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face A* (munch,Delay 11 munch...)Wait for input
"\\EA* (munch^1, munch...)/", "obj_ch5_LW02_slash_Step_0_gml_192_0"
);
143
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 4* Thank you for the honey,Delay 11 honey.Wait for inputClose Message
"\\E4* Thank you for the honey^1, honey./%", "obj_ch5_LW02_slash_Step_0_gml_193_0"
);
144
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
145
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "_mogu_active", false);
146
    c_snd_play(snd_swallow);
147
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
148
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toast_eat_expressions);
149
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
150
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
151
    global.msc = -99;
152
    global.choice = -1;
153
    global.choicemsg = [stringsetloc(
#Fine and#dandy
"#Fine and#dandy", "obj_ch5_LW02_slash_Step_0_gml_210_0"
), stringsetloc(
#Terrible.
"#Terrible.", "obj_ch5_LW02_slash_Step_0_gml_211_0"
), stringset(""), stringset("")];
154
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
155
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face F* ...Wait for input
"\\EF* .../", "obj_ch5_LW02_slash_Step_0_gml_217_0"
);
156
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* Kris...Delay 11 how did YOU sleep last night,Delay 11 honey?Wait for input
"\\E9* Kris..^1. how did YOU sleep last night^1, honey?/", "obj_ch5_LW02_slash_Step_0_gml_218_0"
);
157
    
c_msgnext
c_msgnext

function
c_msgnext(arg0)
{
c_cmd("msgnext", arg0, 0, 0, 0);
}
("\\C2");
158
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
159
    {
160
        d_make();
161
    });
162
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
163
}
164
if (_mogu_active)
165
{
166
    if (i_ex(to_actor))
167
    {
168
        _mogu_buffer--;
169
        if (_mogu_buffer <= 0)
170
        {
171
            if (to_actor.image_index < 1)
172
            {
173
                _mogu_buffer = 18;
174
                snd_stop(snd_swallow);
175
                snd_play(snd_swallow);
176
            }
177
        }
178
    }
179
}
180
if (con == 32 && global.choice != -1 && customcon == 1)
181
{
182
    con = 33;
183
    customcon = 0;
184
    k_d(4);
185
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
186
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
187
    {
188
        
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; } function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1) { if (arg1 < 0)
scr_flag_set(arg0, arg2);
else global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3); }
(1746, global.choice + 1);
189
    });
190
    if (global.choice == 0)
191
    {
192
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
193
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
194
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
195
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* Oh,Delay 11 wherever did you learn that wonderful sarcasm from?Wait for input
"\\E4* Oh^1, wherever did you learn that wonderful sarcasm from?/", "obj_ch5_LW02_slash_Step_0_gml_266_0"
);
196
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face F* ...Delay 11 really though.Wait for inputClose Message
"\\EF* ..^1. really though./%", "obj_ch5_LW02_slash_Step_0_gml_267_0"
);
197
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
198
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
199
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
200
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
201
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
202
    }
203
    else
204
    {
205
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
206
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
207
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
208
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face F* ...Delay 11 I see.Delay 11 I should have suspected you were upset.Wait for input
"\\EF* ..^1. I see^1. I should have suspected you were upset./", "obj_ch5_LW02_slash_Step_0_gml_281_0"
);
209
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 4* There's only about 80% as much honey on this as normal.Wait for inputClose Message
"\\E4* There's only about 80`% as much honey on this as normal./%", "obj_ch5_LW02_slash_Step_0_gml_282_0"
);
210
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
211
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
212
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
213
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
214
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
215
    }
216
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
217
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
218
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
219
    global.msc = -99;
220
    global.choice = -1;
221
    global.choicemsg = [stringsetloc(
#We were#locked out
"#We were#locked out", "obj_ch5_LW02_slash_Step_0_gml_301_0"
), stringsetloc(
#You were#way too loud
"#You were#way too loud", "obj_ch5_LW02_slash_Step_0_gml_302_0"
), stringset(""), stringset("")];
222
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
223
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 8* ...Delay 11 I got a bit carried away last night,Delay 11 didn't I?Wait for input
"\\E8* ..^1. I got a bit carried away last night^1, didn't I?/", "obj_ch5_LW02_slash_Step_0_gml_308_0"
);
224
    
c_msgnext
c_msgnext

function
c_msgnext(arg0)
{
c_cmd("msgnext", arg0, 0, 0, 0);
}
("\\C2");
225
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
226
    {
227
        d_make();
228
        if (global.lang == "ja")
229
            
scr_choiceradjust
scr_choiceradjust

function
scr_choiceradjust(arg0 = 0, arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0, arg6 = 0, arg7 = 0, arg8 = 0, arg9 = 0)
{ var choiceradjuster = instance_create_depth(0, 0, 0, obj_object); with (choiceradjuster) { __opt0xoff = arg0; __opt0yoff = arg1; __opt1xoff = arg2; __opt1yoff = arg3; __opt2xoff = arg4; __opt2yoff = arg5; __opt3xoff = arg6; __opt3yoff = arg7; __heartxoff = arg8; __heartyoff = arg9;
scr_debug_print("CREATED");
begin_step_func = function() { var done = false; with (obj_choicer_neo) { opt0xoff = other.__opt0xoff / 2; opt0yoff = other.__opt0yoff / 2; opt1xoff = other.__opt1xoff / 2; opt1yoff = other.__opt1yoff / 2; opt2xoff = other.__opt2xoff / 2; opt2yoff = other.__opt2yoff / 2; opt3xoff = other.__opt3xoff / 2; opt3yoff = other.__opt3yoff / 2; heartxoff = other.__heartxoff; heartyoff = other.__heartyoff; done = true; } if (done) {
scr_debug_print("donezo");
instance_destroy(); } }; } return choiceradjuster; }
(11);
230
    });
231
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
232
}
233
if (con == 33 && global.choice != -1 && customcon == 1)
234
{
235
    con = -1;
236
    customcon = 0;
237
    k_d(4);
238
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
239
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
240
    {
241
        
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; } function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1) { if (arg1 < 0)
scr_flag_set(arg0, arg2);
else global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3); }
(1747, global.choice + 1);
242
    });
243
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
244
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
245
    if (global.choice == 0)
246
    {
247
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
248
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 3* Huh...?Wait for input
"\\E3* Huh...?/", "obj_ch5_LW02_slash_Step_0_gml_338_0"
);
249
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 4* Kris,Delay 11 is that,Delay 11 some sort of joke?Delay 11 Haha.Wait for input
"\\E4* Kris^1, is that^1, some sort of joke^1? Haha./", "obj_ch5_LW02_slash_Step_0_gml_339_0"
);
250
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 1* Kris,Delay 11 you know where I hide the extra house key.Wait for input
"\\E1* Kris^1, you know where I hide the extra house key./", "obj_ch5_LW02_slash_Step_0_gml_340_0"
);
251
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 8* ...Delay 11 I was surprised to find the house empty when I came home at 7.Wait for input
"\\E8* ..^1. I was surprised to find the house empty when I came home at 7./", "obj_ch5_LW02_slash_Step_0_gml_341_0"
);
252
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 1* I tried calling you straight away.Wait for input
"\\E1* I tried calling you straight away./", "obj_ch5_LW02_slash_Step_0_gml_342_0"
);
253
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 6* But your phone...Delay 11 I could not...Delay 11 get through to it.Wait for input
"\\E6* But your phone..^1. I could not..^1. get through to it./", "obj_ch5_LW02_slash_Step_0_gml_343_0"
);
254
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 1* Kris,Delay 11 did you take the ICE-E charger?Delay 11 You know it does not work.Wait for input
"\\E1* Kris^1, did you take the ICE-E charger^1? You know it does not work./", "obj_ch5_LW02_slash_Step_0_gml_344_0"
);
255
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face F* Anyhow,Delay 11 I was very worried.Delay 11 I was about to go looking for you...Wait for input
"\\EF* Anyhow^1, I was very worried^1. I was about to go looking for you.../", "obj_ch5_LW02_slash_Step_0_gml_345_0"
);
256
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 8* But Mr. Sans told me...Delay 11 he saw you and Susie...Delay 11 well...Wait for input
"\\E8* But Mr. Sans told me..^1. he saw you and Susie..^1. well.../", "obj_ch5_LW02_slash_Step_0_gml_346_0"
);
257
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* You know.Delay 11 Hanging out.Wait for input
"\\E9* You know^1. Hanging out./", "obj_ch5_LW02_slash_Step_0_gml_347_0"
);
258
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face E* ...Delay 11 and,Delay 11 well.Delay 11 He convinced me.Delay 11 Perhaps,Delay 11 I should leave you be.Wait for inputClose Message
"\\EE* ..^1. and^1, well^1. He convinced me^1. Perhaps^1, I should leave you be./%", "obj_ch5_LW02_slash_Step_0_gml_348_0"
);
259
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
260
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
261
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
262
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
263
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
264
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
265
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
266
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(3);
267
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
268
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
269
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(5);
270
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
271
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
272
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(6);
273
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
274
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
275
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(8);
276
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
277
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
278
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(11);
279
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
280
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
281
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(12);
282
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
283
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
284
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(13);
285
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
286
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
287
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
288
    }
289
    else
290
    {
291
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
292
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* Oh...Delay 11 you mean our joke marathon?Wait for input
"\\E4* Oh..^1. you mean our joke marathon?/", "obj_ch5_LW02_slash_Step_0_gml_391_0"
);
293
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 0* Haha,Delay 11 I had not had one of those in ages...Wait for input
"\\E0* Haha^1, I had not had one of those in ages.../", "obj_ch5_LW02_slash_Step_0_gml_392_0"
);
294
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 4* Kris,Delay 11 we were really hoping you would join,Delay 11 too.Wait for input
"\\E4* Kris^1, we were really hoping you would join^1, too./", "obj_ch5_LW02_slash_Step_0_gml_393_0"
);
295
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face E* ...Delay 11 I know you used to like those,Delay 11 honey.Wait for input
"\\EE* ..^1. I know you used to like those^1, honey./", "obj_ch5_LW02_slash_Step_0_gml_394_0"
);
296
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 8* ...Wait for input
"\\E8* .../", "obj_ch5_LW02_slash_Step_0_gml_395_0"
);
297
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face F* Susie...Wait for input
"\\EF* Susie.../", "obj_ch5_LW02_slash_Step_0_gml_396_0"
);
298
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 8* I said some strange things to her last night...Wait for input
"\\E8* I said some strange things to her last night.../", "obj_ch5_LW02_slash_Step_0_gml_397_0"
);
299
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face F* Kris?Delay 11 Was she okay?Delay 11 Did she really go home?Wait for input
"\\EF* Kris^1? Was she okay^1? Did she really go home?/", "obj_ch5_LW02_slash_Step_0_gml_398_0"
);
300
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face F* I...Wait for input
"\\EF* I.../", "obj_ch5_LW02_slash_Step_0_gml_399_0"
);
301
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face E* ...Delay 11 it was really nice having her over last time.Wait for input
"\\EE* ..^1. it was really nice having her over last time./", "obj_ch5_LW02_slash_Step_0_gml_400_0"
);
302
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face F* I hope she still feels like she can come over.Wait for input
"\\EF* I hope she still feels like she can come over./", "obj_ch5_LW02_slash_Step_0_gml_401_0"
);
303
        
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* ...Delay 11 you hope so too,Delay 11 right,Delay 11 Kris?Wait for inputClose Message
"\\E9* ..^1. you hope so too^1, right^1, Kris?/%", "obj_ch5_LW02_slash_Step_0_gml_402_0"
);
304
        
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
305
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
306
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
307
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
308
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
309
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
310
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
311
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(4);
312
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
313
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
314
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(6);
315
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
316
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
317
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(7);
318
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
319
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
320
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(8);
321
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
322
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
323
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(9);
324
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
325
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
326
        
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(10);
327
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
328
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
329
        
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
330
    }
331
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
332
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
333
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toast_eat_expressions);
334
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
335
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
336
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 0* ...Delay 11 oh,Delay 11 the Festival is later today,Delay 11 is it not?Wait for input
"\\E0* ..^1. oh^1, the Festival is later today^1, is it not?/", "obj_ch5_LW02_slash_Step_0_gml_447_0"
);
337
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 1* A shame Asriel could not be here to go with you.Wait for input
"\\E1* A shame Asriel could not be here to go with you./", "obj_ch5_LW02_slash_Step_0_gml_448_0"
);
338
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 4* You two had so much fun at those together.Wait for input
"\\E4* You two had so much fun at those together./", "obj_ch5_LW02_slash_Step_0_gml_449_0"
);
339
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* You would win so many whistles and toys...Wait for input
"\\E9* You would win so many whistles and toys.../", "obj_ch5_LW02_slash_Step_0_gml_450_0"
);
340
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 3* ...Delay 11 which I had to,Delay 11 um...Wait for input
"\\E3* ..^1. which I had to^1, um.../", "obj_ch5_LW02_slash_Step_0_gml_451_0"
);
341
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 5* Hide,Delay 11 because you two and your father made so much noise.Wait for inputClose Message
"\\E5* Hide^1, because you two and your father made so much noise./%", "obj_ch5_LW02_slash_Step_0_gml_452_0"
);
342
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
343
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
344
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
345
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
346
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
347
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
348
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(3);
349
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
350
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(4);
351
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
352
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(5);
353
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
354
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
355
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
356
    c_snd_play(snd_swallow);
357
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
358
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
359
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
360
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
361
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 1* ...Wait for input
"\\E1* .../", "obj_ch5_LW02_slash_Step_0_gml_481_0"
);
362
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face E* ...Delay 11 just a little while before we go to bring Asriel home.Wait for inputClose Message
"\\EE* ..^1. just a little while before we go to bring Asriel home./%", "obj_ch5_LW02_slash_Step_0_gml_482_0"
);
363
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
364
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
365
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
366
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toast_ask);
367
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
368
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(45);
369
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
370
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face F* ...Wait for input
"\\EF* .../", "obj_ch5_LW02_slash_Step_0_gml_494_0"
);
371
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 0* I wonder if it would be nice to surprise him early....?Wait for input
"\\E0* I wonder if it would be nice to surprise him early....?/", "obj_ch5_LW02_slash_Step_0_gml_495_0"
);
372
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 4* Appear suddenly at his dormitory.Delay 11 What would he think?Delay 11 Haha.Wait for input
"\\E4* Appear suddenly at his dormitory^1. What would he think^1? Haha./", "obj_ch5_LW02_slash_Step_0_gml_496_0"
);
373
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face E* Just a...Delay 11 crazy thought.Wait for inputClose Message
"\\EE* Just a..^1. crazy thought./%", "obj_ch5_LW02_slash_Step_0_gml_497_0"
);
374
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
375
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
376
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
377
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
378
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toast_ask);
379
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(3);
380
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
381
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
382
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
383
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
384
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover);
385
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
386
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
387
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(1);
388
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(407, 140, 12);
389
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
390
    
c_panobj
c_panobj

function
c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
}
(kr_actor, 20);
391
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(21);
392
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
393
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
394
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("d");
395
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
396
    {
397
        global.plot = 11;
398
        regain_control();
399
    });
400
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
401
}
402
if (con == 40 && !d_ex() && customcon == 1)
403
{
404
    con = -1;
405
    customcon = 0;
406
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
407
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
408
    {
409
        lose_control();
410
    });
411
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
412
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* Kris,Delay 11 honey...Delay 11 toast,Delay 11 honey...Delay 11 honey toast.Delay 11 Please.Wait for inputClose Message
"\\E4* Kris^1, honey..^1. toast^1, honey..^1. honey toast^1. Please./%", "obj_ch5_LW02_slash_Step_0_gml_554_0"
);
413
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
414
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
415
    {
416
        regain_control();
417
    });
418
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
419
}
420
if (con == 45 && !d_ex() && customcon == 1)
421
{
422
    con = -1;
423
    customcon = 0;
424
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
425
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
426
    {
427
        lose_control();
428
    });
429
    var kr_x_pos = 427;
430
    var kr_y_pos = 124;
431
    var kr_walktime = 
scr_calculate_move_distance
scr_calculate_move_distance

function
scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{ var move_time = 1; var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4); if (distance_time > move_time) move_time = distance_time; return move_time; }
(kr_actor.x, kr_actor.y, kr_x_pos, kr_y_pos, 2);
432
    var kr_walktime_ext = 
scr_calculate_move_distance
scr_calculate_move_distance

function
scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{ var move_time = 1; var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4); if (distance_time > move_time) move_time = distance_time; return move_time; }
(kr_x_pos, kr_y_pos, 407, kr_y_pos, 2);
433
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
434
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(407, kr_y_pos, kr_walktime_ext);
435
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
436
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
437
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
438
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
439
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toastless);
440
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
441
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 3* Kris...Wait for input
"\\E3* Kris.../", "obj_ch5_LW02_slash_Step_0_gml_603_0"
);
442
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face D* You know I didn't raise you to waste food...Wait for input
"\\ED* You know I didn't raise you to waste food.../", "obj_ch5_LW02_slash_Step_0_gml_604_0"
);
443
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face F* ...Wait for inputClose Message
"\\EF* .../%", "obj_ch5_LW02_slash_Step_0_gml_605_0"
);
444
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
445
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
446
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
447
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
448
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(1);
449
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(407, 140, 12);
450
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
451
    
c_panobj
c_panobj

function
c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
}
(kr_actor, 20);
452
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(21);
453
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
454
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
455
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("d");
456
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
457
    {
458
        global.plot = 11;
459
        regain_control();
460
    });
461
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
462
}
463
if (con == 48 && !d_ex() && customcon == 1)
464
{
465
    con = -1;
466
    customcon = 0;
467
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
468
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
469
    {
470
        lose_control();
471
    });
472
    var kr_x_pos = 427;
473
    var kr_y_pos = 124;
474
    var kr_walktime = 
scr_calculate_move_distance
scr_calculate_move_distance

function
scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{ var move_time = 1; var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4); if (distance_time > move_time) move_time = distance_time; return move_time; }
(kr_actor.x, kr_actor.y, kr_x_pos, kr_y_pos, 2);
475
    var kr_walktime_ext = 
scr_calculate_move_distance
scr_calculate_move_distance

function
scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{ var move_time = 1; var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4); if (distance_time > move_time) move_time = distance_time; return move_time; }
(kr_x_pos, kr_y_pos, 407, kr_y_pos, 2);
476
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
477
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(407, kr_y_pos, kr_walktime_ext);
478
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
479
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
480
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
481
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
482
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
483
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
484
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* Kris? Where's the toast,Delay 11 honey?Wait for input
"\\E4* Kris? Where's the toast^1, honey?/", "obj_ch5_LW02_slash_Step_0_gml_663_0_b"
);
485
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 1* ...Wait for input
"\\E1* .../", "obj_ch5_LW02_slash_Step_0_gml_664_0_b"
);
486
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 3* You don't remember...?Wait for input
"\\E3* You don't remember...?/", "obj_ch5_LW02_slash_Step_0_gml_665_0"
);
487
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 5* ...Wait for inputClose Message
"\\E5* .../%", "obj_ch5_LW02_slash_Step_0_gml_666_0"
);
488
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
489
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
490
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(1);
491
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(407, 140, 12);
492
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
493
    
c_panobj
c_panobj

function
c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
}
(kr_actor, 20);
494
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(21);
495
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
496
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
497
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("d");
498
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
499
    {
500
        global.plot = 11;
501
        regain_control();
502
    });
503
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
504
}
505
if (con == 50 && !d_ex() && customcon == 1)
506
{
507
    con = -1;
508
    customcon = 0;
509
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
510
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
511
    {
512
        lose_control();
513
    });
514
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
515
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_awake);
516
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
517
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 0* Go have fun at the Festival,Delay 11 honey.Wait for input
"\\E0* Go have fun at the Festival^1, honey./", "obj_ch5_LW02_slash_Step_0_gml_583_0"
);
518
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face 9* I am certain Susie would love to go with you.Wait for inputClose Message
"\\E9* I am certain Susie would love to go with you./%", "obj_ch5_LW02_slash_Step_0_gml_584_0"
);
519
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
520
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
521
    {
522
        regain_control();
523
    });
524
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
525
}
526
if (con == 52 && !d_ex() && customcon == 1)
527
{
528
    con = -1;
529
    customcon = 0;
530
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
531
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
532
    {
533
        lose_control();
534
    });
535
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(to);
536
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_toriel_hungover_toastless);
537
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
538
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 5* Kris!!Delay 11 That was just a joke!!Delay 11 You do not have to keep flushing!!Wait for input
"\\E5* Kris!^1! That was just a joke!^1! You do not have to keep flushing!!/", "obj_ch5_LW02_slash_Step_0_gml_613_0"
);
539
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face D* Everyone in this family thinks they are just so funny!!Wait for inputClose Message
"\\ED* Everyone in this family thinks they are just so funny!!/%", "obj_ch5_LW02_slash_Step_0_gml_614_0"
);
540
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
541
    
c_customfunc
c_customfunc

function
c_customfunc(arg0, arg1 = -1)
{ if (instance_exists(obj_cutscene_master)) { with (obj_cutscene_master) array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
} }
(function()
542
    {
543
        
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; } function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1) { if (arg1 < 0)
scr_flag_set(arg0, arg2);
else global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3); }
(1436, 3);
544
        regain_control();
545
    });
546
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
547
}
548
if (con == 60 && !d_ex() && global.interact == 0)
549
{
550
    con = 61;
551
    global.interact = 1;
552
    with (_shine_marker)
553
        instance_destroy();
554
    _shine_marker = -4;
555
    
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("no_name");
556
    msgsetloc(0, 
* (You put the toast in the microwave toaster and set it to "toast".)Wait for input
"* (You put the toast in the microwave toaster and set it to \"toast\".)/", "obj_ch5_LW02_slash_Step_0_gml_637_0"
);
557
    msgnextloc(
* (It will take 10 seconds for the toast to be done.)Wait for inputClose Message
"* (It will take 10 seconds for the toast to be done.)/%", "obj_ch5_LW02_slash_Step_0_gml_638_0"
);
558
    d_make();
559
}
560
if (con == 61 && !d_ex())
561
{
562
    con = 100;
563
    
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; } function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1) { if (arg1 < 0)
scr_flag_set(arg0, arg2);
else global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3); }
(1437, 1);
564
    toaster_active = true;
565
    global.flag[1745] = 0;
566
}
567
if (con == 70 && !d_ex() && global.interact == 0)
568
{
569
    con = 71;
570
    global.interact = 1;
571
    toaster_active = false;
572
    
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("no_name");
573
    msgsetloc(0, 
* (You looked at the toaster.)Wait for input
"* (You looked at the toaster.)/", "obj_ch5_LW02_slash_Step_0_gml_663_0"
);
574
    msgnextloc(
* (Doing this somehow makes the toast take longer to finish.)Wait for inputClose Message
"* (Doing this somehow makes the toast take longer to finish.)/%", "obj_ch5_LW02_slash_Step_0_gml_664_0"
);
575
    d_make();
576
}
577
if (con == 71 && !d_ex())
578
{
579
    con = 100;
580
    
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; } function scr_flag_set_ext(arg0, arg1, arg2, arg3 = 1) { if (arg1 < 0)
scr_flag_set(arg0, arg2);
else global.flag[arg0] = scr_set_bitmask_value(global.flag[arg0], arg1, arg2, arg3); }
(1438, 1);
581
    toaster_active = true;
582
}
583
if (con == 72 && !d_ex() && global.interact == 0)
584
{
585
    con = 100;
586
    global.interact = 1;
587
    with (_shine_marker)
588
        instance_destroy();
589
    
scr_litemget
scr_litemget

function
scr_litemget(arg0)
{ i = 0; loop = 0; noroom = 1; global.litem[8] = 999; for (i = 0; i < 8; i++) { if (global.litem[i] == 0) { global.litem[i] = arg0; noroom = 0; break; } }
scr_litemname();
}
(19);
590
    global.writersnd[0] = snd_item;
591
    
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("no_name");
592
    msgsetloc(0, 
* (You took out the toast and carefully put honey on it.)Wait for input
"* (You took out the toast and carefully put honey on it.)/", "obj_ch5_LW02_slash_Step_0_gml_691_0"
);
593
    msgnextloc(
\S0* (You got the Honey Toast.)Wait for inputClose Message
"\\S0* (You got the Honey Toast.)/%", "obj_ch5_LW02_slash_Step_0_gml_692_0"
);
594
    d_make();
595
}
596
if (con == 74 && !d_ex() && global.interact == 0)
597
{
598
    con = 75;
599
    global.interact = 1;
600
    
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("no_name");
601
    msgsetloc(0, 
* (It's a toaster that toasts toast,Delay 11 just like all the other ones.)Wait for input
"* (It's a toaster that toasts toast^1, just like all the other ones.)/", "obj_ch5_LW02_slash_Step_0_gml_704_0"
);
602
    msgnextloc(
* (...Delay 11 or,Delay 11 rather,Delay 11 a microwave toaster oven.)Wait for inputClose Message
"* (..^1. or^1, rather^1, a microwave toaster oven.)/%", "obj_ch5_LW02_slash_Step_0_gml_705_0"
);
603
    d_make();
604
}
605
if (con == 75 && !d_ex())
606
{
607
    con = 0;
608
    global.interact = 0;
609
}
610
if (con == 90 && !d_ex() && customcon == 1)
611
{
612
    con = 100;
613
    customcon = 0;
614
    global.facing = 0;
615
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
616
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
617
    
c_panobj
c_panobj

function
c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
}
(kr_actor, 15);
618
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(16);
619
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
620
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
621
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("d");
622
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(toriel_npc, "visible", true);
623
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
624
    
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
625
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
626
}
627
if (con == 100 && !d_ex())
628
{
629
    con = -1;
630
    global.interact = 0;
631
}