Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_controller_city_mice3_Step_0

(view raw script w/o annotations or w/e)
1
if (init == 0)
2
{
3
    init = 1;
4
    bridge = instance_create(120, 322, obj_marker);
5
    bridge.visible = true;
6
    bridge.sprite_index = spr_dw_city_mice3fakeplat;
7
    bridge.image_speed = 0;
8
    bridge.image_xscale = 2;
9
    bridge.image_yscale = 2;
10
    bridge.depth = 700000;
11
}
12
if (con == 0)
13
{
14
    with (obj_mainchara)
15
    {
16
        if (place_meeting(x, y, obj_trigger_area))
17
        {
18
            with (obj_trigger_area)
19
                instance_destroy();
20
            mus_volume(global.currentsong[1], 0, 16);
21
            other.con++;
22
        }
23
    }
24
}
25
if (weird == true)
26
{
27
    if (con == 1)
28
    {
29
        global.interact = 1;
30
        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; }
();
31
        
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; } } } }
();
32
        con = 2;
33
    }
34
    if (con == 2)
35
    {
36
        con = -1;
37
        
c_sel
c_sel

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

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(164, 70, 28);
39
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(no);
40
        
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(178, 24, 28);
41
        
c_wait
c_wait

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("noelle");
43
        
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 2* I'll...Delay 11 go ahead and do the puzzle!Wait for inputClose Message
"\\E2* I'll..^1. go ahead and do the puzzle!/%", "obj_controller_city_mice3_slash_Step_0_gml_53_0"
);
44
        
c_talk_wait
c_talk_wait

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

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

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(38, 32, 22);
47
        
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(38, 264, 40);
48
        
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(198, 254, 32);
49
        
c_walkdirect_wait
c_walkdirect_wait

function
c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
}
(198, 246, 16);
50
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_noelle_walk_up_headtilt_dw);
51
        
c_wait
c_wait

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

function
c_fadeout(arg0)
{
c_cmd("fadeout", arg0, 0, 0, 0);
}
(15);
53
        
c_wait
c_wait

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

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "noface", true);
55
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("noelle");
56
        
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,
* Isn't it a good thing?Wait for input
"* Isn't it a good thing?/", "obj_controller_city_mice3_slash_Step_0_gml_74_0_b"
);
57
        
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'm solving things by myself. Taking new things for myself. Defeating enemies by myself.Wait for input
"* I'm solving things by myself. Taking new things for myself. Defeating enemies by myself./", "obj_controller_city_mice3_slash_Step_0_gml_75_0_b"
);
58
        
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 every time I do it...Wait for input
"* And every time I do it.../", "obj_controller_city_mice3_slash_Step_0_gml_76_0_b"
);
59
        
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'm getting stronger.Wait for input
"* I'm getting stronger./", "obj_controller_city_mice3_slash_Step_0_gml_77_0"
);
60
        
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 what did I do when we got that ring? ...Delay 11 when I solved that puzzle?Wait for input
"* ..^1. what did I do when we got that ring? ..^1. when I solved that puzzle?/", "obj_controller_city_mice3_slash_Step_0_gml_78_0"
);
61
        
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 It...Delay 11 It doesn't matter. It doesn't matter if I can't remember.Wait for input
"* ..^1. It..^1. It doesn't matter. It doesn't matter if I can't remember./", "obj_controller_city_mice3_slash_Step_0_gml_79_0"
);
62
        
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 doesn't matter if the battles are blurring together.Wait for input
"* It doesn't matter if the battles are blurring together./", "obj_controller_city_mice3_slash_Step_0_gml_80_0"
);
63
        
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);
}
(
* If Kris tells me to do it...Wait for input
"* If Kris tells me to do it.../", "obj_controller_city_mice3_slash_Step_0_gml_81_0"
);
64
        
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 can do things I could never do before.Wait for input
"* I can do things I could never do before./", "obj_controller_city_mice3_slash_Step_0_gml_82_0"
);
65
        
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);
}
(
* Isn't it a good thing?Wait for input
"* Isn't it a good thing?/", "obj_controller_city_mice3_slash_Step_0_gml_83_0"
);
66
        
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'm getting stronger.Wait for input
"* ... I'm getting stronger./", "obj_controller_city_mice3_slash_Step_0_gml_84_0"
);
67
        
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 input
"* .../", "obj_controller_city_mice3_slash_Step_0_gml_85_0"
);
68
        
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);
}
(
* As long as I...Delay 11 just do what they say.Wait for input
"* As long as I..^1. just do what they say./", "obj_controller_city_mice3_slash_Step_0_gml_86_0"
);
69
        
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);
}
(
* As long as I...Wait for inputClose Message
"* As long as I.../%", "obj_controller_city_mice3_slash_Step_0_gml_87_0"
);
70
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
}
();
71
        
