|
1
|
if (keyboard_check_pressed(vk_f5) && init && con >= 2 && scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
2
|
{
|
|
3
|
kr_answer[0] = choose(0, 1);
|
|
4
|
kr_answer[1] = choose(0, 1);
|
|
5
|
kr_answer[2] = choose(0, 1);
|
|
6
|
ra_answer[0] = choose(0, 1);
|
|
7
|
ra_answer[1] = choose(0, 1);
|
|
8
|
ra_answer[2] = choose(0, 1);
|
|
9
|
su_answer[0] = choose(0, 1);
|
|
10
|
su_answer[1] = choose(0, 1);
|
|
11
|
su_answer[2] = choose(0, 1);
|
|
12
|
if (quizno > 15 && quizno <= 19)
|
|
13
|
quiz_length = 1;
|
|
14
|
else
|
|
15
|
quiz_length = 3;
|
|
16
|
total_correct = 0;
|
|
17
|
timer = 0;
|
|
18
|
con = 7;
|
|
19
|
safe_delete(questionwriter);
|
|
20
|
}
|
|
21
|
if (init == 0)
|
|
22
|
{
|
|
23
|
if (quiz_length > 0)
|
|
24
|
quizno = quizQs[0];
|
|
25
|
scr_quiztextscr_quiztext
function scr_quiztext(arg0)
{
question = "QUESTION?";
reward = 100;
penalty = 50;
correctanswer = 1;
topic = "DEFAULT";
answeroption[0] = stringset("ANSWER1");
answeroption[1] = stringset("ANSWER2");
answeroption[2] = stringset("ANSWER3");
answeroption[3] = stringset("ANSWER4");
commentcount = 1;
commentcontent[0] = stringsetloc(COMMENT"COMMENT", "scr_quiztext_slash_scr_quiztext_gml_18_0" );
commenttriangle[0] = spr_ch3_ballcon_triangle1;
commentx[0] = 210;
commenty[0] = 340;
commenttriangleside[0] = 0;
commentchar[0] = 1;
commentcreatetimer[0] = 30;
commentdestroytime[0] = 120;
su_guess = -1;
ra_guess = -1;
sprite = -4;
image = 0;
extra = false;
image_timer = 6;
reward = 100;
penalty = 20;
if (arg0 == 12 && global.flag[1083 got_lancer_name_q] == 0)
arg0 = 5;
switch (arg0)
{
case 0:
su_wait = 150;
su_guess = 2;
ra_wait = 180;
ra_guess = 1;
question = stringsetloc(WHAT TIME IS IT RIGHT NOW?"WHAT TIME IS IT RIGHT NOW?", "scr_quiztext_slash_scr_quiztext_gml_48_0_b" );
topic = "WHATTIME";
quizid = "whattime";
correctanswer = -1;
answeroption[0] = stringsetloc(TV-THIRTY!"TV-THIRTY!", "scr_quiztext_slash_scr_quiztext_gml_53_0_b" );
answeroption[1] = stringsetloc(TV TIME!!!"TV TIME!!!", "scr_quiztext_slash_scr_quiztext_gml_54_0_b" );
answeroption[2] = stringsetloc(PAST MIDNIGHT"PAST MIDNIGHT", "scr_quiztext_slash_scr_quiztext_gml_55_0_b" );
if (current_weekday == 4)
answeroption[3] = stringsetloc(WEDNESDAY"WEDNESDAY", "scr_quiztext_slash_scr_quiztext_gml_57_0" );
else if (current_weekday == 3 && current_hour == 23 && current_minute >= 59 && current_second >= 40)
answeroption[3] = stringsetloc(TUESDAY"TUESDAY", "scr_quiztext_slash_scr_quiztext_gml_59_0" );
else
answeroption[3] = stringsetloc(THURSDAY"THURSDAY", "scr_quiztext_slash_scr_quiztext_gml_60_0_b" );
commentcount = 1;
scr_quizcomment(0, stringsetloc(Uhhh..."Uhhh...", "scr_quiztext_slash_scr_quiztext_gml_65_0" ), 1);
skiptimer = -180;
break;
case 1:
su_wait = 240;
su_guess = 1;
ra_wait = 210;
ra_guess = 1;
question = stringsetloc(BRAND A VALUES THIS RALSEI AT $8! WHAT'S THE TRUE VALUE!?"BRAND A VALUES THIS RALSEI AT $8! WHAT'S THE TRUE VALUE!?", "scr_quiztext_slash_scr_quiztext_gml_75_0_b" );
topic = "RALSEIPLUSH";
quizid = "ralseiplush";
sprite = scr_84_get_sprite("spr_quiz_ralsei_plush");
spritex = 240;
spritey = 96;
correctanswer = -1;
answeroption[0] = stringsetloc(HIGHER"HIGHER", "scr_quiztext_slash_scr_quiztext_gml_83_0_b" );
answeroption[1] = stringsetloc(LOWER"LOWER", "scr_quiztext_slash_scr_quiztext_gml_84_0_b" );
answeroption[2] = stringsetloc(PRICELESS"PRICELESS", "scr_quiztext_slash_scr_quiztext_gml_85_0" );
answeroption[3] = stringsetloc($32.00 MSRP"$32.00 MSRP", "scr_quiztext_slash_scr_quiztext_gml_86_0" );
commentcount = 4;
scr_quizcomment(0, stringsetloc(Free if#you steal it."Free if#you steal it.", "scr_quiztext_slash_scr_quiztext_gml_91_0" ), 1);
scr_quizcomment(1, stringsetloc(My... value...?"My... value...?", "scr_quiztext_slash_scr_quiztext_gml_92_0" ), 2, 90, 90);
scr_quizcomment(2, stringsetloc(This...?"This...?", "scr_quiztext_slash_scr_quiztext_gml_93_0" ), 2, 210);
scr_quizcomment(3, stringsetloc(Assuming you#steal it."Assuming you#steal it.", "scr_quiztext_slash_scr_quiztext_gml_94_0" ), 1, 255);
skiptimer = -105;
break;
case 2:
su_wait = 210;
su_guess = 0;
ra_wait = 240;
ra_guess = 0;
question = stringsetloc(WHAT'S KRIS'S FAVORITE FOOD?"WHAT'S KRIS'S FAVORITE FOOD?", "scr_quiztext_slash_scr_quiztext_gml_95_0" );
topic = "FOOD";
quizid = "favfood";
correctanswer = 1;
answeroption[0] = stringsetloc(CHOCOLATE"CHOCOLATE", "scr_quiztext_slash_scr_quiztext_gml_99_0" );
answeroption[1] = stringsetloc(PIE"PIE", "scr_quiztext_slash_scr_quiztext_gml_100_0" );
answeroption[2] = stringsetloc(SALSA"SALSA", "scr_quiztext_slash_scr_quiztext_gml_101_0" );
answeroption[3] = stringsetloc(JAM"JAM", "scr_quiztext_slash_scr_quiztext_gml_102_0" );
commentcount = 3;
scr_quizcomment(0, stringsetloc(Uh..."Uh...", "scr_quiztext_slash_scr_quiztext_gml_107_0" ), 1);
scr_quizcomment(1, stringsetloc(Chocolate, duh."Chocolate, duh.", "scr_quiztext_slash_scr_quiztext_gml_108_0" ), 1, 210);
scr_quizcomment(2, stringsetloc(... Chocolate, right?"... Chocolate, right?", "scr_quiztext_slash_scr_quiztext_gml_109_0" ), 2, 240);
skiptimer = 180;
break;
case 3:
su_wait = 180;
su_guess = 0;
ra_wait = 240;
ra_guess = 2;
... (quizno);
|
|
26
|
if (board4)
|
|
27
|
gameshowblue = 2237064;
|
|
28
|
if (!board4)
|
|
29
|
{
|
|
30
|
snd_free_all();
|
|
31
|
global.currentsong[0] = snd_init("TV_GAME.ogg");
|
|
32
|
if (quizno >= 15)
|
|
33
|
snd_pitch(global.currentsong[1], 1.5);
|
|
34
|
}
|
|
35
|
init = 1;
|
|
36
|
snd_play(snd_nes_nocontroller);
|
|
37
|
if (board4)
|
|
38
|
{
|
|
39
|
global.currentsong[0] = snd_init("board_4_challenge.ogg");
|
|
40
|
screen = instance_find(obj_dw_gameshow_screen_lava, 0);
|
|
41
|
}
|
|
42
|
else
|
|
43
|
{
|
|
44
|
}
|
|
45
|
}
|
|
46
|
if (i_ex(quizzler))
|
|
47
|
{
|
|
48
|
if (subcon >= 1)
|
|
49
|
{
|
|
50
|
if (subcon >= 2)
|
|
51
|
quizzler.su_podium = sresult ? 2 : 3;
|
|
52
|
if (subcon >= 3)
|
|
53
|
quizzler.kr_podium = correct ? 2 : 3;
|
|
54
|
if (subcon >= 1)
|
|
55
|
quizzler.ra_podium = rresult ? 2 : 3;
|
|
56
|
}
|
|
57
|
else
|
|
58
|
{
|
|
59
|
quizzler.su_podium = ssel ? 1 : 0;
|
|
60
|
if (myanswer != -1)
|
|
61
|
quizzler.kr_podium = (con == 4) ? 1 : 0;
|
|
62
|
quizzler.ra_podium = rsel ? 1 : 0;
|
|
63
|
}
|
|
64
|
}
|
|
65
|
if (con == 0)
|
|
66
|
{
|
|
67
|
if (!pausestart)
|
|
68
|
timer += 1;
|
|
69
|
if (i_ex(questionwriter))
|
|
70
|
instance_destroy(questionwriter);
|
|
71
|
if (timer >= 45 && !i_ex(quizzler))
|
|
72
|
{
|
|
73
|
quizzler = instance_create(camerax(), cameray(), obj_quizroom);
|
|
74
|
quizzler.bg = instance_create(camerax(), cameray(), obj_quizroom_bg);
|
|
75
|
quizzler.bg.visible = false;
|
|
76
|
if (board4)
|
|
77
|
{
|
|
78
|
quizzler.board4 = true;
|
|
79
|
quizzler.bg.depth = newdepth - 1000;
|
|
80
|
}
|
|
81
|
global.currentsong[1] = mus_loop(global.currentsong[0]);
|
|
82
|
}
|
|
83
|
if (timer >= 60)
|
|
84
|
{
|
|
85
|
con = 1;
|
|
86
|
timer = 0;
|
|
87
|
}
|
|
88
|
}
|
|
89
|
if (con == 1)
|
|
90
|
{
|
|
91
|
global.msg[0] = question;
|
|
92
|
questionlength = string_length(question);
|
|
93
|
global.typer = 100;
|
|
94
|
if (global.lang == "ja")
|
|
95
|
global.typer = 101;
|
|
96
|
questionwriter = instance_create(146, 82, obj_writer_quiz);
|
|
97
|
questionwriter.depth = depth;
|
|
98
|
questionwriter.board4 = board4;
|
|
99
|
if (quizno >= 15 && quizno <= 19)
|
|
100
|
{
|
|
101
|
timelimit = fast_timelimit;
|
|
102
|
questionwriter.shake = 0.505;
|
|
103
|
if (quizno == 19)
|
|
104
|
{
|
|
105
|
with (questionwriter)
|
|
106
|
{
|
|
107
|
charline *= 2;
|
|
108
|
textscale /= 2;
|
|
109
|
hspace /= 2;
|
|
110
|
vspace /= 2;
|
|
111
|
}
|
|
112
|
}
|
|
113
|
}
|
|
114
|
else
|
|
115
|
{
|
|
116
|
timelimit = base_timelimit;
|
|
117
|
}
|
|
118
|
con = 2;
|
|
119
|
buffer = 5;
|
|
120
|
}
|
|
121
|
if (con < 5 && tenna_timer > 0)
|
|
122
|
{
|
|
123
|
if (con > 2)
|
|
124
|
tenna_timer = 0;
|
|
125
|
else
|
|
126
|
tenna_timer--;
|
|
127
|
if (tenna_timer <= 0)
|
|
128
|
{
|
|
129
|
quizzler.tenna.sprite_index = quizzler.tenna_podium;
|
|
130
|
quizzler.tenna.bounce = 1;
|
|
131
|
quizzler.tenna.image_index = 3;
|
|
132
|
}
|
|
133
|
}
|
|
134
|
if (con == 2)
|
|
135
|
{
|
|
136
|
if (timer == 10 && quizid == "asriel")
|
|
137
|
snd_pitch_time(global.currentsong[1], 0.1, 250);
|
|
138
|
timer++;
|
|
139
|
var nextstep = false;
|
|
140
|
if (timer >= (questionlength + 4) || (i_ex(questionwriter) && questionwriter.reachedend == 1))
|
|
141
|
nextstep = true;
|
|
142
|
if (nextstep)
|
|
143
|
{
|
|
144
|
if (false && quiz_index == 0 && !board4)
|
|
145
|
{
|
|
146
|
con = 2.5;
|
|
147
|
timer_delay = 30;
|
|
148
|
countdown = timelimit;
|
|
149
|
}
|
|
150
|
else
|
|
151
|
{
|
|
152
|
timer = 0;
|
|
153
|
anser = 0;
|
|
154
|
con = 3;
|
|
155
|
countdown = 0;
|
|
156
|
if (quizid == "asriel")
|
|
157
|
{
|
|
158
|
auto = true;
|
|
159
|
con = 4;
|
|
160
|
}
|
|
161
|
}
|
|
162
|
}
|
|
163
|
}
|
|
164
|
if (con == 2.5 && timer_delay <= 0)
|
|
165
|
con = 3;
|
|
166
|
if (con == 3 || con == 3.5)
|
|
167
|
{
|
|
168
|
if (countdown == 0)
|
|
169
|
countdown = timelimit;
|
|
170
|
if (!paused)
|
|
171
|
countdown--;
|
|
172
|
commenttimer++;
|
|
173
|
if (commentcount > 0)
|
|
174
|
{
|
|
175
|
for (var i = 0; i < commentcount; i++)
|
|
176
|
{
|
|
177
|
if (commenttimer >= commentcreatetimer[i] && commentshown[i] == 0)
|
|
178
|
{
|
|
179
|
if (commentchar[i] == 0)
|
|
180
|
{
|
|
181
|
var _tennabubble = scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (commentcontent[i], 480, 100, commentdestroytime[i], 1, -1, 64);
|
|
182
|
_tennabubble.tenna = quizzler.tenna;
|
|
183
|
}
|
|
184
|
else
|
|
185
|
{
|
|
186
|
var _char;
|
|
187
|
if (commentchar[i] == 1)
|
|
188
|
_char = "su";
|
|
189
|
else if (commentchar[i] == 2)
|
|
190
|
_char = "ra";
|
|
191
|
if (commentcontent[i] != "")
|
|
192
|
scr_couchclear(_char);
|
|
193
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (commentcontent[i], _char, 0, commentdestroytime[i]);
|
|
194
|
}
|
|
195
|
commentshown[i] = 1;
|
|
196
|
}
|
|
197
|
}
|
|
198
|
}
|
|
199
|
if ((quizid == "smash" || quizid == "favfood" || quizid == "asgorefave") && ktimer >= 0 && ktimer < 50)
|
|
200
|
{
|
|
201
|
if ((abs(menucoord[menu] - correctanswer) % 2) == 1 || ktimer >= 30)
|
|
202
|
{
|
|
203
|
ktimer++;
|
|
204
|
if (ktimer == 30)
|
|
205
|
{
|
|
206
|
quizzler.kr_sprite = spr_kris_quiz_cough;
|
|
207
|
quizzler.kr_pose = true;
|
|
208
|
movelock = true;
|
|
209
|
buffer = 1;
|
|
210
|
}
|
|
211
|
if (ktimer == 35)
|
|
212
|
{
|
|
213
|
quizzler.kr_index++;
|
|
214
|
menucoord[menu] = correctanswer;
|
|
215
|
snd_play(snd_menumove);
|
|
216
|
snd_play_pitch(snd_cough, 3);
|
|
217
|
}
|
|
218
|
if (ktimer == 37 || ktimer == 40)
|
|
219
|
quizzler.kr_index++;
|
|
220
|
if (ktimer == 50)
|
|
221
|
{
|
|
222
|
quizzler.kr_pose = false;
|
|
223
|
quizzler.kr_sprite = spr_kris_quiz_down;
|
|
224
|
buffer = 1;
|
|
225
|
ralbuffer = irandom_range(15, 20);
|
|
226
|
susbuffer = irandom_range(8, 14);
|
|
227
|
ktimer = -1;
|
|
228
|
movelock = false;
|
|
229
|
}
|
|
230
|
}
|
|
231
|
else
|
|
232
|
{
|
|
233
|
ktimer = 0;
|
|
234
|
}
|
|
235
|
}
|
|
236
|
else if (quizid == "puppetshow")
|
|
237
|
{
|
|
238
|
if (commenttimer == 20)
|
|
239
|
scr_createquizcomment(stringsetloc(Wh... WHAT!?"Wh... WHAT!?", "obj_quizsequence_slash_Step_0_gml_224_0" ), 0, 30, 4934);
|
|
240
|
if (commenttimer == 55)
|
|
241
|
{
|
|
242
|
snd_play_pitch(snd_board_text_main_end, 1.5);
|
|
243
|
rsel = true;
|
|
244
|
ssel = true;
|
|
245
|
snd_stop(global.currentsong[1]);
|
|
246
|
paused = true;
|
|
247
|
}
|
|
248
|
if (commenttimer == 70)
|
|
249
|
scr_createquizcomment(stringsetloc(It was CANCELLED!?#You gotta be kidding me!!"It was CANCELLED!?#You gotta be kidding me!!", "obj_quizsequence_slash_Step_0_gml_235_0" ), 0, 80, 4539, 0);
|
|
250
|
if (commenttimer == 150)
|
|
251
|
scr_createquizcomment(stringsetloc(No!! You're joking!! I...#I invested everything in puppets!!#Everything I had!"No!! You're joking!! I...#I invested everything in puppets!!#Everything I had!", "obj_quizsequence_slash_Step_0_gml_239_0" ), 0, 90, 773);
|
|
252
|
if (commenttimer == 260)
|
|
253
|
scr_createquizcomment(stringsetloc(... Alright. Ahem. It's fine.#Let's just keep going.#We're, having so much fun!"... Alright. Ahem. It's fine.#Let's just keep going.#We're, having so much fun!", "obj_quizsequence_slash_Step_0_gml_243_0" ), 0, 90, 2713);
|
|
254
|
if (commenttimer == 350)
|
|
255
|
{
|
|
256
|
con = 5;
|
|
257
|
rcorrect++;
|
|
258
|
ra_answer[quiz_index] = 1;
|
|
259
|
scorrect++;
|
|
260
|
su_answer[quiz_index] = 1;
|
|
261
|
kcorrect++;
|
|
262
|
kr_answer[quiz_index] = 1;
|
|
263
|
total_correct += 3;
|
|
264
|
quiz_index++;
|
|
265
|
timer = 55;
|
|
266
|
}
|
|
267
|
}
|
|
268
|
if (!paused)
|
|
269
|
{
|
|
270
|
if (!movelock)
|
|
271
|
buffer = -1;
|
|
272
|
if (buffer <= 0)
|
|
273
|
{
|
|
274
|
if (down_p())
|
|
275
|
{
|
|
276
|
menucoord[menu] += 1;
|
|
277
|
buffer = 1;
|
|
278
|
ralbuffer = irandom_range(15, 20);
|
|
279
|
susbuffer = irandom_range(8, 14);
|
|
280
|
if (i_ex(quizzler))
|
|
281
|
quizzler.kr_press = 4;
|
|
282
|
snd_play(snd_menumove);
|
|
283
|
}
|
|
284
|
if (up_p())
|
|
285
|
{
|
|
286
|
menucoord[menu] -= 1;
|
|
287
|
buffer = 1;
|
|
288
|
ralbuffer = irandom_range(15, 20);
|
|
289
|
susbuffer = irandom_range(8, 14);
|
|
290
|
if (i_ex(quizzler))
|
|
291
|
quizzler.kr_press = 4;
|
|
292
|
snd_play(snd_menumove);
|
|
293
|
}
|
|
294
|
if (menucoord[menu] < 0)
|
|
295
|
menucoord[menu] = 3;
|
|
296
|
if (menucoord[menu] > 3)
|
|
297
|
menucoord[menu] = 0;
|
|
298
|
}
|
|
299
|
event_user(0);
|
|
300
|
event_user(1);
|
|
301
|
if (button1_p() && buffer <= 0 && myanswer < 0 && commenttimer < 10)
|
|
302
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("comment timer at " + string(commenttimer));
|
|
303
|
if (button1_p() && buffer <= 0 && commenttimer >= 10 && myanswer < 0)
|
|
304
|
{
|
|
305
|
if (i_ex(quizzler))
|
|
306
|
quizzler.kr_press = 4;
|
|
307
|
snd_play_pitch(snd_select, choicepitch);
|
|
308
|
choicepitch += 0.1;
|
|
309
|
timer = 0;
|
|
310
|
myanswer = menucoord[menu];
|
|
311
|
if (commenttimer <= 14)
|
|
312
|
{
|
|
313
|
var _iscorrect = myanswer == correctanswer || correctanswer == 4;
|
|
314
|
if (correctanswer == -1)
|
|
315
|
{
|
|
316
|
if (quizid == "whattime" && myanswer != 3)
|
|
317
|
{
|
|
318
|
_iscorrect = true;
|
|
319
|
if (myanswer != 1)
|
|
320
|
{
|
|
321
|
if (schoose == 0)
|
|
322
|
{
|
|
323
|
schoose = -1;
|
|
324
|
if (susBehavior == 1)
|
|
325
|
susBehavior = 3;
|
|
326
|
}
|
|
327
|
}
|
|
328
|
}
|
|
329
|
if (quizid == "ralseiplush" && (myanswer == 0 || myanswer == 3))
|
|
330
|
_iscorrect = true;
|
|
331
|
}
|
|
332
|
if (!_iscorrect)
|
|
333
|
{
|
|
334
|
if (schoose == 0)
|
|
335
|
{
|
|
336
|
schoose = -1;
|
|
337
|
if (susBehavior == 1)
|
|
338
|
susBehavior = 3;
|
|
339
|
}
|
|
340
|
if (rchoose == 0)
|
|
341
|
rchoose = -1;
|
|
342
|
if (skiptimer >= 0 && quizid != "puppetshow")
|
|
343
|
commenttimer += skiptimer;
|
|
344
|
}
|
|
345
|
if (su_guess == -1)
|
|
346
|
su_guess = irandom(3);
|
|
347
|
if (ra_guess == -1)
|
|
348
|
ra_guess = irandom(3);
|
|
349
|
su_wait = ((su_wait - 30) / 5) + 30;
|
|
350
|
ra_wait = ((ra_wait - 30) / 5) + 30;
|
|
351
|
}
|
|
352
|
if (quizid != "puppetshow")
|
|
353
|
{
|
|
354
|
con = 4;
|
|
355
|
with (obj_ch3_ballcon)
|
|
356
|
appearcon = 2;
|
|
357
|
}
|
|
358
|
}
|
|
359
|
if (countdown <= 0)
|
|
360
|
con = 4;
|
|
361
|
}
|
|
362
|
}
|
|
363
|
else if (con < 3)
|
|
364
|
{
|
|
365
|
if (down_h() || up_h() || button1_h())
|
|
366
|
{
|
|
367
|
if (i_ex(quizzler))
|
|
368
|
quizzler.kr_press = 2;
|
|
369
|
}
|
|
370
|
}
|
|
371
|
if (con == 4)
|
|
372
|
{
|
|
373
|
if (!auto && countdown >= 0)
|
|
374
|
{
|
|
375
|
event_user(0);
|
|
376
|
event_user(1);
|
|
377
|
}
|
|
378
|
if ((rsel && ssel) || countdown <= 0 || auto)
|
|
379
|
{
|
|
380
|
timer++;
|
|
381
|
if (quizid == "lancer" && extra)
|
|
382
|
{
|
|
383
|
if (timer == 20)
|
|
384
|
{
|
|
385
|
endtimer = 999999;
|
|
386
|
global.flag[1073 lancer_tv_name] = ralseicoord;
|
|
387
|
}
|
|
388
|
var tbubx = 480;
|
|
389
|
var tbuby = 408;
|
|
390
|
var ttail = 64;
|
|
391
|
var timespace = 140;
|
|
392
|
var starttime = 30;
|
|
393
|
var lanname = stringsetloc(Lancer"Lancer", "obj_quizsequence_slash_Step_0_gml_396_0" );
|
|
394
|
if (ralseicoord == 1)
|
|
395
|
lanname = stringsetloc(Dancer"Dancer", "obj_quizsequence_slash_Step_0_gml_397_0" );
|
|
396
|
if (ralseicoord == 2)
|
|
397
|
lanname = stringsetloc(Prancer"Prancer", "obj_quizsequence_slash_Step_0_gml_398_0" );
|
|
398
|
if (ralseicoord == 3)
|
|
399
|
lanname = stringsetloc(Mr. Generosity"Mr. Generosity", "obj_quizsequence_slash_Step_0_gml_399_0" );
|
|
400
|
var testring1 = stringsetsubloc("Interesting! His name#is ~1.", lanname, "obj_quizsequence_slash_Step_0_gml_402_0");
|
|
401
|
if (ralseicoord != 0)
|
|
402
|
{
|
|
403
|
if (timer == (starttime + (timespace * 0)))
|
|
404
|
{
|
|
405
|
safe_delete(obj_couchwriter);
|
|
406
|
safe_delete(obj_tennatalkbubble);
|
|
407
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
408
|
quizzler.tenna.bounce = 1;
|
|
409
|
var tetalk = testring1;
|
|
410
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
411
|
}
|
|
412
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
413
|
if (timer == (starttime + (timespace * 1)))
|
|
414
|
{
|
|
415
|
with (obj_tennatalkbubble)
|
|
416
|
instance_destroy();
|
|
417
|
var sutalk = stringsetloc(No it's not."No it's not.", "obj_quizsequence_slash_Step_0_gml_364_0" );
|
|
418
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (sutalk, "susie", 2, timespace);
|
|
419
|
quizzler.su_sprite = spr_susie_walk_right_dw_unhappy;
|
|
420
|
}
|
|
421
|
checkskip(starttime + (timespace * 1), starttime + (timespace * 2));
|
|
422
|
if (timer == (starttime + (timespace * 2)))
|
|
423
|
{
|
|
424
|
quizzler.su_sprite = spr_susie_walk_down_dw_unhappy;
|
|
425
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
426
|
quizzler.tenna.bounce = 1;
|
|
427
|
var tetalk = stringsetloc(Majority rules!#Sorry, Susie,#your answer is wrong!"Majority rules!#Sorry, Susie,#your answer is wrong!", "obj_quizsequence_slash_Step_0_gml_366_0" );
|
|
428
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
429
|
}
|
|
430
|
checkskip(starttime + (timespace * 2), starttime + (timespace * 3));
|
|
431
|
if (timer == (starttime + (timespace * 3)))
|
|
432
|
{
|
|
433
|
quizzler.tenna.sprite_index = spr_tenna_point_at_screen;
|
|
434
|
quizzler.tenna.bounce = 1;
|
|
435
|
endtimer = timer + 1;
|
|
436
|
correctanswer = ralseicoord;
|
|
437
|
extra = false;
|
|
438
|
timer = 19;
|
|
439
|
}
|
|
440
|
}
|
|
441
|
else
|
|
442
|
{
|
|
443
|
if (timer == (starttime + (timespace * 0)))
|
|
444
|
{
|
|
445
|
safe_delete(obj_couchwriter);
|
|
446
|
safe_delete(obj_tennatalkbubble);
|
|
447
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
448
|
quizzler.tenna.bounce = 1;
|
|
449
|
var tetalk = testring1;
|
|
450
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
451
|
}
|
|
452
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
453
|
if (timer == (starttime + (timespace * 1)))
|
|
454
|
{
|
|
455
|
endtimer = timer + 1;
|
|
456
|
extra = false;
|
|
457
|
timer = 19;
|
|
458
|
}
|
|
459
|
}
|
|
460
|
}
|
|
461
|
else if (timer == 20)
|
|
462
|
{
|
|
463
|
var _gotcorrect = false;
|
|
464
|
if (subcon == 0)
|
|
465
|
{
|
|
466
|
sresult = 0;
|
|
467
|
rresult = 0;
|
|
468
|
correct = 0;
|
|
469
|
if (rsel)
|
|
470
|
{
|
|
471
|
if (quizid == "whattime" && ralseicoord != 3)
|
|
472
|
_gotcorrect = true;
|
|
473
|
else if (quizid == "ralseiplush" && (ralseicoord == 0 || ralseicoord == 3))
|
|
474
|
_gotcorrect = true;
|
|
475
|
else if (ralseicoord == correctanswer || correctanswer == 4)
|
|
476
|
_gotcorrect = true;
|
|
477
|
}
|
|
478
|
if (quizid == "ax" && ralseicoord != susiecoord)
|
|
479
|
quizzler.su_sprite = spr_susie_pose_what_the;
|
|
480
|
}
|
|
481
|
else if (subcon == 1)
|
|
482
|
{
|
|
483
|
if (ssel)
|
|
484
|
{
|
|
485
|
if (quizid == "whattime" && susiecoord != 3)
|
|
486
|
_gotcorrect = true;
|
|
487
|
else if (quizid == "ralseiplush" && (susiecoord == 0 || susiecoord == 3))
|
|
488
|
_gotcorrect = true;
|
|
489
|
else if (susiecoord == correctanswer || correctanswer == 4)
|
|
490
|
_gotcorrect = true;
|
|
491
|
}
|
|
492
|
}
|
|
493
|
else if (subcon == 2)
|
|
494
|
{
|
|
495
|
if (myanswer > -1)
|
|
496
|
{
|
|
497
|
if (quizid == "whattime" && myanswer != 3)
|
|
498
|
_gotcorrect = true;
|
|
499
|
else if (quizid == "ralseiplush" && (myanswer == 0 || myanswer == 3))
|
|
500
|
_gotcorrect = true;
|
|
501
|
else if (myanswer == correctanswer || correctanswer == 4)
|
|
502
|
_gotcorrect = true;
|
|
503
|
}
|
|
504
|
if (quizid == "ax" && myanswer != susiecoord)
|
|
505
|
quizzler.su_sprite = spr_susie_pose_what_the;
|
|
506
|
if (quizid == "favfood" && susiecoord == myanswer && myanswer != correctanswer)
|
|
507
|
quizzler.su_sprite = spr_susie_quiz_more_confused;
|
|
508
|
}
|
|
509
|
if (_gotcorrect)
|
|
510
|
{
|
|
511
|
snd_play(snd_coin);
|
|
512
|
if (subcon == 0)
|
|
513
|
{
|
|
514
|
rcorrect++;
|
|
515
|
rresult = 1;
|
|
516
|
ra_answer[quiz_index] = 1;
|
|
517
|
}
|
|
518
|
if (subcon == 1)
|
|
519
|
{
|
|
520
|
scorrect++;
|
|
521
|
sresult = 1;
|
|
522
|
su_answer[quiz_index] = 1;
|
|
523
|
}
|
|
524
|
if (subcon == 2)
|
|
525
|
{
|
|
526
|
kcorrect++;
|
|
527
|
correct = 1;
|
|
528
|
kr_answer[quiz_index] = 1;
|
|
529
|
}
|
|
530
|
total_correct++;
|
|
531
|
q_correct++;
|
|
532
|
}
|
|
533
|
else
|
|
534
|
{
|
|
535
|
snd_play(snd_hurt1);
|
|
536
|
if (subcon == 0)
|
|
537
|
ra_answer[quiz_index] = 0;
|
|
538
|
if (subcon == 1)
|
|
539
|
su_answer[quiz_index] = 0;
|
|
540
|
if (subcon == 2)
|
|
541
|
kr_answer[quiz_index] = 0;
|
|
542
|
}
|
|
543
|
subcon++;
|
|
544
|
if (subcon == 3)
|
|
545
|
{
|
|
546
|
con = 5;
|
|
547
|
quiz_index++;
|
|
548
|
if (quiz_index >= quiz_length)
|
|
549
|
endtimer = 100;
|
|
550
|
else
|
|
551
|
endtimer = 60;
|
|
552
|
}
|
|
553
|
else
|
|
554
|
{
|
|
555
|
timer -= 12;
|
|
556
|
}
|
|
557
|
}
|
|
558
|
}
|
|
559
|
else if (!paused)
|
|
560
|
{
|
|
561
|
countdown--;
|
|
562
|
}
|
|
563
|
}
|
|
564
|
if (con == 5)
|
|
565
|
{
|
|
566
|
if (!postcomment)
|
|
567
|
{
|
|
568
|
postcomment = true;
|
|
569
|
commentcount = 0;
|
|
570
|
}
|
|
571
|
if (quizid == "whattime")
|
|
572
|
{
|
|
573
|
if (timer == 20)
|
|
574
|
endtimer = 999999;
|
|
575
|
var tbubx = 480;
|
|
576
|
var tbuby = 408;
|
|
577
|
var ttail = 64;
|
|
578
|
var timespace = 140;
|
|
579
|
var starttime = 30;
|
|
580
|
if (timer == (starttime + (timespace * 0)))
|
|
581
|
{
|
|
582
|
safe_delete(obj_couchwriter);
|
|
583
|
safe_delete(obj_tennatalkbubble);
|
|
584
|
var tetalk = "";
|
|
585
|
if (myanswer == -1)
|
|
586
|
myanswer = choose(ralseicoord, susiecoord);
|
|
587
|
if (myanswer == 0)
|
|
588
|
{
|
|
589
|
tetalk = stringsetloc(TV-THIRTY! Uh, sure!#A bit off, but we'll#go with it."TV-THIRTY! Uh, sure!#A bit off, but we'll#go with it.", "obj_quizsequence_slash_Step_0_gml_600_0" );
|
|
590
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
591
|
}
|
|
592
|
if (myanswer == 1)
|
|
593
|
{
|
|
594
|
tetalk = stringsetloc(THAT'S EXACTLY RIGHT#FOLKS!!! Way to start#this quiz with a BANG!"THAT'S EXACTLY RIGHT#FOLKS!!! Way to start#this quiz with a BANG!", "obj_quizsequence_slash_Step_0_gml_605_0" );
|
|
595
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
596
|
}
|
|
597
|
if (myanswer == 2)
|
|
598
|
{
|
|
599
|
tetalk = stringsetloc(Uhh, I guess that's#technically right. Sure."Uhh, I guess that's#technically right. Sure.", "obj_quizsequence_slash_Step_0_gml_610_0" );
|
|
600
|
quizzler.tenna.sprite_index = spr_tenna_laugh_pose;
|
|
601
|
}
|
|
602
|
if (myanswer == 3)
|
|
603
|
{
|
|
604
|
tetalk = stringsetloc(Aaaaand you got the only#wrong answer. Let's hear#some boo's, folks!"Aaaaand you got the only#wrong answer. Let's hear#some boo's, folks!", "obj_quizsequence_slash_Step_0_gml_615_0" );
|
|
605
|
quizzler.tenna.sprite_index = spr_tenna_laugh_pose;
|
|
606
|
}
|
|
607
|
quizzler.tenna.bounce = 1;
|
|
608
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
609
|
}
|
|
610
|
if (timer == (starttime + (timespace * 0) + 60) && myanswer == 3)
|
|
611
|
snd_play(snd_crowd_ooh);
|
|
612
|
if (timer == (starttime + (timespace * 1)))
|
|
613
|
endtimer = timer + 1;
|
|
614
|
for (var i = 0; i < 20; i++)
|
|
615
|
checkskip(starttime + (timespace * i), starttime + (timespace * (i + 1)));
|
|
616
|
}
|
|
617
|
if (quizid == "ralseiplush")
|
|
618
|
{
|
|
619
|
if (timer == 20)
|
|
620
|
endtimer = 999999;
|
|
621
|
var tbubx = 480;
|
|
622
|
var tbuby = 408;
|
|
623
|
var ttail = 64;
|
|
624
|
var timespace = 140;
|
|
625
|
var starttime = 30;
|
|
626
|
if (myanswer == -1)
|
|
627
|
myanswer = choose(ralseicoord, susiecoord);
|
|
628
|
if (myanswer == 2)
|
|
629
|
starttime = 40;
|
|
630
|
if (myanswer == 0 || myanswer == 3)
|
|
631
|
{
|
|
632
|
if (timer == (starttime + (timespace * 0)))
|
|
633
|
{
|
|
634
|
safe_delete(obj_couchwriter);
|
|
635
|
safe_delete(obj_tennatalkbubble);
|
|
636
|
quizzler.tenna.sprite_index = spr_tenna_laugh_pose;
|
|
637
|
quizzler.tenna.bounce = 1;
|
|
638
|
var tetalk = stringsetloc(That's right! This#little guy costs $32!"That's right! This#little guy costs $32!", "obj_quizsequence_slash_Step_0_gml_651_0" );
|
|
639
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
640
|
}
|
|
641
|
if (timer == (starttime + (timespace * 1)))
|
|
642
|
endtimer = timer + 1;
|
|
643
|
for (var i = 0; i < 20; i++)
|
|
644
|
checkskip(starttime + (timespace * i), starttime + (timespace * (i + 1)));
|
|
645
|
}
|
|
646
|
if (myanswer == 1)
|
|
647
|
{
|
|
648
|
if (timer == (starttime + (timespace * 0)))
|
|
649
|
{
|
|
650
|
safe_delete(obj_couchwriter);
|
|
651
|
safe_delete(obj_tennatalkbubble);
|
|
652
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
653
|
quizzler.tenna.bounce = 1;
|
|
654
|
var tetalk = stringsetloc(Sorry folks, but this#boy ain't cheap! Maybe wait#for that Steamed Sale!"Sorry folks, but this#boy ain't cheap! Maybe wait#for that Steamed Sale!", "obj_quizsequence_slash_Step_0_gml_667_0" );
|
|
655
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
656
|
}
|
|
657
|
if (timer == (starttime + (timespace * 1)))
|
|
658
|
endtimer = timer + 1;
|
|
659
|
for (var i = 0; i < 20; i++)
|
|
660
|
checkskip(starttime + (timespace * i), starttime + (timespace * (i + 1)));
|
|
661
|
}
|
|
662
|
if (myanswer == 2)
|
|
663
|
{
|
|
664
|
if (timer == (starttime + 0))
|
|
665
|
{
|
|
666
|
quizzler.kr_sprite = spr_krisr_dark;
|
|
667
|
quizzler.ra_sprite = spr_ralsei_left;
|
|
668
|
var ratalk = stringsetloc(Aww, Kris! I..."Aww, Kris! I...", "obj_quizsequence_slash_Step_0_gml_683_0" );
|
|
669
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (ratalk, "ralsei", 2, 999);
|
|
670
|
}
|
|
671
|
checkskip(starttime + 0, starttime + 90);
|
|
672
|
if (timer == (starttime + 90))
|
|
673
|
{
|
|
674
|
safe_delete(obj_couchwriter);
|
|
675
|
quizzler.tenna.sprite_index = spr_tenna_point_left;
|
|
676
|
quizzler.tenna.bounce = 1;
|
|
677
|
quizzler.ra_sprite = spr_ralsei_shocked_right;
|
|
678
|
with (quizzler.ralsei)
|
|
679
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
680
|
snd_play(snd_wing);
|
|
681
|
var tetalk = stringsetloc(Wrong! He costs $32!#Can't you see the PRICE TAG!?"Wrong! He costs $32!#Can't you see the PRICE TAG!?", "obj_quizsequence_slash_Step_0_gml_699_0" );
|
|
682
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
683
|
}
|
|
684
|
checkskip(starttime + 90, starttime + 90 + (timespace * 1));
|
|
685
|
if (timer == (starttime + 90 + (timespace * 1)))
|
|
686
|
endtimer = timer + 1;
|
|
687
|
}
|
|
688
|
}
|
|
689
|
if (quizid == "ax" && total_correct < 3)
|
|
690
|
{
|
|
691
|
if (timer == 20)
|
|
692
|
endtimer += 65;
|
|
693
|
if (timer == 40)
|
|
694
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (stringsetloc(Oops."Oops.", "obj_quizsequence_slash_Step_0_gml_475_0" ), "ra", 0, 30);
|
|
695
|
if (timer == 65)
|
|
696
|
{
|
|
697
|
if (myanswer == susiecoord || ralseicoord == susiecoord)
|
|
698
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (stringsetloc(Why the hell didn't you trust me!?"Why the hell didn't you trust me!?", "obj_quizsequence_slash_Step_0_gml_481_0" ), "su");
|
|
699
|
else
|
|
700
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (stringsetloc(Why the hell didn't you guys trust me!?"Why the hell didn't you guys trust me!?", "obj_quizsequence_slash_Step_0_gml_482_0" ), "su");
|
|
701
|
quizzler.su_sprite = spr_susie_exasperated;
|
|
702
|
with (quizzler.susie)
|
|
703
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
704
|
}
|
|
705
|
if (timer == 70)
|
|
706
|
{
|
|
707
|
quizzler.ra_sprite = spr_ralsei_shocked_left;
|
|
708
|
quizzler.kr_sprite = spr_krisl_dark;
|
|
709
|
}
|
|
710
|
}
|
|
711
|
if (quizid == "favfood")
|
|
712
|
{
|
|
713
|
if (timer == 20)
|
|
714
|
endtimer = 999999;
|
|
715
|
var tbubx = 480;
|
|
716
|
var tbuby = 408;
|
|
717
|
var ttail = 64;
|
|
718
|
var timespace = 140;
|
|
719
|
var starttime = 30;
|
|
720
|
if (correct)
|
|
721
|
{
|
|
722
|
if (timer == (starttime + (timespace * 0)))
|
|
723
|
{
|
|
724
|
safe_delete(obj_couchwriter);
|
|
725
|
safe_delete(obj_tennatalkbubble);
|
|
726
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
727
|
quizzler.tenna.bounce = 1;
|
|
728
|
var tetalk = stringsetloc(That's right, Kris!#Who can resist#your mother's homemade pie!"That's right, Kris!#Who can resist#your mother's homemade pie!", "obj_quizsequence_slash_Step_0_gml_502_0" );
|
|
729
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
730
|
}
|
|
731
|
if (timer == (starttime + (timespace * 1)))
|
|
732
|
{
|
|
733
|
quizzler.tenna.sprite_index = spr_tenna_laugh_pose;
|
|
734
|
quizzler.tenna.bounce = 1;
|
|
735
|
var tetalk = stringsetloc(Nothing better than#chowing down with#the family..."Nothing better than#chowing down with#the family...", "obj_quizsequence_slash_Step_0_gml_503_0" );
|
|
736
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
737
|
}
|
|
738
|
if (timer == (starttime + (timespace * 2)))
|
|
739
|
{
|
|
740
|
quizzler.tenna.sprite_index = spr_tenna_nose_blossom;
|
|
741
|
quizzler.tenna.bounce = 1;
|
|
742
|
var tetalk = stringsetloc(In the warm, warm glow of your#favorite holiday specials!"In the warm, warm glow of your#favorite holiday specials!", "obj_quizsequence_slash_Step_0_gml_504_0" );
|
|
743
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
744
|
}
|
|
745
|
if (timer == (starttime + (timespace * 3)))
|
|
746
|
{
|
|
747
|
quizzler.tenna.sprite_index = spr_tenna_point_up;
|
|
748
|
quizzler.tenna.bounce = 1;
|
|
749
|
var tetalk = stringsetloc(Right here on TV TIME!!!"Right here on TV TIME!!!", "obj_quizsequence_slash_Step_0_gml_505_0" );
|
|
750
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
751
|
}
|
|
752
|
if (timer == (starttime + (timespace * 4)))
|
|
753
|
{
|
|
754
|
quizzler.tenna.sprite_index = spr_tenna_point_at_screen;
|
|
755
|
quizzler.tenna.bounce = 1;
|
|
756
|
var tetalk = stringsetloc(Now, let's see those RESULTS!"Now, let's see those RESULTS!", "obj_quizsequence_slash_Step_0_gml_506_0" );
|
|
757
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
758
|
}
|
|
759
|
if (timer == (starttime + (timespace * 5)))
|
|
760
|
{
|
|
761
|
debug_print("ending!!");
|
|
762
|
endtimer = timer;
|
|
763
|
safe_delete(obj_tennatalkbubble);
|
|
764
|
}
|
|
765
|
for (var i = 0; i < 20; i++)
|
|
766
|
checkskip(starttime + (timespace * i), starttime + (timespace * (i + 1)));
|
|
767
|
}
|
|
768
|
else
|
|
769
|
{
|
|
770
|
if (timer == (20 + (timespace * 0)))
|
|
771
|
{
|
|
772
|
quizzler.su_sprite = spr_susie_walk_right_dw;
|
|
773
|
with (quizzler.susie)
|
|
774
|
{
|
|
775
|
image_speed = 0.25;
|
|
776
|
scr_delay_var("image_speed", 0, 10);
|
|
777
|
}
|
|
778
|
var sutalk = stringsetloc(Heh, how'd you mess THAT up?"Heh, how'd you mess THAT up?", "obj_quizsequence_slash_Step_0_gml_512_0" );
|
|
779
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (sutalk, "susie", 2, timespace);
|
|
780
|
}
|
|
781
|
if (timer == (20 + (timespace * 1)))
|
|
782
|
{
|
|
783
|
quizzler.su_sprite = spr_susie_walk_down_dw;
|
|
784
|
quizzler.susie.image_speed = 0;
|
|
785
|
quizzler.tenna.sprite_index = spr_tenna_tie_adjust_a;
|
|
786
|
quizzler.tenna.bounce = 1;
|
|
787
|
var tetalk = stringsetloc(... Kris? Haha... Kris,#you know that's not right!"... Kris? Haha... Kris,#you know that's not right!", "obj_quizsequence_slash_Step_0_gml_515_0" );
|
|
788
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
789
|
}
|
|
790
|
if (timer == (20 + (timespace * 2)))
|
|
791
|
{
|
|
792
|
quizzler.tenna.sprite_index = spr_tenna_nose_blossom;
|
|
793
|
quizzler.tenna.bounce = 1;
|
|
794
|
var tetalk = stringsetloc(Pie! You loved pie, didn't you?#With the family!"Pie! You loved pie, didn't you?#With the family!", "obj_quizsequence_slash_Step_0_gml_516_0" );
|
|
795
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
796
|
}
|
|
797
|
if (timer == (20 + (timespace * 3)))
|
|
798
|
{
|
|
799
|
quizzler.tenna.sprite_index = spr_tenna_laugh_pose;
|
|
800
|
quizzler.tenna.bounce = 1;
|
|
801
|
var tetalk = stringsetloc(You and brother with#whipped cream beards..."You and brother with#whipped cream beards...", "obj_quizsequence_slash_Step_0_gml_517_0" );
|
|
802
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
803
|
}
|
|
804
|
if (timer == (20 + (timespace * 4)))
|
|
805
|
{
|
|
806
|
quizzler.tenna.sprite_index = spr_tenna_point_up;
|
|
807
|
quizzler.tenna.bounce = 1;
|
|
808
|
var tetalk = stringsetloc(Right in front of the TV!!#Right in front of ME!"Right in front of the TV!!#Right in front of ME!", "obj_quizsequence_slash_Step_0_gml_518_0" );
|
|
809
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
810
|
}
|
|
811
|
if (timer == (20 + (timespace * 5)))
|
|
812
|
{
|
|
813
|
quizzler.tenna.sprite_index = spr_tenna_point_at_screen;
|
|
814
|
quizzler.tenna.bounce = 1;
|
|
815
|
var tetalk = stringsetloc(Anyway, onto the results!!"Anyway, onto the results!!", "obj_quizsequence_slash_Step_0_gml_519_0" );
|
|
816
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
817
|
}
|
|
818
|
if (timer == (20 + (timespace * 6)))
|
|
819
|
{
|
|
820
|
endtimer = timer;
|
|
821
|
safe_delete(obj_tennatalkbubble);
|
|
822
|
}
|
|
823
|
for (var i = 0; i < 20; i++)
|
|
824
|
checkskip(20 + (timespace * i), 20 + (timespace * (i + 1)));
|
|
825
|
}
|
|
826
|
}
|
|
827
|
if (quizid == "tenna")
|
|
828
|
{
|
|
829
|
if (timer == 20)
|
|
830
|
endtimer = 999999;
|
|
831
|
var tbubx = 480;
|
|
832
|
var tbuby = 408;
|
|
833
|
var ttail = 64;
|
|
834
|
var timespace = 140;
|
|
835
|
var starttime = 30;
|
|
836
|
checkskip(0, starttime + (timespace * 0));
|
|
837
|
if (timer == (starttime + (timespace * 0)))
|
|
838
|
{
|
|
839
|
safe_delete(obj_couchwriter);
|
|
840
|
safe_delete(obj_tennatalkbubble);
|
|
841
|
var tetalk = "";
|
|
842
|
var tesprite = 2232;
|
|
843
|
if (myanswer == 0 || myanswer == -1)
|
|
844
|
{
|
|
845
|
tetalk = stringsetloc(Don't you know your own TV?!"Don't you know your own TV?!", "obj_quizsequence_slash_Step_0_gml_535_0" );
|
|
846
|
tesprite = 4934;
|
|
847
|
}
|
|
848
|
if (myanswer == 2)
|
|
849
|
{
|
|
850
|
tetalk = stringsetloc(Haha, that's me, FOLKS!"Haha, that's me, FOLKS!", "obj_quizsequence_slash_Step_0_gml_531_0" );
|
|
851
|
tesprite = 2232;
|
|
852
|
}
|
|
853
|
if (myanswer == 1 || myanswer == 3)
|
|
854
|
{
|
|
855
|
tetalk = stringsetloc(Haha! I, regret#including that answer."Haha! I, regret#including that answer.", "obj_quizsequence_slash_Step_0_gml_541_0" );
|
|
856
|
tesprite = 4628;
|
|
857
|
}
|
|
858
|
quizzler.tenna.sprite_index = tesprite;
|
|
859
|
quizzler.tenna.bounce = 1;
|
|
860
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
861
|
}
|
|
862
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
863
|
if (timer == (starttime + (timespace * 1)))
|
|
864
|
endtimer = timer + 1;
|
|
865
|
}
|
|
866
|
if (quizid == "channel")
|
|
867
|
{
|
|
868
|
if (timer == 20 && myanswer >= 0)
|
|
869
|
{
|
|
870
|
endtimer = 40;
|
|
871
|
if (myanswer < 3)
|
|
872
|
{
|
|
873
|
scr_quizcomment_add(stringsetloc(That's right, Kris!#Smart kid!"That's right, Kris!#Smart kid!", "obj_quizsequence_slash_Step_0_gml_555_0" ), 0, 60, 2232);
|
|
874
|
scr_quizcomment_add(stringsetloc(Now, let's see those RESULTS!"Now, let's see those RESULTS!", "obj_quizsequence_slash_Step_0_gml_556_0" ), 0, 60, 4099);
|
|
875
|
}
|
|
876
|
else
|
|
877
|
{
|
|
878
|
scr_quizcomment_add(stringsetloc(What the... OTHER!?"What the... OTHER!?", "obj_quizsequence_slash_Step_0_gml_560_0" ), 0, 45, 2592);
|
|
879
|
scr_quizcomment_add(stringsetloc(I mean you can just stream whatever on a Smart TV."I mean you can just stream whatever on a Smart TV.", "obj_quizsequence_slash_Step_0_gml_561_0" ), 1, 60);
|
|
880
|
scr_quizcomment_add(stringsetloc(Smart... WHAT?#Are you calling me STUPID!?"Smart... WHAT?#Are you calling me STUPID!?", "obj_quizsequence_slash_Step_0_gml_562_0" ), 0, 60, 4628);
|
|
881
|
}
|
|
882
|
}
|
|
883
|
}
|
|
884
|
if (quizid == "smash")
|
|
885
|
{
|
|
886
|
if (timer == 20)
|
|
887
|
endtimer = 999999;
|
|
888
|
var tbubx = 382;
|
|
889
|
var tbuby = 190;
|
|
890
|
var ttail = 120;
|
|
891
|
var timespace = 140;
|
|
892
|
var starttime = 30;
|
|
893
|
checkskip(0, starttime + (timespace * 0));
|
|
894
|
if (timer == (starttime + (timespace * 0)))
|
|
895
|
{
|
|
896
|
safe_delete(obj_couchwriter);
|
|
897
|
safe_delete(obj_tennatalkbubble);
|
|
898
|
if (!correct)
|
|
899
|
{
|
|
900
|
var sutalk = stringsetloc(What the#hell, Kris?"What the#hell, Kris?", "obj_quizsequence_slash_Step_0_gml_963_0" );
|
|
901
|
scr_couchtalkscr_couchtalk
function scr_couchclear(arg0)
{
with (obj_couchwriter)
{
if (speaker == arg0)
instance_destroy();
}
}
function scr_couchtalk(arg0, arg1)
{
var ix = -1;
var iy = -1;
if (argument_count >= 6)
{
ix = argument4;
iy = argument5;
}
var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter);
couchtext.mystring = arg0;
couchtext.speaker = arg1;
if (argument_count >= 3)
couchtext.cleartext = argument2;
if (argument_count >= 4)
couchtext.drawtime = argument3;
if (argument_count >= 7)
couchtext.customsnd = argument6;
if (argument_count >= 8)
couchtext.customcolor = argument7;
if (argument_count >= 9)
couchtext.talkrate = argument8;
if (argument_count >= 10)
couchtext.talklength = argument9;
return couchtext;
} (sutalk, "susie", 2, timespace);
|
|
902
|
}
|
|
903
|
else
|
|
904
|
{
|
|
905
|
timer = starttime + (timespace * 1);
|
|
906
|
}
|
|
907
|
}
|
|
908
|
if (timer == (starttime + (timespace * 1)))
|
|
909
|
{
|
|
910
|
with (obj_couchwriter)
|
|
911
|
instance_destroy();
|
|
912
|
var tesprite = 4187;
|
|
913
|
var tetalk = stringsetloc(That's right,#Kris!"That's right,#Kris!", "obj_quizsequence_slash_Step_0_gml_574_0" );
|
|
914
|
if (!correct)
|
|
915
|
{
|
|
916
|
tetalk = stringsetloc(Kris!? Don't#you remember!?"Kris!? Don't#you remember!?", "obj_quizsequence_slash_Step_0_gml_587_0" );
|
|
917
|
tesprite = 4934;
|
|
918
|
}
|
|
919
|
quizzler.tenna.sprite_index = tesprite;
|
|
920
|
quizzler.tenna.bounce = 1;
|
|
921
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
922
|
}
|
|
923
|
if (timer == (starttime + (timespace * 2)))
|
|
924
|
{
|
|
925
|
quizzler.tenna.bounce = 1;
|
|
926
|
var tetalk = stringsetloc(He got#embarrassed#about liking the#green dinosaur..."He got#embarrassed#about liking the#green dinosaur...", "obj_quizsequence_slash_Step_0_gml_575_0" );
|
|
927
|
quizzler.tenna.sprite_index = spr_tenna_tie_adjust_a;
|
|
928
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
929
|
}
|
|
930
|
if (timer == (starttime + (timespace * 3)))
|
|
931
|
{
|
|
932
|
quizzler.tenna.bounce = 1;
|
|
933
|
var tetalk = stringsetloc(...and switched to#being a big fan of the#fiery magician girl!"...and switched to#being a big fan of the#fiery magician girl!", "obj_quizsequence_slash_Step_0_gml_576_0" );
|
|
934
|
quizzler.tenna.sprite_index = spr_tenna_hooray_armsup;
|
|
935
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
936
|
}
|
|
937
|
if (timer == (starttime + (timespace * 4)))
|
|
938
|
{
|
|
939
|
quizzler.tenna.bounce = 1;
|
|
940
|
var tetalk = stringsetloc(Which is, maybe#its own type of#embarrassing, but..."Which is, maybe#its own type of#embarrassing, but...", "obj_quizsequence_slash_Step_0_gml_577_0" );
|
|
941
|
quizzler.tenna.sprite_index = spr_tenna_whisper_blush;
|
|
942
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
943
|
}
|
|
944
|
if (timer == (starttime + (timespace * 5)))
|
|
945
|
{
|
|
946
|
quizzler.tenna.bounce = 1;
|
|
947
|
var tetalk = stringsetloc(...Anyway, onto#the results!!"...Anyway, onto#the results!!", "obj_quizsequence_slash_Step_0_gml_578_0" );
|
|
948
|
quizzler.tenna.sprite_index = spr_tenna_point_at_screen;
|
|
949
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
950
|
}
|
|
951
|
if (timer == (starttime + (timespace * 6)))
|
|
952
|
endtimer = timer + 1;
|
|
953
|
for (var i = 0; i < 20; i++)
|
|
954
|
checkskip(starttime + (timespace * i), starttime + (timespace * (i + 1)));
|
|
955
|
}
|
|
956
|
if (quizid == "tvtime")
|
|
957
|
{
|
|
958
|
if (timer == 20)
|
|
959
|
endtimer = 999999;
|
|
960
|
var tbubx = 480;
|
|
961
|
var tbuby = 408;
|
|
962
|
var ttail = 64;
|
|
963
|
var timespace = 140;
|
|
964
|
var starttime = 30;
|
|
965
|
if (correct)
|
|
966
|
{
|
|
967
|
checkskip(0, starttime + (timespace * 0));
|
|
968
|
if (timer == (starttime + (timespace * 0)))
|
|
969
|
{
|
|
970
|
safe_delete(obj_couchwriter);
|
|
971
|
safe_delete(obj_tennatalkbubble);
|
|
972
|
quizzler.tenna.sprite_index = spr_tenna_pose;
|
|
973
|
quizzler.tenna.bounce = 1;
|
|
974
|
var tetalk = stringsetloc(Kris!! Haha,#I knew you cared!!"Kris!! Haha,#I knew you cared!!", "obj_quizsequence_slash_Step_0_gml_603_0" );
|
|
975
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
976
|
}
|
|
977
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
978
|
if (timer == (starttime + (timespace * 1)))
|
|
979
|
endtimer = timer + 1;
|
|
980
|
}
|
|
981
|
else
|
|
982
|
{
|
|
983
|
checkskip(0, starttime + (timespace * 0));
|
|
984
|
if (timer == (starttime + (timespace * 0)))
|
|
985
|
{
|
|
986
|
safe_delete(obj_couchwriter);
|
|
987
|
safe_delete(obj_tennatalkbubble);
|
|
988
|
quizzler.tenna.sprite_index = spr_tenna_pose_podium;
|
|
989
|
quizzler.tenna.bounce = 1;
|
|
990
|
var tetalk = stringsetloc(Haha, wow! Haha...#uhh, wow!"Haha, wow! Haha...#uhh, wow!", "obj_quizsequence_slash_Step_0_gml_607_0" );
|
|
991
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
992
|
}
|
|
993
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
994
|
if (timer == (starttime + (timespace * 1)))
|
|
995
|
{
|
|
996
|
quizzler.tenna.sprite_index = spr_tenna_tie_adjust_c;
|
|
997
|
quizzler.tenna.bounce = 1;
|
|
998
|
var tetalk = stringsetloc(MIKE, uhh, can we cut#that one from air? MIKE?"MIKE, uhh, can we cut#that one from air? MIKE?", "obj_quizsequence_slash_Step_0_gml_608_0" );
|
|
999
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
1000
|
}
|
|
1001
|
checkskip(starttime + (timespace * 1), starttime + (timespace * 2));
|
|
1002
|
if (timer == (starttime + (timespace * 2)))
|
|
1003
|
endtimer = timer + 1;
|
|
1004
|
}
|
|
1005
|
}
|
|
1006
|
if (quizid == "sofun")
|
|
1007
|
{
|
|
1008
|
if (timer == 20)
|
|
1009
|
endtimer = 999999;
|
|
1010
|
var tbubx = 480;
|
|
1011
|
var tbuby = 408;
|
|
1012
|
var ttail = 64;
|
|
1013
|
var timespace = 140;
|
|
1014
|
var starttime = 30;
|
|
1015
|
checkskip(0, starttime + (timespace * 0));
|
|
1016
|
if (timer == (starttime + (timespace * 0)))
|
|
1017
|
{
|
|
1018
|
safe_delete(obj_couchwriter);
|
|
1019
|
safe_delete(obj_tennatalkbubble);
|
|
1020
|
var tetalk = stringsetloc(THAT'S WHAT I THOUGHT!"THAT'S WHAT I THOUGHT!", "obj_quizsequence_slash_Step_0_gml_617_0" );
|
|
1021
|
var tesprite = 2601;
|
|
1022
|
if (!correct)
|
|
1023
|
{
|
|
1024
|
tetalk = stringsetloc(OUT OF TIME!!! WRONG!!!"OUT OF TIME!!! WRONG!!!", "obj_quizsequence_slash_Step_0_gml_619_0" );
|
|
1025
|
tesprite = 4628;
|
|
1026
|
}
|
|
1027
|
quizzler.tenna.sprite_index = tesprite;
|
|
1028
|
quizzler.tenna.bounce = true;
|
|
1029
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
1030
|
}
|
|
1031
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
1032
|
if (timer == (starttime + (timespace * 1)))
|
|
1033
|
{
|
|
1034
|
with (obj_tennatalkbubble)
|
|
1035
|
instance_destroy();
|
|
1036
|
endtimer = timer + 1;
|
|
1037
|
}
|
|
1038
|
}
|
|
1039
|
if (quizid == "anotherword")
|
|
1040
|
{
|
|
1041
|
if (timer == 20)
|
|
1042
|
endtimer = 999999;
|
|
1043
|
var tbubx = 480;
|
|
1044
|
var tbuby = 408;
|
|
1045
|
var ttail = 64;
|
|
1046
|
var timespace = 140;
|
|
1047
|
var starttime = 30;
|
|
1048
|
checkskip(0, starttime + (timespace * 0));
|
|
1049
|
if (timer == (starttime + (timespace * 0)))
|
|
1050
|
{
|
|
1051
|
safe_delete(obj_couchwriter);
|
|
1052
|
safe_delete(obj_tennatalkbubble);
|
|
1053
|
var tetalk = stringsetloc(All great answers!"All great answers!", "obj_quizsequence_slash_Step_0_gml_628_0" );
|
|
1054
|
var tesprite = 3839;
|
|
1055
|
if (!correct)
|
|
1056
|
{
|
|
1057
|
tetalk = stringsetloc(WRONG! WRONG! WRONG!!!"WRONG! WRONG! WRONG!!!", "obj_quizsequence_slash_Step_0_gml_630_0" );
|
|
1058
|
tesprite = 666;
|
|
1059
|
}
|
|
1060
|
quizzler.tenna.sprite_index = tesprite;
|
|
1061
|
quizzler.tenna.bounce = true;
|
|
1062
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
1063
|
}
|
|
1064
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
1065
|
if (timer == (starttime + (timespace * 1)))
|
|
1066
|
{
|
|
1067
|
with (obj_tennatalkbubble)
|
|
1068
|
instance_destroy();
|
|
1069
|
endtimer = timer + 1;
|
|
1070
|
}
|
|
1071
|
}
|
|
1072
|
if (quizid == "button")
|
|
1073
|
{
|
|
1074
|
if (timer == 20)
|
|
1075
|
endtimer = 999999;
|
|
1076
|
var tbubx = 480;
|
|
1077
|
var tbuby = 408;
|
|
1078
|
var ttail = 64;
|
|
1079
|
var timespace = 140;
|
|
1080
|
var starttime = 30;
|
|
1081
|
checkskip(0, starttime + (timespace * 0));
|
|
1082
|
if (timer == (starttime + (timespace * 0)))
|
|
1083
|
{
|
|
1084
|
safe_delete(obj_couchwriter);
|
|
1085
|
safe_delete(obj_tennatalkbubble);
|
|
1086
|
var tetalk = stringsetloc(That's right. That's#right, isn't it."That's right. That's#right, isn't it.", "obj_quizsequence_slash_Step_0_gml_640_0" );
|
|
1087
|
var tesprite = 3839;
|
|
1088
|
if (!correct)
|
|
1089
|
{
|
|
1090
|
tetalk = stringsetloc(I KNOW WHAT YOU'RE THINKING!!!#YOU'RE WRONG!!!"I KNOW WHAT YOU'RE THINKING!!!#YOU'RE WRONG!!!", "obj_quizsequence_slash_Step_0_gml_642_0" );
|
|
1091
|
tesprite = 666;
|
|
1092
|
}
|
|
1093
|
quizzler.tenna.sprite_index = tesprite;
|
|
1094
|
quizzler.tenna.bounce = true;
|
|
1095
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
1096
|
}
|
|
1097
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
1098
|
if (timer == (starttime + (timespace * 1)))
|
|
1099
|
{
|
|
1100
|
with (obj_tennatalkbubble)
|
|
1101
|
instance_destroy();
|
|
1102
|
endtimer = timer + 1;
|
|
1103
|
}
|
|
1104
|
}
|
|
1105
|
if (quizid == "watchtv")
|
|
1106
|
{
|
|
1107
|
if (timer == 20)
|
|
1108
|
endtimer = 999999;
|
|
1109
|
var tbubx = 480;
|
|
1110
|
var tbuby = 408;
|
|
1111
|
var ttail = 64;
|
|
1112
|
var timespace = 140;
|
|
1113
|
var starttime = 30;
|
|
1114
|
checkskip(0, starttime + (timespace * 0));
|
|
1115
|
if (timer == (starttime + (timespace * 0)))
|
|
1116
|
{
|
|
1117
|
safe_delete(obj_couchwriter);
|
|
1118
|
safe_delete(obj_tennatalkbubble);
|
|
1119
|
var tetalk = stringsetloc(Whaddya know! RIGHT ANSWERS!!!"Whaddya know! RIGHT ANSWERS!!!", "obj_quizsequence_slash_Step_0_gml_652_0" );
|
|
1120
|
var tesprite = 3839;
|
|
1121
|
if (!correct)
|
|
1122
|
{
|
|
1123
|
tetalk = stringsetloc(ANSWER, DARN YOU!!! ANSWER!!!"ANSWER, DARN YOU!!! ANSWER!!!", "obj_quizsequence_slash_Step_0_gml_654_0" );
|
|
1124
|
tesprite = 666;
|
|
1125
|
}
|
|
1126
|
quizzler.tenna.sprite_index = tesprite;
|
|
1127
|
quizzler.tenna.bounce = true;
|
|
1128
|
scr_tennabubblescr_tennabubble
function scr_tennabubble()
{
var __lifetime = -1;
var __clear = true;
var __tennaObj = -1;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 4)
__lifetime = argument3;
if (argument_count >= 5)
__clear = argument4;
if (argument_count >= 6)
__tennaObj = argument5;
if (argument_count >= 7)
__taillength = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tenna = __tennaObj;
tennaBubble.taillength = __taillength;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 0;
return tennaBubble;
}
function scr_tennabubble_angle()
{
var __lifetime = -1;
var __clear = true;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 1;
tennaBubble.type1direction = argument3 - 90;
tennaBubble.taillength = argument4;
return tennaBubble;
}
function scr_tennabubble_xytail()
{
var __lifetime = -1;
var __clear = true;
var __taillength = -1;
var __tailwidth = 8;
if (argument_count >= 6)
__lifetime = argument5;
if (argument_count >= 7)
__clear = argument6;
if (argument_count >= 8)
__tailwidth = argument7;
var tennaBubble = instance_create(argument1, argument2, obj_tennatalkbubble);
tennaBubble.text = argument0;
tennaBubble.clear = __clear;
tennaBubble.lifetime = __lifetime;
tennaBubble.tailwidth = __tailwidth;
tennaBubble.bubbletype = 2;
tennaBubble.t2x = argument3;
tennaBubble.t2y = argument4;
return tennaBubble;
} (tetalk, tbubx, tbuby, timespace, 1, quizzler.tenna, ttail);
|
|
1129
|
}
|
|
1130
|
checkskip(starttime + (timespace * 0), starttime + (timespace * 1));
|
|
1131
|
if (timer == (starttime + (timespace * 1)))
|
|
1132
|
{
|
|
1133
|
with (obj_tennatalkbubble)
|
|
1134
|
instance_destroy();
|
|
1135
|
endtimer = timer + 1;
|
|
1136
|
}
|
|
1137
|
}
|
|
1138
|
if (commentcount > 0)
|
|
1139
|
{
|
|
1140
|
for (var i = 0; i < commentcount; i++)
|
|
1141
|
{
|
|
1142
|
if (timer >= commentcreatetimer[i] && commentshown[i] == 0)
|
|
1143
|
{
|
|
1144
|
scr_createquizcomment(commentcontent[i], commentchar[i], commentdestroytime[i], commentsprite[i], commentimage[i]);
|
|
1145
|
commentshown[i] = 1;
|
|
1146
|
}
|
|
1147
|
}
|
|
1148
|
}
|
|
1149
|
timer++;
|
|
1150
|
if (timer >= endtimer)
|
|
1151
|
{
|
|
1152
|
paused = false;
|
|
1153
|
if (board4)
|
|
1154
|
{
|
|
1155
|
if (timer == endtimer && (kr_answer[0] == 0 || su_answer[0] == 0 || ra_answer[0] == 0) && quizzler.tenna.sprite_index != spr_tenna_point_up_b)
|
|
1156
|
{
|
|
1157
|
quizzler.tenna.sprite_index = spr_tenna_point_up_b;
|
|
1158
|
quizzler.tenna.bounce = 1;
|
|
1159
|
}
|
|
1160
|
event_user(3);
|
|
1161
|
if (timer >= endtimer)
|
|
1162
|
{
|
|
1163
|
if (quizzler.con < 3)
|
|
1164
|
quizzler.con++;
|
|
1165
|
if (quizzler.con == 4)
|
|
1166
|
con = 8;
|
|
1167
|
}
|
|
1168
|
}
|
|
1169
|
else if (quiz_index < quiz_length)
|
|
1170
|
{
|
|
1171
|
con = 6;
|
|
1172
|
timer = 40;
|
|
1173
|
}
|
|
1174
|
else
|
|
1175
|
{
|
|
1176
|
timer = 0;
|
|
1177
|
con = 7;
|
|
1178
|
}
|
|
1179
|
}
|
|
1180
|
}
|
|
1181
|
if (con == 6)
|
|
1182
|
{
|
|
1183
|
timer++;
|
|
1184
|
if (timer >= 55)
|
|
1185
|
{
|
|
1186
|
drawquestion = false;
|
|
1187
|
event_user(2);
|
|
1188
|
}
|
|
1189
|
}
|
|
1190
|
if (con == 7)
|
|
1191
|
{
|
|
1192
|
if (sprite != -4)
|
|
1193
|
sprite = -4;
|
|
1194
|
if (i_ex(extra_obj))
|
|
1195
|
instance_destroy(extra_obj);
|
|
1196
|
}
|
|
1197
|
if (con == 5.5)
|
|
1198
|
{
|
|
1199
|
}
|
|
1200
|
if (con == 8)
|
|
1201
|
{
|
|
1202
|
with (obj_ch3_ballcon)
|
|
1203
|
appearcon = 2;
|
|
1204
|
with (questionwriter)
|
|
1205
|
instance_destroy();
|
|
1206
|
if (!board4)
|
|
1207
|
{
|
|
1208
|
global.interact = 0;
|
|
1209
|
snd_free_all();
|
|
1210
|
}
|
|
1211
|
if (board4)
|
|
1212
|
{
|
|
1213
|
snd_free(global.currentsong[0]);
|
|
1214
|
with (obj_darkcontroller)
|
|
1215
|
charcon = 0;
|
|
1216
|
with (obj_dmgwriter)
|
|
1217
|
instance_destroy();
|
|
1218
|
}
|
|
1219
|
if (i_ex(obj_ch3_gameshow))
|
|
1220
|
mus_initloop(obj_ch3_gameshow.boardmusic);
|
|
1221
|
if (i_ex(grandaddy))
|
|
1222
|
{
|
|
1223
|
var _x = round((grandaddy.x - 16) / 32) * 32;
|
|
1224
|
var _y = round((grandaddy.y - 16) / 32) * 32;
|
|
1225
|
_q = instance_create(_x, _y, obj_board_pickup);
|
|
1226
|
_q.type = "q";
|
|
1227
|
grandaddy.completed = true;
|
|
1228
|
}
|
|
1229
|
if (room == room_board_1)
|
|
1230
|
{
|
|
1231
|
var forcethrow = false;
|
|
1232
|
with (obj_board_grabobject)
|
|
1233
|
forcethrow = true;
|
|
1234
|
if (forcethrow)
|
|
1235
|
scr_board_forcethrowscr_board_forcethrow
function scr_board_forcethrow()
{
var delivered = false;
var _mysusie = 0;
with (obj_mainchara_board)
{
if (name == "susie")
_mysusie = id;
}
if (!i_ex(_mysusie))
{
debug_print("NO SUSIE FOUND");
return 0;
}
if (i_ex(obj_board_grabobject))
{
var realsux = round((_mysusie.x - 128) / 32);
var realsuy = round((_mysusie.y - 64) / 32);
realsux = clamp(realsux, 1, 10);
realsuy = clamp(realsuy, 1, 6);
if (!i_ex(instance_place(board_tilex(realsux - 1), board_tiley(realsuy), obj_board_solid)))
{
delivered = true;
_mysusie.facing = 3;
with (obj_board_grabobject)
{
aimx = board_tilex(realsux - 1);
aimy = board_tiley(realsuy);
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
else
{
}
if (!delivered)
{
if (!i_ex(instance_place(board_tilex(realsux + 1), board_tiley(realsuy), obj_board_solid)))
{
_mysusie.facing = 1;
delivered = true;
with (obj_board_grabobject)
{
aimx = board_tilex(realsux + 1);
aimy = board_tiley(realsuy);
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
else
{
}
}
if (!delivered)
{
if (!i_ex(instance_place(board_tilex(realsux), board_tiley(realsuy - 1), obj_board_solid)))
{
_mysusie.facing = 2;
delivered = true;
with (obj_board_grabobject)
{
aimx = board_tilex(realsux);
aimy = board_tiley(realsuy - 1);
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
else
{
}
}
if (!delivered)
{
if (!i_ex(instance_place(board_tilex(realsux), board_tiley(realsuy - 1), obj_board_solid)))
{
_mysusie.facing = 0;
delivered = true;
}
else
{
}
}
if (delivered == false)
{
_mysusie.facing = 2;
with (obj_board_grabobject)
{
aimx = grabdaddy.x;
aimy = grabdaddy.y;
snd_play(snd_board_throw);
grabdaddy.xx = aimx;
grabdaddy.yy = aimy;
con = 1;
}
}
... ();
|
|
1236
|
}
|
|
1237
|
instance_destroy();
|
|
1238
|
}
|
|
1239
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
1240
|
{
|
|
1241
|
if (keyboard_check_pressed(ord("T")))
|
|
1242
|
debugpause = 1 - debugpause;
|
|
1243
|
if (debugpause == 1)
|
|
1244
|
{
|
|
1245
|
debug_print("Pause!!");
|
|
1246
|
countdown = timelimit;
|
|
1247
|
timer = -1;
|
|
1248
|
}
|
|
1249
|
}
|