Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_date_controller_Other_11

(view raw script w/o annotations or w/e)
1
if (!i_ex(obj_pink_enemy))
2
    exit;
3
r = 3;
4
if (obj_pink_enemy.datecount > 1)
5
    r = 2;
6
for (var i = 0; i < r; i += 1)
7
{
8
    j = irandom_range(i, r);
9
    temp = rand_array[i];
10
    rand_array[i] = rand_array[j];
11
    rand_array[j] = temp;
12
}
13
if (global.lang != "ja")
14
{
15
    choicetextxscale[0] = 3;
16
    choicetextxscale[1] = 3;
17
    choicetextxscale[2] = 3;
18
    choicetextxscale[3] = 3;
19
}
20
draw_box_selected = 0;
21
if (obj_pink_enemy.datecount == 1)
22
{
23
    if (questioncount == 1)
24
    {
25
        if (global.flag[1706] == true)
26
        {
27
            choicetext[0] = stringsetloc(
No
"No", "obj_date_controller_slash_Other_11_gml_28_0"
);
28
            choicetext[1] = stringsetloc(
Yes
"Yes", "obj_date_controller_slash_Other_11_gml_29_0"
);
29
            choicetext[2] = stringsetloc(
Yes
"Yes", "obj_date_controller_slash_Other_11_gml_29_0"
);
30
        }
31
        else
32
        {
33
            choicetext[0] = stringsetloc(
No
"No", "obj_date_controller_slash_Other_11_gml_28_0"
);
34
            choicetext[1] = stringsetloc(
Yes
"Yes", "obj_date_controller_slash_Other_11_gml_29_0"
);
35
            choicetext[2] = stringsetloc(
Yes
"Yes", "obj_date_controller_slash_Other_11_gml_29_0"
);
36
        }
37
        choicetextxscale[0] = 3;
38
        choicetextxscale[1] = 3;
39
        choicetextxscale[2] = 3;
40
        if (global.lang == "ja")
41
        {
42
            choicetextxscale[0] = 1;
43
            choicetextxscale[1] = 1;
44
            choicetextxscale[2] = 1;
45
        }
46
        choiceiscorrect[0] = 0;
47
        if (global.flag[1706] == true)
48
            choiceiscorrect[0] = 1;
49
        choiceiscorrect[1] = 1;
50
        choiceiscorrect[2] = 1;
51
        boxcount = 3;
52
    }
53
    if (questioncount == 2)
54
    {
55
        choicetext[0] = stringsetloc(
Right
"Right", "obj_date_controller_slash_Other_11_gml_68_0"
);
56
        choicetext[1] = stringsetloc(
Exactly
"Exactly", "obj_date_controller_slash_Other_11_gml_69_0"
);
57
        choicetext[2] = stringsetloc(
Of course
"Of course", "obj_date_controller_slash_Other_11_gml_71_0"
);
58
        choicetext[3] = stringsetloc(
No
"No", "obj_date_controller_slash_Other_11_gml_70_0"
);
59
        choicetext[4] = stringsetloc(
Of course
"Of course", "obj_date_controller_slash_Other_11_gml_71_0"
);
60
        choicetext[5] = stringsetloc(
Exactly
"Exactly", "obj_date_controller_slash_Other_11_gml_69_0"
);
61
        choicetextxscale[0] = 3;
62
        choicetextxscale[1] = 3;
63
        choicetextxscale[2] = 3;
64
        choicetextxscale[3] = 3;
65
        choicetextxscale[4] = 3;
66
        choicetextxscale[5] = 3;
67
        if (string_width(choicetext[0]) > 30)
68
            choicetextxscale[0] = round(70 / string_width(choicetext[0]));
69
        if (string_width(choicetext[1]) > 30)
70
            choicetextxscale[1] = round(70 / string_width(choicetext[1]));
71
        if (string_width(choicetext[2]) > 30)
72
            choicetextxscale[2] = round(70 / string_width(choicetext[2]));
73
        if (string_width(choicetext[3]) > 30)
74
            choicetextxscale[3] = round(70 / string_width(choicetext[3]));
75
        if (string_width(choicetext[4]) > 30)
76
            choicetextxscale[4] = round(70 / string_width(choicetext[4]));
77
        if (string_width(choicetext[5]) > 30)
78
            choicetextxscale[5] = round(70 / string_width(choicetext[5]));
79
        if (global.lang == "ja")
80
        {
81
            choicetextxscale[0] = 3;
82
            choicetextxscale[1] = 2.5;
83
            choicetextxscale[2] = 2;
84
            choicetextxscale[3] = 3;
85
            choicetextxscale[4] = 2;
86
            choicetextxscale[5] = 2.5;
87
        }
88
        if (global.lang == "ja")
89
        {
90
            choicetextxscale[0] = 1;
91
            choicetextxscale[1] = 1;
92
            choicetextxscale[2] = 1;
93
            choicetextxscale[3] = 1;
94
            choicetextxscale[4] = 1;
95
            choicetextxscale[5] = 1;
96
        }
97
        choiceiscorrect[0] = 0;
98
        choiceiscorrect[1] = 0;
99
        choiceiscorrect[2] = 0;
100
        choiceiscorrect[3] = 1;
101
        choiceiscorrect[4] = 0;
102
        choiceiscorrect[5] = 0;
103
        boxcount = 6;
104
    }
105
}
106
if (obj_pink_enemy.datecount == 2 || obj_pink_enemy.datecount == 3)
107
{
108
    var _questioncount = 0;
109
    obj_pink_enemy.global_question_count++;
110
    if (obj_pink_enemy.global_question_count > 11)
111
        obj_pink_enemy.global_question_count = 1;
112
    _questioncount = obj_pink_enemy.questionsave[obj_pink_enemy.global_question_count];
113
    if (questioncount == 3)
114
    {
115
        minigame_won = true;
116
        exit;
117
    }
118
    if (question_count == 0)
119
        date1question_number = _questioncount;
120
    if (question_count == 1)
121
    {
122
        if (date1question_number == _questioncount)
123
            _questioncount++;
124
        if (_questioncount == 12)
125
            _questioncount = 0;
126
    }
127
    if (question_count == 1)
128
        date2question_number = _questioncount;
129
    if (question_count == 2)
130
    {
131
        if (date1question_number == _questioncount)
132
            _questioncount++;
133
        if (_questioncount == 12)
134
            _questioncount = 0;
135
        if (date2question_number == _questioncount)
136
            _questioncount++;
137
        if (_questioncount == 12)
138
            _questioncount = 0;
139
    }
140
    question_count++;
141
    if (_questioncount <= 0)
142
    {
143
        portraitshakecon = 1;
144
        portraitshaketimer = 0;
145
        portraitshakecon2 = 1;
146
        portraitshaketimer2 = 0;
147
        pinkportrait2 = 7504;
148
        pinkportrait = 7353;
149
        talktimer = 0;
150
        talktimer2 = 0;
151
        portrait1_talkspeed = 0.2;
152
        portrait2_talkspeed = 1/3;
153
        snd_play(snd_pink_mew, 1, 1.1);
154
        snd_play_delayed(71, 12, 1, 1.4);
155
        snd_play(snd_pink_trip);
156
        second_text = stringsetloc(
Take a HIKE!!!
"Take a HIKE!!!", "obj_date_controller_slash_Other_11_gml_149_0"
);
157
        first_text = stringsetloc(
Date location?
"Date location?", "obj_date_controller_slash_Other_11_gml_150_0"
);
158
        choicetext[rand_array[0]] = stringsetloc(
Go to mountain
"Go to mountain", "obj_date_controller_slash_Other_11_gml_152_0"
);
159
        choicetext[rand_array[1]] = stringsetloc(
Get lost!
"Get lost!", "obj_date_controller_slash_Other_11_gml_153_0"
);
160
        choicetext[rand_array[2]] = stringsetloc(
Planetarium
"Planetarium", "obj_date_controller_slash_Other_11_gml_154_0"
);
161
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
162
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
163
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
164
        if (global.lang == "ja")
165
        {
166
            choicetextxscale[0] = 0.8;
167
            choicetextxscale[1] = 0.8;
168
            choicetextxscale[2] = 0.8;
169
            choicetextyscale[0] = 0.8;
170
            choicetextyscale[1] = 0.8;
171
            choicetextyscale[2] = 0.8;
172
        }
173
        choiceiscorrect[rand_array[0]] = 1;
174
        choiceiscorrect[rand_array[1]] = 3;
175
        choiceiscorrect[rand_array[2]] = 2;
176
        boxcount = 3;
177
    }
178
    else if (_questioncount == 1)
179
    {
180
        portraitshakecon = 1;
181
        portraitshaketimer = 0;
182
        portraitshakecon2 = 1;
183
        portraitshaketimer2 = 0;
184
        pinkportrait2 = 7504;
185
        pinkportrait = 7353;
186
        second_text = stringsetloc(
Destroy her letter!
"Destroy her letter!", "obj_date_controller_slash_Other_11_gml_176_0"
);
187
        first_text = stringsetloc(
Were you... moved?
"Were you... moved?", "obj_date_controller_slash_Other_11_gml_177_0"
);
188
        talktimer = 0;
189
        talktimer2 = 0;
190
        portrait1_talkspeed = 0.2;
191
        portrait2_talkspeed = 0.2;
192
        snd_play(snd_pink_mew, 1, 1.1);
193
        snd_play_delayed(71, 12, 1, 1.4);
194
        snd_play(snd_pink_throw);
195
        snd_play_delayed(722, 8, 1, 0.8);
196
        choicetext[rand_array[0]] = stringsetloc(
Tear up
"Tear up", "obj_date_controller_slash_Other_11_gml_190_0"
);
197
        choicetext[rand_array[1]] = stringsetloc(
Rip up
"Rip up", "obj_date_controller_slash_Other_11_gml_191_0"
);
198
        choicetext[rand_array[2]] = stringsetloc(
Cry
"Cry", "obj_date_controller_slash_Other_11_gml_192_0"
);
199
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
200
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
201
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
202
        if (global.lang == "ja")
203
        {
204
            choicetextxscale[rand_array[0]] = 1;
205
            choicetextxscale[rand_array[1]] = 0.8;
206
            choicetextxscale[rand_array[2]] = 1;
207
            choicetextyscale[rand_array[0]] = 1;
208
            choicetextyscale[rand_array[1]] = 0.8;
209
            choicetextyscale[rand_array[2]] = 1;
210
        }
211
        choiceiscorrect[rand_array[0]] = 1;
212
        choiceiscorrect[rand_array[1]] = 3;
213
        choiceiscorrect[rand_array[2]] = 2;
214
        boxcount = 3;
215
    }
216
    else if (_questioncount == 2)
217
    {
218
        pinkportrait2 = 7504;
219
        pinkportrait = 7353;
220
        talktimer = 0;
221
        talktimer2 = 0;
222
        portrait1_talkspeed = 0.2;
223
        portrait2_talkspeed = 0.2;
224
        snd_play(snd_pink_mew, 1, 1.1);
225
        snd_play_delayed(71, 12, 1, 1.4);
226
        snd_play(snd_pink_throw);
227
        snd_play_delayed(722, 8, 1, 0.8);
228
        second_text = stringsetloc(
Call me ROTTEN!
"Call me ROTTEN!", "obj_date_controller_slash_Other_11_gml_220_0"
);
229
        first_text = stringsetloc(
A gift for me?
"A gift for me?", "obj_date_controller_slash_Other_11_gml_221_0"
);
230
        choicetext[rand_array[0]] = stringsetloc(
Stinky fish
"Stinky fish", "obj_date_controller_slash_Other_11_gml_222_0"
);
231
        choicetext[rand_array[1]] = stringsetloc(
Rotten
"Rotten", "obj_date_controller_slash_Other_11_gml_223_0"
);
232
        choicetext[rand_array[2]] = stringsetloc(
Diamond
"Diamond", "obj_date_controller_slash_Other_11_gml_224_0"
);
233
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
234
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
235
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
236
        if (global.lang == "ja")
237
        {
238
            choicetextxscale[rand_array[0]] = 0.8;
239
            choicetextxscale[rand_array[1]] = 0.8;
240
            choicetextxscale[rand_array[2]] = 0.7;
241
            choicetextyscale[rand_array[0]] = 0.8;
242
            choicetextyscale[rand_array[1]] = 0.8;
243
            choicetextyscale[rand_array[2]] = 0.7;
244
        }
245
        choiceiscorrect[rand_array[0]] = 1;
246
        choiceiscorrect[rand_array[1]] = 3;
247
        choiceiscorrect[rand_array[2]] = 2;
248
        boxcount = 3;
249
    }
250
    else if (_questioncount == 3)
251
    {
252
        portraitshakecon = 1;
253
        portraitshaketimer = 0;
254
        portraitshakecon2 = 1;
255
        portraitshaketimer2 = 0;
256
        pinkportrait2 = 7504;
257
        pinkportrait = 7353;
258
        talktimer = 0;
259
        talktimer2 = 0;
260
        portrait1_talkspeed = 0.2;
261
        portrait2_talkspeed = 0.2;
262
        snd_play(snd_pink_mew, 1, 1.1);
263
        snd_play_delayed(71, 12, 1, 1.4);
264
        snd_play(snd_pink_throw);
265
        snd_play_delayed(722, 8, 1, 0.8);
266
        second_text = stringsetloc(
Wrinkled fruit!
"Wrinkled fruit!", "obj_date_controller_slash_Other_11_gml_257_0"
);
267
        first_text = stringsetloc(
Did you want to...
"Did you want to...", "obj_date_controller_slash_Other_11_gml_258_0"
);
268
        choicetext[rand_array[0]] = stringsetloc(
Date
"Date", "obj_date_controller_slash_Other_11_gml_259_0"
);
269
        choicetext[rand_array[1]] = stringsetloc(
Raisin Face
"Raisin Face", "obj_date_controller_slash_Other_11_gml_260_0"
);
270
        choicetext[rand_array[2]] = stringsetloc(
Sports Day
"Sports Day", "obj_date_controller_slash_Other_11_gml_261_0"
);
271
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
272
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
273
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
274
        if (global.lang == "ja")
275
        {
276
            choicetextxscale[rand_array[0]] = 0.8;
277
            choicetextxscale[rand_array[1]] = 0.8;
278
            choicetextxscale[rand_array[2]] = 0.8;
279
            choicetextyscale[rand_array[0]] = 0.8;
280
            choicetextyscale[rand_array[1]] = 0.8;
281
            choicetextyscale[rand_array[2]] = 0.8;
282
        }
283
        choiceiscorrect[rand_array[0]] = 1;
284
        choiceiscorrect[rand_array[1]] = 3;
285
        choiceiscorrect[rand_array[2]] = 2;
286
        boxcount = 3;
287
    }
288
    else if (_questioncount == 4)
289
    {
290
        portraitshakecon = 1;
291
        portraitshaketimer = 0;
292
        portraitshakecon2 = 1;
293
        portraitshaketimer2 = 0;
294
        pinkportrait2 = 7504;
295
        pinkportrait = 7353;
296
        talktimer = 0;
297
        talktimer2 = 0;
298
        portrait1_talkspeed = 0.2;
299
        portrait2_talkspeed = 0.2;
300
        snd_play(snd_pink_mew, 1, 1.1);
301
        snd_play_delayed(71, 12, 1, 1.4);
302
        snd_play(snd_pink_throw);
303
        snd_play_delayed(722, 8, 1, 0.8);
304
        second_text = stringsetloc(
Disappoint us!
"Disappoint us!", "obj_date_controller_slash_Other_11_gml_294_0"
);
305
        first_text = stringsetloc(
Where? I just wrote it.
"Where? I just wrote it.", "obj_date_controller_slash_Other_11_gml_295_0"
);
306
        choicetext[rand_array[0]] = stringsetloc(
Letter down
"Letter down", "obj_date_controller_slash_Other_11_gml_297_0"
);
307
        choicetext[rand_array[1]] = stringsetloc(
Schlock up
"Schlock up", "obj_date_controller_slash_Other_11_gml_298_0"
);
308
        choicetext[rand_array[2]] = stringsetloc(
Love poem
"Love poem", "obj_date_controller_slash_Other_11_gml_299_0"
);
309
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
310
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
311
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
312
        if (global.lang == "ja")
313
        {
314
            choicetextxscale[rand_array[0]] = 0.8;
315
            choicetextxscale[rand_array[1]] = 0.7;
316
            choicetextxscale[rand_array[2]] = 1;
317
            choicetextyscale[rand_array[0]] = 0.8;
318
            choicetextyscale[rand_array[1]] = 0.7;
319
            choicetextyscale[rand_array[2]] = 1;
320
        }
321
        choiceiscorrect[rand_array[0]] = 1;
322
        choiceiscorrect[rand_array[1]] = 3;
323
        choiceiscorrect[rand_array[2]] = 2;
324
        boxcount = 3;
325
    }
326
    else if (_questioncount == 5)
327
    {
328
        portraitshakecon = 1;
329
        portraitshaketimer = 0;
330
        portraitshakecon2 = 1;
331
        portraitshaketimer2 = 0;
332
        pinkportrait2 = 7504;
333
        pinkportrait = 7353;
334
        talktimer = 0;
335
        talktimer2 = 0;
336
        portrait1_talkspeed = 0.2;
337
        portrait2_talkspeed = 0.2;
338
        snd_play(snd_pink_mew, 1, 1.1);
339
        snd_play_delayed(71, 12, 1, 1.4);
340
        snd_play(snd_pink_throw);
341
        snd_play_delayed(722, 8, 1, 0.8);
342
        second_text = stringsetloc(
Act bored!
"Act bored!", "obj_date_controller_slash_Other_11_gml_332_0"
);
343
        first_text = stringsetloc(
My bike part?
"My bike part?", "obj_date_controller_slash_Other_11_gml_333_0"
);
344
        choicetext[rand_array[0]] = stringsetloc(
I tire
"I tire", "obj_date_controller_slash_Other_11_gml_335_0"
);
345
        choicetext[rand_array[1]] = stringsetloc(
I yawn
"I yawn", "obj_date_controller_slash_Other_11_gml_336_0"
);
346
        choicetext[rand_array[2]] = stringsetloc(
I steering
"I steering", "obj_date_controller_slash_Other_11_gml_337_0"
);
347
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
348
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
349
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
350
        if (global.lang == "ja")
351
        {
352
            choicetextxscale[rand_array[0]] = 1;
353
            choicetextxscale[rand_array[1]] = 1;
354
            choicetextxscale[rand_array[2]] = 0.7;
355
            choicetextyscale[rand_array[0]] = 1;
356
            choicetextyscale[rand_array[1]] = 1;
357
            choicetextyscale[rand_array[2]] = 0.7;
358
        }
359
        choiceiscorrect[rand_array[0]] = 1;
360
        choiceiscorrect[rand_array[1]] = 3;
361
        choiceiscorrect[rand_array[2]] = 2;
362
        boxcount = 3;
363
    }
364
    else if (_questioncount == 6)
365
    {
366
        portraitshakecon = 1;
367
        portraitshaketimer = 0;
368
        portraitshakecon2 = 1;
369
        portraitshaketimer2 = 0;
370
        pinkportrait2 = 7504;
371
        pinkportrait = 7353;
372
        talktimer = 0;
373
        talktimer2 = 0;
374
        portrait1_talkspeed = 0.2;
375
        portrait2_talkspeed = 0.2;
376
        snd_play(snd_pink_mew, 1, 1.1);
377
        snd_play_delayed(71, 12, 1, 1.4);
378
        snd_play(snd_pink_throw);
379
        snd_play_delayed(722, 8, 1, 0.8);
380
        second_text = stringsetloc(
Call us scrap!
"Call us scrap!", "obj_date_controller_slash_Other_11_gml_370_0"
);
381
        first_text = stringsetloc(
Which metal could?
"Which metal could?", "obj_date_controller_slash_Other_11_gml_371_0"
);
382
        choicetext[rand_array[0]] = stringsetloc(
Tin can
"Tin can", "obj_date_controller_slash_Other_11_gml_373_0"
);
383
        choicetext[rand_array[1]] = stringsetloc(
Broken tire
"Broken tire", "obj_date_controller_slash_Other_11_gml_374_0"
);
384
        choicetext[rand_array[2]] = stringsetloc(
Steel should
"Steel should", "obj_date_controller_slash_Other_11_gml_375_0"
);
385
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
386
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
387
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
388
        if (global.lang == "ja")
389
        {
390
            choicetextxscale[0] = 1;
391
            choicetextxscale[1] = 1;
392
            choicetextxscale[2] = 1;
393
        }
394
        choiceiscorrect[rand_array[0]] = 1;
395
        choiceiscorrect[rand_array[1]] = 3;
396
        choiceiscorrect[rand_array[2]] = 2;
397
        boxcount = 3;
398
    }
399
    else if (_questioncount == 7)
400
    {
401
        portraitshakecon = 1;
402
        portraitshaketimer = 0;
403
        portraitshakecon2 = 1;
404
        portraitshaketimer2 = 0;
405
        pinkportrait2 = 7504;
406
        pinkportrait = 7353;
407
        talktimer = 0;
408
        talktimer2 = 0;
409
        portrait1_talkspeed = 0.2;
410
        portrait2_talkspeed = 0.2;
411
        snd_play(snd_pink_mew, 1, 1.1);
412
        snd_play_delayed(71, 12, 1, 1.4);
413
        snd_play(snd_pink_throw);
414
        snd_play_delayed(722, 8, 1, 0.8);
415
        second_text = stringsetloc(
Chicken meat!!
"Chicken meat!!", "obj_date_controller_slash_Other_11_gml_408_0"
);
416
        first_text = stringsetloc(
How'll you hold me?
"How'll you hold me?", "obj_date_controller_slash_Other_11_gml_409_0"
);
417
        choicetext[rand_array[0]] = stringsetloc(
Tender
"Tender", "obj_date_controller_slash_Other_11_gml_411_0"
);
418
        choicetext[rand_array[1]] = stringsetloc(
Nugget
"Nugget", "obj_date_controller_slash_Other_11_gml_412_0"
);
419
        choicetext[rand_array[2]] = stringsetloc(
Sweetly
"Sweetly", "obj_date_controller_slash_Other_11_gml_413_0"
);
420
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
421
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
422
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
423
        if (global.lang == "ja")
424
        {
425
            choicetextxscale[0] = 1;
426
            choicetextxscale[1] = 1;
427
            choicetextxscale[2] = 1;
428
        }
429
        choiceiscorrect[rand_array[0]] = 1;
430
        choiceiscorrect[rand_array[1]] = 3;
431
        choiceiscorrect[rand_array[2]] = 2;
432
        boxcount = 3;
433
    }
434
    else if (_questioncount == 8)
435
    {
436
        portraitshakecon = 1;
437
        portraitshaketimer = 0;
438
        portraitshakecon2 = 1;
439
        portraitshaketimer2 = 0;
440
        pinkportrait2 = 7504;
441
        pinkportrait = 7353;
442
        talktimer = 0;
443
        talktimer2 = 0;
444
        portrait1_talkspeed = 0.2;
445
        portrait2_talkspeed = 0.2;
446
        snd_play(snd_pink_mew, 1, 1.1);
447
        snd_play_delayed(71, 12, 1, 1.4);
448
        snd_play(snd_pink_throw);
449
        snd_play_delayed(722, 8, 1, 0.8);
450
        second_text = stringsetloc(
Female dog!!!
"Female dog!!!", "obj_date_controller_slash_Other_11_gml_446_0"
);
451
        first_text = stringsetloc(
Susie's jeans?
"Susie's jeans?", "obj_date_controller_slash_Other_11_gml_447_0"
);
452
        choicetext[rand_array[0]] = stringsetloc(
Husky
"Husky", "obj_date_controller_slash_Other_11_gml_449_0"
);
453
        choicetext[rand_array[1]] = stringsetloc(
Rottweiler
"Rottweiler", "obj_date_controller_slash_Other_11_gml_450_0"
);
454
        choicetext[rand_array[2]] = stringsetloc(
Ripped
"Ripped", "obj_date_controller_slash_Other_11_gml_451_0"
);
455
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
456
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
457
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
458
        if (global.lang == "ja")
459
        {
460
            choicetextxscale[0] = 1;
461
            choicetextxscale[1] = 1;
462
            choicetextxscale[2] = 1;
463
        }
464
        choiceiscorrect[rand_array[0]] = 1;
465
        choiceiscorrect[rand_array[1]] = 3;
466
        choiceiscorrect[rand_array[2]] = 2;
467
        boxcount = 3;
468
    }
469
    else if (_questioncount == 9)
470
    {
471
        portraitshakecon = 1;
472
        portraitshaketimer = 0;
473
        portraitshakecon2 = 1;
474
        portraitshaketimer2 = 0;
475
        pinkportrait2 = 7504;
476
        pinkportrait = 7353;
477
        talktimer = 0;
478
        talktimer2 = 0;
479
        portrait1_talkspeed = 0.2;
480
        portrait2_talkspeed = 0.2;
481
        snd_play(snd_pink_mew, 1, 1.1);
482
        snd_play_delayed(71, 12, 1, 1.4);
483
        snd_play(snd_pink_throw);
484
        snd_play_delayed(722, 8, 1, 0.8);
485
        second_text = stringsetloc(
Prefer Noelle!
"Prefer Noelle!", "obj_date_controller_slash_Other_11_gml_484_0"
);
486
        first_text = stringsetloc(
Pay attention to me?
"Pay attention to me?", "obj_date_controller_slash_Other_11_gml_485_0"
);
487
        choicetext[rand_array[0]] = stringsetloc(
Fawn over her
"Fawn over her", "obj_date_controller_slash_Other_11_gml_487_0"
);
488
        choicetext[rand_array[1]] = stringsetloc(
Worse than Deer
"Worse than Deer", "obj_date_controller_slash_Other_11_gml_488_0"
);
489
        choicetext[rand_array[2]] = stringsetloc(
Dote on her
"Dote on her", "obj_date_controller_slash_Other_11_gml_489_0"
);
490
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
491
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
492
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
493
        if (global.lang == "ja")
494
        {
495
            choicetextxscale[0] = 1;
496
            choicetextxscale[1] = 1;
497
            choicetextxscale[2] = 1;
498
        }
499
        choiceiscorrect[rand_array[0]] = 1;
500
        choiceiscorrect[rand_array[1]] = 3;
501
        choiceiscorrect[rand_array[2]] = 2;
502
        boxcount = 3;
503
    }
504
    else if (_questioncount == 10)
505
    {
506
        portraitshakecon = 1;
507
        portraitshaketimer = 0;
508
        portraitshakecon2 = 1;
509
        portraitshaketimer2 = 0;
510
        pinkportrait2 = 7504;
511
        pinkportrait = 7353;
512
        talktimer = 0;
513
        talktimer2 = 0;
514
        portrait1_talkspeed = 0.2;
515
        portrait2_talkspeed = 0.2;
516
        snd_play(snd_pink_mew, 1, 1.1);
517
        snd_play_delayed(71, 12, 1, 1.4);
518
        snd_play(snd_pink_throw);
519
        snd_play_delayed(722, 8, 1, 0.8);
520
        second_text = stringsetloc(
Be a weenie!
"Be a weenie!", "obj_date_controller_slash_Other_11_gml_522_0"
);
521
        first_text = stringsetloc(
Be honest?
"Be honest?", "obj_date_controller_slash_Other_11_gml_523_0"
);
522
        choicetext[rand_array[0]] = stringsetloc(
Frank
"Frank", "obj_date_controller_slash_Other_11_gml_525_0"
);
523
        choicetext[rand_array[1]] = stringsetloc(
Hot dog
"Hot dog", "obj_date_controller_slash_Other_11_gml_526_0"
);
524
        choicetext[rand_array[2]] = stringsetloc(
Serious
"Serious", "obj_date_controller_slash_Other_11_gml_527_0"
);
525
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
526
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
527
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
528
        if (global.lang == "ja")
529
        {
530
            choicetextxscale[0] = 1;
531
            choicetextxscale[1] = 1;
532
            choicetextxscale[2] = 1;
533
        }
534
        choiceiscorrect[rand_array[0]] = 1;
535
        choiceiscorrect[rand_array[1]] = 3;
536
        choiceiscorrect[rand_array[2]] = 2;
537
        boxcount = 3;
538
    }
539
    else
540
    {
541
        portraitshakecon = 1;
542
        portraitshaketimer = 0;
543
        portraitshakecon2 = 1;
544
        portraitshaketimer2 = 0;
545
        pinkportrait2 = 7504;
546
        pinkportrait = 7353;
547
        talktimer = 0;
548
        talktimer2 = 0;
549
        portrait1_talkspeed = 0.2;
550
        portrait2_talkspeed = 0.2;
551
        snd_play(snd_pink_mew, 1, 1.1);
552
        snd_play_delayed(71, 12, 1, 1.4);
553
        snd_play(snd_pink_throw);
554
        snd_play_delayed(722, 8, 1, 0.8);
555
        second_text = stringsetloc(
Set wardrobe aflame!
"Set wardrobe aflame!", "obj_date_controller_slash_Other_11_gml_560_0"
);
556
        first_text = stringsetloc(
Coordinate outfits?
"Coordinate outfits?", "obj_date_controller_slash_Other_11_gml_561_0"
);
557
        choicetext[rand_array[0]] = stringsetloc(
Match her style
"Match her style", "obj_date_controller_slash_Other_11_gml_563_0"
);
558
        choicetext[rand_array[1]] = stringsetloc(
Burn her clothes
"Burn her clothes", "obj_date_controller_slash_Other_11_gml_564_0"
);
559
        choicetext[rand_array[2]] = stringsetloc(
Join her colors
"Join her colors", "obj_date_controller_slash_Other_11_gml_565_0"
);
560
        choicetextxscale[rand_array[0]] = 50 / string_width(choicetext[rand_array[0]]);
561
        choicetextxscale[rand_array[1]] = 50 / string_width(choicetext[rand_array[1]]);
562
        choicetextxscale[rand_array[2]] = 50 / string_width(choicetext[rand_array[2]]);
563
        if (global.lang == "ja")
564
        {
565
            choicetextxscale[0] = 1;
566
            choicetextxscale[1] = 1;
567
            choicetextxscale[2] = 1;
568
        }
569
        choiceiscorrect[rand_array[0]] = 1;
570
        choiceiscorrect[rand_array[1]] = 3;
571
        choiceiscorrect[rand_array[2]] = 2;
572
        boxcount = 3;
573
    }
574
}
575
if (obj_pink_enemy.datecount == 4)
576
{
577
    rr++;
578
    if (questioncount == 0)
579
    {
580
        choicetext[rand_array[0]] = stringsetloc(
I liked it
"I liked it", "obj_date_controller_slash_Other_11_gml_585_0"
);
581
        choicetext[rand_array[1]] = stringsetloc(
I loved it
"I loved it", "obj_date_controller_slash_Other_11_gml_586_0"
);
582
        choicetext[rand_array[2]] = stringsetloc(
I got scared
"I got scared", "obj_date_controller_slash_Other_11_gml_587_0"
);
583
        choicetextxscale[rand_array[0]] = 2;
584
        choicetextxscale[rand_array[1]] = 2;
585
        choicetextxscale[rand_array[2]] = 1;
586
        if (global.lang == "ja")
587
        {
588
            choicetextxscale[0] = 0.7;
589
            choicetextxscale[1] = 0.7;
590
            choicetextxscale[2] = 0.7;
591
        }
592
        choiceiscorrect[rand_array[0]] = 4;
593
        choiceiscorrect[rand_array[1]] = 4;
594
        choiceiscorrect[rand_array[2]] = 1;
595
        boxcount = 3;
596
    }
597
    if (questioncount == 1)
598
    {
599
        choicetext[rand_array[0]] = stringsetloc(
Anyone else's
"Anyone else's", "obj_date_controller_slash_Other_11_gml_604_0"
);
600
        choicetext[rand_array[1]] = stringsetloc(
Mine
"Mine", "obj_date_controller_slash_Other_11_gml_605_0"
);
601
        choicetext[rand_array[2]] = stringsetloc(
Jealous too
"Jealous too", "obj_date_controller_slash_Other_11_gml_606_0"
);
602
        choicetextxscale[rand_array[0]] = 1;
603
        choicetextxscale[rand_array[1]] = 2;
604
        choicetextxscale[rand_array[2]] = 2;
605
        if (global.lang == "ja")
606
        {
607
            choicetextxscale[0] = 0.7;
608
            choicetextxscale[1] = 0.7;
609
            choicetextxscale[2] = 0.7;
610
            choicetextyscale[rand_array[0]] = 0.7;
611
            choicetextyscale[rand_array[1]] = 0.7;
612
            choicetextyscale[rand_array[2]] = 0.7;
613
        }
614
        choiceiscorrect[rand_array[0]] = 1;
615
        choiceiscorrect[rand_array[1]] = 4;
616
        choiceiscorrect[rand_array[2]] = 4;
617
        boxcount = 3;
618
    }
619
    if (questioncount == 2)
620
    {
621
        choicetext[rand_array[0]] = stringsetloc(
Love us both
"Love us both", "obj_date_controller_slash_Other_11_gml_623_0"
);
622
        choicetext[rand_array[1]] = stringsetloc(
Ignore your needs
"Ignore your needs", "obj_date_controller_slash_Other_11_gml_624_0"
);
623
        choicetext[rand_array[2]] = stringsetloc(
Destroy them
"Destroy them", "obj_date_controller_slash_Other_11_gml_625_0"
);
624
        choicetextxscale[rand_array[0]] = 2;
625
        choicetextxscale[rand_array[1]] = 1;
626
        choicetextxscale[rand_array[2]] = 2;
627
        if (global.lang == "ja")
628
        {
629
            choicetextxscale[0] = 0.7;
630
            choicetextxscale[1] = 0.7;
631
            choicetextxscale[2] = 0.7;
632
            choicetextyscale[rand_array[0]] = 0.7;
633
            choicetextyscale[rand_array[1]] = 0.7;
634
            choicetextyscale[rand_array[2]] = 0.7;
635
        }
636
        choiceiscorrect[rand_array[0]] = 1;
637
        choiceiscorrect[rand_array[1]] = 4;
638
        choiceiscorrect[rand_array[2]] = 4;
639
        boxcount = 3;
640
    }
641
}
642
drawn_box_text[0] = choicetext[0];
643
drawn_box_text[1] = choicetext[1];
644
drawn_box_text[2] = choicetext[2];
645
drawn_box_text[3] = choicetext[3];
646
drawn_box_text[4] = choicetext[4];
647
drawn_box_text[5] = choicetext[5];
648
drawn_box_text[6] = choicetext[6];
649
drawn_box_text[7] = choicetext[7];
650
drawn_box_text[8] = choicetext[8];
651
drawn_box_text[9] = choicetext[9];
652
var _rr = 0;
653
repeat (10)
654
{
655
    if (choicetextxscale[_rr] > 3)
656
        choicetextxscale[_rr] = 3;
657
    _rr++;
658
}