Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_scene31_Step_0

related scripts: Alarm_0Create_0Step_0

(view raw script w/o annotations or w/e)
1
if (con == 10 && !d_ex())
2
{
3
    con = 11;
4
    with (obj_readable_room1)
5
        instance_destroy();
6
    global.interact = 1;
7
    global.facing = 2;
8
    anykey = true;
9
    audio_sound_gain(global.currentsong[1], 0, 1000);
10
    var foreground = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(0, 0, spr_cutscene_31_foreground);
11
    with (foreground)
12
        depth = 95000;
13
    faucet = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(194, 106, spr_cutscene_31_faucet_running);
14
    faucet.image_speed = 0.25;
15
    faucet.visible = 0;
16
    with (faucet)
17
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
18
    cabinet_heartless = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(faucet.x, faucet.y, spr_cutscene_31_cabinet_heartless);
19
    cabinet_heartless.image_speed = 0;
20
    cabinet_heartless.visible = 0;
21
    with (cabinet_heartless)
22
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
23
    cabinet_heart = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(faucet.x, faucet.y, spr_cutscene_31_cabinet_heart);
24
    cabinet_heart.image_speed = 0;
25
    cabinet_heart.visible = 0;
26
    with (cabinet_heart)
27
        
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
28
    window = 
scr_marker
scr_marker

function
scr_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; } return thismarker; }
(52, 89, spr_cutscene_31_window_raise_bg);
29
    window.image_speed = 0;
30
    with (window)
31
        depth = 1000000;
32
    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; }
();
33
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ 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; } } } }
();
34
    obj_cutscene_master.save_object[0] = faucet;
35
    obj_cutscene_master.save_object[1] = window;
36
    obj_cutscene_master.save_object[2] = cabinet_heart;
37
    obj_cutscene_master.save_object[3] = cabinet_heartless;
38
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(faucet, "depth", kr_actor.depth + 1000);
39
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0, 10);
40
    
c_sel
c_sel

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

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(202, 109, 10);
42
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
43
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
44
    
c_mus
c_mus

function
c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
}
("free_all");
45
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("initloop", "sink_noise.ogg", 0);
46
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_noise);
47
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(faucet, "visible", 1);
48
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("no_name");
49
    
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,
* It started to run.Wait for input
"* It started to run./", "obj_ch2_scene31_slash_Step_0_gml_60_0"
);
50
    
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);
}
(
* It's making a lot of noise.Wait for inputClose Message
"* It's making a lot of noise./%", "obj_ch2_scene31_slash_Step_0_gml_61_0"
);
51
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
}
();
52
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
53
}
54
if (con == 11 && anykey == true && customcon == 1)
55
{
56
    keytimer++;
57
    if (keytimer >= 60 && keytimer < maxshaketime)
58
    {
59
        if (keyboard_check_pressed(vk_anykey) || 
scr_gamepad_check_pressed_any
scr_gamepad_check_pressed_any

function
scr_gamepad_check_pressed_any()
{ var button_pressed; if (!i_ex(obj_gamecontroller)) { return false; } else { button_pressed = false; for (var i = 0; i < 10; i += 1) { if (gamepad_button_check_pressed(obj_gamecontroller.gamepad_id, global.input_g[i])) { button_pressed = true; break; } } } return button_pressed; }
())
60
        {
61
            maxshaketime--;
62
            with (kr_actor)
63
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
64
        }
65
    }
66
    if (keytimer >= maxshaketime)
67
    {
68
        con = 12;
69
        anykey = false;
70
    }
71
}
72
if (con == 12 || 
scr_cutscene_loaded
scr_cutscene_loaded

function
scr_cutscene_loaded()
{ var __loadedState = 0; if (instance_exists(obj_cutscene_master)) { if (obj_cutscene_master.loadedState == 1) __loadedState = 1; } return __loadedState; }
())
73
{
74
    con = 49;
75
    alarm[0]
 = 30;
gml_Object_obj_ch2_scene31_Alarm_0.gml

con++;
76
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
77
    
c_sel
c_sel

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

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
79
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
80
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_remove_soul);
81
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(190, 109);
82
    