c_var_instance
c_var_instance

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

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

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_icespell);
74
        
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "solve", 1);
75
        
c_wait
c_wait

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

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(108, 26);
77
        
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("r");
78
        
c_fadein
c_fadein

function
c_fadein(arg0)
{
c_cmd("fadeout", -arg0, 0, 0, 0);
}
(15);
79
        
c_wait
c_wait

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("noelle");
81
        
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face 4* All finished,Delay 11 Kris.Delay 11 Should we find some more enemies?Wait for inputClose Message
"\\E4* All finished^1, Kris^1. Should we find some more enemies?/%", "obj_controller_city_mice3_slash_Step_0_gml_88_0"
);
82
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
}
();
83
        
c_soundplay
c_soundplay

function
c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
(snd_ominous);
84
        
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "con", 3);
85
        
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
();
86
        
c_actortokris
c_actortokris

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

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
88
    }
89
    if (con == 3)
90
    {
91
        global.facing = 0;
92
        with (obj_caterpillarchara)
93
            
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate()
{ _newfacing =
scr_facing_letter_to_number(
scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (_iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target); if (global.darkzone == 1) remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target); else remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target); facing[_iaia] = _newfacing; } }
();
94
        global.flag[7 disable_menu?] = 0;
95
        global.interact = 0;
96
        global.flag[379 noelle_beat_fear] = 1;
97
        global.plot = 78;
98
        con++;
99
        obj_musicer_city.update = 1;
100
        snd_free_all();
101
        
scr_tempsave
scr_tempsave

function
scr_tempsave()
{ filechoicebk2 = global.filechoice; global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2; }
();
102
    }
103
    if (noface == true)
104
        global.fc = 0;
105
    if (solve == 1)
106
    {
107
        layer_set_visible(layer_get_id("BG_Tiles_HiddenPath"), true);
108
        layer_set_visible(layer_get_id("BG_Tiles_HiddenPath_Sidewalk"), true);
109
        with (fakeWall)
110
            instance_destroy();
111
        drawshine = false;
112
        with (obj_rotationtile_tower)
113
            y = room_height + 480;
114
        with (obj_mouseTowerTrigger)
115
            
scr_createFrozen
scr_createFrozen

function
scr_createFrozen(arg0)
{ frozenbody = instance_create(x, y, obj_frozennpc); frozenbody.sprite_index = sprite_index; frozenbody.image_index = image_index; frozenbody.image_xscale = image_xscale; frozenbody.image_yscale = image_yscale; frozenbody.fresh = 1; if (arg0 == 0) frozenbody.skipsolid = 1; else frozenbody.skipsolid = 0; frozenbody.timer = 1; frozenbody.depth = depth; instance_destroy(); }
(1);
116
        with (bridge)
117
            instance_destroy();
118
        solve = 2;
119
    }
120
}
121
if (weird == false)
122
{
123
    if (con == 1)
124
    {
125
        noExit = instance_create(40, 0, obj_solidblocksized);
126
        noExit.image_xscale = 2;
127
        noExit.image_yscale = 0.6;
128
        global.interact = 1;
129
        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; }
();
130
        
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; } } } }
();
131
        con = 2;
132
    }
133
    if (con == 2)
134
    {
135
        con = -999;
136
        global.flag[7 disable_menu?] = 1;
137
        
c_sel
c_sel

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

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(164, 70, 28);
139
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(no);
140
        
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(178, 24, 28);
141
        
c_wait
c_wait

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("noelle");
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,
Face 1* It's a dead end...?Wait for inputClose Message
"\\E1* It's a dead end...?/%", "obj_controller_city_mice3_slash_Step_0_gml_49_0"
);
144
        
c_talk_wait
c_talk_wait

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

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(no);
147
        
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(38, 32, 22);
148
        
c_wait
c_wait

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

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

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(40, 70, 20);
151
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(6);
152
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(no);
153
        
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(38, 264, 40);
154
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(16);
155
        
c_sel
c_sel

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

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(40, 220, 30);
157
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(25);
158
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(no);
159
        
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(278, 254, 32);
160
        
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(8);
161
        
