Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_PTB04_shelter_Step_0

(view raw script w/o annotations or w/e)
1
if (con == 0)
2
{
3
    con = 1;
4
    alarm[0]
 = 1;
gml_Object_obj_ch3_PTB04_shelter_Alarm_0.gml

con++;
5
    global.interact = 1;
6
    global.facing = 0;
7
    with (obj_mainchara)
8
    {
9
        x = 0;
10
        y = 0;
11
    }
12
}
13
if (con == 2)
14
{
15
    con = 3;
16
    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; }
();
17
    
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; } } } }
();
18
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
19
    
c_visible
c_visible

function
c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
}
(0);
20
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
21
    
c_autowalk
c_autowalk

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_kris_run_down);
23
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.25);
24
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(145, -40);
25
    
c_var_lerp_instance
c_var_lerp_instance

function
c_var_lerp_instance()
{ if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
} function c_lerp_var_instance() { if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} function c_lerpvar_instance() { if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
(blackall, "image_alpha", 1, 0, 60);
26
    
c_delaycmd4
c_delaycmd4

function
c_delaycmd4(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
(100, "var", id, "deep_audio_start", true);
27
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
28
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(145, 970, 200);
29
    
c_delaywalkdirect
c_delaywalkdirect

function
c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
}
(201, 30, 1053, 30);
30
    
c_delaywalkdirect
c_delaywalkdirect

function
c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
}
(231, 30, 1105, 20);
31
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(251, "sprite", spr_susie_kris_run_right_shocked);
32
    
c_delaycmd4
c_delaycmd4

function
c_delaycmd4(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
(251, "addxy", -16, 27, 0, 0);
33
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(251, "imagespeed", 0);
34
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(251, "imageindex", 1);
35
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(255, "imageindex", 2);
36
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(259, "imageindex", 3);
37
    
c_delaywalkdirect
c_delaywalkdirect

function
c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
}
(251, 64, 1132, 10);
38
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(261, "sprite", spr_susie_kris_stop_recoil);
39
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(261, "imagespeed", 0);
40
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(261, "imageindex", 0);
41
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(265, "imageindex", 1);
42
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(269, "imageindex", 2);
43
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(273, "imageindex", 3);
44
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
}
(277, "imageindex", 4);
45
    
c_wait
c_wait

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

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
47
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(0, 1000, 190);
48
    
c_wait
c_wait

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(209);
50
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
51
}
52
if (con == 3 && customcon == 1)
53
{
54
    con = 4;
55
    with (smoke)
56
        instance_destroy();
57
}
58
if (con == 4 && customcon == 1)
59
{
60
    con = 5;
61
    customcon = 0;
62
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
63
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "deep_audio_stop", true);
64
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("free_all");
65
    
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
} function c_sndplay(arg0) {
c_soundplay(arg0);
} function c_snd_play(arg0) {
c_soundplay(arg0);
} function c_sound_play(arg0) {
c_soundplay(arg0);
}
(snd_locker);
66
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(shelter_marker, "sprite_index", spr_shelter);
67
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
68
    
c_wait
c_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
70
    
c_imagespeed
c_imagespeed

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_kris_stop_run);
73
    
c_wait
c_wait

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

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
75
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
76
    
c_autodepth
c_autodepth

function
c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
}
(0);
77
    
c_depth
c_depth

function
c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
}
(su_actor.depth - 100);
78
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(67, 1135);
79
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
80
    
c_visible
c_visible

function
c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
}
(1);
81
    
c_sel
c_sel

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

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(120, 1155, 15);
83
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(16, "u");
84
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
85
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_diagonal_run);
86
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
87
    c_var_lerp_to("image_index", 5, 8);
88
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(113, su_actor.y - 1, 8);
89
    
c_wait
c_wait

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_diagonal_run_transition);
91
    
c_imageindex
c_imageindex

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

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

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

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

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
99
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_bang_door_up);
100
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
101
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(145, su_actor.y - 4);
102
    
c_imageindex
c_imageindex

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

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hit_door", true);
104
    
c_msgside
c_msgside