c_halt
c_halt

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
84
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
85
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(209, 109, 4);
86
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.5);
87
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
88
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
89
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_noise);
90
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(2);
91
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
92
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(120);
93
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.1);
94
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(70);
95
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
96
    
c_wait
c_wait

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
98
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.5);
99
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
100
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(196, 109, 4);
101
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(13);
102
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.25);
103
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
104
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_damage);
105
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_hurt1);
106
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(31);
107
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
108
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(20);
109
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
110
    repeat (4)
111
    {
112
        
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.5);
113
        
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_hurt1);
114
        
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(16);
115
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
116
    }
117
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
118
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(204, 109, 4);
119
    
c_instance
c_instance

function
c_instance(arg0, arg1, arg2)
{
c_cmd("instancecreate", arg0, arg1, arg2, 0);
}
(206, 130, 370);
120
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_break1);
121
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_grab);
122
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(38);
123
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
124
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(37);
125
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
126
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(35);
127
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
128
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
129
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(70);
130
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(37);
131
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
132
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(13);
133
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "visible", 1);
134
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "image_index", 3);
135
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
136
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_hurt1);
137
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_damage);
138
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
139
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(26);
140
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(45);
141
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_doorclose);
142
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "image_index", 4);
143
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(2);
144
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "image_index", 5);
145
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(48);
146
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(42);
147
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
148
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(43);
149
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
150
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(44);
151
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
152
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "visible", 0);
153
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
154
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(210, 109);
155
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
156
    
c_depth
c_depth

function
c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
}
(0);
157
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
158
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_bathroom_walk_slow);
159
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-10, 10);
160
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
161
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-10, 2);
162
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
163
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-15, 0);
164
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
165
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-10, 0);
166
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
167
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-10, 0);
168
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
169
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-15, 0);
170
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
171
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-10, 0);
172
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
173
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-15, 0);
174
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
175
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-10, 0);
176
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
177
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-15, 0);
178
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
179
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-10, 0);
180
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
181
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-15, 0);
182
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
183
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(-7, 0);
184
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
185
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_window_raise_kris);
186
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(52, 89);
187
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
188
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
189
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
190
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
191
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
192
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
193
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
194
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
195
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(window, "image_speed", 0.25);
196
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(2);
197
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_noise);
198
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.5);
199
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
200
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
201
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(8);
202
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(window, "image_speed", 0);
203
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(52);
204
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_wing);
205
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(7);
206
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
207
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
208
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_wing);
209
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(8);
210
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
211
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
212
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_wing);
213
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(9);
214
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
215
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
216
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_heavyswing);
217
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(10);
218
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
219
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(12);
220
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
221
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(14);
222
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
223
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
224
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(16);
225
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(24);
226
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
227
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_bump);
228
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_wing);
229
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0, 120);
230
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(180);
231
    
c_mus
c_mus