c_sel
c_sel

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

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

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(3);
165
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(no);
166
        
c_actortoobject
c_actortoobject

function
c_actortoobject(arg0)
{
c_cmd("actortoobject", arg0, 0, 0, 0);
}
(obj_trigger_area);
167
        
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "con", 6);
168
        
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
}
();
169
        
c_actortokris
c_actortokris

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

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
171
        con = 5.5;
172
    }
173
    if (con == 6)
174
    {
175
        obj_caterpillarchara.visible = false;
176
        if (instance_exists(obj_trigger_area))
177
        {
178
            with (obj_trigger_area)
179
            {
180
                other.noelle = instance_create(x, y, obj_marker);
181
                other.noelle.visible = true;
182
                other.noelle.sprite_index = spr_noelle_walk_right_dw;
183
                other.noelle.image_speed = 0;
184
                other.noelle.image_index = 0;
185
                other.noelle.image_xscale = 2;
186
                other.noelle.image_yscale = 2;
187
                other.con = 7;
188
                instance_destroy();
189
            }
190
        }
191
    }
192
    if (con == 7)
193
    {
194
        with (noelle)
195
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
196
        timer++;
197
        if (timer == 32)
198
        {
199
            noelle.image_index = 0;
200
            noelle.image_speed = 0;
201
        }
202
        if (timer == 62)
203
            noelle.sprite_index = spr_noelle_walk_down_dw;
204
        if (timer == 92)
205
            noelle.sprite_index = spr_noelle_walk_up_dw;
206
        if (timer == 122)
207
        {
208
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
209
            msgsetloc(0, 
Face 5* Hmm...Delay 11 the switch didn't seem to work?Wait for inputClose Message
"\\E5* Hmm..^1. the switch didn't seem to work?/%", "obj_controller_city_mice3_slash_Step_0_gml_129_0"
);
210
            d = d_make();
211
            d.side = 0;
212
            timer = 0;
213
            con++;
214
        }
215
    }
216
    if (con == 8 && !d_ex())
217
    {
218
        leaveBlock = instance_create(40, 180, obj_solidblocksized);
219
        con++;
220
    }
221
    if (con == 9)
222
    {
223
        timer++;
224
        if (timer == 5)
225
        {
226
            snd_play(snd_impact);
227
            instance_create(0, 0, obj_shake);
228
            with (bridge)
229
                instance_destroy();
230
            noelle.sprite_index = spr_noelle_walk_left_dw;
231
            timer = 0;
232
            con++;
233
        }
234
    }
235
    if (con == 10)
236
    {
237
        timer++;
238
        if (timer > 24)
239
        {
240
            with (obj_masterPlatformController.plat[obj_masterPlatformController.currentPlatform - 1])
241
                x = lx + random_range(-2, 2);
242
        }
243
        if (timer == 25)
244
        {
245
            with (obj_rotationtile_tower)
246
                freeze = 1;
247
            noelle.sprite_index = spr_noelle_shocked_dw;
248
            noelle.image_index = 3;
249
            global.currentsong[0] = snd_init("creepychase.ogg");
250
            global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
251
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
252
            msgsetloc(0, 
Face E* Kris!!Delay 11 The platform's falling!!Delay 11 H-help me!!Wait for inputClose Message
"\\EE* Kris!^1! The platform's falling!^1! H-help me!!/%", "obj_controller_city_mice3_slash_Step_0_gml_168_0"
);
253
            d = d_make();
254
            d.side = 0;
255
            con++;
256
        }
257
    }
258
    if (con == 11)
259
    {
260
        if (i_ex(obj_cybercity_mousesign) && !d_ex())
261
        {
262
            with (obj_cybercity_mousesign)
263
            {
264
                if (!fade_in)
265
                {
266
                    start = true;
267
                    fade_in = true;
268
                }
269
            }
270
        }
271
        with (obj_masterPlatformController.plat[0])
272
            x = lx + random_range(-2, 2);
273
    }
274
    if (con == 12)
275
    {
276
        with (obj_masterPlatformController.plat[0])
277
        {
278
            if (phase == 3)
279
                x = lx + random_range(-2, 2);
280
        }
281
    }
282
    if (con == 11 && !d_ex())
283
    {
284
        obj_mouseTowerTrigger.blocked = 0;
285
        timer = 0;
286
        global.interact = 0;
287
        forcefield = instance_create(0, 140, obj_forcefield);
288
        forcefield.image_xscale = 6;
289
        forcefield.image_yscale = 2;
290
        forcefield.depth = obj_dw_city_mice3Fence.depth - 50;
291
        con++;
292
    }
