|
1
|
if ((place_meeting(x, y, obj_mainchara) && pressed == 0) && global.plot < 72)
|
|
2
|
{
|
|
3
|
pressed = 1;
|
|
4
|
snd_play(snd_noise);
|
|
5
|
if (attempt >= 1)
|
|
6
|
{
|
|
7
|
if (instance_exists(obj_holemouse_generator))
|
|
8
|
{
|
|
9
|
obj_holemouse_generator.mousecreate = 1;
|
|
10
|
obj_holemouse_generator.gentimer = 15;
|
|
11
|
global.interact = 1;
|
|
12
|
}
|
|
13
|
}
|
|
14
|
timer = 0;
|
|
15
|
attempt++;
|
|
16
|
}
|
|
17
|
if ((place_meeting(x, y, obj_mainchara) && pressed == 0) && global.plot >= 72)
|
|
18
|
{
|
|
19
|
pressed = 1;
|
|
20
|
snd_play(snd_noise);
|
|
21
|
}
|
|
22
|
if (place_meeting(x, y, obj_caterpillarchara) && pressed == 0 && !instance_exists(obj_npc_facing) && !instance_exists(obj_noelle_scared) && obj_controller_dw_city_mice.con > 0)
|
|
23
|
{
|
|
24
|
pressed = 1;
|
|
25
|
snd_play(snd_noise);
|
|
26
|
}
|
|
27
|
if (place_meeting(x, y, obj_actor) && pressed == 0 && global.plot < 72)
|
|
28
|
{
|
|
29
|
pressed = 1;
|
|
30
|
snd_play(snd_noise);
|
|
31
|
if (instance_exists(obj_holemouse_generator))
|
|
32
|
{
|
|
33
|
obj_holemouse_generator.mousecreate = 1;
|
|
34
|
obj_holemouse_generator.gentimer = 15;
|
|
35
|
global.interact = 1;
|
|
36
|
}
|
|
37
|
timer = 0;
|
|
38
|
}
|
|
39
|
if (pressed == 1)
|
|
40
|
timer++;
|
|
41
|
if (!place_meeting(x, y, obj_mainchara) && !place_meeting(x, y, obj_caterpillarchara) && !place_meeting(x, y, obj_actor) && pressed == 1)
|
|
42
|
pressed = 0;
|
|
43
|
image_index = pressed;
|
|
44
|
if (room == room_dw_city_mice && attempt == 1 && instance_exists(obj_controller_dw_city_mice) && obj_controller_dw_city_mice.victory == 0)
|
|
45
|
{
|
|
46
|
tIntroCon = 1;
|
|
47
|
global.interact = 1;
|
|
48
|
attempt++;
|
|
49
|
}
|
|
50
|
if (introCon == 0 || introCon == 1 || introCon == 2 || introCon == 3 || introCon == 4)
|
|
51
|
{
|
|
52
|
timer = 0;
|
|
53
|
global.interact = 1;
|
|
54
|
}
|
|
55
|
if (tIntroCon == 1)
|
|
56
|
{
|
|
57
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
58
|
scr_maincharacters_actorsscr_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;
}
}
}
} ();
|
|
59
|
tIntroCon = 2;
|
|
60
|
fakemouse = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (220, 180, spr_holemouse_emerge);
|
|
61
|
fakemouse.visible = 0;
|
|
62
|
fakedoor = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (obj_holemouse_generator.x, obj_holemouse_generator.y, spr_mouseHole);
|
|
63
|
fakedoor.image_index = 5;
|
|
64
|
realdoor = instance_find(obj_holemouse_generator, 0);
|
|
65
|
cutscene_master.save_object[0] = fakemouse;
|
|
66
|
cutscene_master.save_object[1] = fakedoor;
|
|
67
|
cutscene_master.save_object[2] = realdoor;
|
|
68
|
}
|
|
69
|
if (tIntroCon == 2)
|
|
70
|
{
|
|
71
|
tIntroCon = 999;
|
|
72
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
73
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (160, 270, 15);
|
|
74
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
75
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (196, 260, 15);
|
|
76
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
77
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
78
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
79
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (fakedoor, "image_index", 0);
|
|
80
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
} (snd_locker);
|
|
81
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
82
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (fakemouse, "visible", 1);
|
|
83
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
} (snd_mouse);
|
|
84
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
85
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
86
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_shocked_dw);
|
|
87
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
88
|
c_msgsetlocc_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* A m-m-m-m-m...Wait for input"\\E2* A m-m-m-m-m.../", "obj_mouseSpawnSwitch_slash_Step_0_gml_123_0" );
|
|
89
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face E* Mouse!?Wait for inputClose Message"\\EE* Mouse!?/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_124_0" );
|
|
90
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
91
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (realdoor, "desIndex", 0);
|
|
92
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (realdoor, "mousecreate", 1);
|
|
93
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (realdoor, "gentimer", 15);
|
|
94
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (fakemouse, "visible", 0);
|
|
95
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (fakedoor, "visible", 0);
|
|
96
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "tIntroCon", 5);
|
|
97
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
98
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
99
|
}
|
|
100
|
if (tIntroCon == 5)
|
|
101
|
{
|
|
102
|
if (instance_exists(obj_caterpillarchara) && !instance_exists(obj_noelle_scared))
|
|
103
|
{
|
|
104
|
no_actor.visible = 0;
|
|
105
|
obj_caterpillarchara.x = no_actor.x;
|
|
106
|
obj_caterpillarchara.y = no_actor.y;
|
|
107
|
with (obj_caterpillarchara)
|
|
108
|
{
|
|
109
|
visible = 1;
|
|
110
|
fun = 1;
|
|
111
|
sprite_index = spr_noelle_shocked_dw;
|
|
112
|
}
|
|
113
|
tIntroCon = 6;
|
|
114
|
mousetimer = 0;
|
|
115
|
}
|
|
116
|
}
|
|
117
|
if (tIntroCon == 6)
|
|
118
|
{
|
|
119
|
mousetimer++;
|
|
120
|
if (obj_controller_dw_city_mice.victory == 1 && !instance_exists(obj_holemouse))
|
|
121
|
mousetimer = 90;
|
|
122
|
if (mousetimer >= 90)
|
|
123
|
{
|
|
124
|
tIntroCon = 10;
|
|
125
|
if (instance_exists(obj_noelle_scared))
|
|
126
|
{
|
|
127
|
if (obj_controller_dw_city_mice.victory == 0)
|
|
128
|
{
|
|
129
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
130
|
scr_speakerscr_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");
|
|
131
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 3* S...Delay 11 sorry,Delay 11 Kris,Delay 11 could you...Delay 11 d-deal with them somehow?Wait for input"\\E3* S..^1. sorry^1, Kris^1, could you..^1. d-deal with them somehow?/", "obj_mouseSpawnSwitch_slash_Step_0_gml_171_0" );
|
|
132
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 4* Maybe if you can get them in the other mouse hole?Wait for inputClose Message"\\E4* Maybe if you can get them in the other mouse hole?/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_172_0" );
|
|
133
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
134
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "introCon", 4);
|
|
135
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "introFinished", 1);
|
|
136
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
137
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
138
|
}
|
|
139
|
else
|
|
140
|
{
|
|
141
|
earlywin = 1;
|
|
142
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
143
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "introCon", 4);
|
|
144
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "introFinished", 1);
|
|
145
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
146
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
147
|
}
|
|
148
|
}
|
|
149
|
else
|
|
150
|
{
|
|
151
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
152
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
153
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
154
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
155
|
c_msgsetlocc_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* H-huh?Delay 11 * Nothing happened...Wait for inputClose Message"\\E2* H-huh^1?&* Nothing happened.../%", "obj_mouseSpawnSwitch_slash_Step_0_gml_189_0" );
|
|
156
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
157
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
158
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
159
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
160
|
tIntroCon = 200;
|
|
161
|
}
|
|
162
|
with (obj_caterpillarchara)
|
|
163
|
{
|
|
164
|
fun = 0;
|
|
165
|
sprite_index = spr_noelle_walk_left_dw;
|
|
166
|
}
|
|
167
|
}
|
|
168
|
}
|
|
169
|
if (introCon == 0)
|
|
170
|
{
|
|
171
|
if (instance_exists(obj_caterpillarchara))
|
|
172
|
{
|
|
173
|
with (obj_caterpillarchara)
|
|
174
|
{
|
|
175
|
fun = 1;
|
|
176
|
sprite_index = spr_noelle_shocked_dw;
|
|
177
|
}
|
|
178
|
}
|
|
179
|
if (instance_exists(obj_noelle_scared))
|
|
180
|
{
|
|
181
|
if (obj_noelle_scared.x == obj_noelle_scared.targetx && obj_noelle_scared.y == obj_noelle_scared.targety)
|
|
182
|
introCon++;
|
|
183
|
}
|
|
184
|
}
|
|
185
|
if (introCon == 1)
|
|
186
|
{
|
|
187
|
obj_noelle_scared.sprite_index = spr_noelleb_battleintro_l;
|
|
188
|
obj_noelle_scared.image_index = 3;
|
|
189
|
introconTimer++;
|
|
190
|
if (introconTimer == 30)
|
|
191
|
introCon++;
|
|
192
|
}
|
|
193
|
if (introCon == 2)
|
|
194
|
{
|
|
195
|
fakenoelle = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (obj_noelle_scared.x, obj_noelle_scared.y, spr_noelleb_battleintro_l);
|
|
196
|
with (obj_noelle_scared)
|
|
197
|
instance_destroy();
|
|
198
|
noelleWaitTimer = 0;
|
|
199
|
introCon++;
|
|
200
|
}
|
|
201
|
if (introCon == 3)
|
|
202
|
{
|
|
203
|
if (fakenoelle.image_index >= 11 || tIntroCon >= 10)
|
|
204
|
{
|
|
205
|
noelleWaitTimer++;
|
|
206
|
if (noelleWaitTimer >= 5)
|
|
207
|
{
|
|
208
|
scr_speakerscr_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 E* M-m-m-m-mouse!!Wait for input"\\EE* M-m-m-m-mouse!!/", "obj_mouseSpawnSwitch_slash_Step_0_gml_275_0" );
|
|
210
|
msgnextloc(Face 2* S...Delay 11 sorry,Delay 11 Kris,Delay 11 could you...Delay 11 d-deal with them somehow?Wait for input"\\E2* S..^1. sorry^1, Kris^1, could you..^1. d-deal with them somehow?/", "obj_mouseSpawnSwitch_slash_Step_0_gml_276_0" );
|
|
211
|
msgnextloc(Face 4* Maybe,Delay 11 make a mouseless path I can walk through...?Wait for inputClose Message"\\E4* Maybe^1, make a mouseless path I can walk through...?/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_277_0" );
|
|
212
|
d_make();
|
|
213
|
introCon = 4;
|
|
214
|
}
|
|
215
|
}
|
|
216
|
else
|
|
217
|
{
|
|
218
|
fakenoelle.image_index += 0.5;
|
|
219
|
}
|
|
220
|
}
|
|
221
|
if (introCon == 4 && !d_ex() && !instance_exists(obj_cutscene_master))
|
|
222
|
{
|
|
223
|
if (instance_exists(obj_noelle_scared))
|
|
224
|
{
|
|
225
|
noelleFacing = instance_create(obj_noelle_scared.x, obj_noelle_scared.y, obj_npc_facing);
|
|
226
|
noelleFacing.sprite_index = spr_noelle_walk_down_dw;
|
|
227
|
noelleFacing.image_xscale = 2;
|
|
228
|
noelleFacing.image_yscale = 2;
|
|
229
|
noelleFacing.y = noelleFacing.ystart;
|
|
230
|
with (noelleFacing)
|
|
231
|
scr_set_facing_spritesscr_set_facing_sprites
function scr_set_facing_sprites(arg0)
{
_actorname = arg0;
name = arg0;
if (is_string(_actorname))
{
if (_actorname == "kris")
{
name = "kris";
if (global.darkzone == 0)
_actorname = "krislight";
if (global.darkzone == 1)
_actorname = "krisdark";
}
if (_actorname == "susie")
{
name = "susie";
if (global.darkzone == 0)
{
_actorname = "susielight";
if (global.chapter >= 2)
_actorname = "susielighteyes";
}
if (global.darkzone == 1)
{
if (global.chapter == 1)
_actorname = "susiedark";
if (global.chapter >= 2)
_actorname = "susiedarkeyes";
}
}
if (_actorname == "ralsei")
{
name = "ralsei";
if (global.chapter <= 1)
_actorname = "ralseihat";
if (global.chapter > 1)
_actorname = "ralseinohat";
}
if (_actorname == "noelle")
{
name = "noelle";
if (global.darkzone == 0)
_actorname = "noellelight";
if (global.darkzone == 1)
_actorname = "noelledark";
}
if (_actorname == "berdly")
{
name = "berdly";
if (global.darkzone == 0)
_actorname = "berdlylight";
if (global.darkzone == 1)
_actorname = "berdlydark";
}
if (_actorname == "krislight")
{
usprite = spr_krisu;
rsprite = spr_krisr;
dsprite = spr_krisd;
lsprite = spr_krisl;
}
if (_actorname == "krisdark")
{
usprite = spr_krisu_dark;
rsprite = spr_krisr_dark;
dsprite = spr_krisd_dark;
lsprite = spr_krisl_dark;
}
if (_actorname == "susielight")
{
usprite = spr_susieu;
rsprite = spr_susier;
dsprite = spr_susied;
lsprite = spr_susiel;
}
if (_actorname == "susielighteyes")
{
usprite = spr_susie_walk_up_lw;
rsprite = spr_susie_walk_right_lw;
dsprite = spr_susie_walk_down_lw;
lsprite = spr_susie_walk_left_lw;
}
if (_actorname == "susiedark")
{
usprite = spr_susieu_dark;
rsprite = spr_susier_dark;
dsprite = spr_susied_dark;
lsprite = spr_susiel_dark;
specialsprite[4] = spr_susie_shock_r;
specialsprite[5] = spr_susie_shock;
}
if (_actorname == "susiedarkeyes")
{
usprite = spr_susie_walk_up_dw;
rsprite = spr_susie_walk_right_dw;
dsprite = spr_susie_walk_down_dw;
lsprite = spr_susie_walk_left_dw;
specialsprite[4] = spr_susie_shock_r;
specialsprite[5] = spr_susie_shock;
}
... ("noelledark");
|
|
232
|
with (obj_noelle_scared)
|
|
233
|
instance_destroy();
|
|
234
|
}
|
|
235
|
if (i_ex(obj_cybercity_mousesign))
|
|
236
|
{
|
|
237
|
with (obj_cybercity_mousesign)
|
|
238
|
{
|
|
239
|
start = true;
|
|
240
|
fade_in = true;
|
|
241
|
}
|
|
242
|
}
|
|
243
|
timer = 29;
|
|
244
|
global.interact = 0;
|
|
245
|
introCon++;
|
|
246
|
}
|
|
247
|
if (introCon == 4)
|
|
248
|
{
|
|
249
|
if (i_ex(noelleFacing))
|
|
250
|
{
|
|
251
|
noelleFacing = instance_create(noelleFacing.x, noelleFacing.y, noelleFacing);
|
|
252
|
noelleFacing.sprite_index = obj_noelle_scared.sprite_index;
|
|
253
|
noelleFacing.image_xscale = 2;
|
|
254
|
noelleFacing.image_yscale = 2;
|
|
255
|
with (noelleFacing)
|
|
256
|
scr_set_facing_spritesscr_set_facing_sprites
function scr_set_facing_sprites(arg0)
{
_actorname = arg0;
name = arg0;
if (is_string(_actorname))
{
if (_actorname == "kris")
{
name = "kris";
if (global.darkzone == 0)
_actorname = "krislight";
if (global.darkzone == 1)
_actorname = "krisdark";
}
if (_actorname == "susie")
{
name = "susie";
if (global.darkzone == 0)
{
_actorname = "susielight";
if (global.chapter >= 2)
_actorname = "susielighteyes";
}
if (global.darkzone == 1)
{
if (global.chapter == 1)
_actorname = "susiedark";
if (global.chapter >= 2)
_actorname = "susiedarkeyes";
}
}
if (_actorname == "ralsei")
{
name = "ralsei";
if (global.chapter <= 1)
_actorname = "ralseihat";
if (global.chapter > 1)
_actorname = "ralseinohat";
}
if (_actorname == "noelle")
{
name = "noelle";
if (global.darkzone == 0)
_actorname = "noellelight";
if (global.darkzone == 1)
_actorname = "noelledark";
}
if (_actorname == "berdly")
{
name = "berdly";
if (global.darkzone == 0)
_actorname = "berdlylight";
if (global.darkzone == 1)
_actorname = "berdlydark";
}
if (_actorname == "krislight")
{
usprite = spr_krisu;
rsprite = spr_krisr;
dsprite = spr_krisd;
lsprite = spr_krisl;
}
if (_actorname == "krisdark")
{
usprite = spr_krisu_dark;
rsprite = spr_krisr_dark;
dsprite = spr_krisd_dark;
lsprite = spr_krisl_dark;
}
if (_actorname == "susielight")
{
usprite = spr_susieu;
rsprite = spr_susier;
dsprite = spr_susied;
lsprite = spr_susiel;
}
if (_actorname == "susielighteyes")
{
usprite = spr_susie_walk_up_lw;
rsprite = spr_susie_walk_right_lw;
dsprite = spr_susie_walk_down_lw;
lsprite = spr_susie_walk_left_lw;
}
if (_actorname == "susiedark")
{
usprite = spr_susieu_dark;
rsprite = spr_susier_dark;
dsprite = spr_susied_dark;
lsprite = spr_susiel_dark;
specialsprite[4] = spr_susie_shock_r;
specialsprite[5] = spr_susie_shock;
}
if (_actorname == "susiedarkeyes")
{
usprite = spr_susie_walk_up_dw;
rsprite = spr_susie_walk_right_dw;
dsprite = spr_susie_walk_down_dw;
lsprite = spr_susie_walk_left_dw;
specialsprite[4] = spr_susie_shock_r;
specialsprite[5] = spr_susie_shock;
}
... ("noelledark");
|
|
257
|
noelleFacing.y = noelleFacing.ystart;
|
|
258
|
}
|
|
259
|
with (noelleFacing)
|
|
260
|
instance_destroy();
|
|
261
|
if (!d_ex())
|
|
262
|
introCon++;
|
|
263
|
}
|
|
264
|
if (introCon == 5)
|
|
265
|
{
|
|
266
|
timer = 29;
|
|
267
|
global.interact = 0;
|
|
268
|
introCon++;
|
|
269
|
}
|
|
270
|
if (introCon == 6)
|
|
271
|
{
|
|
272
|
if (global.plot >= 72)
|
|
273
|
introCon = 99;
|
|
274
|
else if (obj_mainchara.y >= leaveTrigger)
|
|
275
|
introCon = 7;
|
|
276
|
else if (obj_mainchara.y < 80)
|
|
277
|
introCon = 9;
|
|
278
|
if (global.interact == 1 && timer > 60)
|
|
279
|
{
|
|
280
|
if (!d_ex() && !i_ex(obj_holemouse))
|
|
281
|
{
|
|
282
|
if (obj_controller_dw_city_mice.scaredAgain == 99 || obj_controller_dw_city_mice.scaredAgain == 3)
|
|
283
|
global.interact = 0;
|
|
284
|
}
|
|
285
|
}
|
|
286
|
}
|
|
287
|
if (introCon == 7)
|
|
288
|
{
|
|
289
|
global.interact = 1;
|
|
290
|
scr_speakerscr_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");
|
|
291
|
if (leaveAttempt == 0)
|
|
292
|
{
|
|
293
|
msgsetloc(0, Face 4* H-hey,Delay 11 Kris? You can't leave yet,Delay 11 y'know!Wait for input"\\E4* H-hey^1, Kris? You can't leave yet^1, y'know!/", "obj_mouseSpawnSwitch_slash_Step_0_gml_352_0" );
|
|
294
|
msgnextloc(Face 3* You need to deal with the mice,Delay 11 first.Wait for input"\\E3* You need to deal with the mice^1, first./", "obj_mouseSpawnSwitch_slash_Step_0_gml_353_0" );
|
|
295
|
msgnextloc(Face 4* You can do it,Delay 11 Kris!Delay 11 I believe in you!Wait for inputClose Message"\\E4* You can do it^1, Kris^1! I believe in you!/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_354_0" );
|
|
296
|
}
|
|
297
|
if (leaveAttempt == 1)
|
|
298
|
{
|
|
299
|
msgsetloc(0, Face 3* Kris,Delay 11 you,Delay 11 um...Delay 11 aren't gonna leave me here,Delay 11 are you?Wait for input"\\E3* Kris^1, you^1, um..^1. aren't gonna leave me here^1, are you?/", "obj_mouseSpawnSwitch_slash_Step_0_gml_358_0" );
|
|
300
|
msgnextloc(Face 2* Th-think about all the p-pencils I gave you!Wait for input"\\E2* Th-think about all the p-pencils I gave you!/", "obj_mouseSpawnSwitch_slash_Step_0_gml_359_0" );
|
|
301
|
msgnextloc(Face 2* The...Delay 11 the peppermint cookies I shared with you!Wait for inputClose Message"\\E2* The..^1. the peppermint cookies I shared with you!/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_360_0" );
|
|
302
|
}
|
|
303
|
if (leaveAttempt == 2)
|
|
304
|
{
|
|
305
|
msgsetloc(0, Face 8* ...Wait for input"\\E8* .../", "obj_mouseSpawnSwitch_slash_Step_0_gml_364_0" );
|
|
306
|
msgnextloc(Face 8* I'll do your homework for you.Wait for inputClose Message"\\E8* I'll do your homework for you./%", "obj_mouseSpawnSwitch_slash_Step_0_gml_365_0" );
|
|
307
|
}
|
|
308
|
if (leaveAttempt == 3)
|
|
309
|
introCon = 127;
|
|
310
|
if (leaveAttempt != 3)
|
|
311
|
d = d_make();
|
|
312
|
leaveAttempt++;
|
|
313
|
introCon++;
|
|
314
|
}
|
|
315
|
if (introCon == 8 && !d_ex())
|
|
316
|
{
|
|
317
|
global.facing = 2;
|
|
318
|
obj_mainchara.y = leaveTrigger - 1;
|
|
319
|
leaveTrigger += 8;
|
|
320
|
if (backeddown == 1)
|
|
321
|
{
|
|
322
|
leaveTrigger = 392;
|
|
323
|
leaveAttempt = 3;
|
|
324
|
backeddown = 0;
|
|
325
|
}
|
|
326
|
global.interact = 0;
|
|
327
|
introCon = 6;
|
|
328
|
}
|
|
329
|
if (introCon == 9)
|
|
330
|
{
|
|
331
|
global.interact = 1;
|
|
332
|
with (obj_npc_facing)
|
|
333
|
dfacing = 2;
|
|
334
|
scr_speakerscr_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");
|
|
335
|
if (leaveUpAttempt == 0)
|
|
336
|
{
|
|
337
|
msgsetloc(0, Face 4* Oh,Delay 11 merry Krismaaaas--!Wait for input"\\E4* Oh^1, merry Krismaaaas--!/", "obj_mouseSpawnSwitch_slash_Step_0_gml_395_0" );
|
|
338
|
msgnextloc(Face 8* That's where we came from!Wait for inputClose Message"\\E8* That's where we came from!/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_396_0" );
|
|
339
|
}
|
|
340
|
else
|
|
341
|
{
|
|
342
|
msgsetloc(0, Face 4* Kris,Delay 11 are you afraid of mice,Delay 11 too? Fahahaha!Wait for inputClose Message"\\E4* Kris^1, are you afraid of mice^1, too? Fahahaha!/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_400_0" );
|
|
343
|
}
|
|
344
|
d = d_make();
|
|
345
|
leaveUpAttempt++;
|
|
346
|
introCon++;
|
|
347
|
}
|
|
348
|
if (introCon == 10 && !d_ex())
|
|
349
|
{
|
|
350
|
obj_mainchara.y = 81;
|
|
351
|
with (obj_npc_facing)
|
|
352
|
dfacing = 0;
|
|
353
|
global.facing = 0;
|
|
354
|
global.interact = 0;
|
|
355
|
introCon = 6;
|
|
356
|
}
|
|
357
|
if (introCon == 128)
|
|
358
|
{
|
|
359
|
global.msc = 1202;
|
|
360
|
scr_textscr_text
function scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_8_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_9_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_12_0_b" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_13_0_b" );
global.msg[0] = stringsetloc(* You really didn't want to throw it away.Wait for input"* You really didn't want to throw it away./", "scr_text_slash_scr_text_gml_12_0" );
global.msg[1] = stringsetloc(* Throw it away anyway?Wait for input"* Throw it away anyway?/", "scr_text_slash_scr_text_gml_13_0" );
global.msg[2] = stringsetloc(Choice type 2 "\\C2 ", "scr_text_slash_scr_text_gml_14_0" );
if (global.chapter >= 2)
msgsetloc(0, * You took it from your pocket.Delay 11 * You have a very,Delay 11 very,Delay 11 bad feeling about throwing it away.Wait for input"* You took it from your pocket^1.&* You have a \\cYvery^1, very^1, bad feeling\\c0 about throwing it away./", "scr_text_slash_scr_text_gml_19_0" );
break;
case 11:
if (global.choice == 0)
{
global.flag[466 junkball_dropped] = 1;
snd_play(snd_bageldefeat);
global.msg[0] = stringsetloc(* Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input"* Hand shaking^1, you dropped the ball of junk on the ground./", "scr_text_slash_scr_text_gml_20_0" );
global.msg[1] = stringsetloc(* It broke into pieces.Wait for input"* It broke into pieces./", "scr_text_slash_scr_text_gml_21_0" );
global.msg[2] = stringsetloc(* You felt bitter.Wait for inputClose Message"* You felt bitter./%", "scr_text_slash_scr_text_gml_22_0" );
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
global.item[i] = 0;
for (i = 0; i < 48; i += 1)
{
global.armor[i] = 0;
global.weapon[i] = 0;
}
}
else
{
global.msg[0] = stringsetloc(* You felt a feeling of relief.Wait for inputClose Message"* You felt a feeling of relief./%", "scr_text_slash_scr_text_gml_34_0" );
}
break;
case 100:
global.msg[0] = stringsetloc(* Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input"* Hey, Kris^1! What's up^1?&* Didja lose your pencil again?/", "scr_text_slash_scr_text_gml_39_0" );
global.msg[1] = stringsetloc(Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input"\\E4* Here^1, you want the candy-cane one or the one with lights on it?/", "scr_text_slash_scr_text_gml_40_0" );
global.msg[2] = stringsetloc(Face 1* Huh?Delay 11 * You want to be partners?Wait for input"\\E1* Huh^1?&* You want to be partners?/", "scr_text_slash_scr_text_gml_41_0" );
global.msg[3] = stringsetloc(Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input"\\E4* Ummm..^1. Sorry..^1.&* Berdly already asked me.../", "scr_text_slash_scr_text_gml_42_0" );
global.msg[4] = stringsetloc(Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input"\\E0* But I could ask Ms. Alphys if we could make a group of 3!/", "scr_text_slash_scr_text_gml_43_0" );
global.msg[5] = stringsetloc(Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 "\\E4* I'll ask if you're sure!& &Not yet Yes. Ask.\\C1 ", "scr_text_slash_scr_text_gml_44_0" );
global.msg[6] = stringsetloc( " ", "scr_text_slash_scr_text_gml_47_0" );
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_51_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_52_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message"\\E4* Yeah^1, I'm sure there's someone else you can ask!/%", "scr_text_slash_scr_text_gml_57_0" );
break;
case 102:
global.msg[0] = stringsetloc(Face 0* Do you wanna be partners? Not yet YesChoice type 1 "\\E0* Do you wanna be partners?&Not yet Yes\\C1 ", "scr_text_slash_scr_text_gml_62_0" );
global.msg[1] = stringsetloc( " ", "scr_text_slash_scr_text_gml_65_0" );
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = stringsetloc(Face 0* OK,Delay 11 I'll ask!Wait for input"\\E0* OK^1, I'll ask!/", "scr_text_slash_scr_text_gml_69_0" );
global.msg[1] = stringsetloc(* Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message"* Miss Alphys^1!&* Umm^1, is it OK if we have a group of 3?/%", "scr_text_slash_scr_text_gml_70_0" );
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = stringsetloc(Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message"\\E4* Umm^1, OK^1.&* You just keep doing your thing^1, Kris./%", "scr_text_slash_scr_text_gml_75_0" );
break;
case 104:
global.msg[0] = stringsetloc(Face 0* Alright.Delay 11 * Let's get this over with.Wait for input"\\E0* Alright^1.&* Let's get this over with./", "scr_text_slash_scr_text_gml_80_0" );
global.msg[1] = stringsetloc(* We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input"* We'll get more chalk^1.&* Mosey back to class^1.&* And then^1, Kris.../", "scr_text_slash_scr_text_gml_81_0" );
global.msg[2] = stringsetloc(Face 2* YOU'LL do our project.Wait for input"\\E2* YOU'LL do our project./", "scr_text_slash_scr_text_gml_82_0" );
global.msg[3] = stringsetloc(* How's that sound?
Good BadChoice type 1 "* How's that sound?& &Good Bad\\C1 ", "scr_text_slash_scr_text_gml_83_0" );
global.msg[4] = stringsetloc( " ", "scr_text_slash_scr_text_gml_86_0" );
break;
case 105:
global.msg[0] = stringsetloc( Close MessageClose Message" %%", "scr_text_slash_scr_text_gml_90_0" );
break;
case 110:
global.choicemsg[0] = stringsetloc(#Yes"#Yes", "scr_text_slash_scr_text_gml_92_0" );
global.choicemsg[1] = stringsetloc(#No"#No", "scr_text_slash_scr_text_gml_93_0" );
global.choicemsg[2] = stringsetloc( " ", "scr_text_slash_scr_text_gml_96_0" );
global.choicemsg[3] = stringsetloc( " ", "scr_text_slash_scr_text_gml_97_0" );
if (global.flag[100 got_glowshard] == 0)
{
global.msg[0] = stringsetloc(* (There's something glowing inside.)Wait for input"* (There's something glowing inside.)/", "scr_text_slash_scr_text_gml_98_0" );
global.msg[1] = stringsetloc(* (Take it?)Wait for input "* (Take it?)/ ", "scr_text_slash_scr_text_gml_99_0" );
global.msg[2] = stringsetloc( Choice type 2" \\C2", "scr_text_slash_scr_text_gml_100_0" );
}
else
{
global.msg[0] = stringsetloc(* (It's dark inside.)Wait for inputClose Message"* (It's dark inside.)/%", "scr_text_slash_scr_text_gml_104_0" );
}
break;
case 111:
... (global.msc);
|
|
361
|
d_make();
|
|
362
|
introCon++;
|
|
363
|
}
|
|
364
|
if (introCon == 131 && !d_ex())
|
|
365
|
{
|
|
366
|
global.interact = 1;
|
|
367
|
obj_caterpillarchara.x = obj_npc_facing.x;
|
|
368
|
obj_caterpillarchara.y = obj_npc_facing.y;
|
|
369
|
with (obj_npc_facing)
|
|
370
|
instance_destroy();
|
|
371
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
372
|
scr_maincharacters_actorsscr_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;
}
}
}
} ();
|
|
373
|
hole = instance_find(obj_controller_dw_city_mice, 0);
|
|
374
|
introCon++;
|
|
375
|
}
|
|
376
|
if (introCon == 132)
|
|
377
|
{
|
|
378
|
global.interact = 1;
|
|
379
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (no);
|
|
380
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
381
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_walk_down_dw);
|
|
382
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.25);
|
|
383
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (485, 250, 15);
|
|
384
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (1);
|
|
385
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
386
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
387
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
388
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_noelle_cower_left);
|
|
389
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (483, 256);
|
|
390
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
391
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
392
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
393
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.25);
|
|
394
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (150, 256, 25);
|
|
395
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
396
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (65);
|
|
397
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
398
|
c_msgsetlocc_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* Ph...Delay 11 phew...Wait for input"\\E4* Ph..^1. phew.../", "obj_mouseSpawnSwitch_slash_Step_0_gml_454_0" );
|
|
399
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face 8* (We'd better not have to do something like that again...)Wait for inputClose Message"\\E8* (We'd better not have to do something like that again...)/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_455_0" );
|
|
400
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
401
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (1);
|
|
402
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (150, 330, 20);
|
|
403
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
404
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("noelle");
|
|
405
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 3* (Seriously, when did Kris get so bossy?)Wait for inputClose Message"\\E3* (Seriously, when did Kris get so bossy?)/%", "obj_mouseSpawnSwitch_slash_Step_0_gml_506_0" );
|
|
406
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
} ();
|
|
407
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
408
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
409
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
410
|
introCon = 133;
|
|
411
|
}
|
|
412
|
if (introCon == 133 && !d_ex() && !i_ex(cutscene_master))
|
|
413
|
{
|
|
414
|
if (global.plot < 72)
|
|
415
|
global.plot = 72;
|
|
416
|
global.interact = 0;
|
|
417
|
introCon++;
|
|
418
|
}
|
|
419
|
if (tIntroCon == 200 && !instance_exists(obj_cutscene_master))
|
|
420
|
{
|
|
421
|
with (obj_caterpillarchara)
|
|
422
|
scr_caterpillar_interpolatescr_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;
}
} ();
|
|
423
|
global.interact = 0;
|
|
424
|
if (global.plot < 72)
|
|
425
|
global.plot = 72;
|
|
426
|
tIntroCon = 201;
|
|
427
|
}
|