function
c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
}
("free");
232
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("initloop", "home.ogg", 0);
233
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0, 0);
234
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0.5, 60);
235
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
236
    
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,
* Well,Delay 11 let us get the flour.Wait for input
"* Well^1, let us get the flour./", "obj_ch2_scene31_slash_Step_0_gml_385_0"
);
237
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "C");
238
    
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* So,Delay 11 that's...Delay 11 this bag? And you just...Wait for input
"\\EC* So^1, that's..^1. this bag? And you just.../", "obj_ch2_scene31_slash_Step_0_gml_387_0"
);
239
    
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 oops.Wait for input
"\\EE* ..^1. oops./", "obj_ch2_scene31_slash_Step_0_gml_388_0"
);
240
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 4);
241
    
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* Hee hee hee!Delay 11 Susie,Delay 11 you have flour on your nose!Wait for input
"\\E4* Hee hee hee^1! Susie^1, you have flour on your nose!/", "obj_ch2_scene31_slash_Step_0_gml_390_0"
);
242
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "3");
243
    
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* Uh,Delay 11 I meant to do that.Wait for input
"\\E3* Uh^1, I meant to do that./", "obj_ch2_scene31_slash_Step_0_gml_392_0"
);
244
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 4);
245
    
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* Thought you would stop to "smell the flour,Delay 11" eh?Wait for input
"\\E4* Thought you would stop to \"smell the flour^1,\" eh?/", "obj_ch2_scene31_slash_Step_0_gml_394_0"
);
246
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", 9);
247
    
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* Hahaha,Delay 11 ughhh - ACHOO!Delay 11 C'mon!!!Wait for input
"\\E9* Hahaha^1, ughhh - ACHOO^1! C'mon!!!/", "obj_ch2_scene31_slash_Step_0_gml_396_0"
);
248
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 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 0* Now,Delay 11 onto the next part...Wait for inputClose Message
"\\E0* Now^1, onto the next part.../%", "obj_ch2_scene31_slash_Step_0_gml_398_0"
);
250
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
}
();
251
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
252
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
253
    
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 K* ...Delay 11 so,Delay 11 where the he-- Delay 11uh,Delay 11 HECK,Delay 11 is Kris?Wait for input
"\\EK* ..^1. so^1, where the he--^1 uh^1, HECK^1, is Kris?/", "obj_ch2_scene31_slash_Step_0_gml_405_0"
);
254
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 1);
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 0* Oh,Delay 11 Kris,Delay 11 er...Delay 11 does this sometimes.Wait for input
"\\E0* Oh^1, Kris^1, er..^1. does this sometimes./", "obj_ch2_scene31_slash_Step_0_gml_407_0"
);
256
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", 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 0* Well they should hurry. I'm getting sleepy.Wait for input
"\\E0* Well they should hurry. I'm getting sleepy./", "obj_ch2_scene31_slash_Step_0_gml_409_0"
);
258
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 4);
259
    
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* Do you know what they call a sleeping Susie?Wait for input
"\\E4* Do you know what they call a sleeping Susie?/", "obj_ch2_scene31_slash_Step_0_gml_411_0"
);
260
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "K");
261
    
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 K* Huh...? What?Wait for input
"\\EK* Huh...? What?/", "obj_ch2_scene31_slash_Step_0_gml_413_0"
);
262
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 4);
263
    
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* They would call her...Delay 11 A "Snoozie!"Wait for input
"\\E4* They would call her..^1. A \"Snoozie!\"/", "obj_ch2_scene31_slash_Step_0_gml_415_0"
);
264
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "A");
265
    
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 A* Uhh...Delay 11 haha. Then...Wait for input
"\\EA* Uhh..^1. haha. Then.../", "obj_ch2_scene31_slash_Step_0_gml_417_0"
);
266
    
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 2* Then I guess you'd be,Delay 11 uh...Delay 11 "Snoriel?"Wait for input
"\\E2* Then I guess you'd be^1, uh..^1. \"Snoriel?\"/", "obj_ch2_scene31_slash_Step_0_gml_418_0"
);
267
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 4);
268
    
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* HAHAHA!!Delay 11 Hahaha!!Delay 11 Snoriel!!!Wait for input
"\\E4* HAHAHA!^1! Hahaha!^1! Snoriel!!!/", "obj_ch2_scene31_slash_Step_0_gml_420_0"
);
269
    
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);
}
(
* Snoozy and Snoriel!!!Wait for input
"* Snoozy and Snoriel!!!/", "obj_ch2_scene31_slash_Step_0_gml_421_0"
);
270
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "K");
271
    
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 K* Uhh,Delay 11 heheh,Delay 11 you...Delay 11 really liked that one,Delay 11 huh?Wait for input
"\\EK* Uhh^1, heheh^1, you..^1. really liked that one^1, huh?/", "obj_ch2_scene31_slash_Step_0_gml_423_0"
);
272
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("toriel", 0);
273
    
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* Wasn't it funny?Wait for inputClose Message
"\\E4* Wasn't it funny?/%", "obj_ch2_scene31_slash_Step_0_gml_425_0"
);
274
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
}
();
275
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
276
    torielstring = stringsetloc(
Toriel???
"Toriel???", "obj_ch2_scene31_slash_Step_0_gml_431_0"
);
277
    if (global.lang == "ja")