293
    if (con == 12 && !d_ex())
294
    {
295
        if (obj_mouseTowerTrigger.rotate == true)
296
        {
297
            if (towerinit == false)
298
            {
299
                with (obj_rotationtile_tower)
300
                    freeze = 0;
301
                with (obj_masterPlatformController)
302
                {
303
                    init = 1;
304
                    plat[currentPlatform - 1].falltimer = 0;
305
                }
306
                towerinit = true;
307
            }
308
        }
309
        if (exttrig == "success")
310
        {
311
            timer++;
312
            obj_mouseTowerTrigger.blocked = 1;
313
            with (obj_rotationtile_tower)
314
                freeze = 1;
315
            with (obj_masterPlatformController)
316
                freeze = 1;
317
            mus_volume(global.currentsong[1], 0, 16);
318
            if (timer == 60)
319
                con = 15.9;
320
        }
321
        if (exttrig == "fell")
322
        {
323
            mus_volume(global.currentsong[1], 0, 16);
324
            with (obj_rotationtile_tower)
325
                freeze = 1;
326
            obj_mouseTowerTrigger.blocked = 1;
327
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
328
            msgsetloc(0, 
Face E* KRIS!!!!!!!Wait for input
"\\EE* KRIS!!!!!!!/", "obj_controller_city_mice3_slash_Step_0_gml_208_0"
);
329
            msgnextloc(
Face 8* Gosh,Delay 11 you're lucky Dess isn't here!Wait for input
"\\E8* Gosh^1, you're lucky Dess isn't here!/", "obj_controller_city_mice3_slash_Step_0_gml_209_0"
);
330
            msgnextloc(
Face 8* Otherwise YOU'D be facedown in a mousepile!Wait for input
"\\E8* Otherwise YOU'D be facedown in a mousepile!/", "obj_controller_city_mice3_slash_Step_0_gml_210_0"
);
331
            msgnextloc(
Face 8* ...Wait for input
"\\E8* .../", "obj_controller_city_mice3_slash_Step_0_gml_211_0"
);
332
            msgnextloc(
Face 6* S...Delay 11 sorry,Delay 11 I didn't mean to get so mad.Wait for input
"\\E6* S..^1. sorry^1, I didn't mean to get so mad./", "obj_controller_city_mice3_slash_Step_0_gml_212_0"
);
333
            msgnextloc(
Face 0* Sure...Delay 11 okay,Delay 11 we can try again.Wait for inputClose Message
"\\E0* Sure..^1. okay^1, we can try again./%", "obj_controller_city_mice3_slash_Step_0_gml_213_0"
);
334
            d = d_make();
335
            d.side = 0;
336
            obj_noelle_scared.image_index = 0;
337
            con++;
338
        }
339
    }
340
    if (con == 13 && !d_ex())
341
    {
342
        global.currentsong[0] = snd_init("boxing_game.ogg");
343
        global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
344
        snd_pitch(global.currentsong[1], 1.2);
345
        con = 20;
346
    }
347
    if (con == 15.9)
348
    {
349
        obj_noelle_scared.sprite_index = spr_noelle_walk_left_mad_dw;
350
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
351
        msgsetloc(0, 
Face 8* Kris!!Delay 11 What are you doing!!Delay 11 You made me --Wait for inputClose Message
"\\E8* Kris!^1! What are you doing!^1! You made me --/%", "obj_controller_city_mice3_slash_Step_0_gml_230_0"
);
352
        timer = 0;
353
        d = d_make();
354
        d.side = 0;
355
        con = 16;
356
    }
357
    if (con == 16 && !d_ex())
358
    {
359
        with (obj_rotationtile_tower)
360
            freeze = 1;
361
        with (obj_masterPlatformController)
362
            freeze = 1;
363
        timer++;
364
        if (timer == 15)
365
        {
366
            obj_noelle_scared.sprite_index = spr_noelle_walk_left_dw;
367
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
368
            msgsetloc(0, 
Face 3* H...Delay 11 huh?Wait for inputClose Message
"\\E3* H..^1. huh?/%", "obj_controller_city_mice3_slash_Step_0_gml_249_0"
);
369
            d = d_make();
370
            d.side = 0;
371
            timer = 0;
372
            con++;
373
        }
374
    }
375
    if (con == 17 && !d_ex())