function
c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
}
("top");
105
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
106
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
107
    
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,
* HEY!Delay 11 HEY OPEN UP!Wait for input
"* HEY^1! HEY OPEN UP!/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_180_0"
);
108
    
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);
}
(
* Undyne...!Delay 11 Officer Undyne,Delay 11 say something!!Wait for input
"* Undyne...^1! Officer Undyne^1, say something!!/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_142_0"
);
109
    
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);
}
(
* H-hey...Delay 11 hey,Delay 11 this is a joke,Delay 11 right!?Wait for input
"* H-hey..^1. hey^1, this is a joke^1, right!?/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_143_0"
);
110
    
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);
}
(
* You're about to come out of there,Delay 11 right!?Wait for input
"* You're about to come out of there^1, right!?/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_144_0"
);
111
    
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);
}
(
* ...Wait for inputClose Message
"* .../%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_145_0"
);
112
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
113
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
114
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "punch_timer", "=", 0);
115
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "punch_anim", 8);
116
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "punch_timer", "=", 0);
117
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "punch_anim", 12);
118
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "punch_timer", "=", 0);
119
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
120
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "panel_fall", true);
121
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hit_door", false);
122
    
c_wait
c_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
124
    
c_autowalk
c_autowalk

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_surprised_subtle);
126
    
c_walk
c_walk

function
c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
}
("l", 2, 8);
127
    
c_imageindex
c_imageindex

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

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

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

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

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

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

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

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(170, su_actor.y - 4, 18);
135
    
c_autowalk
c_autowalk

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

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
137
    
c_halt
c_halt

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

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_head_down);
141
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
142
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
143
    
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,
* What the...Delay 11 what the hell is this?Wait for input
"* What the..^1. what the hell is this?/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_226_0"
);
144
    
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 some sort of...Delay 11 electronic...Delay 11 lock?Wait for input
"* It's some sort of..^1. electronic..^1. lock?/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_227_0"
);
145
    
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);
}
(
* Kris,Delay 11 what the hell is going on...!?Wait for input
"* Kris^1, what the hell is going on...!?/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_228_0"
);
146
    
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);
}
(
* Why...Delay 11 why did they take Undyne in here?Wait for input
"* Why..^1. why did they take Undyne in here?/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_229_0"
);
147
    
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);
}
(
* And...Delay 11 why were they trying to take...Delay 11 Toriel?Wait for inputClose Message
"* And..^1. why were they trying to take..^1. Toriel?/%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_230_0_b"
);
148
    
c_talk
c_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_up_lw);
151
    
c_wait_box
c_wait_box

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_head_down_left);
153
    
c_wait_box
c_wait_box

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_up_lw);
155
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(4);
156
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_head_down);
157
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
158
    
c_wait_talk
c_wait_talk

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
160
    
c_autowalk
c_autowalk

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_diagonal_run_transition);
162
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(-32, 4);
163
    
c_imageindex
c_imageindex

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

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

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

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

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
171
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_bang_door_up);
172
    c_snd_play(snd_impact);
173
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
174
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(32, -3);
175
    
c_halt
c_halt

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

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
178
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
179
    
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 c* What the hell are they doing,Delay 11 Kris? Like,Delay 11 if the cops...Wait for inputClose Message
"\\Ec* What the hell are they doing^1, Kris? Like^1, if the cops.../%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_201_0"
);
180
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
181
    
c_wait_talk
c_wait_talk

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

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

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "punch_anim", 4);
184
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hit_door", true);
185
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "punch_timer", "=", 0);
186
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
187
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hit_door", false);
188
    
c_wait
c_wait

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
190
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
191
    
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,
* ...Wait for input
"* .../", "obj_ch3_PTB04_shelter_slash_Step_0_gml_213_0"
);
192
    
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 no good...Delay 11 the door,Delay 11 it's solid steel...Wait for inputClose Message
"* It's no good..^1. the door^1, it's solid steel.../%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_214_0"
);
193
    
c_talk
c_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_bang_door_up);
196
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
197
    
c_wait_talk
c_wait_talk

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

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
200
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
201
    
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,
* This...Delay 11 weird panel. If we could just...Delay 11 get someone to tell us how it works...Wait for input
"* This..^1. weird panel. If we could just..^1. get someone to tell us how it works.../", "obj_ch3_PTB04_shelter_slash_Step_0_gml_230_0"
);
202
    
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);
}
(
* But...Delay 11 we can't,Delay 11 right?Wait for inputClose Message
"* But..^1. we can't^1, right?/%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_231_0"
);
203
    