278
    {
279
        if (global.is_console == true)
280
            
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } if (is_string(arg4)) { if (global.fighting == 1) { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 45; if (arg4 == "bottom") global.smyy[arg0] = 56; if (arg4 == "bottom" || arg4 == "bottommid") { global.smdir[arg0] = 90; global.smspeed[arg0] = 4; global.smalarm[arg0] = 10; global.smyy[arg0] += 40; global.smxx[arg0] -= 40; } } else { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 50; if (arg4 == "bottom") global.smyy[arg0] = 68; if (global.darkzone == 0) { if (arg4 == "top") ...
(0, "susie", 7, 372, 219, torielstring);
281
        else
282
            
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } if (is_string(arg4)) { if (global.fighting == 1) { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 45; if (arg4 == "bottom") global.smyy[arg0] = 56; if (arg4 == "bottom" || arg4 == "bottommid") { global.smdir[arg0] = 90; global.smspeed[arg0] = 4; global.smalarm[arg0] = 10; global.smyy[arg0] += 40; global.smxx[arg0] -= 40; } } else { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 50; if (arg4 == "bottom") global.smyy[arg0] = 68; if (global.darkzone == 0) { if (arg4 == "top") ...
(0, "susie", 7, 372, 244, torielstring);
283
    }
284
    else if (global.is_console == true)
285
    {
286
        
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } if (is_string(arg4)) { if (global.fighting == 1) { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 45; if (arg4 == "bottom") global.smyy[arg0] = 56; if (arg4 == "bottom" || arg4 == "bottommid") { global.smdir[arg0] = 90; global.smspeed[arg0] = 4; global.smalarm[arg0] = 10; global.smyy[arg0] += 40; global.smxx[arg0] -= 40; } } else { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 50; if (arg4 == "bottom") global.smyy[arg0] = 68; if (global.darkzone == 0) { if (arg4 == "top") ...
(0, "susie", 7, 442, 208, torielstring);
287
    }
288
    else
289
    {
290
        
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } if (is_string(arg4)) { if (global.fighting == 1) { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 45; if (arg4 == "bottom") global.smyy[arg0] = 56; if (arg4 == "bottom" || arg4 == "bottommid") { global.smdir[arg0] = 90; global.smspeed[arg0] = 4; global.smalarm[arg0] = 10; global.smyy[arg0] += 40; global.smxx[arg0] -= 40; } } else { if (arg4 == "top") global.smyy[arg0] = -10; if (arg4 == "mid" || arg4 == "middle") global.smyy[arg0] = 30; if (arg4 == "bottommid") global.smyy[arg0] = 50; if (arg4 == "bottom") global.smyy[arg0] = 68; if (global.darkzone == 0) { if (arg4 == "top") ...
(0, "susie", 7, 442, 230, torielstring);
291
    }
292
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
293
    
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* ...Delay 11 Alright,Delay 11 where the HELL is Kris?Mini text 0 Wait for inputClose Message
"\\E5* ..^1. Alright^1, where the HELL is Kris?\\f0/%", "obj_ch2_scene31_slash_Step_0_gml_434_0"
);
294
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
}
();
295
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("toriel");
296
    
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* The pie is nearly done...Wait for input
"\\E1* The pie is nearly done.../", "obj_ch2_scene31_slash_Step_0_gml_438_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 8* Oh,Delay 11 the sugar!Delay 11 Wait here a moment,Delay 11 I left it in the car!Wait for input
"\\E8* Oh^1, the sugar^1! Wait here a moment^1, I left it in the car!/", "obj_ch2_scene31_slash_Step_0_gml_439_0"
);
298
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "A");
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 A* OK!Wait for inputClose Message
"\\EA* OK!/%", "obj_ch2_scene31_slash_Step_0_gml_441_0"
);
300
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
}
();
301
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
302
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0, 30);
303
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
304
    
c_mus
c_mus

function
c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
}
("free");
305
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.25);
306
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(12);
307
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
308
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
309
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.25);
310
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(12);
311
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
312
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
313
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_wing);
314
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(26);
315
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
316
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
317
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_heavyswing);
318
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_jump);
319
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(50, 110);
320
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
321
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "hspeed", 8);
322
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "gravity", 0.5);
323
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "friction", 0.3);
324
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
325
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_kneel_stand);
326
    