376
    {
377
        timer++;
378
        if (timer == 15)
379
        {
380
            obj_noelle_scared.sprite_index = spr_noelle_walk_right_smile_dw;
381
            obj_noelle_scared.image_index = 0;
382
            obj_noelle_scared.image_speed = 0;
383
        }
384
        if (timer == 45)
385
        {
386
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
387
            msgsetloc(0, 
Face 6* S-sorry,Delay 11 Kris,Delay 11 you just saved me,Delay 11 didn't you...?Wait for inputClose Message
"\\E6* S-sorry^1, Kris^1, you just saved me^1, didn't you...?/%", "obj_controller_city_mice3_slash_Step_0_gml_270_0"
);
388
            d = d_make();
389
            d.side = 0;
390
            timer = 0;
391
            con++;
392
        }
393
    }
394
    if (con == 18 && !d_ex())
395
    {
396
        timer++;
397
        obj_noelle_scared.sprite_index = spr_noelle_shocked_dw;
398
        obj_noelle_scared.image_index = 3;
399
        with (obj_noelle_scared)
400
            con = 0;
401
        with (obj_masterPlatformController)
402
            freeze = 0;
403
        if (timer == 40)
404
        {
405
            with (obj_masterPlatformController.plat[obj_masterPlatformController.currentPlatform - 1])
406
                
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ shakeobj = instance_create(x, y, obj_shakeobj); shakeobj.target = id; with (shakeobj) event_user(0); }
();
407
            global.currentsong[0] = snd_init("boxing_game.ogg");
408
            global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1);
409
            snd_pitch(global.currentsong[1], 1.2);
410
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
411
            msgsetloc(0, 
Face E* Th...Delay 11 this one's falling,Delay 11 too!Wait for input
"\\EE* Th..^1. this one's falling^1, too!/", "obj_controller_city_mice3_slash_Step_0_gml_292_0"
);
412
            msgnextloc(
Face 8* Kris,Delay 11 whatever you just did,Delay 11 keep doing it!!Wait for inputClose Message
"\\E8* Kris^1, whatever you just did^1, keep doing it!!/%", "obj_controller_city_mice3_slash_Step_0_gml_293_0"
);
413
            d = d_make();
414
            d.side = 0;
415
            con++;
416
        }
417
    }
418
    if (con == 19 && !d_ex())
419
    {
420
        obj_noelle_scared.sprite_index = spr_noelle_walk_left_dw;
421
        obj_noelle_scared.image_index = 0;
422
        with (obj_rotationtile_tower)
423
            freeze = 0;
424
        with (obj_rotationtile_tower)
425
            falltimer = 0;
426
        with (obj_masterPlatformController)
427
            plat[currentPlatform - 1].falltimer = 0;
428
        timer = 0;
429
        con++;
430
    }
431
    if (con == 20 && !d_ex())
432
    {
433
        with (obj_rotationtile_tower)
434
            freeze = 0;
435
        obj_mouseTowerTrigger.blocked = 0;
436
        if (micescore == 2)
437
            timer++;
438
        if (timer == 10)
439
            con++;
440
    }
441
    if (con == 21)
442
    {
443
        berdly = instance_create(40, -120, obj_marker);
444
        berdly.image_xscale = 2;
445
        berdly.image_yscale = 2;
446
        berdly.image_speed = 0.25;
447
        berdly.sprite_index = spr_berdly_walk_down_dw;
448
        with (berdly)
449
            
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(40, 163, 48);
450
        timer = 0;
451
        con++;
452
    }
453
    if (con == 22)
454
    {
455
        with (berdly)
456
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
457
        timer++;
458
        if (timer == 48)
459
        {
460
            berdly.image_speed = 0;
461
            berdly.image_index = 0;
462
        }
463
        if (timer == 63)
464
        {
465
            monologue = instance_create(x, y, obj_event_mouse3_berdlymonologue);
466
            con++;
467
        }
468
    }
469
    if (i_ex(berdly))
470
        berdly.visible = true;
471
    if (con == 23)
