|
1
|
if (!_enabled)
|
|
2
|
exit;
|
|
3
|
var _x_pos = _offset_x + camerax() + 20;
|
|
4
|
if (global.lang == "ja")
|
|
5
|
_x_pos -= 24;
|
|
6
|
if (_heart_enabled)
|
|
7
|
draw_sprite(spr_heart, 0, _x_pos + 36, y + 9);
|
|
8
|
if (global.lang == "ja")
|
|
9
|
_x_pos -= 4;
|
|
10
|
draw_set_alpha(1);
|
|
11
|
draw_set_color(_text_color);
|
|
12
|
draw_set_font(scr_84_get_fontscr_84_get_font
function scr_84_get_font(arg0)
{
if (!variable_global_exists("chemg_last_get_font"))
global.chemg_last_get_font = "";
if (arg0 != global.chemg_last_get_font)
global.chemg_last_get_font = arg0;
return ds_map_find_value(global.font_map, arg0);
} ("mainbig"));
|
|
13
|
draw_text_ext(_x_pos + 60, _offset_y + cameray() + y, _label, 1, 999);
|
|
14
|
if (array_length(_options) == 0)
|
|
15
|
exit;
|
|
16
|
if (global.lang == "ja")
|
|
17
|
_x_pos += 30;
|
|
18
|
var _scroll_x = _x_pos + 60 + 70 + 30;
|
|
19
|
if (_offset_x > 0)
|
|
20
|
_scroll_x -= 30;
|
|
21
|
draw_text_ext(_scroll_x, _offset_y + cameray() + y, _options[_options_index], 1, 999);
|
|
22
|
if (_scroll_h_enabled)
|
|
23
|
{
|
|
24
|
var _arrow_x = _scroll_x - 14;
|
|
25
|
if (global.lang == "ja")
|
|
26
|
_arrow_x += 4;
|
|
27
|
draw_sprite_ext(spr_ui_arrow_left, 0, _arrow_x, _offset_y + cameray() + y + 16 + _arrow_left_offset, 2, 2, 0, _arrow_left_color, 1);
|
|
28
|
if (global.lang == "ja")
|
|
29
|
_arrow_x -= 8;
|
|
30
|
draw_sprite_ext(spr_ui_arrow_right, 0, _arrow_x + 54, _offset_y + cameray() + y + 16 + _arrow_right_offset, 2, 2, 0, _arrow_right_color, 1);
|
|
31
|
}
|