|
1
|
scr_84_set_draw_fontscr_84_set_draw_font
function scr_84_set_draw_font(arg0)
{
global.chemg_font = arg0;
draw_set_font(scr_84_get_font(arg0));
} ("mainbig");
|
|
2
|
draw_set_valign(fa_bottom);
|
|
3
|
if (!visit_shop)
|
|
4
|
{
|
|
5
|
if (global.lang == "en")
|
|
6
|
{
|
|
7
|
draw_set_valign(fa_middle);
|
|
8
|
draw_set_halign(fa_center);
|
|
9
|
draw_set_color(c_white);
|
|
10
|
draw_text_color(xx + (room_width * 0.5), yy + 160, string_hash_to_newline(played_text_en), c_white, c_white, c_white, c_white, text_alpha_a);
|
|
11
|
draw_text_color(xx + (room_width * 0.5), yy + 240, string_hash_to_newline(check_text_en), c_white, c_white, c_white, c_white, text_alpha_b);
|
|
12
|
draw_set_valign(fa_top);
|
|
13
|
draw_set_halign(fa_left);
|
|
14
|
draw_sprite_ext(spr_heart, 0, xx + 170, heart_pos_y, 1, 1, 0, c_white, text_alpha_b);
|
|
15
|
var _colorA = c_white;
|
|
16
|
if (heart_pos_y == (yy + 288))
|
|
17
|
_colorA = selected ? c_red : c_aqua;
|
|
18
|
draw_set_color(_colorA);
|
|
19
|
draw_text_color(xx + 220, yy + 280, check_undertale, _colorA, _colorA, _colorA, _colorA, text_alpha_b);
|
|
20
|
var _colorB = c_white;
|
|
21
|
if (heart_pos_y == (yy + 288 + line_height))
|
|
22
|
_colorB = selected ? c_red : c_aqua;
|
|
23
|
draw_set_color(_colorB);
|
|
24
|
draw_text_color(xx + 220, yy + 280 + line_height, start_dr, _colorB, _colorB, _colorB, _colorB, text_alpha_b);
|
|
25
|
}
|
|
26
|
else
|
|
27
|
{
|
|
28
|
draw_set_valign(fa_middle);
|
|
29
|
draw_set_halign(fa_center);
|
|
30
|
draw_set_color(c_white);
|
|
31
|
draw_text_color(xx + (room_width * 0.5), yy + 125, played_text_ja_1, c_white, c_white, c_white, c_white, text_alpha_a);
|
|
32
|
draw_text_color(xx + (room_width * 0.5), yy + 125 + line_height_ja, played_text_ja_2, c_white, c_white, c_white, c_white, text_alpha_a);
|
|
33
|
draw_text_color(xx + (room_width * 0.5), yy + 225, check_text_ja_1, c_white, c_white, c_white, c_white, text_alpha_b);
|
|
34
|
draw_text_color(xx + (room_width * 0.5), yy + 225 + line_height_ja, check_text_ja_2, c_white, c_white, c_white, c_white, text_alpha_b);
|
|
35
|
draw_set_valign(fa_top);
|
|
36
|
draw_set_halign(fa_left);
|
|
37
|
draw_sprite_ext(spr_heart, 0, xx + 170, heart_pos_y_ja, 1, 1, 0, c_white, text_alpha_b);
|
|
38
|
var _colorA = c_white;
|
|
39
|
if (heart_pos_y_ja == (yy + 328))
|
|
40
|
_colorA = selected ? c_red : c_aqua;
|
|
41
|
draw_set_color(_colorA);
|
|
42
|
draw_text_color(xx + 189, yy + 318, check_undertale, _colorA, _colorA, _colorA, _colorA, text_alpha_b);
|
|
43
|
var _colorB = c_white;
|
|
44
|
if (heart_pos_y_ja == (yy + 328 + select_padding))
|
|
45
|
_colorB = selected ? c_red : c_aqua;
|
|
46
|
draw_set_color(_colorB);
|
|
47
|
draw_text_color(xx + 189, yy + 318 + select_padding, start_dr, _colorB, _colorB, _colorB, _colorB, text_alpha_b);
|
|
48
|
}
|
|
49
|
}
|
|
50
|
else
|
|
51
|
{
|
|
52
|
draw_set_valign(fa_middle);
|
|
53
|
draw_set_halign(fa_center);
|
|
54
|
draw_set_color(c_white);
|
|
55
|
if (global.lang == "en")
|
|
56
|
draw_text(xx + (room_width * 0.5), yy + 220, string_hash_to_newline("Visit the UNDERTALE page#in the ") + shop_text + "?");
|
|
57
|
else
|
|
58
|
draw_text(xx + (room_width * 0.5), yy + 220, shop_text + string_hash_to_newline("で「UNDERTALE」の#ページをチェックしますか? "));
|
|
59
|
draw_sprite(spr_heart, 0, heart_pos_x, yy + 271);
|
|
60
|
for (var i = 0; i < array_length_1d(shop_options); i++)
|
|
61
|
{
|
|
62
|
draw_set_color(c_white);
|
|
63
|
var _xPos = heart_pos_x_default + (i * heart_pos_x_h_padding);
|
|
64
|
if (heart_pos_x == _xPos)
|
|
65
|
draw_set_color(c_aqua);
|
|
66
|
draw_text(xx + 240 + (i * 150), yy + 280, shop_options[i]);
|
|
67
|
}
|
|
68
|
draw_set_halign(fa_left);
|
|
69
|
}
|