472
    {
473
        if (micescore >= micetarget)
474
        {
475
            with (obj_rotationtile_tower)
476
                freeze = 1;
477
            solve = 1;
478
            obj_mouseTowerTrigger.blocked = 1;
479
            obj_mouseTowerTrigger.rotate = false;
480
            if (i_ex(monologue))
481
            {
482
                with (monologue)
483
                    instance_destroy();
484
            }
485
            obj_dw_city_mice3Fence.image_index = 1;
486
            layer_set_visible(layer_get_id("BG_Tiles_HiddenPath"), true);
487
            layer_set_visible(layer_get_id("BG_Tiles_HiddenPath_Sidewalk"), true);
488
            with (fakeWall)
489
                instance_destroy();
490
            snd_play(snd_impact);
491
            instance_create(0, 0, obj_shake);
492
            timer = 0;
493
            con++;
494
        }
495
    }
496
    if (con == 24)
497
    {
498
        timer++;
499
        if (timer == 5)
500
        {
501
            berdly.x = 38;
502
            berdly.sprite_index = spr_berdly_walk_up_dw;
503
            image_speed = 0.25;
504
            with (berdly)
505
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(38, 38, 16);
506
            timer = 0;
507
            with (obj_noelle_scared)
508
            {
509
                sprite_index = spr_noelle_walk_down_dw;
510
                image_index = 0;
511
                image_speed = 0;
512
            }
513
            con = 24.1;
514
        }
515
    }
516
    if (con == 24.1 && !d_ex())
517
    {
518
        timer++;
519
        if (timer == 16)
520
        {
521
            berdly.sprite_index = spr_berdly_walk_right_dw;
522
            berdly.image_speed = 0;
523
            berdly.x = 45;
524
            berdly.y = 38;
525
            global.interact = 1;
526
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("berdly");
527
            msgsetloc(0, 
Face N* What.Wait for input
"\\EN* What./", "obj_controller_city_mice3_slash_Step_0_gml_419_0"
);
528
            msgnextloc(
Face N* How did you...Wait for inputClose Message
"\\EN* How did you.../%", "obj_controller_city_mice3_slash_Step_0_gml_420_0"
);
529
            d_make();
530
            mus_volume(global.currentsong[1], 0, 30);
531
            timer = 0;
532
            con = 24.2;
533
        }
534
    }
535
    if (con == 24.2 && !d_ex())
536
    {
537
        with (berdly)
538
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
539
        berdly.x = 57;
540
        berdly.y = 36;
541
        berdly.sprite_index = spr_berdly_mad_right_dw;
542
        con = 25;
543
    }
544
    if (con == 25 && !d_ex())
545
    {
546
        timer++;
547
        if (timer == 15)
548
        {
549
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("berdly");
550
            msgsetloc(0, 
Face C* HOW DID YOU SOLVE THAT??Wait for inputClose Message
"\\EC* HOW DID YOU SOLVE THAT??/%", "obj_controller_city_mice3_slash_Step_0_gml_445_0"
);
551
            d_make();
552
            timer = 0;
553
            con++;
554
        }
555
    }
556
    if (con == 26 && !d_ex())
557
    {
558
        timer++;
559
        if (timer == 1)
560
        {
561
            with (berdly)
562
                instance_create(x + (sprite_width / 2), y - 20, obj_excblcon);
563
        }
564
        if (timer == 35)
565
            berdly.sprite_index = spr_berdly_walk_right_dw;
566
        if (timer == 50)
567
        {
568
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("berdly");
569
            msgsetloc(0, 
Face D* Even a broken clock is right once a day.Wait for inputClose Message
"\\ED* Even a broken clock is right once a day./%", "obj_controller_city_mice3_slash_Step_0_gml_466_0"
);
570
            timer = 0;
571
            d_make();
572
            con = 27;
573
        }
574
    }
575
    if (con == 27 && !d_ex())
576
    {
577
        if (timer == 0)
578
        {
579
            berdly.sprite_index = spr_berdly_walk_right_dw;
580
            with (berdly)
581
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(x + 255, y, 30);
582
            berdly.image_speed = 0.25;
583
        }
584
        timer++;
585
        if (timer == 30)
586
        {
587
            berdly.image_speed = 0;
588
            berdly.image_index = 0;
589
        }
590
        if (timer == 60)
591
        {
592
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("berdly");
593
            msgsetloc(0, 
Face 9* And Kris,Delay 11 if anyone asks...Wait for inputClose Message
"\\E9* And Kris^1, if anyone asks.../%", "obj_controller_city_mice3_slash_Step_0_gml_487_0"
);
594
            timer = 0;
595
            d_make();
596
            con++;
597
        }
598
    }
599
    if (con == 28 && !d_ex())