c_talk
c_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_bang_door_stop);
206
    
c_imageindex
c_imageindex

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

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_slump_arms_lower);
210
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
211
    c_var_lerp_to("image_index", 3, 30);
212
    
c_wait
c_wait

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_slump_arms_down);
214
    
c_imageindex
c_imageindex

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(19);
218
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
219
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
220
    
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,
* We can't tell anyone about this,Delay 11 right? Because...Wait for input
"* We can't tell anyone about this^1, right? Because.../", "obj_ch3_PTB04_shelter_slash_Step_0_gml_247_0"
);
221
    
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);
}
(
* ...Delay 11 Because you saw that smoke,Delay 11 right,Delay 11 Kris?Wait for input
"* ..^1. Because you saw that smoke^1, right^1, Kris?/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_248_0_b"
);
222
    
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);
}
(
* There's...Delay 11 gotta be a dark world in there.Wait for input
"* There's..^1. gotta be a dark world in there./", "obj_ch3_PTB04_shelter_slash_Step_0_gml_249_0"
);
223
    
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);
}
(
* ...Delay 11 if anybody else went in there,Delay 11 they'd...Wait for inputClose Message
"* ..^1. if anybody else went in there^1, they'd.../%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_250_0"
);
224
    
c_talk
c_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_head_down);
227
    
c_wait_box
c_wait_box

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_head_down_right);
229
    
c_wait_box
c_wait_box

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_head_down);
231
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
232
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
233
    
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);
234
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_up_lw);
235
    
c_wait
c_wait

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_diagonal_run_transition);
238
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(-32, 4);
239
    
c_imageindex
c_imageindex

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

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

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

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

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(4);
247
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_bang_door_up);
248
    c_snd_play(snd_impact);
249
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
250
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(32, -3);
251
    
c_halt
c_halt

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

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
254
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
255
    
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,
* ...Wait for input
"* .../", "obj_ch3_PTB04_shelter_slash_Step_0_gml_273_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);
}
(
* Toriel...!Delay 11 She's still in the...Wait for input
"* Toriel...^1! She's still in the.../", "obj_ch3_PTB04_shelter_slash_Step_0_gml_274_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);
}
(
* ...Wait for inputClose Message
"* .../%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_275_0"
);
258
    
c_talk
c_talk

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

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
260
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
261
    
c_wait_talk
c_wait_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_bang_door_up);
264
    
c_halt
c_halt

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

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "punch_anim", 4);
266
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hit_door", true);
267
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "punch_timer", "=", 0);
268
    
c_shake
c_shake

function
c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
}
();
269
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "hit_door", false);
270
    
c_wait
c_wait

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
272
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
273
    
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,
* Damn it. I...Delay 11 I hate to give up here,Delay 11 Kris,Delay 11 but...Wait for input
"* Damn it. I..^1. I hate to give up here^1, Kris^1, but.../", "obj_ch3_PTB04_shelter_slash_Step_0_gml_276_0"
);
274
    
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);
}
(
* I...Wait for inputClose Message
"* I.../%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_277_0"
);
275
    
c_talk
c_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_slump_arms_lower);
278
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
279
    c_var_lerp_to("image_index", 3, 30);
280
    
c_wait
c_wait

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_slump_arms_down);
282
    
c_imageindex
c_imageindex

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
286
    
c_wait_talk
c_wait_talk

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

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
289
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_head_down);
290
    
c_imageindex
c_imageindex

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

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.1);
292
    
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(76, 1125, 80);
293
    
c_halt
c_halt

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

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

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

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(25, 1125, 60);
297
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
298
    
c_sel
c_sel

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

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
300
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
301
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
302
    
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,
* ...Wait for input
"* .../", "obj_ch3_PTB04_shelter_slash_Step_0_gml_306_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);
}
(
* Let's...Delay 11 just go seal that fountain.Wait for inputClose Message
"* Let's..^1. just go seal that fountain./%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_307_0"
);
304
    
c_talk_wait
c_talk_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
306
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susieu);
307
    
c_imagespeed
c_imagespeed

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

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(25, 1084, 30);
309
    
c_delaywalkdirect
c_delaywalkdirect

function
c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
}
(16, 143, 1010, 90);
310
    
