1 |
scr_84_set_draw_font("main"); |
2 |
if (TYPE == 1 && SUBTYPE == 0) |
3 |
{ |
4 |
draw_sprite_ext(spr_giantdarkdoor, 1, 43, 48, 2, 2, 0, c_white, 0.03 + (sin(BG_SINER / 20) * 0.04)); |
5 |
draw_sprite_ext(spr_giantdarkdoor, 1, 47, 48, 2, 2, 0, c_white, 0.03 + (sin(BG_SINER / 20) * 0.04)); |
6 |
draw_sprite_ext(spr_giantdarkdoor, 1, 43, 52, 2, 2, 0, c_white, 0.03 + (sin(BG_SINER / 20) * 0.04)); |
7 |
draw_sprite_ext(spr_giantdarkdoor, 1, 47, 52, 2, 2, 0, c_white, 0.03 + (sin(BG_SINER / 20) * 0.04)); |
8 |
draw_sprite_ext(spr_giantdarkdoor, 1, 45, 50, 2, 2, 0, c_white, 0.25); |
9 |
BG_SINER++; |
10 |
} |
11 |
if (BGMADE == 1 && SUBTYPE == 1) |
12 |
{ |
13 |
ANIM_SINER += 1; |
14 |
ANIM_SINER_B += 1; |
15 |
BG_SINER += 1; |
16 |
if (BG_ALPHA < 0.5) |
17 |
BG_ALPHA += (0.04 - (BG_ALPHA / 14)); |
18 |
if (BG_ALPHA > 0.5) |
19 |
BG_ALPHA = 0.5; |
20 |
__WAVEHEIGHT = 240; |
21 |
__WAVEWIDTH = 320; |
22 |
for (i = 0; i < (__WAVEHEIGHT - 50); i += 1) |
23 |
{ |
24 |
__WAVEMINUS = BGMAGNITUDE * (i / __WAVEHEIGHT) * 1.3; |
25 |
if (__WAVEMINUS > BGMAGNITUDE) |
26 |
__WAVEMAG = 0; |
27 |
else |
28 |
__WAVEMAG = BGMAGNITUDE - __WAVEMINUS; |
29 |
draw_background_part_ext(IMAGE_MENU, 0, i, __WAVEWIDTH, 1, sin((i / 8) + (BG_SINER / 30)) * __WAVEMAG, (-10 + i) - (BG_ALPHA * 20), 1, 1, image_blend, BG_ALPHA * 0.8); |
30 |
draw_background_part_ext(IMAGE_MENU, 0, i, __WAVEWIDTH, 1, -sin((i / 8) + (BG_SINER / 30)) * __WAVEMAG, (-10 + i) - (BG_ALPHA * 20), 1, 1, image_blend, BG_ALPHA * 0.8); |
31 |
} |
32 |
T_SINER_ADD = (sin(ANIM_SINER_B / 10) * 0.6) - 0.25; |
33 |
if (T_SINER_ADD >= 0) |
34 |
TRUE_ANIM_SINER += T_SINER_ADD; |
35 |
draw_sprite_ext(IMAGE_MENU_ANIMATION, ANIM_SINER / 12, 0, ((10 - (BG_ALPHA * 20)) + __WAVEHEIGHT) - 70, 1, 1, 0, image_blend, BG_ALPHA * 0.46); |
36 |
draw_sprite_ext(IMAGE_MENU_ANIMATION, (ANIM_SINER / 12) + 0.4, 0, ((10 - (BG_ALPHA * 20)) + __WAVEHEIGHT) - 70, 1, 1, 0, image_blend, BG_ALPHA * 0.56); |
37 |
draw_sprite_ext(IMAGE_MENU_ANIMATION, (ANIM_SINER / 12) + 0.8, 0, ((10 - (BG_ALPHA * 20)) + __WAVEHEIGHT) - 70, 1, 1, 0, image_blend, BG_ALPHA * 0.7); |
38 |
} |
39 |
if (MENU_NO >= 0) |
40 |
{ |
41 |
for (i = 0; i < 3; i += 1) |
42 |
{ |
43 |
CONT_THIS = 0; |
44 |
PREV_MENU = MENU_NO; |
45 |
if (MENU_NO == 1) |
46 |
PREV_MENU = 0; |
47 |
if (MENU_NO == 4) |
48 |
PREV_MENU = 3; |
49 |
if (MENU_NO == 6) |
50 |
PREV_MENU = 5; |
51 |
if (MENU_NO == 7) |
52 |
PREV_MENU = 5; |
53 |
if (MENU_NO == 11) |
54 |
PREV_MENU = 10; |
55 |
if (MENUCOORD[0] == i && MENU_NO == 1) |
56 |
CONT_THIS = 1; |
57 |
if (MENUCOORD[3] == i && MENU_NO == 4) |
58 |
CONT_THIS = 4; |
59 |
if (MENUCOORD[5] == i && MENU_NO == 6) |
60 |
CONT_THIS = 6; |
61 |
if (MENUCOORD[5] == i && MENU_NO == 7) |
62 |
CONT_THIS = 7; |
63 |
if (MENUCOORD[10] == i && MENU_NO == 11) |
64 |
CONT_THIS = 11; |
65 |
BOX_X1 = 55; |
66 |
BOX_Y1 = 55 + ((YL + YS) * i); |
67 |
BOX_X2 = 55 + XL; |
68 |
BOX_Y2 = 55 + ((YL + YS) * i) + YL; |
69 |
draw_set_alpha(0.5); |
70 |
draw_set_color(c_black); |
71 |
draw_rectangle(BOX_X1, BOX_Y1, BOX_X2, BOX_Y2, false); |
72 |
draw_set_alpha(1); |
73 |
draw_set_color(COL_A); |
74 |
if (MENU_NO >= 0) |
75 |
{ |
76 |
if (MENUCOORD[PREV_MENU] == i) |
77 |
draw_set_color(COL_B); |
78 |
} |
79 |
if (MENU_NO == 3 || MENU_NO == 4) |
80 |
{ |
81 |
if (MENUCOORD[2] == i) |
82 |
draw_set_color(COL_PLUS); |
83 |
} |
84 |
if (MENU_NO == 7 && MENUCOORD[5] == i) |
85 |
draw_set_color(c_red); |
86 |
draw_rectangle(BOX_X1, BOX_Y1, BOX_X2, BOX_Y2, true); |
87 |
if (TYPE == 1) |
88 |
{ |
89 |
for (j = 0; j < 4; j += 1) |
90 |
draw_rectangle(BOX_X1 - (0.5 * j), BOX_Y1 - (0.5 * j), BOX_X2 + (0.5 * j), BOX_Y2 + (0.5 * j), true); |
91 |
} |
92 |
if (CONT_THIS < 4 || CONT_THIS == 11) |
93 |
{ |
94 |
var NOWNAME = NAME[i]; |
95 |
var NOWTIME = TIME_STRING[i]; |
96 |
if (MENU_NO == 10 || MENU_NO == 11) |
97 |
{ |
98 |
var filefound = 0; |
99 |
if (INCOMPLETE_LOAD == 0 && COMPLETEFILE_PREV[i] == 1) |
100 |
filefound = 1; |
101 |
if (INCOMPLETE_LOAD == 1 && INCOMPLETEFILE_PREV[i] == 1) |
102 |
filefound = 1; |
103 |
if (filefound) |
104 |
{ |
105 |
NOWNAME = COMPLETEFILE_PREV_NAME[i]; |
106 |
NOWTIME = COMPLETETIME_STRING[i]; |
107 |
} |
108 |
else if (INCOMPLETE_LOAD) |
109 |
{ |
110 |
NOWNAME = stringsetloc(FILE not found."FILE not found.", "DEVICE_MENU_slash_Draw_0_gml_130_0" ); |
111 |
} |
112 |
else |
113 |
{ |
114 |
NOWNAME = stringsetloc(Completion FILE not found."Completion FILE not found.", "DEVICE_MENU_slash_Draw_0_gml_125_0" ); |
115 |
NOWTIME = " "; |
116 |
} |
117 |
} |
118 |
if (global.lang == "en") |
119 |
{ |
120 |
if (scr_kana_checkscr_kana_checkfunction scr_kana_check(arg0)
{
var kanafound = 0;
var ___stringlength = string_length(arg0);
for (var ___i = 1; ___i <= ___stringlength; ___i++)
{
if (ord(string_char_at(arg0, ___i)) >= 12352)
{
kanafound = 1;
break;
}
}
return kanafound;
} (NOWNAME)) |
121 |
draw_set_font(fnt_ja_main); |
122 |
else |
123 |
draw_set_font(fnt_main); |
124 |
} |
125 |
else |
126 |
{ |
127 |
draw_set_font(fnt_ja_main); |
128 |
} |
129 |
draw_text_shadow(BOX_X1 + 25, BOX_Y1 + 5, NOWNAME); |
130 |
scr_84_set_draw_font("main"); |
131 |
draw_set_halign(fa_right); |
132 |
draw_text_shadow(BOX_X1 + 180, BOX_Y1 + 5, NOWTIME); |
133 |
draw_set_halign(fa_left); |
134 |
} |
135 |
if (CONT_THIS >= 1) |
136 |
{ |
137 |
if (TYPE == 0) |
138 |
{ |
139 |
if (MENU_NO == 1) |
140 |
{ |
141 |
SELTEXT_C = stringsetloc( " ", "DEVICE_MENU_slash_Draw_0_gml_115_0" ); |
142 |
SELTEXT_A = stringsetloc(CONTINUE"CONTINUE", "DEVICE_MENU_slash_Draw_0_gml_116_0" ); |
143 |
SELTEXT_B = stringsetloc(BACK"BACK", "DEVICE_MENU_slash_Draw_0_gml_116_1" ); |
144 |
if (FILE[MENUCOORD[0]] == 0) |
145 |
{ |
146 |
SELTEXT_A = stringsetloc(BEGIN"BEGIN", "DEVICE_MENU_slash_Draw_0_gml_117_0" ); |
147 |
SELTEXT_B = stringsetloc(BACK"BACK", "DEVICE_MENU_slash_Draw_0_gml_117_1" ); |
148 |
} |
149 |
} |
150 |
if (MENU_NO == 4) |
151 |
{ |
152 |
SELTEXT_A = stringsetloc(OVERWRITE"OVERWRITE", "DEVICE_MENU_slash_Draw_0_gml_119_0" ); |
153 |
SELTEXT_B = stringsetloc(DO NOT"DO NOT", "DEVICE_MENU_slash_Draw_0_gml_119_1" ); |
154 |
SELTEXT_C = stringsetloc(IT WILL BE SUBSUMED."IT WILL BE SUBSUMED.", "DEVICE_MENU_slash_Draw_0_gml_119_2" ); |
155 |
} |
156 |
if (MENU_NO == 6) |
157 |
{ |
158 |
SELTEXT_A = stringsetloc(YES"YES", "DEVICE_MENU_slash_Draw_0_gml_120_0" ); |
159 |
SELTEXT_B = stringsetloc(NO"NO", "DEVICE_MENU_slash_Draw_0_gml_120_1" ); |
160 |
SELTEXT_C = stringsetloc(TRULY ERASE IT?"TRULY ERASE IT?", "DEVICE_MENU_slash_Draw_0_gml_120_2" ); |
161 |
} |
162 |
if (MENU_NO == 7) |
163 |
{ |
164 |
SELTEXT_A = stringsetloc(ERASE"ERASE", "DEVICE_MENU_slash_Draw_0_gml_121_0" ); |
165 |
SELTEXT_B = stringsetloc(DO NOT"DO NOT", "DEVICE_MENU_slash_Draw_0_gml_121_1" ); |
166 |
SELTEXT_C = stringsetloc(THEN IT WILL BE DESTROYED."THEN IT WILL BE DESTROYED.", "DEVICE_MENU_slash_Draw_0_gml_121_2" ); |
167 |
} |
168 |
} |
169 |
else |
170 |
{ |
171 |
if (MENU_NO == 1) |
172 |
{ |
173 |
SELTEXT_C = stringsetloc( " ", "DEVICE_MENU_slash_Draw_0_gml_127_0" ); |
174 |
SELTEXT_A = stringsetloc(Continue"Continue", "DEVICE_MENU_slash_Draw_0_gml_128_0" ); |
175 |
SELTEXT_B = stringsetloc(Back"Back", "DEVICE_MENU_slash_Draw_0_gml_128_1" ); |
176 |
if (FILE[MENUCOORD[0]] == 0) |
177 |
{ |
178 |
SELTEXT_A = stringsetloc(Start"Start", "DEVICE_MENU_slash_Draw_0_gml_129_0" ); |
179 |
SELTEXT_B = stringsetloc(Back"Back", "DEVICE_MENU_slash_Draw_0_gml_129_1" ); |
180 |
} |
181 |
} |
182 |
if (MENU_NO == 4) |
183 |
{ |
184 |
SELTEXT_A = stringsetloc(Yes"Yes", "DEVICE_MENU_slash_Draw_0_gml_131_0" ); |
185 |
SELTEXT_B = stringsetloc(No"No", "DEVICE_MENU_slash_Draw_0_gml_131_1" ); |
186 |
SELTEXT_C = stringsetloc(Copy over this file?"Copy over this file?", "DEVICE_MENU_slash_Draw_0_gml_131_2" ); |
187 |
} |
188 |
if (MENU_NO == 6) |
189 |
{ |
190 |
SELTEXT_A = stringsetloc(Yes"Yes", "DEVICE_MENU_slash_Draw_0_gml_132_0" ); |
191 |
SELTEXT_B = stringsetloc(No"No", "DEVICE_MENU_slash_Draw_0_gml_132_1" ); |
192 |
SELTEXT_C = stringsetloc(Erase this file?"Erase this file?", "DEVICE_MENU_slash_Draw_0_gml_132_2" ); |
193 |
} |
194 |
if (MENU_NO == 7) |
195 |
{ |
196 |
SELTEXT_A = stringsetloc(Yes!"Yes!", "DEVICE_MENU_slash_Draw_0_gml_133_0" ); |
197 |
SELTEXT_B = stringsetloc(No!"No!", "DEVICE_MENU_slash_Draw_0_gml_133_1" ); |
198 |
SELTEXT_C = stringsetloc(Really erase it?"Really erase it?", "DEVICE_MENU_slash_Draw_0_gml_133_2" ); |
199 |
} |
200 |
if (MENU_NO == 11) |
201 |
{ |
202 |
SELTEXT_A = stringsetloc(Start"Start", "DEVICE_MENU_slash_Draw_0_gml_164_0" ); |
203 |
SELTEXT_B = stringsetloc(Back"Back", "DEVICE_MENU_slash_Draw_0_gml_165_0" ); |
204 |
SELTEXT_C = stringsetloc( " ", "DEVICE_MENU_slash_Draw_0_gml_166_0" ); |
205 |
} |
206 |
} |
207 |
draw_set_color(COL_B); |
208 |
if (MENU_NO == 7) |
209 |
draw_set_color(c_red); |
210 |
draw_text_shadow(BOX_X1 + 25, BOX_Y1 + 5, SELTEXT_C); |
211 |
draw_set_color(COL_A); |
212 |
if (MENUCOORD[MENU_NO] == 0) |
213 |
{ |
214 |
draw_set_color(COL_B); |
215 |
HEARTX = 75; |
216 |
HEARTY = 81 + ((YL + YS) * MENUCOORD[PREV_MENU]); |
217 |
} |
218 |
draw_text_shadow(BOX_X1 + 35, BOX_Y1 + 22, SELTEXT_A); |
219 |
draw_set_color(COL_A); |
220 |
if (MENUCOORD[MENU_NO] == 1) |
221 |
{ |
222 |
draw_set_color(COL_B); |
223 |
HEARTX = 165; |
224 |
HEARTY = 81 + ((YL + YS) * MENUCOORD[PREV_MENU]); |
225 |
} |
226 |
draw_text_shadow(BOX_X1 + 125, BOX_Y1 + 22, SELTEXT_B); |
227 |
} |
228 |
else |
229 |
{ |
230 |
var NOWPLACE = PLACE[i]; |
231 |
if (MENU_NO == 10 || MENU_NO == 11) |
232 |
{ |
233 |
if (COMPLETEFILE_PREV[i] == 1) |
234 |
NOWPLACE = stringsetloc(Your Room [Chapter 1 END]"Your Room [Chapter 1 END]", "DEVICE_MENU_slash_Draw_0_gml_194_0" ); |
235 |
else |
236 |
NOWPLACE = stringsetloc([Made on seeing credits.]"[Made on seeing credits.]", "DEVICE_MENU_slash_Draw_0_gml_195_0" ); |
237 |
if (INCOMPLETE_LOAD) |
238 |
NOWPLACE = COMPLETEFILE_PREV_PLACE[i]; |
239 |
} |
240 |
draw_text_shadow_width(BOX_X1 + 25, BOX_Y1 + 22, NOWPLACE, 180); |
241 |
} |
242 |
} |
243 |
} |
244 |
if (MENU_NO >= 0) |
245 |
{ |
246 |
if (MENU_NO == 0 || MENU_NO == 2 || MENU_NO == 3 || MENU_NO == 5 || MENU_NO == 10) |
247 |
{ |
248 |
if (MENUCOORD[MENU_NO] >= 0 && MENUCOORD[MENU_NO] <= 2) |
249 |
{ |
250 |
HEARTX = 65; |
251 |
HEARTY = 72 + ((YL + YS) * MENUCOORD[MENU_NO]); |
252 |
} |
253 |
if (MENUCOORD[MENU_NO] == 3) |
254 |
{ |
255 |
HEARTX = 40 - jamod; |
256 |
HEARTY = 195; |
257 |
} |
258 |
if (MENUCOORD[MENU_NO] == 4) |
259 |
{ |
260 |
HEARTX = 125; |
261 |
HEARTY = 195; |
262 |
} |
263 |
if (MENUCOORD[MENU_NO] == 5) |
264 |
{ |
265 |
HEARTX = 40 - jamod; |
266 |
HEARTY = 215; |
267 |
} |
268 |
if (MENUCOORD[MENU_NO] == 6) |
269 |
{ |
270 |
HEARTX = 125; |
271 |
HEARTY = 215; |
272 |
} |
273 |
if (MENUCOORD[MENU_NO] == 7) |
274 |
{ |
275 |
HEARTX = 190; |
276 |
HEARTY = 195; |
277 |
} |
278 |
if (MENUCOORD[MENU_NO] == 8) |
279 |
{ |
280 |
HEARTX = 190; |
281 |
HEARTY = 215; |
282 |
} |
283 |
} |
284 |
if (MENU_NO >= 2) |
285 |
{ |
286 |
CANCELTEXT = stringsetloc(CANCEL"CANCEL", "DEVICE_MENU_slash_Draw_0_gml_189_0" ); |
287 |
if (TYPE == 1) |
288 |
CANCELTEXT = stringsetloc(Cancel"Cancel", "DEVICE_MENU_slash_Draw_0_gml_190_0" ); |
289 |
if (MENU_NO == 10 || MENU_NO == 11) |
290 |
CANCELTEXT = stringsetloc(Don't Use Chapter 1 FILE"Don't Use Chapter 1 FILE", "DEVICE_MENU_slash_Draw_0_gml_242_0" ); |
291 |
draw_set_color(COL_A); |
292 |
if (MENU_NO < 20) |
293 |
{ |
294 |
if (MENUCOORD[PREV_MENU] == 3) |
295 |
draw_set_color(COL_B); |
296 |
} |
297 |
draw_text_shadow(55, 190, CANCELTEXT); |
298 |
} |
299 |
if (MENU_NO == 0 || MENU_NO == 1) |
300 |
{ |
301 |
jamod = 0; |
302 |
if (global.lang == "ja") |
303 |
jamod = 10; |
304 |
COPYTEXT = stringsetloc(COPY"COPY", "DEVICE_MENU_slash_Draw_0_gml_199_0" ); |
305 |
ERASETEXT = stringsetloc(ERASE"ERASE", "DEVICE_MENU_slash_Draw_0_gml_200_0" ); |
306 |
CH1TEXT = stringsetloc(Ch 1 Files"Ch 1 Files", "DEVICE_MENU_slash_Draw_0_gml_253_0" ); |
307 |
CHSELECTTEXT = stringsetloc(Chapter Select"Chapter Select", "DEVICE_MENU_slash_Draw_0_gml_284_0" ); |
308 |
QUITTEXT = stringsetloc(End Program"End Program", "DEVICE_MENU_slash_Draw_0_gml_285_0" ); |
309 |
LANGUAGETEXT = (global.lang == "en") ? stringset("日本語") : stringset("English"); |
310 |
if (TYPE == 1) |
311 |
{ |
312 |
COPYTEXT = stringsetloc(Copy"Copy", "DEVICE_MENU_slash_Draw_0_gml_201_0" ); |
313 |
ERASETEXT = stringsetloc(Erase"Erase", "DEVICE_MENU_slash_Draw_0_gml_201_1" ); |
314 |
} |
315 |
draw_set_color(COL_A); |
316 |
if (MENUCOORD[0] == 3) |
317 |
draw_set_color(COL_B); |
318 |
draw_text_shadow(54 - jamod, 190, COPYTEXT); |
319 |
draw_set_color(COL_A); |
320 |
if (MENUCOORD[0] == 4) |
321 |
draw_set_color(COL_B); |
322 |
draw_text_shadow(140, 190, ERASETEXT); |
323 |
draw_set_color(COL_A); |
324 |
if (MENUCOORD[0] == 5) |
325 |
draw_set_color(COL_B); |
326 |
draw_text_shadow(54 - jamod, 210, CH1TEXT); |
327 |
draw_set_color(COL_A); |
328 |
if (MENUCOORD[0] == 7) |
329 |
draw_set_color(COL_B); |
330 |
draw_text_shadow(204, 190, CHSELECTTEXT); |
331 |
draw_set_color(COL_A); |
332 |
if (MENUCOORD[0] == 8) |
333 |
draw_set_color(COL_B); |
334 |
if (CANQUIT) |
335 |
draw_text_shadow(204, 210, QUITTEXT); |
336 |
if (global.lang == "en") |
337 |
draw_set_font(fnt_ja_main); |
338 |
else |
339 |
draw_set_font(fnt_main); |
340 |
draw_set_color(COL_A); |
341 |
if (MENUCOORD[0] == 6) |
342 |
draw_set_color(COL_B); |
343 |
var languagex = 140; |
344 |
if (global.lang == "en") |
345 |
languagex = 136; |
346 |
draw_text_shadow(languagex, 210, LANGUAGETEXT); |
347 |
scr_84_set_draw_font("main"); |
348 |
} |
349 |
draw_set_font(fnt_main); |
350 |
if (TYPE == 1) |
351 |
{ |
352 |
draw_set_alpha(0.4); |
353 |
draw_set_color(c_white); |
354 |
draw_text_transformed(195, 230, "DELTARUNE " + version_text + " (C) Toby Fox 2018-2022 ", 0.5, 0.5, 0); |
355 |
} |
356 |
else |
357 |
{ |
358 |
draw_set_color(COL_A); |
359 |
draw_text_transformed(248, 230, version_text, 0.5, 0.5, 0); |
360 |
draw_set_color(c_white); |
361 |
} |
362 |
scr_84_set_draw_font("main"); |
363 |
draw_set_alpha(1); |
364 |
if (MESSAGETIMER <= 0) |
365 |
{ |
366 |
if (TYPE == 0) |
367 |
{ |
368 |
if (MENU_NO == 0 || MENU_NO == 1) |
369 |
TEMPCOMMENT = stringsetloc( " ", "DEVICE_MENU_slash_Draw_0_gml_215_0" ); |
370 |
if (MENU_NO == 2) |
371 |
TEMPCOMMENT = stringsetloc(CHOOSE THE ONE TO COPY."CHOOSE THE ONE TO COPY.", "DEVICE_MENU_slash_Draw_0_gml_216_0" ); |
372 |
if (MENU_NO == 3) |
373 |
TEMPCOMMENT = stringsetloc(CHOOSE THE TARGET FOR THE REFLECTION."CHOOSE THE TARGET FOR THE REFLECTION.", "DEVICE_MENU_slash_Draw_0_gml_217_0" ); |
374 |
if (MENU_NO == 4) |
375 |
TEMPCOMMENT = stringsetloc(IT WILL BE SUBSUMED."IT WILL BE SUBSUMED.", "DEVICE_MENU_slash_Draw_0_gml_218_0" ); |
376 |
if (MENU_NO == 5 || MENU_NO == 6 || MENU_NO == 7) |
377 |
TEMPCOMMENT = stringsetloc(SELECT THE ONE TO ERASE."SELECT THE ONE TO ERASE.", "DEVICE_MENU_slash_Draw_0_gml_219_0" ); |
378 |
} |
379 |
if (TYPE == 1) |
380 |
{ |
381 |
if (MENU_NO == 0 || MENU_NO == 1) |
382 |
TEMPCOMMENT = stringsetloc(Please select a file."Please select a file.", "DEVICE_MENU_slash_Draw_0_gml_223_0" ); |
383 |
if (MENU_NO == 2) |
384 |
TEMPCOMMENT = stringsetloc(Choose a file to copy."Choose a file to copy.", "DEVICE_MENU_slash_Draw_0_gml_224_0" ); |
385 |
if (MENU_NO == 3) |
386 |
TEMPCOMMENT = stringsetloc(Choose a file to copy to."Choose a file to copy to.", "DEVICE_MENU_slash_Draw_0_gml_225_0" ); |
387 |
if (MENU_NO == 4) |
388 |
TEMPCOMMENT = stringsetloc(The file will be overwritten."The file will be overwritten.", "DEVICE_MENU_slash_Draw_0_gml_226_0" ); |
389 |
if (MENU_NO == 5 || MENU_NO == 6 || MENU_NO == 7) |
390 |
TEMPCOMMENT = stringsetloc(Choose a file to erase."Choose a file to erase.", "DEVICE_MENU_slash_Draw_0_gml_227_0" ); |
391 |
if (MENU_NO == 10) |
392 |
TEMPCOMMENT = stringsetloc(Start Chapter 2 from Chapter 1's FILE."Start Chapter 2 from Chapter 1's FILE.", "DEVICE_MENU_slash_Draw_0_gml_291_0" ); |
393 |
if (MENU_NO == 11) |
394 |
TEMPCOMMENT = stringsetsubloc("This will start Chapter 2 in FILE Slot ~1.", MENUCOORD[10] + 1, "DEVICE_MENU_slash_Draw_0_gml_292_0"); |
395 |
} |
396 |
} |
397 |
draw_set_color(COL_B); |
398 |
draw_text_shadow(40, 30, TEMPCOMMENT); |
399 |
MESSAGETIMER -= 1; |
400 |
} |
401 |
if (abs(HEARTX - HEARTXCUR) <= 2) |
402 |
HEARTXCUR = HEARTX; |
403 |
if (abs(HEARTY - HEARTYCUR) <= 2) |
404 |
HEARTYCUR = HEARTY; |
405 |
HEARTXCUR += ((HEARTX - HEARTXCUR) / 2); |
406 |
HEARTYCUR += ((HEARTY - HEARTYCUR) / 2); |
407 |
if (MENU_NO >= 0) |
408 |
draw_sprite(spr_heartsmall, 0, HEARTXCUR, HEARTYCUR); |
409 |
draw_set_font(fnt_main); |
410 |
draw_set_color(c_white); |
411 |
draw_text_shadow(camerax() + 8, cameray() + 4, "CHAPTER " + string(global.chapter)); |
412 |
scr_84_set_draw_font("main"); |