|
1
|
if (con == 0)
|
|
2
|
{
|
|
3
|
scr_windowcaptionscr_windowcaption
function scr_windowcaption(arg0)
{
if (global.tempflag[10] != 1 && global.chapter == 1)
window_set_caption(arg0);
else
window_set_caption("DELTARUNE Chapter " + string(global.chapter));
} (" ");
|
|
4
|
global.facing = 0;
|
|
5
|
con = 1;
|
|
6
|
alarm[4] = 90; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
7
|
}
|
|
8
|
if (con == 2)
|
|
9
|
{
|
|
10
|
global.darkzone = 0;
|
|
11
|
global.flag[29 susie_show_eyes] = 1;
|
|
12
|
global.typer = 10;
|
|
13
|
global.fe = 0;
|
|
14
|
global.fc = 0;
|
|
15
|
global.msg[0] = stringsetloc(* Wh...Delay 11 what happened!?Delay 22 * I can't see anything!!Wait for inputClose Message"* Wh..^1. what happened!^2?&* I can't see anything!!/%", "obj_unusedclassevent_slash_Step_0_gml_16_0" );
|
|
16
|
instance_create(0, 0, obj_dialoguer);
|
|
17
|
con = 3;
|
|
18
|
}
|
|
19
|
if (con == 3 && !d_ex())
|
|
20
|
{
|
|
21
|
snd_play(snd_impact);
|
|
22
|
con = 4;
|
|
23
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
24
|
}
|
|
25
|
if (con == 5)
|
|
26
|
{
|
|
27
|
snd_play(snd_drive);
|
|
28
|
con = 6;
|
|
29
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
30
|
}
|
|
31
|
if (con == 7)
|
|
32
|
{
|
|
33
|
snd_play(snd_locker);
|
|
34
|
con = 8;
|
|
35
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
36
|
}
|
|
37
|
if (con == 9)
|
|
38
|
{
|
|
39
|
snd_play(snd_squeaky);
|
|
40
|
con = 10;
|
|
41
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
42
|
}
|
|
43
|
if (con == 11)
|
|
44
|
{
|
|
45
|
snd_play(snd_sussurprise);
|
|
46
|
global.msg[0] = stringsetloc(* Hey,Delay 11 WATCH IT!Wait for inputClose Message"* Hey^1, WATCH IT!/%", "obj_unusedclassevent_slash_Step_0_gml_52_0" );
|
|
47
|
instance_create(0, 0, obj_dialoguer);
|
|
48
|
con = 12;
|
|
49
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
50
|
}
|
|
51
|
if (con == 13 && !d_ex())
|
|
52
|
{
|
|
53
|
snd_play(snd_wing);
|
|
54
|
con = 14;
|
|
55
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
56
|
}
|
|
57
|
if (con == 15)
|
|
58
|
{
|
|
59
|
snd_play(snd_pombark);
|
|
60
|
con = 16;
|
|
61
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
62
|
}
|
|
63
|
if (con == 17)
|
|
64
|
{
|
|
65
|
snd_play(snd_impact);
|
|
66
|
con = 18;
|
|
67
|
alarm[4] = 15; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
68
|
}
|
|
69
|
if (con == 19)
|
|
70
|
{
|
|
71
|
scr_windowcaptionscr_windowcaption
function scr_windowcaption(arg0)
{
if (global.tempflag[10] != 1 && global.chapter == 1)
window_set_caption(arg0);
else
window_set_caption("DELTARUNE Chapter " + string(global.chapter));
} ("The Return");
|
|
72
|
snd_play(snd_noise);
|
|
73
|
lightsoff = 0;
|
|
74
|
s = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (146, 70, spr_susied_plain);
|
|
75
|
with (s)
|
|
76
|
depth = 100000;
|
|
77
|
con = 24;
|
|
78
|
alarm[4] = 50; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
79
|
}
|
|
80
|
if (con == 25)
|
|
81
|
{
|
|
82
|
global.fc = 1;
|
|
83
|
global.fe = 0;
|
|
84
|
global.msg[0] = stringsetloc(* H...Delay 11 Huh...?Wait for input"* H..^1. Huh...?/", "obj_unusedclassevent_slash_Step_0_gml_94_0" );
|
|
85
|
global.msg[1] = stringsetloc(* The unused classroom...?Wait for input"* The unused classroom...?/", "obj_unusedclassevent_slash_Step_0_gml_95_0" );
|
|
86
|
global.msg[2] = stringsetloc(Face 3* How'd we get here...?Wait for inputClose Message"\\E3* How'd we get here...?/%", "obj_unusedclassevent_slash_Step_0_gml_96_0" );
|
|
87
|
con = 26;
|
|
88
|
instance_create(0, 0, obj_dialoguer);
|
|
89
|
}
|
|
90
|
if (con == 26 && !d_ex())
|
|
91
|
{
|
|
92
|
with (s)
|
|
93
|
{
|
|
94
|
image_speed = 0.1;
|
|
95
|
vspeed = 0.5;
|
|
96
|
}
|
|
97
|
con = 27;
|
|
98
|
alarm[4] = 40; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
99
|
}
|
|
100
|
if (con == 28)
|
|
101
|
{
|
|
102
|
with (s)
|
|
103
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
104
|
con = 29;
|
|
105
|
alarm[4] = 45; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
106
|
global.fe = 0;
|
|
107
|
}
|
|
108
|
if (con == 30)
|
|
109
|
{
|
|
110
|
with (s)
|
|
111
|
sprite_index = spr_susier_plain;
|
|
112
|
global.msg[0] = stringsetloc(* ... Hey, Kris...Wait for input"* ... Hey, Kris.../", "obj_unusedclassevent_slash_Step_0_gml_123_0" );
|
|
113
|
global.msg[1] = stringsetloc(Face 1* What...Wait for input"\\E1* What.../", "obj_unusedclassevent_slash_Step_0_gml_124_0" );
|
|
114
|
global.msg[2] = stringsetloc(Face 0* What just happened...?Wait for input"\\E0* What just happened...?/", "obj_unusedclassevent_slash_Step_0_gml_125_0" );
|
|
115
|
global.msg[3] = stringsetloc(Face 3* Like,Delay 11 that wasn't a dream or anything,Delay 11 was it...?Wait for inputClose Message"\\E3* Like^1, that wasn't a dream or anything^1, was it...?/%", "obj_unusedclassevent_slash_Step_0_gml_126_0" );
|
|
116
|
instance_create(0, 0, obj_dialoguer);
|
|
117
|
con = 31;
|
|
118
|
}
|
|
119
|
if (con == 31 && !d_ex())
|
|
120
|
{
|
|
121
|
con = 32;
|
|
122
|
alarm[4] = 60; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
123
|
}
|
|
124
|
if (con == 33)
|
|
125
|
{
|
|
126
|
with (s)
|
|
127
|
sprite_index = spr_susied_plain;
|
|
128
|
global.fe = 0;
|
|
129
|
global.msg[0] = stringsetloc(Face 0* ...Wait for input"\\E0* .../", "obj_unusedclassevent_slash_Step_0_gml_141_0" );
|
|
130
|
global.msg[1] = stringsetloc(Face 3* Anyway, as I was SAYING,Wait for input"\\E3* Anyway, as I was SAYING,/", "obj_unusedclassevent_slash_Step_0_gml_142_0" );
|
|
131
|
global.msg[2] = stringsetloc(Face 2* Let's just tell Alphys we couldn't find any chalk.Wait for inputClose Message"\\E2* Let's just tell Alphys we couldn't find any chalk./%", "obj_unusedclassevent_slash_Step_0_gml_143_0" );
|
|
132
|
instance_create(0, 0, obj_dialoguer);
|
|
133
|
con = 34;
|
|
134
|
}
|
|
135
|
if (con == 34 && !d_ex())
|
|
136
|
{
|
|
137
|
with (s)
|
|
138
|
{
|
|
139
|
vspeed = 2;
|
|
140
|
image_speed = 0.2;
|
|
141
|
}
|
|
142
|
con = 35;
|
|
143
|
}
|
|
144
|
if (con == 35)
|
|
145
|
{
|
|
146
|
if (s.y >= 140)
|
|
147
|
{
|
|
148
|
snd_play(snd_doorclose);
|
|
149
|
with (s)
|
|
150
|
visible = 0;
|
|
151
|
con = 37;
|
|
152
|
}
|
|
153
|
}
|
|
154
|
if (con == 37)
|
|
155
|
{
|
|
156
|
global.interact = 0;
|
|
157
|
if (global.plot < 250)
|
|
158
|
global.plot = 250;
|
|
159
|
con = 38;
|
|
160
|
}
|
|
161
|
if (con == 50)
|
|
162
|
{
|
|
163
|
if (obj_mainchara.y <= (obj_markerC.y - 15) && global.interact == 0)
|
|
164
|
{
|
|
165
|
global.interact = 1;
|
|
166
|
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)
... ("none");
|
|
167
|
msgsetloc(0, * You gathered all the junk off the floor...Wait for inputClose Message"* You gathered all the junk off the floor.../%", "obj_unusedclassevent_slash_Step_0_gml_186_0" );
|
|
168
|
d_make();
|
|
169
|
fd = instance_create(0, 0, obj_fadeout);
|
|
170
|
fd.depth = 3;
|
|
171
|
con = 51;
|
|
172
|
alarm[4] = 30; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
173
|
}
|
|
174
|
}
|
|
175
|
if (con == 52 && !d_ex())
|
|
176
|
{
|
|
177
|
snd_play(snd_equip);
|
|
178
|
con = 53;
|
|
179
|
alarm[4] = 5; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
180
|
global.facing = 0;
|
|
181
|
global.flag[302 toy_deliver_progress] = 1;
|
|
182
|
trashball = instance_create(0, 0, obj_kris_headobj);
|
|
183
|
trashball.sprite_index = spr_cutscene_04_trashball;
|
|
184
|
lightsoff = 2;
|
|
185
|
with (obj_solidblock)
|
|
186
|
{
|
|
187
|
if (x == 108)
|
|
188
|
instance_destroy();
|
|
189
|
}
|
|
190
|
with (obj_readable_room1)
|
|
191
|
{
|
|
192
|
if (x >= 80 && x <= 210)
|
|
193
|
instance_destroy();
|
|
194
|
}
|
|
195
|
}
|
|
196
|
if (con == 54)
|
|
197
|
{
|
|
198
|
with (obj_fadeout)
|
|
199
|
instance_destroy();
|
|
200
|
instance_create(0, 0, obj_fadein);
|
|
201
|
con = 55;
|
|
202
|
alarm[4] = 20; gml_Object_obj_unusedclassevent_Alarm_4.gml
con += 1;
|
|
203
|
}
|
|
204
|
if (con == 56)
|
|
205
|
{
|
|
206
|
msgsetloc(0, * ... and turned it into a giant dusty ball.Wait for inputClose Message"* ... and turned it into a giant dusty ball./%", "obj_unusedclassevent_slash_Step_0_gml_225_0" );
|
|
207
|
d_make();
|
|
208
|
con = 57;
|
|
209
|
}
|
|
210
|
if (con == 57 && !d_ex())
|
|
211
|
{
|
|
212
|
con = 58;
|
|
213
|
if (global.plot < 9)
|
|
214
|
global.plot = 9;
|
|
215
|
global.interact = 0;
|
|
216
|
}
|