600
    {
601
        timer++;
602
        if (timer == 15)
603
        {
604
            berdly.sprite_index = spr_berdly_mad_dw;
605
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("berdly");
606
            msgsetloc(0, 
Face D* I solved the puzzle!!Wait for input
"\\ED* I solved the puzzle!!/", "obj_controller_city_mice3_slash_Step_0_gml_500_0"
);
607
            msgnextloc(
Face C* It's not fair for YOU to get extra credit for a fluke!!Wait for input
"\\EC* It's not fair for YOU to get extra credit for a fluke!!/", "obj_controller_city_mice3_slash_Step_0_gml_501_0"
);
608
            msgnextloc(
Face D* Get it!? Let NO ONE think otherwise!Delay 11 ESPECIALLY Susie!Wait for input
"\\ED* Get it!? Let NO ONE think otherwise^1! ESPECIALLY Susie!/", "obj_controller_city_mice3_slash_Step_0_gml_502_0"
);
609
            msgnextloc(
Face C* You KNOW she'd just...Delay 11 lord it over me!Wait for inputClose Message
"\\EC* You KNOW she'd just..^1. lord it over me!/%", "obj_controller_city_mice3_slash_Step_0_gml_503_0"
);
610
            timer = 0;
611
            d_make();
612
            con++;
613
        }
614
    }
615
    if (con == 29 && !d_ex())
616
    {
617
        berdly.sprite_index = spr_berdly_walk_right_dw_unhappy;
618
        berdly.image_speed = 0.25;
619
        with (berdly)
620
            
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(room_width + 64, y, 64);
621
        timer = 0;
622
        con++;
623
    }
624
    if (con == 30)
625
    {
626
        global.interact = 1;
627
        timer++;
628
        if (timer == 64)
629
        {
630
            timer = 0;
631
            con++;
632
        }
633
    }
634
    if (con == 31)
635
    {
636
        timer++;
637
        if (timer >= 25)
638
            con++;
639
    }
640
    if (con == 32)
641
    {
642
        bridge = instance_create(120, 320, obj_marker);
643
        bridge.sprite_index = spr_dw_city_mice3fakeplat;
644
        bridge.image_speed = 0;
645
        bridge.image_xscale = 2;
646
        bridge.image_yscale = 2;
647
        bridge.depth = 890000;
648
        snd_play(snd_impact);
649
        with (obj_rotationtile_tower)
650
            freeze = 1;
651
        with (obj_masterPlatformController)
652
            freeze = 1;
653
        if (i_ex(noelle))
654
        {
655
            with (noelle)
656
                instance_destroy();
657
        }
658
        noelle = instance_create(obj_noelle_scared.x, obj_noelle_scared.y, obj_marker);
659
        noelle.sprite_index = obj_noelle_scared.sprite_index;
660
        noelle.image_xscale = 2;
661
        noelle.image_yscale = 2;
662
        noelle.image_speed = 0;
663
        with (noelle)
664
            
scr_depth
scr_depth

function
scr_depth()
{ depth = 100000 - ((y * 10) + (sprite_height * 10)); }
();
665
        with (obj_noelle_scared)
666
            instance_destroy();
667
        timer = 0;
668
        con = 32.5;
669
    }
670
    if (con == 32.5)
671
    {
672
        timer++;
673
        if (timer == 30)
674
        {
675
            timer = 0;
676
            if (noelle.y > 256)
677
                noelle.sprite_index = spr_noelle_walk_up_dw;
678
            if (noelle.y <= 256)
679
                noelle.sprite_index = spr_noelle_walk_down_dw;
680
            con = 33;
681
        }
682
    }
683
    if (con == 33)
684
    {
685
        disttopt = floor(abs(noelle.y - 256) / 2);
686
        disttopt = clamp(disttopt, 1, 8);
687
        with (noelle)
688
            
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(x, 256, other.disttopt);
689
        noelle.image_speed = 0.25;
690
        timer = 0;
691
        con++;
692
    }
693
    if (con == 34)
694
    {
695
        timer++;
696
        if (timer == disttopt)
697
        {
698
            noelle.sprite_index = spr_noelle_walk_left_dw;
699
            with (noelle)
700
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(36, y, 64);
701
            with (obj_caterpillarchara)
702
            {
703
                x = 36;
704
                y = other.noelle.y;
705
            }
706
            timer = 0;
707
            con++;
708
        }
709
    }
710
    if (con == 35)