c_delaywalkdirect
c_delaywalkdirect

function
c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
}
(106, 143, 940, 60);
311
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(200);
312
    
c_sel
c_sel

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

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

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

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(177, 1133, 60);
316
    
c_halt
c_halt

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

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

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
319
}
320
if (con == 5 && customcon == 1 && !d_ex())
321
{
322
    con = 6;
323
    
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 == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } 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 (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("no_name");
324
    global.typer = 2;
325
    msgsetloc(0, 
* (On the shelter was a strange panel.)Wait for input
"* (On the shelter was a strange panel.)/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_485_0"
);
326
    msgnextloc(
* (It looked like a digital security lock...)Wait for input
"* (It looked like a digital security lock...)/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_486_0"
);
327
    msgnextloc(
* (There were three entry fields,Delay 11 and three symbols besides them.)Wait for input
"* (There were three entry fields^1, and three symbols besides them.)/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_487_0"
);
328
    msgnextloc(
* (One Delay 33had a pine tree beside it.)Wait for input
"* (One^3 had a pine tree beside it.)/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_488_0"
);
329
    msgnextloc(
* (One Delay 33had an officer's badge beside it.)Wait for input
"* (One^3 had an officer's badge beside it.)/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_489_0"
);
330
    msgnextloc(
* (And one Delay 33had the DELTA RUNE.)Wait for input
"* (And one^3 had the DELTA RUNE.)/", "obj_ch3_PTB04_shelter_slash_Step_0_gml_490_0"
);
331
    msgnextloc(
* (...)Wait for inputClose Message
"* (...)/%", "obj_ch3_PTB04_shelter_slash_Step_0_gml_491_0"
);
332
    var d = d_make();
333
    d.side = 0;
334
}
335
if (con == 6 && !d_ex())
336
{
337
    con = 7;
338
    customcon = 0;
339
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
340
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "crickets_stop", true);
341
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
342
    
c_walk
c_walk

function
c_walk(arg0, arg1, arg2)
{
c_cmd("walk", arg0, arg1, arg2, 0);
}
("d", 0.4, 16);
343
    
c_imageindex
c_imageindex

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

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

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

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

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

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

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
353
    c_sound_play_x(snd_dooropen, 1, 0.2);
354
    c_sound_play_x(snd_dooropen, 1, 0.3);
355
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(shelter_marker, "sprite_index", spr_shelter_open_door);
356
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(shelter_marker, "image_speed", 0);
357
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(shelter_marker, "image_index", 0);
358
    
c_wait
c_wait

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

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

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

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

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

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(shelter_marker, "image_index", 3);
364
    
c_mus2
c_mus2

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

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(238);
369
    
c_var_instance
c_var_instance

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

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

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(blackall, "image_alpha", 1);
372
    
c_mus
c_mus

function
c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
}
("free_all");
373
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
374
}
375
if (con == 7 && customcon == 1)
376
{
377
    con = 8;
378
    if (global.flag[930 got_ch3_egg] == 0 && 
scr_keyitemcheck
scr_keyitemcheck

function
scr_keyitemcheck(arg0)
{ haveit = 0; itemcount = 0; for (i = 0; i < 12; i += 1) { if (global.keyitem[i] == arg0) haveit = 1; if (global.keyitem[i] == arg0) itemcount += 1; } return haveit; }
(2) == 0)
379
    {
380
        with (obj_event_manager)
381
            trigger_event(UnknownEnum.Value_0, UnknownEnum.Value_3);
382
    }
383
    with (obj_event_manager)
384
        trigger_event(UnknownEnum.Value_2, UnknownEnum.Value_1);
385
    
scr_complete_save_file
scr_complete_save_file

function
scr_complete_save_file()
{ _remfilechoice = global.filechoice; global.filechoice += 3; scr_set_ini_value(global.chapter, global.filechoice, "SideB", scr_sideb_active());
scr_save();
global.filechoice = _remfilechoice; } function scr_chapter_save_file_exists(arg0) { var _exists = false; for (var i = 0; i < 3; i++) { _exists = ossafe_file_exists("filech" + string(arg0) + "_" + string(i)); if (_exists == true) break; } return _exists; } function scr_completed_chapter(arg0) { return ossafe_file_exists("filech" + string(arg0) + "_" + string(global.filechoice + 3)); } function scr_completed_chapter_any_slot(arg0) { var _file_exists = false; for (var i = 0; i < 3; i++) { if (ossafe_file_exists("filech" + string(arg0) + "_" + string(i + 3))) { _file_exists = true; break; } } return _file_exists; } function scr_get_secret_boss_result(arg0) { var fought_flag = scr_get_secret_boss_flag(arg0); return global.flag[fought_flag]; } function scr_defeated_secret_boss_any_slot(arg0) { var _fought_boss = scr_fought_secret_boss_any_slot(arg0); var _defeated = false; if (_fought_boss) { for (var i = 0; i < 3; i++) { var _slot = i; var _result = scr_get_ura_value(arg0, _slot); if (_result == 1 || _result == 3) { _defeated = true; break; } } } return _defeated; } function scr_spared_secret_boss_any_slot(arg0) { var _fought_boss = scr_fought_secret_boss_any_slot(arg0); var _spared = false; if (_fought_boss) { for (var i = 0; i < 3; i++) { var _slot = i; var _result = scr_get_ura_value(arg0, _slot); if (_result >= 2) { _spared = true; break; } } } return _spared; } function scr_fought_secret_boss(arg0) { return scr_get_secret_boss_result(arg0) > 0; } function scr_fought_secret_boss_any_slot(arg0) { var _fought = false; for (var i = 0; i < 3; i++) { var _slot = i; var _result = scr_get_ura_value(arg0, _slot); if (_result > 0) { _fought = true; ...
();
386
}
387
if (con == 8 && customcon == 1)
388
{
389
    con = 9;
390
    customcon = 0;
391
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
392
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
393
    
c_actortokris
c_actortokris

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

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
();
395
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
396
}
397
if (con == 9 && !i_ex(obj_cutscene_master))
398
{
399
    global.plot = 350;
400
    con = 99;
401
    snd_free_all();
402
    room_goto(room_ed );
403
}
404
if (hit_door)
405
{
406
    hit_timer--;
407
    if (hit_timer <= 0 && !hit_finished)
408
    {
409
        punch_timer++;
410
        if (punch_timer == 1)
411
        {
412
            su_actor.image_speed = 0;
413
            su_actor.image_index = 0;
414
            snd_play(snd_impact);
415
        }
416
        if (punch_timer == (1 + punch_anim))
417
            su_actor.image_index = 1;
418
        if (punch_timer == (1 + (punch_anim * 2)))
419
            su_actor.image_index = 2;
420
        if (punch_timer == (1 + (punch_anim * 3)))
421
            su_actor.image_index = 3;
422
        if (punch_timer == (1 + (punch_anim * 4)))
423
            su_actor.image_index = 4;
424
        if (punch_timer >= (1 + (punch_anim * 4) + 2))
425
            punch_timer = 0;
426
    }
427
}
428
if (deep_audio_start)
429
{
430
    deep_audio_start = false;
431
    var deep_audio = snd_init("deep_noise.ogg");
432
    deep_loop = mus_loop(deep_audio);
433
    mus_volume(deep_loop, 0, 0);
434
    mus_volume(deep_loop, 1, 60);
435
}
436
if (deep_audio_stop)
437
{
438
    deep_audio_stop = false;
439
    mus_volume(deep_loop, 0, 30);
440
}
441
if (crickets_start)
442
{
443
    crickets_start = false;
444
    if (crickets_track == -4)
445
    {
446
        var crickets_audio = snd_init("night_ambience.ogg");
447
        crickets_track = mus_loop(crickets_audio);
448
        mus_volume(crickets_track, 0, 0);
449
        mus_volume(crickets_track, 0.5, 60);
450
    }
451
}
452
if (crickets_stop)
453
{
454
    crickets_stop = false;
455
    mus_volume(crickets_track, 0, 30);
456
}
457
if (border_hide)
458
{
459
    border_hide = false;
460
    with (obj_border_controller)
461
    {
462
        hide_border();
463
        stop_custom_effect();
464
    }
465
}
466
if (panel_fall)
467
{
468
    panel_fall = false;
469
    with (obj_town_shelter_event)
470
        panel_fall = true;
471
}
472
473
enum UnknownEnum
474
{
475
    Value_0,
476
    Value_1,
477
    Value_2,
478
    Value_3
479
}