c_flip
c_flip

function
c_flip(arg0)
{
c_cmd("flip", arg0, 0, 0, 0);
}
("x");
327
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(-20, -8);
328
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "friction", 0.5);
329
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "vspeed", 0);
330
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "gravity", 0);
331
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_wing);
332
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("initloop", "sink_noise.ogg", 0);
333
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0, 0);
334
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 1, 90);
335
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
336
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
337
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
338
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
339
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
340
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
341
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(-6, 2);
342
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_bathroom_walk_slow);
343
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
344
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(15, 0);
345
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
346
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(10, 0);
347
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
348
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(15, 0);
349
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
350
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(10, 0);
351
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
352
    
c_shakestep
c_shakestep

function
c_shakestep(arg0, arg1)
{
c_autowalk(0);
c_imageindex(1);
c_addxy(arg0, arg1);
c_var("stepsound", 1);
c_delaycmd(15, "imageindex", 0);
c_shakeobj();
}
(15, -1);
353
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
354
    
c_flip
c_flip

function
c_flip(arg0)
{
c_cmd("flip", arg0, 0, 0, 0);
}
("x");
355
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(1);
356
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
357
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
358
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "speed", 0);
359
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(kr_actor, "friction", 0);
360
    
c_walk_wait
c_walk_wait

function
c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
}
("u", 0.4, 60);
361
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
362
    
c_autowalk
c_autowalk

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_wash_hands);
364
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(189, 103);
365
    
c_halt
c_halt

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(6);
367
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
368
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
369
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
370
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
371
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_wash_hands_loop);
372
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
373
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
374
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
375
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(faucet, "visible", 0);
376
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_noise);
377
    
c_mus
c_mus

function
c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
}
("free");
378
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
379
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_dry_hands);
380
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(195, 108);
381
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
382
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_grab);
383
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
384
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
385
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
386
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
387
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
388
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(3);
389
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
390
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(4);
391
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(40);
392
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_cutscene_31_kris_remove_soul);
393
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(200, 109, 4);
394
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(39);
395
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
396
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_dooropen);
397
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "visible", 1);
398
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "image_index", 5);
399
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(2);
400
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "image_index", 4);
401
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(2);
402
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "image_index", 3);
403
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
404
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(38);
405
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(2);
406
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heart, "visible", 0);
407
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heartless, "visible", 1);
408
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heartless, "image_index", 3);
409
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(37);
410
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_noise);
411
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(2);
412
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(37);
413
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(6);
414
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_doorclose);
415
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heartless, "image_index", 2);
416
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
417
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heartless, "image_index", 1);
418
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
419
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(cabinet_heartless, "visible", 0);
420
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
421
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
422
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(192, 109, 2);
423
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(13);
424
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.5);
425
    
c_instance
c_instance

function
c_instance(arg0, arg1, arg2)
{
c_cmd("instancecreate", arg0, arg1, arg2, 0);
}
(200, 127, 370);
426
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_grab);
427
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_hurt1);
428
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(14);
429
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
430
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
431
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_bump);
432
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
433
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(80);
434
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(200, 109);
435
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(1);
436
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("d");
437
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("initloop", "home.ogg", 0);
438
}
439
if (con == 50 && !d_ex())
440
{
441
    con = 60;
442
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
443
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
444
}
445
if (con == 60 && !i_ex(obj_cutscene_master))
446
{
447
    con = 0;
448
    global.interact = 0;
449
    global.facing = 0;
450
    global.plot = 211;
451
    instance_destroy(faucet);
452
    instance_create(198, 116, obj_readable_room1);
453
    instance_create(170, 116, obj_readable_room1);
454
    var bath_readable = instance_create(116, 124, obj_readable_room1);
455
    with (bath_readable)
456
        image_xscale = 2.1;
457
    var door = instance_create(236, 134, obj_doorB);
458
    with (door)
459
    {
460
        doorFacing = 1;
461
        doorSound = snd_dooropen;
462
        doorSound2 = snd_doorclose;
463
        doorDelay = 12;
464
        doorPostDelay = 5;
465
    }
466
    instance_destroy();
467
}