711
    {
712
        timer++;
713
        if (noelle.x < 100)
714
            bridge.image_alpha *= 0.8;
715
        if (timer == 52)
716
        {
717
            with (obj_rotationtile_tower)
718
                
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(x, room_height, choose(62, 63, 64, 65, 66, 67, 68, 69, 70));
719
        }
720
        if (timer == 64)
721
        {
722
            noelle.sprite_index = spr_noelle_walk_right_dw;
723
            noelle.image_index = 0;
724
            noelle.image_speed = 0;
725
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("noelle");
726
            msgsetloc(0, 
Face 2* Gosh.Wait for input
"\\E2* Gosh./", "obj_controller_city_mice3_slash_Step_0_gml_631_0"
);
727
            msgnextloc(
Face 3* ...Delay 11 Y'know,Delay 11 I don't think I'm afraid of mice anymore.Wait for input
"\\E3* ..^1. Y'know^1, I don't think I'm afraid of mice anymore./", "obj_controller_city_mice3_slash_Step_0_gml_632_0"
);
728
            msgnextloc(
Face 6* Actually,Delay 11 I think they might be kind of...Delay 11 cute?Wait for input
"\\E6* Actually^1, I think they might be kind of..^1. cute?/", "obj_controller_city_mice3_slash_Step_0_gml_633_0"
);
729
            msgnextloc(
Face 8* Anyways,Delay 11 let's keep going.Wait for inputClose Message
"\\E8* Anyways^1, let's keep going./%", "obj_controller_city_mice3_slash_Step_0_gml_634_0"
);
730
            d = d_make();
731
            d.side = 0;
732
            global.facing = 0;
733
            timer = 0;
734
            with (bridge)
735
                instance_destroy();
736
            con++;
737
        }
738
    }
739
    if (con == 36 && !d_ex())
740
    {
741
        noelle.sprite_index = spr_noelle_walk_up_dw;
742
        noelle.image_speed = 0.25;
743
        with (noelle)
744
            
scr_move_to_point_over_time
scr_move_to_point_over_time

function
scr_move_to_point_over_time(arg0, arg1, arg2)
{ _mmm = instance_create(x, y, obj_move_to_point); _mmm.target = id; _mmm.movex = arg0; _mmm.movey = arg1; _mmm.movemax = arg2; return _mmm; }
(obj_caterpillarchara.x, obj_caterpillarchara.y, 12);
745
        con++;
746
    }
747
    if (con == 37)
748
    {
749
        if (noelle.x == obj_caterpillarchara.x && noelle.y == obj_caterpillarchara.y)
750
        {
751
            with (leaveBlock)
752
                instance_destroy();
753
            obj_caterpillarchara.visible = true;
754
            with (noelle)
755
                instance_destroy();
756
            
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; } if (global.fighting == 1) ...
("no_name");
757
            msgsetloc(0, 
* (Noelle is now immune to mice.)Wait for inputClose Message
"* (Noelle is now immune to mice.)/%", "obj_controller_city_mice3_slash_Step_0_gml_660_0"
);
758
            d = d_make();
759
            d.side = 0;
760
            con++;
761
        }
762
    }
763
    if (con == 39)
764
    {
765
        if (instance_exists(obj_musicer_city))
766
        {
767
            with (obj_musicer_city)
768
                instance_destroy();
769
        }
770
        instance_create(x, y, obj_musicer_city);
771
        con++;
772
    }
773
    if (con == 38 && !d_ex())
774
    {
775
        snd_free_all();
776
        global.facing = 0;
777
        with (obj_caterpillarchara)
778
            
scr_caterpillar_interpolate
scr_caterpillar_interpolate

function
scr_caterpillar_interpolate()
{ _newfacing =
scr_facing_letter_to_number(
scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x; remy[0] = obj_mainchara.y; facing[0] = _newfacing; for (_iaia = target; _iaia > 0; _iaia -= 1) { remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target); if (global.darkzone == 1) remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target); else remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target); facing[_iaia] = _newfacing; } }
();
779
        global.flag[7 disable_menu?] = 0;
780
        obj_mouseTowerTrigger.rotate = false;
781
        global.interact = 0;
782
        global.flag[379 noelle_beat_fear] = 1;
783
        global.plot = 78;
784
        with (noExit)
785
            instance_destroy();
786
        with (forcefield)
787
            instance_destroy();
788
        con++;
789
        tempsave = instance_create(480, 40, obj_savepoint);
790
        
scr_tempsave
scr_tempsave

function
scr_tempsave()
{ filechoicebk2 = global.filechoice; global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2; }
();
791
    }
792
}