|
1
|
xx = __view_get(e__VW.XView, 0);
|
|
2
|
yy = __view_get(e__VW.YView, 0);
|
|
3
|
tpoff = (tp - tpy) + yy;
|
|
4
|
bpoff = -bp + bpy + yy;
|
|
5
|
if (drawchar == 1)
|
|
6
|
{
|
|
7
|
draw_set_color(c_black);
|
|
8
|
draw_rectangle(xx - 10, (yy + 480) - bp - 1, xx + 650, yy + 500, false);
|
|
9
|
draw_set_color(c_black);
|
|
10
|
draw_rectangle(xx - 10, yy + tp, xx + 650, yy - 10, false);
|
|
11
|
scr_charboxscr_charbox
function scr_charbox()
{
for (c = 0; c < 4; c += 1)
{
if (havechar[c] == 1)
{
if (c == 0)
charcolor = hpcolor[0];
if (c == 1)
charcolor = hpcolor[1];
if (c == 2)
charcolor = hpcolor[2];
if (c == 3)
charcolor = hpcolor[3];
gc = global.charturn;
xchunk = 0;
if (charpos[c] == 0 && chartotal == 3)
xchunk = 0;
if (charpos[c] == 1 && chartotal == 3)
xchunk = 213;
if (charpos[c] == 2 && chartotal == 3)
xchunk = 426;
if (charpos[c] == 0 && chartotal == 2)
xchunk = 108;
if (charpos[c] == 1 && chartotal == 2)
xchunk = 322;
if (charpos[c] == 0 && chartotal == 1)
xchunk = 213;
if (gc == charpos[c])
{
if (global.myfight == 0)
scr_selectionmatrix(xx + xchunk, (480 - bp) + yy);
if (mmy[c] > -32)
mmy[c] -= 2;
if (mmy[c] > -24)
mmy[c] -= 4;
if (mmy[c] > -16)
mmy[c] -= 6;
if (mmy[c] > -8)
mmy[c] -= 8;
if (mmy[c] < -32)
mmy[c] = -64;
}
else if (mmy[c] < -14)
{
mmy[c] += 15;
}
else
{
mmy[c] = 0;
}
btc[0] = 0;
btc[1] = 0;
btc[2] = 0;
btc[3] = 0;
btc[4] = 0;
if (gc == charpos[c])
btc[global.bmenucoord[0][global.charturn]] = 1;
if (global.fighting == 1)
{
spare_glow = 0;
for (sglowi = 0; sglowi < 3; sglowi += 1)
{
if (global.monster[sglowi] == 1 && global.mercymod[sglowi] >= 100)
spare_glow = 1;
}
pacify_glow = 0;
if (c == 2 || c == 3)
{
for (sglowi = 0; sglowi < 3; sglowi += 1)
{
var tensionamount = 40;
if (c == 3)
tensionamount = 80;
if (global.monster[sglowi] == 1 && global.monsterstatus[sglowi] == 1 && global.tension >= tensionamount)
pacify_glow = 1;
if (global.encounterno == 31)
pacify_glow = 0;
}
}
var icon_offset = 5;
draw_sprite(scr_84_get_sprite("spr_btfight"), btc[0], xx + xchunk + 15 + icon_offset, (485 - bp) + yy);
if (c == 0)
draw_sprite(scr_84_get_sprite("spr_btact"), btc[1], xx + xchunk + 50 + icon_offset, (485 - bp) + yy);
else
draw_sprite(scr_84_get_sprite("spr_bttech"), btc[1], xx + xchunk + 50 + icon_offset, (485 - bp) + yy);
draw_sprite(scr_84_get_sprite("spr_btitem"), btc[2], xx + xchunk + 85 + icon_offset, (485 - bp) + yy);
draw_sprite(scr_84_get_sprite("spr_btspare"), btc[3], xx + xchunk + 120 + icon_offset, (485 - bp) + yy);
draw_sprite(scr_84_get_sprite("spr_btdefend"), btc[4], xx + xchunk + 155 + icon_offset, (485 - bp) + yy);
if (spare_glow == 1 && gc == charpos[c])
draw_sprite_ext(scr_84_get_sprite("spr_btspare"), 2, xx + xchunk + 120 + icon_offset, (485 - bp) + yy, 1, 1, 0, c_white, 0.4 + (sin(global.time / 6) * 0.4));
if (pacify_glow == 1 && gc == charpos[c])
draw_sprite_ext(scr_84_get_sprite("spr_bttech"), 2, xx + xchunk + 50 + icon_offset, (485 - bp) + yy, 1, 1, 0, c_white, 0.4 + (sin(global.time / 6) * 0.4));
}
if (gc == charpos[c])
draw_set_color(charcolor);
else
draw_set_color(bcolor);
if (global.charselect == charpos[c] || global.charselect == 3)
draw_set_color(charcolor);
draw_rectangle(xx + xchunk, (480 - bp - 3) + yy + mmy[c], xx + xchunk + 212, ((480 - bp) + yy) - 2, false);
...
();
|
|
12
|
if (global.menuno == 0)
|
|
13
|
deschaver = 0;
|
|
14
|
if (deschaver == 0)
|
|
15
|
{
|
|
16
|
draw_sprite_ext(menu_sprite, global.menucoord[0], xx + 20, (yy + tp) - 56, 2, 2, 0, c_white, 1);
|
|
17
|
msprite[0] = spr_darkitembt;
|
|
18
|
msprite[1] = spr_darkequipbt;
|
|
19
|
msprite[2] = spr_darktalkbt;
|
|
20
|
msprite[3] = spr_darktechbt;
|
|
21
|
msprite[4] = spr_darkconfigbt;
|
|
22
|
for (i = 0; i < 5; i += 1)
|
|
23
|
{
|
|
24
|
off = 1;
|
|
25
|
if (global.menucoord[0] == i)
|
|
26
|
off = 0;
|
|
27
|
if ((global.menuno - 1) == i)
|
|
28
|
off = 2;
|
|
29
|
spritemx = 0;
|
|
30
|
if (i >= 2)
|
|
31
|
spritemx = -100;
|
|
32
|
if (i != 2)
|
|
33
|
draw_sprite_ext(msprite[i], off, xx + 120 + (i * 100) + spritemx, (yy + tp) - 60, 2, 2, 0, c_white, 1);
|
|
34
|
}
|
|
35
|
draw_set_color(c_white);
|
|
36
|
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");
|
|
37
|
draw_text(xx + 520, (yy + tp) - 60, string_hash_to_newline(stringsetsubloc("D$ ~1", string(global.gold), "obj_darkcontroller_slash_Draw_0_gml_47_0")));
|
|
38
|
}
|
|
39
|
}
|
|
40
|
if (global.menuno == 5)
|
|
41
|
{
|
|
42
|
var lang_off = langopt([90, 410, 420], [85, 412, 422]);
|
|
43
|
draw_set_color(c_black);
|
|
44
|
draw_rectangle(xx + 60, yy + lang_off[0], xx + 580, yy + lang_off[1], false);
|
|
45
|
scr_darkboxscr_darkbox
function scr_darkbox(arg0, arg1, arg2, arg3)
{
cur_jewel += 1;
textbox_width = arg2 - arg0 - 63;
if (textbox_width < 0)
textbox_width = 0;
textbox_height = arg3 - arg1 - 63;
if (textbox_height < 0)
textbox_height = 0;
if (textbox_width > 0)
{
draw_sprite_stretched(spr_textbox_top, 0, arg0 + 32, arg1, textbox_width, 32);
draw_sprite_ext(spr_textbox_top, 0, arg0 + 32, arg3 + 1, textbox_width, -2, 0, c_white, 1);
}
if (textbox_height > 0)
{
draw_sprite_ext(spr_textbox_left, 0, arg2 + 1, arg1 + 32, -2, textbox_height, 0, c_white, 1);
draw_sprite_ext(spr_textbox_left, 0, arg0, arg1 + 32, 2, textbox_height, 0, c_white, 1);
}
if (global.flag[8 simplify_vfx] == 0)
{
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
else
{
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
}
(xx + 50, (yy + lang_off[0]) - 10, xx + 590, yy + lang_off[2]);
|
|
46
|
if ((global.submenu >= 30 && global.submenu <= 33) || global.submenu == 36)
|
|
47
|
{
|
|
48
|
var _xPos = (global.lang == "en") ? (xx + 170) : (xx + 150);
|
|
49
|
var _heartXPos = (global.lang == "en") ? (xx + 145) : (xx + 125);
|
|
50
|
var _selectXPos = (global.lang == "ja" && global.is_console) ? (xx + 385) : (xx + 430);
|
|
51
|
draw_set_color(c_white);
|
|
52
|
draw_text(xx + 270, yy + 100, string_hash_to_newline(stringsetloc(CONFIG"CONFIG", "obj_darkcontroller_slash_Draw_0_gml_74_0"
)));
|
|
53
|
audvol = string(round(abs(global.flag[17 audio_volume] * 100))) + "%";
|
|
54
|
musvol = string(round(abs(global.flag[16 music_volume] * 100))) + "%";
|
|
55
|
runoff = stringsetloc(OFF"OFF", "obj_darkcontroller_slash_Draw_0_gml_82_0"
);
|
|
56
|
if (global.flag[11 auto_run] == 1)
|
|
57
|
runoff = stringsetloc(ON"ON", "obj_darkcontroller_slash_Draw_0_gml_82_1"
);
|
|
58
|
flashoff = stringsetloc(OFF"OFF", "obj_darkcontroller_slash_Draw_0_gml_83_0"
);
|
|
59
|
if (global.flag[8 simplify_vfx] == 1)
|
|
60
|
flashoff = stringsetloc(ON"ON", "obj_darkcontroller_slash_Draw_0_gml_83_1"
);
|
|
61
|
shakeoff = stringsetloc(OFF"OFF", "obj_darkcontroller_slash_Draw_0_gml_84_0"
);
|
|
62
|
if (global.flag[12 disable_shaking] == 1)
|
|
63
|
shakeoff = stringsetloc(ON"ON", "obj_darkcontroller_slash_Draw_0_gml_84_1"
);
|
|
64
|
if (!global.is_console)
|
|
65
|
{
|
|
66
|
fullscreenoff = stringsetloc(OFF"OFF", "obj_darkcontroller_slash_Draw_0_gml_87_0"
);
|
|
67
|
if (window_get_fullscreen())
|
|
68
|
fullscreenoff = stringsetloc(ON"ON", "obj_darkcontroller_slash_Draw_0_gml_87_1"
);
|
|
69
|
}
|
|
70
|
draw_sprite(spr_heart, 0, _heartXPos, yy + 160 + (global.submenucoord[30] * 35));
|
|
71
|
if (global.submenu == 33)
|
|
72
|
draw_set_color(c_yellow);
|
|
73
|
draw_text(_xPos, yy + 150, string_hash_to_newline(stringsetloc(Master Volume"Master Volume", "obj_darkcontroller_slash_Draw_0_gml_86_0"
)));
|
|
74
|
draw_text(_selectXPos, yy + 150, string_hash_to_newline(audvol));
|
|
75
|
draw_set_color(c_white);
|
|
76
|
draw_text(_xPos, yy + 185, string_hash_to_newline(stringsetloc(Controls"Controls", "obj_darkcontroller_slash_Draw_0_gml_91_0"
)));
|
|
77
|
draw_text(_xPos, yy + 220, string_hash_to_newline(stringsetloc(Simplify VFX"Simplify VFX", "obj_darkcontroller_slash_Draw_0_gml_92_0"
)));
|
|
78
|
draw_text(_selectXPos, yy + 220, string_hash_to_newline(flashoff));
|
|
79
|
if (global.is_console)
|
|
80
|
{
|
|
81
|
draw_text(_xPos, yy + 255, string_hash_to_newline(autorun_text));
|
|
82
|
draw_text(_selectXPos, yy + 255, string_hash_to_newline(runoff));
|
|
83
|
if (global.submenu == 36)
|
|
84
|
draw_set_color(c_yellow);
|
|
85
|
else if (global.disable_border)
|
|
86
|
draw_set_color(c_gray);
|
|
87
|
draw_text(_xPos, yy + 290, stringsetloc(Border"Border", "obj_darkcontroller_slash_Draw_0_gml_112_0"
));
|
|
88
|
draw_text(_selectXPos, yy + 290, border_options[selected_border]);
|
|
89
|
draw_set_color(c_white);
|
|
90
|
draw_text(_xPos, yy + 325, string_hash_to_newline(stringsetloc(Return to Title"Return to Title", "obj_darkcontroller_slash_Draw_0_gml_95_0"
)));
|
|
91
|
draw_text(_xPos, yy + 360, string_hash_to_newline(back_text));
|
|
92
|
}
|
|
93
|
else
|
|
94
|
{
|
|
95
|
draw_text(_xPos, yy + 255, string_hash_to_newline(stringsetloc(Fullscreen"Fullscreen", "obj_darkcontroller_slash_Draw_0_gml_93_0"
)));
|
|
96
|
draw_text(xx + 430, yy + 255, string_hash_to_newline(fullscreenoff));
|
|
97
|
draw_text(_xPos, yy + 290, string_hash_to_newline(autorun_text));
|
|
98
|
draw_text(xx + 430, yy + 290, string_hash_to_newline(runoff));
|
|
99
|
draw_text(_xPos, yy + 325, string_hash_to_newline(stringsetloc(Return to Title"Return to Title", "obj_darkcontroller_slash_Draw_0_gml_95_0"
)));
|
|
100
|
draw_text(_xPos, yy + 360, string_hash_to_newline(back_text));
|
|
101
|
}
|
|
102
|
}
|
|
103
|
if (global.submenu == 34)
|
|
104
|
{
|
|
105
|
}
|
|
106
|
if (global.submenu == 35)
|
|
107
|
{
|
|
108
|
var is_dualshock = global.gamepad_type == "Sony DualShock 4" || global.gamepad_type == "DualSense Wireless Controller";
|
|
109
|
var _yOffset = (global.lang == "en") ? 0 : -4;
|
|
110
|
var _headerOffset = (is_dualshock && global.lang == "ja") ? -5 : 0;
|
|
111
|
draw_set_color(c_white);
|
|
112
|
draw_text(xx + 105, yy + 100 + _headerOffset, string_hash_to_newline(stringsetloc(Function"Function", "obj_darkcontroller_slash_Draw_0_gml_113_0"
)));
|
|
113
|
if (global.is_console)
|
|
114
|
{
|
|
115
|
var buttonXPos = (scr_is_switch_os() && global.lang == "en") ? (xx + 445) : (xx + 435);
|
|
116
|
var buttonYPos = yy + 100 + _yOffset;
|
|
117
|
draw_text(buttonXPos, buttonYPos, stringsetloc(Button"Button", "obj_darkcontroller_slash_Draw_0_gml_147_0"
));
|
|
118
|
}
|
|
119
|
else
|
|
120
|
{
|
|
121
|
draw_text(xx + 325, yy + 100 + _headerOffset, string_hash_to_newline(stringsetloc(Key"Key", "obj_darkcontroller_slash_Draw_0_gml_114_0"
)));
|
|
122
|
if (obj_gamecontroller.gamepad_active)
|
|
123
|
draw_text(xx + 435, yy + 100 + _headerOffset, string_hash_to_newline(stringsetloc(Gamepad"Gamepad", "obj_darkcontroller_slash_Draw_0_gml_115_0"
)));
|
|
124
|
}
|
|
125
|
my_function[0] = stringsetloc(DOWN"DOWN", "obj_darkcontroller_slash_Draw_0_gml_117_0"
);
|
|
126
|
my_function[1] = stringsetloc(RIGHT"RIGHT", "obj_darkcontroller_slash_Draw_0_gml_118_0"
);
|
|
127
|
my_function[2] = stringsetloc(UP"UP", "obj_darkcontroller_slash_Draw_0_gml_119_0"
);
|
|
128
|
my_function[3] = stringsetloc(LEFT"LEFT", "obj_darkcontroller_slash_Draw_0_gml_120_0"
);
|
|
129
|
my_function[4] = stringsetloc(CONFIRM"CONFIRM", "obj_darkcontroller_slash_Draw_0_gml_121_0"
);
|
|
130
|
my_function[5] = stringsetloc(CANCEL"CANCEL", "obj_darkcontroller_slash_Draw_0_gml_122_0"
);
|
|
131
|
my_function[6] = stringsetloc(MENU"MENU", "obj_darkcontroller_slash_Draw_0_gml_123_0"
);
|
|
132
|
my_function[7] = stringsetloc(Reset to default"Reset to default", "obj_darkcontroller_slash_Draw_0_gml_124_0"
);
|
|
133
|
my_function[8] = stringsetloc(Finish"Finish", "obj_darkcontroller_slash_Draw_0_gml_125_0"
);
|
|
134
|
var voff = langopt(0, -8);
|
|
135
|
var vspacing = langopt(28, 30);
|
|
136
|
if (global.is_console || is_dualshock)
|
|
137
|
{
|
|
138
|
var _heartYPos = (global.lang == "en") ? (yy + 146) : (yy + 144);
|
|
139
|
var _heartHeight = (global.lang == "en") ? 29 : 30;
|
|
140
|
draw_sprite(spr_heart, 0, xx + 80, _heartYPos + (global.submenucoord[35] * _heartHeight) + _yOffset);
|
|
141
|
}
|
|
142
|
else
|
|
143
|
{
|
|
144
|
var heart_offset = (global.lang == "en") ? 28 : 29;
|
|
145
|
draw_sprite(spr_heart, 0, xx + 80, (yy + 150 + (global.submenucoord[35] * heart_offset) + _yOffset) - 2);
|
|
146
|
}
|
|
147
|
var line_padding = (global.lang == "ja") ? 1 : 0;
|
|
148
|
for (i = 0; i <= 8; i += 1)
|
|
149
|
{
|
|
150
|
draw_set_color(c_white);
|
|
151
|
if (global.submenucoord[35] == i)
|
|
152
|
draw_set_color(c_aqua);
|
|
153
|
if (global.submenucoord[35] == i && control_select_con == 1)
|
|
154
|
draw_set_color(c_red);
|
|
155
|
if (i == 7 && control_flash_timer > 0)
|
|
156
|
draw_set_color(merge_color(c_aqua, c_yellow, (control_flash_timer / 10) - 0.1));
|
|
157
|
var _textYPos;
|
|
158
|
if (is_dualshock)
|
|
159
|
{
|
|
160
|
var _textHeight = 29;
|
|
161
|
_textYPos = (global.lang == "en") ? (yy + 137) : (yy + 136);
|
|
162
|
draw_text(xx + 105, _textYPos + (i * (_textHeight + line_padding)) + _yOffset, string_hash_to_newline(my_function[i]));
|
|
163
|
}
|
|
164
|
else
|
|
165
|
{
|
|
166
|
draw_text(xx + 105, yy + 140 + (i * (28 + line_padding)) + _yOffset, string_hash_to_newline(my_function[i]));
|
|
167
|
}
|
|
168
|
if (i < 7)
|
|
169
|
{
|
|
170
|
if (is_dualshock)
|
|
171
|
{
|
|
172
|
var _sprite = scr_getbuttonspritescr_getbuttonsprite
function scr_getbuttonsprite(arg0, arg1)
{
var control = arg0;
var isString = arg1;
var button = noone;
var is_dualshock = os_type == os_ps4 || global.gamepad_type == "Sony DualShock 4";
var is_dualsense = os_type == os_ps5 || global.gamepad_type == "DualSense Wireless Controller";
var button_sprite = button_questionmark;
var invert = is_dualshock && (global.typer == 50 || global.typer == 70 || global.typer == 71);
if (isString)
{
if (control == "A")
{
button_sprite = button_xbox_left;
if (scr_is_switch_os())
{
button_sprite = button_switch_left_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps4_dpad_left;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps5_dpad_left;
}
return button_sprite;
}
if (control == "D")
{
button_sprite = button_xbox_right;
if (scr_is_switch_os())
{
button_sprite = button_switch_right_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps4_dpad_right;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps5_dpad_right;
}
return button_sprite;
}
if (control == "W")
{
button_sprite = button_xbox_up;
if (scr_is_switch_os())
{
button_sprite = button_switch_up_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps4_dpad_up;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps5_dpad_up;
}
return button_sprite;
}
if (control == "S")
{
button_sprite = button_xbox_down;
if (scr_is_switch_os())
{
button_sprite = button_switch_down_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps4_dpad_down;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps5_dpad_down;
}
return button_sprite;
}
if (control == "l")
{
button_sprite = button_xbox_left_bumper;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l1;
if (is_dualsense)
button_sprite = button_ps5_l1;
}
if (scr_is_switch_os())
button_sprite = button_switch_l_0;
return button_sprite;
}
if (control == "L")
{
button_sprite = button_xbox_left_trigger;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l2;
if (is_dualsense)
button_sprite = button_ps5_l2;
}
if (scr_is_switch_os())
button_sprite = button_switch_zl_0;
return button_sprite;
}
if (control == "r")
{
button_sprite = button_xbox_right_bumper;
if (is_dualshock || is_dualsense)
...
(global.input_g[i], false);
|
|
173
|
var _sprite_height = 29;
|
|
174
|
var _xPos = xx + 465;
|
|
175
|
var _yPos = yy + 139;
|
|
176
|
if (_sprite == button_ps4_dpad_up || _sprite == button_ps4_dpad_down || _sprite == button_ps4_dpad_left || _sprite == button_ps4_dpad_right)
|
|
177
|
{
|
|
178
|
_sprite_height = 30;
|
|
179
|
_yPos = _textYPos + 0.5;
|
|
180
|
_xPos = xx + 463;
|
|
181
|
}
|
|
182
|
else if (_sprite == button_ps4_options)
|
|
183
|
{
|
|
184
|
_sprite_height = 29.5;
|
|
185
|
_yPos = _textYPos + 0.5;
|
|
186
|
_xPos = xx + 460;
|
|
187
|
}
|
|
188
|
draw_sprite_ext(_sprite, 0, _xPos, _yPos + (i * (_sprite_height + line_padding)) + _yOffset, 2, 2, 0, c_white, 1);
|
|
189
|
if (!global.is_console)
|
|
190
|
draw_text(xx + 325, yy + voff + 140 + (i * vspacing), string_hash_to_newline(global.asc_def[global.input_k[i]]));
|
|
191
|
}
|
|
192
|
else if (global.is_console)
|
|
193
|
{
|
|
194
|
if (obj_gamecontroller.gamepad_active)
|
|
195
|
{
|
|
196
|
var _sprite = (scr_getbuttonspritescr_getbuttonsprite
function scr_getbuttonsprite(arg0, arg1)
{
var control = arg0;
var isString = arg1;
var button = noone;
var is_dualshock = os_type == os_ps4 || global.gamepad_type == "Sony DualShock 4";
var is_dualsense = os_type == os_ps5 || global.gamepad_type == "DualSense Wireless Controller";
var button_sprite = button_questionmark;
var invert = is_dualshock && (global.typer == 50 || global.typer == 70 || global.typer == 71);
if (isString)
{
if (control == "A")
{
button_sprite = button_xbox_left;
if (scr_is_switch_os())
{
button_sprite = button_switch_left_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps4_dpad_left;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps5_dpad_left;
}
return button_sprite;
}
if (control == "D")
{
button_sprite = button_xbox_right;
if (scr_is_switch_os())
{
button_sprite = button_switch_right_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps4_dpad_right;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps5_dpad_right;
}
return button_sprite;
}
if (control == "W")
{
button_sprite = button_xbox_up;
if (scr_is_switch_os())
{
button_sprite = button_switch_up_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps4_dpad_up;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps5_dpad_up;
}
return button_sprite;
}
if (control == "S")
{
button_sprite = button_xbox_down;
if (scr_is_switch_os())
{
button_sprite = button_switch_down_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps4_dpad_down;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps5_dpad_down;
}
return button_sprite;
}
if (control == "l")
{
button_sprite = button_xbox_left_bumper;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l1;
if (is_dualsense)
button_sprite = button_ps5_l1;
}
if (scr_is_switch_os())
button_sprite = button_switch_l_0;
return button_sprite;
}
if (control == "L")
{
button_sprite = button_xbox_left_trigger;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l2;
if (is_dualsense)
button_sprite = button_ps5_l2;
}
if (scr_is_switch_os())
button_sprite = button_switch_zl_0;
return button_sprite;
}
if (control == "r")
{
button_sprite = button_xbox_right_bumper;
if (is_dualshock || is_dualsense)
...
(global.input_g[i], false) != noone) ? scr_getbuttonspritescr_getbuttonsprite
function scr_getbuttonsprite(arg0, arg1)
{
var control = arg0;
var isString = arg1;
var button = noone;
var is_dualshock = os_type == os_ps4 || global.gamepad_type == "Sony DualShock 4";
var is_dualsense = os_type == os_ps5 || global.gamepad_type == "DualSense Wireless Controller";
var button_sprite = button_questionmark;
var invert = is_dualshock && (global.typer == 50 || global.typer == 70 || global.typer == 71);
if (isString)
{
if (control == "A")
{
button_sprite = button_xbox_left;
if (scr_is_switch_os())
{
button_sprite = button_switch_left_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps4_dpad_left;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps5_dpad_left;
}
return button_sprite;
}
if (control == "D")
{
button_sprite = button_xbox_right;
if (scr_is_switch_os())
{
button_sprite = button_switch_right_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps4_dpad_right;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps5_dpad_right;
}
return button_sprite;
}
if (control == "W")
{
button_sprite = button_xbox_up;
if (scr_is_switch_os())
{
button_sprite = button_switch_up_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps4_dpad_up;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps5_dpad_up;
}
return button_sprite;
}
if (control == "S")
{
button_sprite = button_xbox_down;
if (scr_is_switch_os())
{
button_sprite = button_switch_down_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps4_dpad_down;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps5_dpad_down;
}
return button_sprite;
}
if (control == "l")
{
button_sprite = button_xbox_left_bumper;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l1;
if (is_dualsense)
button_sprite = button_ps5_l1;
}
if (scr_is_switch_os())
button_sprite = button_switch_l_0;
return button_sprite;
}
if (control == "L")
{
button_sprite = button_xbox_left_trigger;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l2;
if (is_dualsense)
button_sprite = button_ps5_l2;
}
if (scr_is_switch_os())
button_sprite = button_switch_zl_0;
return button_sprite;
}
if (control == "r")
{
button_sprite = button_xbox_right_bumper;
if (is_dualshock || is_dualsense)
...
(global.input_g[i], false) : button_switch_left_0;
|
|
197
|
var _xPos = (global.lang == "en") ? (xx + 475) : (xx + 465);
|
|
198
|
if (_sprite == button_switch_lStickClick_0 || _sprite == button_switch_rStickClick_0)
|
|
199
|
_xPos -= 3;
|
|
200
|
draw_sprite_ext(_sprite, 0, _xPos, yy + 144 + (i * (28 + line_padding)) + _yOffset, 2, 2, 0, c_white, 1);
|
|
201
|
}
|
|
202
|
}
|
|
203
|
else
|
|
204
|
{
|
|
205
|
draw_text(xx + 325, yy + voff + 140 + (i * vspacing), string_hash_to_newline(global.asc_def[global.input_k[i]]));
|
|
206
|
if (obj_gamecontroller.gamepad_active)
|
|
207
|
{
|
|
208
|
var _sprite = scr_getbuttonspritescr_getbuttonsprite
function scr_getbuttonsprite(arg0, arg1)
{
var control = arg0;
var isString = arg1;
var button = noone;
var is_dualshock = os_type == os_ps4 || global.gamepad_type == "Sony DualShock 4";
var is_dualsense = os_type == os_ps5 || global.gamepad_type == "DualSense Wireless Controller";
var button_sprite = button_questionmark;
var invert = is_dualshock && (global.typer == 50 || global.typer == 70 || global.typer == 71);
if (isString)
{
if (control == "A")
{
button_sprite = button_xbox_left;
if (scr_is_switch_os())
{
button_sprite = button_switch_left_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps4_dpad_left;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_left_dark : button_ps5_dpad_left;
}
return button_sprite;
}
if (control == "D")
{
button_sprite = button_xbox_right;
if (scr_is_switch_os())
{
button_sprite = button_switch_right_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps4_dpad_right;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_right_dark : button_ps5_dpad_right;
}
return button_sprite;
}
if (control == "W")
{
button_sprite = button_xbox_up;
if (scr_is_switch_os())
{
button_sprite = button_switch_up_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps4_dpad_up;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_up_dark : button_ps5_dpad_up;
}
return button_sprite;
}
if (control == "S")
{
button_sprite = button_xbox_down;
if (scr_is_switch_os())
{
button_sprite = button_switch_down_0;
}
else if (is_dualshock || is_dualsense)
{
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps4_dpad_down;
if (is_dualsense)
button_sprite = invert ? button_ps4_dpad_down_dark : button_ps5_dpad_down;
}
return button_sprite;
}
if (control == "l")
{
button_sprite = button_xbox_left_bumper;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l1;
if (is_dualsense)
button_sprite = button_ps5_l1;
}
if (scr_is_switch_os())
button_sprite = button_switch_l_0;
return button_sprite;
}
if (control == "L")
{
button_sprite = button_xbox_left_trigger;
if (is_dualshock || is_dualsense)
{
button_sprite = button_ps4_l2;
if (is_dualsense)
button_sprite = button_ps5_l2;
}
if (scr_is_switch_os())
button_sprite = button_switch_zl_0;
return button_sprite;
}
if (control == "r")
{
button_sprite = button_xbox_right_bumper;
if (is_dualshock || is_dualsense)
...
(global.input_g[i], false);
|
|
209
|
var _xPos = (global.lang == "en") ? (xx + 475) : (xx + 465);
|
|
210
|
if (sprite_get_width(_sprite) < 12)
|
|
211
|
_xPos += 2;
|
|
212
|
draw_sprite_ext(_sprite, 0, _xPos, yy + 144 + (i * (28 + line_padding)) + _yOffset, 2, 2, 0, c_white, 1);
|
|
213
|
}
|
|
214
|
}
|
|
215
|
}
|
|
216
|
}
|
|
217
|
}
|
|
218
|
}
|
|
219
|
if (global.menuno == 4)
|
|
220
|
{
|
|
221
|
var memxx = xx;
|
|
222
|
if (global.lang == "ja")
|
|
223
|
xx += -15;
|
|
224
|
draw_set_color(c_black);
|
|
225
|
draw_rectangle(xx + 60, yy + 90, xx + langopt(580, 612), yy + 410, false);
|
|
226
|
scr_darkboxscr_darkbox
function scr_darkbox(arg0, arg1, arg2, arg3)
{
cur_jewel += 1;
textbox_width = arg2 - arg0 - 63;
if (textbox_width < 0)
textbox_width = 0;
textbox_height = arg3 - arg1 - 63;
if (textbox_height < 0)
textbox_height = 0;
if (textbox_width > 0)
{
draw_sprite_stretched(spr_textbox_top, 0, arg0 + 32, arg1, textbox_width, 32);
draw_sprite_ext(spr_textbox_top, 0, arg0 + 32, arg3 + 1, textbox_width, -2, 0, c_white, 1);
}
if (textbox_height > 0)
{
draw_sprite_ext(spr_textbox_left, 0, arg2 + 1, arg1 + 32, -2, textbox_height, 0, c_white, 1);
draw_sprite_ext(spr_textbox_left, 0, arg0, arg1 + 32, 2, textbox_height, 0, c_white, 1);
}
if (global.flag[8 simplify_vfx] == 0)
{
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
else
{
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
}
(xx + 50, yy + 80, xx + langopt(590, 622), yy + 420);
|
|
227
|
draw_set_color(c_white);
|
|
228
|
draw_rectangle(xx + 60, yy + 216, xx + 60 + langopt(520, 552), yy + 216 + 5, false);
|
|
229
|
draw_rectangle(xx + 294, yy + 220, xx + 294 + 5, (yy + 220 + 195) - 4, false);
|
|
230
|
if (global.lang == "ja")
|
|
231
|
draw_rectangle(xx + 60, yy + 216, xx + 60 + 552, yy + 216 + 5, false);
|
|
232
|
draw_sprite_ext(_spr_dmenu_captions, 0, xx + 124, yy + 84, 2, 2, 0, c_white, 1);
|
|
233
|
draw_sprite_ext(_spr_dmenu_captions, 4, xx + 124, yy + 210, 2, 2, 0, c_white, 1);
|
|
234
|
draw_sprite_ext(_spr_dmenu_captions, 5, xx + 380, yy + 210, 2, 2, 0, c_white, 1);
|
|
235
|
if (global.lang == "ja")
|
|
236
|
draw_sprite_ext(spr_dmenu_captions, 6, xx + 310, yy + 225, 1, 1, 0, c_white, 1);
|
|
237
|
else
|
|
238
|
draw_sprite_ext(spr_dmenu_captions, 6, xx + 340, yy + 225, 1, 1, 0, c_white, 1);
|
|
239
|
coord = global.submenucoord[20];
|
|
240
|
charcoord = global.char[coord];
|
|
241
|
menusiner += 1;
|
|
242
|
draw_set_color(c_white);
|
|
243
|
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");
|
|
244
|
draw_text(xx + 130, yy + 105, string_hash_to_newline(global.charname[charcoord]));
|
|
245
|
for (i = 0; i < 3; i += 1)
|
|
246
|
{
|
|
247
|
chosen = 0.4;
|
|
248
|
if (i == coord)
|
|
249
|
chosen = 1;
|
|
250
|
draw_sprite_ext(spr_equipchar_ch2, global.char[i], 90 + xx + (i * 50), 160 + yy, 2, 2, 0, c_white, chosen);
|
|
251
|
}
|
|
252
|
if (global.submenu == 20)
|
|
253
|
draw_sprite(spr_heart_harrows, menusiner / 20, 100 + xx + (coord * 50), 141 + yy);
|
|
254
|
var ch_yoff = yy + 230;
|
|
255
|
var ch_vspace = langopt(25, 28);
|
|
256
|
var falselv = "1";
|
|
257
|
if (global.chapter == 2)
|
|
258
|
{
|
|
259
|
falselv = "2";
|
|
260
|
if (global.plot >= 200)
|
|
261
|
falselv = "3";
|
|
262
|
}
|
|
263
|
var ch_y;
|
|
264
|
for (var ch_i = 0; ch_i < 6; ch_i++)
|
|
265
|
ch_y[ch_i] = ch_yoff + (ch_i * ch_vspace);
|
|
266
|
draw_set_color(c_white);
|
|
267
|
draw_text(xx + 100, ch_y[0], string_hash_to_newline(stringsetloc(Attack: "Attack: ", "obj_darkcontroller_slash_Draw_0_gml_207_0"
)));
|
|
268
|
draw_item_icon(xx + 74, ch_y[0] + 6, 1);
|
|
269
|
draw_text(xx + 100, ch_y[1], string_hash_to_newline(stringsetloc(Defense: "Defense: ", "obj_darkcontroller_slash_Draw_0_gml_208_0"
)));
|
|
270
|
draw_item_icon(xx + 74, ch_y[1] + 6, 4);
|
|
271
|
draw_text(xx + 100, ch_y[2], string_hash_to_newline(stringsetloc(Magic: "Magic: ", "obj_darkcontroller_slash_Draw_0_gml_209_0"
)));
|
|
272
|
draw_item_icon(xx + 74, ch_y[2] + 6, 5);
|
|
273
|
draw_text(xx + 100, ch_y[5], string_hash_to_newline(stringsetloc(Guts: "Guts: ", "obj_darkcontroller_slash_Draw_0_gml_212_0"
)));
|
|
274
|
draw_item_icon(xx + 74, ch_y[5] + 6, 9);
|
|
275
|
char_desc = stringsetloc(LV1 "LV1 ", "obj_darkcontroller_slash_Draw_0_gml_214_0"
);
|
|
276
|
guts_amount = 0;
|
|
277
|
fluff_amount = 0;
|
|
278
|
if (charcoord == 1)
|
|
279
|
{
|
|
280
|
guts_amount = 1;
|
|
281
|
if (global.chapter == 2)
|
|
282
|
guts_amount = 2;
|
|
283
|
draw_set_color(c_dkgray);
|
|
284
|
draw_text(xx + 100, ch_y[4], string_hash_to_newline(stringsetloc(???"???", "obj_darkcontroller_slash_Draw_0_gml_226_0"
)));
|
|
285
|
if (dograndom >= 97)
|
|
286
|
{
|
|
287
|
draw_set_color(c_white);
|
|
288
|
draw_text(xx + 100, ch_y[3], string_hash_to_newline(stringsetloc(Dog:"Dog:", "obj_darkcontroller_slash_Draw_0_gml_231_0"
)));
|
|
289
|
draw_sprite_ext(spr_dog_sleep, -threebuffer / 30, xx + 220, ch_y[3] + 5, 2, 2, 0, c_white, 1);
|
|
290
|
}
|
|
291
|
else
|
|
292
|
{
|
|
293
|
draw_text(xx + 100, ch_y[3], string_hash_to_newline(stringsetloc(???"???", "obj_darkcontroller_slash_Draw_0_gml_236_0"
)));
|
|
294
|
}
|
|
295
|
draw_set_color(c_white);
|
|
296
|
if (global.chapter == 1)
|
|
297
|
{
|
|
298
|
char_desc = stringsetloc(LV1 Human#Body contains a#human SOUL."LV1 Human#Body contains a#human SOUL.", "obj_darkcontroller_slash_Draw_0_gml_239_0"
);
|
|
299
|
if (global.plot >= 30)
|
|
300
|
char_desc = stringsetloc(LV1 Leader#Commands the party#with various ACTs."LV1 Leader#Commands the party#with various ACTs.", "obj_darkcontroller_slash_Draw_0_gml_240_0"
);
|
|
301
|
if (global.flag[252 inspected_beds_ch1] == 1)
|
|
302
|
char_desc = stringsetloc(LV1 Bed Inspector#Inspects all beds#inexplicably."LV1 Bed Inspector#Inspects all beds#inexplicably.", "obj_darkcontroller_slash_Draw_0_gml_241_0"
);
|
|
303
|
}
|
|
304
|
if (global.chapter >= 2)
|
|
305
|
{
|
|
306
|
char_desc = stringsetsubloc("LV~1 Leader#Commands the party#with various ACTs.", falselv, "obj_darkcontroller_slash_Draw_0_gml_272_0_b");
|
|
307
|
if (global.plot >= 60)
|
|
308
|
char_desc = stringsetsubloc("LV~1 Tactician#Commands the party#by ACTs. Sometimes.", falselv, "obj_darkcontroller_slash_Draw_0_gml_273_0");
|
|
309
|
if (global.flag[252 inspected_beds_ch1] == 1)
|
|
310
|
char_desc = stringsetsubloc("LV~1 Bed Inspector#Inspects all beds#inexplicably.", falselv, "obj_darkcontroller_slash_Draw_0_gml_274_0");
|
|
311
|
if (global.flag[920 got_ch2_moss] == 1)
|
|
312
|
char_desc = stringsetsubloc("LV~1 Moss Finder#Basic moss-finding#abilities.", falselv, "obj_darkcontroller_slash_Draw_0_gml_275_0_b");
|
|
313
|
if (scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
}
() > 0)
|
|
314
|
char_desc = stringsetsubloc("LV~1 Leader#Commands.", falselv, "obj_darkcontroller_slash_Draw_0_gml_276_0");
|
|
315
|
}
|
|
316
|
}
|
|
317
|
if (charcoord == 2)
|
|
318
|
{
|
|
319
|
guts_amount = 2;
|
|
320
|
rude_amount = 100;
|
|
321
|
if (global.chapter == 1)
|
|
322
|
{
|
|
323
|
if (global.plot >= 154)
|
|
324
|
rude_amount = 99;
|
|
325
|
}
|
|
326
|
if (global.chapter == 2)
|
|
327
|
rude_amount -= 11;
|
|
328
|
draw_text(xx + 100, ch_y[3], string_hash_to_newline(stringsetloc(Rudeness "Rudeness ", "obj_darkcontroller_slash_Draw_0_gml_251_0"
)));
|
|
329
|
draw_item_icon(xx + 74, ch_y[3] + 6, 13);
|
|
330
|
draw_text(xx + 230, ch_y[3], string_hash_to_newline(rude_amount));
|
|
331
|
if (global.chapter == 1)
|
|
332
|
{
|
|
333
|
crude_amount = 100;
|
|
334
|
if (global.flag[214 team_name] == 1)
|
|
335
|
crude_amount = 101;
|
|
336
|
draw_text_transformed(xx + 100, ch_y[4], string_hash_to_newline(stringsetloc(Crudeness "Crudeness ", "obj_darkcontroller_slash_Draw_0_gml_252_0"
)), langopt(0.8, 1), 1, 0);
|
|
337
|
draw_item_icon(xx + 74, ch_y[4] + 6, 13);
|
|
338
|
draw_text(xx + 230, ch_y[4], string_hash_to_newline(crude_amount));
|
|
339
|
char_desc = stringsetloc(LV1 Mean Girl#Won't do anything#but fight."LV1 Mean Girl#Won't do anything#but fight.", "obj_darkcontroller_slash_Draw_0_gml_255_0"
);
|
|
340
|
if (global.plot >= 154)
|
|
341
|
char_desc = stringsetloc(LV1 Dark Knight#Does damage using#dark energy."LV1 Dark Knight#Does damage using#dark energy.", "obj_darkcontroller_slash_Draw_0_gml_256_0"
);
|
|
342
|
}
|
|
343
|
if (global.chapter == 2)
|
|
344
|
{
|
|
345
|
draw_text_transformed(xx + 100, ch_y[4], string_hash_to_newline(stringsetloc(Purple "Purple ", "obj_darkcontroller_slash_Draw_0_gml_311_0"
)), langopt(0.8, 1), 1, 0);
|
|
346
|
draw_item_icon(xx + 74, ch_y[4] + 6, 13);
|
|
347
|
draw_text(xx + 230, ch_y[4], string_hash_to_newline(stringsetloc(Yes"Yes", "obj_darkcontroller_slash_Draw_0_gml_312_0"
)));
|
|
348
|
char_desc = stringsetsubloc("LV~1 Dark Knight#Does damage using#dark energy.", falselv, "obj_darkcontroller_slash_Draw_0_gml_314_0");
|
|
349
|
if (global.plot >= 95)
|
|
350
|
char_desc = stringsetsubloc("LV~1 Healing Master#Can use ultimate#healing. (Losers!)", falselv, "obj_darkcontroller_slash_Draw_0_gml_315_0");
|
|
351
|
if (global.flag[922 susie_moss] == 1)
|
|
352
|
char_desc = stringsetsubloc("LV~1 Moss Enjoyer#Supports those#that find moss.", falselv, "obj_darkcontroller_slash_Draw_0_gml_316_0");
|
|
353
|
}
|
|
354
|
}
|
|
355
|
if (charcoord == 3)
|
|
356
|
{
|
|
357
|
guts_amount = 0;
|
|
358
|
fluff_amount = 1;
|
|
359
|
kindness_amount = 100;
|
|
360
|
kind_icon = 10;
|
|
361
|
kind_text = stringsetloc(Kindness"Kindness", "obj_darkcontroller_slash_Draw_0_gml_327_0"
);
|
|
362
|
if (dograndom >= 97)
|
|
363
|
{
|
|
364
|
kind_icon = 11;
|
|
365
|
kind_text = stringsetloc(Dogness"Dogness", "obj_darkcontroller_slash_Draw_0_gml_331_0"
);
|
|
366
|
kindness_amount = 1;
|
|
367
|
}
|
|
368
|
if (global.chapter == 1)
|
|
369
|
{
|
|
370
|
char_desc = stringsetloc(LV1 Lonely Prince#Dark-World being.#Has no subjects."LV1 Lonely Prince#Dark-World being.#Has no subjects.", "obj_darkcontroller_slash_Draw_0_gml_272_0"
);
|
|
371
|
if (global.charweapon[3] == 9)
|
|
372
|
char_desc = stringsetloc(LV1 Prickly Prince#Deals damage with#his rugged scarf."LV1 Prickly Prince#Deals damage with#his rugged scarf.", "obj_darkcontroller_slash_Draw_0_gml_275_0"
);
|
|
373
|
if (global.charweapon[3] == 10)
|
|
374
|
{
|
|
375
|
char_desc = stringsetloc(LV1 Fluffy Prince#Weak,Delay 11 but has nice#healing powers."LV1 Fluffy Prince#Weak^1, but has nice#healing powers.", "obj_darkcontroller_slash_Draw_0_gml_279_0"
);
|
|
376
|
fluff_amount += 1;
|
|
377
|
}
|
|
378
|
draw_text(xx + 100, ch_y[3], string_hash_to_newline(kind_text));
|
|
379
|
draw_item_icon(xx + 74, ch_y[3] + 6, kind_icon);
|
|
380
|
draw_text(xx + 230, ch_y[3], string_hash_to_newline(kindness_amount));
|
|
381
|
}
|
|
382
|
if (global.chapter == 2)
|
|
383
|
{
|
|
384
|
fluff_amount += 1;
|
|
385
|
char_desc = stringsetsubloc("LV~1 Dark Prince#Dark-World being.#Has friends now.", falselv, "obj_darkcontroller_slash_Draw_0_gml_356_0");
|
|
386
|
if (global.flag[325 ralsei_photo_choice] == 1)
|
|
387
|
char_desc = stringsetsubloc("LV~1 Hug Prince#Receives and#gives many hugs.", falselv, "obj_darkcontroller_slash_Draw_0_gml_357_0");
|
|
388
|
if (global.flag[325 ralsei_photo_choice] == 2)
|
|
389
|
char_desc = stringsetsubloc("LV~1 Pose Prince#Poses for photos#at times.", falselv, "obj_darkcontroller_slash_Draw_0_gml_358_0");
|
|
390
|
if (global.flag[325 ralsei_photo_choice] == 3)
|
|
391
|
char_desc = stringsetsubloc("LV~1 Rude Prince#Friends with a#rude gesturer.", falselv, "obj_darkcontroller_slash_Draw_0_gml_359_0");
|
|
392
|
if (global.flag[325 ralsei_photo_choice] == 4)
|
|
393
|
char_desc = stringsetsubloc("LV~1 Blank Prince#Doesn't even#have a photo.", falselv, "obj_darkcontroller_slash_Draw_0_gml_360_0");
|
|
394
|
draw_text(xx + 100, ch_y[3], string_hash_to_newline(stringsetloc(Sweetness "Sweetness ", "obj_darkcontroller_slash_Draw_0_gml_362_0"
)));
|
|
395
|
draw_item_icon(xx + 74, ch_y[3] + 6, 15);
|
|
396
|
if (global.lang == "ja")
|
|
397
|
{
|
|
398
|
draw_text((xx + 230 + 14) - 2 - 2, ch_y[3], ":");
|
|
399
|
draw_text((xx + 230 + 14 + 16) - 2, ch_y[3], "97");
|
|
400
|
}
|
|
401
|
else
|
|
402
|
{
|
|
403
|
draw_text(xx + 230, ch_y[3], string_hash_to_newline("97"));
|
|
404
|
}
|
|
405
|
}
|
|
406
|
var __scale = 0.8;
|
|
407
|
if (global.lang == "ja")
|
|
408
|
__scale = 1;
|
|
409
|
draw_text_transformed(xx + 100, ch_y[4], string_hash_to_newline(stringsetloc(Fluffiness"Fluffiness", "obj_darkcontroller_slash_Draw_0_gml_286_0"
)), __scale, 1, 0);
|
|
410
|
draw_item_icon(xx + 74, ch_y[4] + 6, 12);
|
|
411
|
for (i = 0; i < fluff_amount; i += 1)
|
|
412
|
draw_item_icon(xx + 230 + (i * 20), ch_y[4] + 6, 12);
|
|
413
|
}
|
|
414
|
if (charcoord == 4)
|
|
415
|
{
|
|
416
|
guts_amount = 0;
|
|
417
|
char_desc = stringsetloc(LV1 Snowcaster#Might be able to#use some cool moves."LV1 Snowcaster#Might be able to#use some cool moves.", "obj_darkcontroller_slash_Draw_0_gml_382_0"
);
|
|
418
|
if (global.flag[925 iceshocks] > 0)
|
|
419
|
char_desc = stringsetsubloc("LV~1 Frostmancer#Freezes the enemy.", falselv, "obj_darkcontroller_slash_Draw_0_gml_383_0");
|
|
420
|
if (global.charweapon[4] == 13)
|
|
421
|
char_desc = stringsetsubloc("LV~1 Ice Trancer#Receives pain to#become stronger.", falselv, "obj_darkcontroller_slash_Draw_0_gml_384_0");
|
|
422
|
if (global.flag[921 noelle_moss] == 1 && scr_sideb_get_phasescr_sideb_get_phase
function scr_sideb_get_phase()
{
var phase = 0;
if (global.flag[916 snowgrave_fail] == 0)
{
if (global.flag[915 snowgrave_plot] > 0 && global.flag[915 snowgrave_plot] < 4)
phase = 1;
if (global.flag[915 snowgrave_plot] >= 4 && global.flag[915 snowgrave_plot] < 7)
phase = 2;
if (global.flag[915 snowgrave_plot] >= 7 && global.flag[915 snowgrave_plot] < 20)
phase = 3;
if (global.flag[915 snowgrave_plot] >= 20)
phase = 4;
}
return phase;
}
() == 0)
|
|
423
|
char_desc = stringsetsubloc("LV~1 Moss Neutral#Neither chaotic nor#lawful to moss.", falselv, "obj_darkcontroller_slash_Draw_0_gml_385_0");
|
|
424
|
var coldness_amount = clamp(47 + (global.flag[925 iceshocks] * 7), 47, 100);
|
|
425
|
draw_text(xx + 100, ch_y[3], string_hash_to_newline(stringsetloc(Coldness "Coldness ", "obj_darkcontroller_slash_Draw_0_gml_388_0"
)));
|
|
426
|
draw_item_icon(xx + 74, ch_y[3] + 6, 17);
|
|
427
|
draw_text(xx + 230, ch_y[3], string_hash_to_newline(coldness_amount));
|
|
428
|
draw_text_transformed(xx + 100, ch_y[4], string_hash_to_newline(stringsetloc(Boldness"Boldness", "obj_darkcontroller_slash_Draw_0_gml_391_0"
)), langopt(0.8, 1), 1, 0);
|
|
429
|
draw_item_icon(xx + 74, ch_y[4] + 6, 16);
|
|
430
|
var boldness_amount = min(-12 + ((global.plot - 70) * 3), 100);
|
|
431
|
draw_text(xx + 230, ch_y[4], string_hash_to_newline(boldness_amount));
|
|
432
|
}
|
|
433
|
draw_text(xx + 320, yy + 105, string_hash_to_newline(char_desc));
|
|
434
|
var guts_xoff = langopt(0, 16);
|
|
435
|
for (i = 0; i < guts_amount; i += 1)
|
|
436
|
draw_item_icon(xx + 190 + (i * 20) + guts_xoff, ch_y[5] + 6, 9);
|
|
437
|
atsum = global.at[global.char[coord]] + global.itemat[global.char[coord]][0] + global.itemat[global.char[coord]][1] + global.itemat[global.char[coord]][2];
|
|
438
|
dfsum = global.df[global.char[coord]] + global.itemdf[global.char[coord]][0] + global.itemdf[global.char[coord]][1] + global.itemdf[global.char[coord]][2];
|
|
439
|
magsum = global.mag[global.char[coord]] + global.itemmag[global.char[coord]][0] + global.itemmag[global.char[coord]][1] + global.itemmag[global.char[coord]][2];
|
|
440
|
grazesum = global.grazeamt;
|
|
441
|
sizesum = global.grazesize;
|
|
442
|
for (i = 0; i < 3; i += 1)
|
|
443
|
{
|
|
444
|
for (j = 0; j < 3; j += 1)
|
|
445
|
{
|
|
446
|
if (global.char[i] != 0)
|
|
447
|
{
|
|
448
|
grazesum += global.itemgrazeamt[global.char[i]][j];
|
|
449
|
sizesum += global.itemgrazesize[global.char[i]][j];
|
|
450
|
}
|
|
451
|
}
|
|
452
|
}
|
|
453
|
draw_text(xx + 230, ch_y[0], string_hash_to_newline(floor(atsum)));
|
|
454
|
draw_text(xx + 230, ch_y[1], string_hash_to_newline(floor(dfsum)));
|
|
455
|
draw_text(xx + 230, ch_y[2], string_hash_to_newline(floor(magsum)));
|
|
456
|
var spell_xoff = langopt(0, -10);
|
|
457
|
for (i = 0; i < 6; i += 1)
|
|
458
|
{
|
|
459
|
if (global.spell[charcoord][i] > 0)
|
|
460
|
{
|
|
461
|
g = 0;
|
|
462
|
if (global.spellusable[charcoord][i] == 0)
|
|
463
|
g = 1;
|
|
464
|
if (global.spellcost[charcoord][i] > global.tension)
|
|
465
|
g = 1;
|
|
466
|
if (g == 0)
|
|
467
|
draw_set_color(c_white);
|
|
468
|
if (g == 1)
|
|
469
|
draw_set_color(c_gray);
|
|
470
|
if (global.lang == "ja")
|
|
471
|
draw_text_width(xx + 310, ch_y[i], string_hash_to_newline(string(round((global.spellcost[charcoord][i] / global.maxtension) * 100)) + "%"), 42);
|
|
472
|
else
|
|
473
|
draw_text(xx + 340, ch_y[i], string_hash_to_newline(string(round((global.spellcost[charcoord][i] / global.maxtension) * 100)) + "%"));
|
|
474
|
if (global.lang == "ja")
|
|
475
|
draw_text(xx + 390 + spell_xoff, ch_y[i], string_hash_to_newline(global.spellname[charcoord][i]));
|
|
476
|
else
|
|
477
|
draw_text(xx + 410 + spell_xoff, ch_y[i], string_hash_to_newline(global.spellname[charcoord][i]));
|
|
478
|
}
|
|
479
|
}
|
|
480
|
if (global.submenu == 21)
|
|
481
|
{
|
|
482
|
var jpxoff = 0;
|
|
483
|
if (global.lang == "ja")
|
|
484
|
jpxoff = 40;
|
|
485
|
draw_sprite(spr_heart, 0, xx + 320 + jpxoff, yy + 240 + (global.submenucoord[21] * 25));
|
|
486
|
}
|
|
487
|
if (deschaver == 1)
|
|
488
|
{
|
|
489
|
draw_set_color(c_white);
|
|
490
|
draw_text(xx + 20, yy + 10, string_hash_to_newline(global.spelldesc[charcoord][global.submenucoord[21]]));
|
|
491
|
}
|
|
492
|
xx = memxx;
|
|
493
|
}
|
|
494
|
if (global.menuno == 2)
|
|
495
|
{
|
|
496
|
var memxx = xx;
|
|
497
|
if (global.lang == "ja")
|
|
498
|
xx -= 22;
|
|
499
|
draw_set_color(c_black);
|
|
500
|
var ch_vspace = langopt(27, 28);
|
|
501
|
var ln_xoff1 = langopt(580, 626);
|
|
502
|
var ln_xoff2 = langopt(590, 636);
|
|
503
|
draw_rectangle(xx + 60, yy + 90, xx + ln_xoff1, yy + 410, false);
|
|
504
|
scr_darkboxscr_darkbox
function scr_darkbox(arg0, arg1, arg2, arg3)
{
cur_jewel += 1;
textbox_width = arg2 - arg0 - 63;
if (textbox_width < 0)
textbox_width = 0;
textbox_height = arg3 - arg1 - 63;
if (textbox_height < 0)
textbox_height = 0;
if (textbox_width > 0)
{
draw_sprite_stretched(spr_textbox_top, 0, arg0 + 32, arg1, textbox_width, 32);
draw_sprite_ext(spr_textbox_top, 0, arg0 + 32, arg3 + 1, textbox_width, -2, 0, c_white, 1);
}
if (textbox_height > 0)
{
draw_sprite_ext(spr_textbox_left, 0, arg2 + 1, arg1 + 32, -2, textbox_height, 0, c_white, 1);
draw_sprite_ext(spr_textbox_left, 0, arg0, arg1 + 32, 2, textbox_height, 0, c_white, 1);
}
if (global.flag[8 simplify_vfx] == 0)
{
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
else
{
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
}
(xx + 50, yy + 80, xx + ln_xoff2, yy + 420);
|
|
505
|
draw_set_color(c_white);
|
|
506
|
draw_rectangle(xx + 270, yy + 91, xx + 275, yy + 91 + 135, false);
|
|
507
|
var _lang = (global.lang == "en") ? 0 : 1;
|
|
508
|
var __off = _lang ? 0 : -4;
|
|
509
|
var spr = _spr_dmenu_captions;
|
|
510
|
draw_rectangle(xx + 59, yy + 221, xx + langopt(584, 628) + __off, yy + 221 + 5, false);
|
|
511
|
draw_rectangle(xx + 323, yy + 221, xx + 323 + 5, yy + 221 + 190, false);
|
|
512
|
draw_sprite_ext(spr, 0, xx + 118, yy + 86, 2, 2, 0, c_white, 1);
|
|
513
|
draw_sprite_ext(spr, 1, xx + 376, yy + 86, 2, 2, 0, c_white, 1);
|
|
514
|
if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2)
|
|
515
|
draw_sprite_ext(spr, 2, xx + 372, yy + 216, 2, 2, 0, c_white, 1);
|
|
516
|
else
|
|
517
|
draw_sprite_ext(spr, 3, xx + 372, yy + 216, 2, 2, 0, c_white, 1);
|
|
518
|
draw_sprite_ext(spr, 4, xx + 116, yy + 216, 2, 2, 0, c_white, 1);
|
|
519
|
coord = global.submenucoord[10];
|
|
520
|
charcoord = global.char[coord];
|
|
521
|
menusiner += 1;
|
|
522
|
draw_set_color(c_white);
|
|
523
|
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");
|
|
524
|
var charname_xoff = langopt(0, -25);
|
|
525
|
draw_text(xx + 135 + charname_xoff, yy + 107, string_hash_to_newline(global.charname[charcoord]));
|
|
526
|
for (i = 0; i < 3; i += 1)
|
|
527
|
{
|
|
528
|
chosen = 0.4;
|
|
529
|
if (i == coord)
|
|
530
|
chosen = 1;
|
|
531
|
draw_sprite_ext(spr_equipchar_ch2, global.char[i], 90 + xx + (i * 50), 160 + yy, 2, 2, 0, c_white, chosen);
|
|
532
|
}
|
|
533
|
if (global.submenu == 10)
|
|
534
|
draw_sprite(spr_heart_harrows, menusiner / 20, 100 + xx + (coord * 50), 142 + yy);
|
|
535
|
if (global.submenu != 11)
|
|
536
|
{
|
|
537
|
bicon = charcoord - 1;
|
|
538
|
if (charcoord == 4)
|
|
539
|
bicon = 5;
|
|
540
|
draw_sprite_ext(spr_dmenu_equip, bicon, xx + 302, yy + 108, 2, 2, 0, c_white, 1);
|
|
541
|
draw_sprite_ext(spr_dmenu_equip, 3, xx + 302, yy + 142, 2, 2, 0, c_white, 1);
|
|
542
|
draw_sprite_ext(spr_dmenu_equip, 4, xx + 302, yy + 172, 2, 2, 0, c_white, 1);
|
|
543
|
}
|
|
544
|
if (global.submenu == 11)
|
|
545
|
{
|
|
546
|
bicon = charcoord - 1;
|
|
547
|
if (charcoord == 4)
|
|
548
|
bicon = 5;
|
|
549
|
if (global.submenucoord[11] == 0)
|
|
550
|
draw_sprite(spr_heart, 0, xx + 308, yy + 122);
|
|
551
|
else
|
|
552
|
draw_sprite_ext(spr_dmenu_equip, bicon, xx + 302, yy + 108, 2, 2, 0, c_white, 1);
|
|
553
|
if (global.submenucoord[11] == 1)
|
|
554
|
draw_sprite(spr_heart, 0, xx + 308, yy + 152);
|
|
555
|
else
|
|
556
|
draw_sprite_ext(spr_dmenu_equip, 3, xx + 302, yy + 142, 2, 2, 0, c_white, 1);
|
|
557
|
if (global.submenucoord[11] == 2)
|
|
558
|
draw_sprite(spr_heart, 0, xx + 308, yy + 182);
|
|
559
|
else
|
|
560
|
draw_sprite_ext(spr_dmenu_equip, 4, xx + 302, yy + 172, 2, 2, 0, c_white, 1);
|
|
561
|
}
|
|
562
|
if (charweaponname[charcoord] != " ")
|
|
563
|
{
|
|
564
|
draw_text(xx + 365, yy + 112, string_hash_to_newline(charweaponname[charcoord]));
|
|
565
|
draw_item_icon(xx + 343, yy + 118, charweaponicon[charcoord]);
|
|
566
|
}
|
|
567
|
else
|
|
568
|
{
|
|
569
|
draw_set_color(c_dkgray);
|
|
570
|
draw_text(xx + 365, yy + 112, string_hash_to_newline(stringsetloc((Nothing)"(Nothing)", "obj_darkcontroller_slash_Draw_0_gml_453_0"
)));
|
|
571
|
draw_set_color(c_white);
|
|
572
|
}
|
|
573
|
if (global.chararmor1[charcoord] != 0)
|
|
574
|
{
|
|
575
|
draw_text(xx + 365, yy + 142, string_hash_to_newline(chararmor1name[charcoord]));
|
|
576
|
draw_item_icon(xx + 343, yy + 148, chararmor1icon[charcoord]);
|
|
577
|
}
|
|
578
|
else
|
|
579
|
{
|
|
580
|
draw_set_color(c_dkgray);
|
|
581
|
draw_text(xx + 365, yy + 142, string_hash_to_newline(stringsetloc((Nothing)"(Nothing)", "obj_darkcontroller_slash_Draw_0_gml_465_0"
)));
|
|
582
|
draw_set_color(c_white);
|
|
583
|
}
|
|
584
|
if (global.chararmor2[charcoord] != 0)
|
|
585
|
{
|
|
586
|
draw_text(xx + 365, yy + 172, string_hash_to_newline(chararmor2name[charcoord]));
|
|
587
|
draw_item_icon(xx + 343, yy + 178, chararmor2icon[charcoord]);
|
|
588
|
}
|
|
589
|
else
|
|
590
|
{
|
|
591
|
draw_set_color(c_dkgray);
|
|
592
|
draw_text(xx + 365, yy + 172, string_hash_to_newline(stringsetloc((Nothing)"(Nothing)", "obj_darkcontroller_slash_Draw_0_gml_477_0"
)));
|
|
593
|
draw_set_color(c_white);
|
|
594
|
}
|
|
595
|
var eq_xoff = langopt(0, -6);
|
|
596
|
if (global.submenucoord[11] == 0)
|
|
597
|
{
|
|
598
|
j = 0;
|
|
599
|
for (i = pagemax[0]; i < (pagemax[0] + 6); i += 1)
|
|
600
|
{
|
|
601
|
g = 0;
|
|
602
|
if (charcoord == 1 && weaponchar1[i] == 0)
|
|
603
|
g = 1;
|
|
604
|
if (charcoord == 2 && weaponchar2[i] == 0)
|
|
605
|
g = 1;
|
|
606
|
if (charcoord == 3 && weaponchar3[i] == 0)
|
|
607
|
g = 1;
|
|
608
|
if (charcoord == 4 && weaponchar4[i] == 0)
|
|
609
|
g = 1;
|
|
610
|
if (g == 0)
|
|
611
|
draw_set_color(c_white);
|
|
612
|
if (g == 1)
|
|
613
|
draw_set_color(c_gray);
|
|
614
|
draw_item_icon(xx + 364 + eq_xoff, yy + 236 + (j * ch_vspace), weaponicon[i]);
|
|
615
|
if (global.weapon[i] != 0)
|
|
616
|
{
|
|
617
|
draw_text(xx + 384 + eq_xoff, yy + 230 + (j * ch_vspace), string_hash_to_newline(weaponname[i]));
|
|
618
|
}
|
|
619
|
else
|
|
620
|
{
|
|
621
|
draw_set_color(c_dkgray);
|
|
622
|
draw_text(xx + 384 + eq_xoff, yy + 230 + (j * ch_vspace), string_hash_to_newline(stringsetloc(---------"---------", "obj_darkcontroller_slash_Draw_0_gml_585_0"
)));
|
|
623
|
}
|
|
624
|
j += 1;
|
|
625
|
}
|
|
626
|
}
|
|
627
|
if (global.submenucoord[11] == 1 || global.submenucoord[11] == 2)
|
|
628
|
{
|
|
629
|
j = 0;
|
|
630
|
for (i = pagemax[1]; i < (6 + pagemax[1]); i += 1)
|
|
631
|
{
|
|
632
|
g = 0;
|
|
633
|
if (charcoord == 1 && armorchar1[i] == 0)
|
|
634
|
g = 1;
|
|
635
|
if (charcoord == 2 && armorchar2[i] == 0)
|
|
636
|
g = 1;
|
|
637
|
if (charcoord == 3 && armorchar3[i] == 0)
|
|
638
|
g = 1;
|
|
639
|
if (charcoord == 4 && armorchar4[i] == 0)
|
|
640
|
g = 1;
|
|
641
|
if (g == 0)
|
|
642
|
draw_set_color(c_white);
|
|
643
|
if (g == 1)
|
|
644
|
draw_set_color(c_gray);
|
|
645
|
draw_item_icon(xx + 364, yy + 236 + (j * ch_vspace), armoricon[i]);
|
|
646
|
if (global.armor[i] != 0)
|
|
647
|
{
|
|
648
|
draw_text(xx + 384, yy + 230 + (j * ch_vspace), string_hash_to_newline(armorname[i]));
|
|
649
|
}
|
|
650
|
else
|
|
651
|
{
|
|
652
|
draw_set_color(c_dkgray);
|
|
653
|
draw_text(xx + 384, yy + 230 + (j * ch_vspace), string_hash_to_newline(stringsetloc(---------"---------", "obj_darkcontroller_slash_Draw_0_gml_609_0"
)));
|
|
654
|
}
|
|
655
|
j += 1;
|
|
656
|
}
|
|
657
|
}
|
|
658
|
if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14)
|
|
659
|
{
|
|
660
|
var __equipmenumax = 47;
|
|
661
|
var scroll_xoff = langopt(0, 50);
|
|
662
|
if (global.submenu == 12)
|
|
663
|
pm = 0;
|
|
664
|
else
|
|
665
|
pm = 1;
|
|
666
|
draw_sprite(spr_heart, 0, xx + 344 + eq_xoff, yy + 240 + ((global.submenucoord[global.submenu] - pagemax[pm]) * 27));
|
|
667
|
draw_set_color(c_dkgray);
|
|
668
|
draw_rectangle(xx + 555 + scroll_xoff, yy + 260, xx + 560 + scroll_xoff, yy + 263 + 115, false);
|
|
669
|
draw_set_color(c_white);
|
|
670
|
draw_rectangle(xx + 555 + scroll_xoff, (yy + 260 + (pagemax[pm] * 2.738095238095238)) - 1, xx + 560 + scroll_xoff, yy + 263 + (pagemax[pm] * 2.738095238095238) + 1, false);
|
|
671
|
if (pagemax[pm] > 0)
|
|
672
|
draw_sprite_ext(spr_morearrow, 0, xx + 551 + scroll_xoff, (yy + 250) - (sin(cur_jewel / 12) * 3), 1, -1, 0, c_white, 1);
|
|
673
|
if ((5 + pagemax[pm]) < __equipmenumax)
|
|
674
|
draw_sprite_ext(spr_morearrow, 0, xx + 551 + scroll_xoff, yy + 385 + (sin(cur_jewel / 12) * 3), 1, 1, 0, c_white, 1);
|
|
675
|
}
|
|
676
|
draw_set_color(c_white);
|
|
677
|
var descoff = (global.lang == "en") ? 0 : 20;
|
|
678
|
var txt = "";
|
|
679
|
if (global.submenu == 11)
|
|
680
|
{
|
|
681
|
if (global.submenucoord[11] == 0)
|
|
682
|
txt = charweapondesc[charcoord];
|
|
683
|
if (global.submenucoord[11] == 1)
|
|
684
|
txt = chararmor1desc[charcoord];
|
|
685
|
if (global.submenucoord[11] == 2)
|
|
686
|
txt = chararmor2desc[charcoord];
|
|
687
|
}
|
|
688
|
if (global.submenu == 12)
|
|
689
|
txt = weapondesc[global.submenucoord[12]];
|
|
690
|
if (global.submenu == 13 || global.submenu == 14)
|
|
691
|
txt = armordesc[global.submenucoord[global.submenu]];
|
|
692
|
if (txt != "")
|
|
693
|
draw_text(xx + 20 + descoff, yy + 10, string_hash_to_newline(txt));
|
|
694
|
draw_set_color(c_white);
|
|
695
|
draw_text(xx + 100, yy + 230 + (ch_vspace * 0), string_hash_to_newline(stringsetloc(Attack: "Attack: ", "obj_darkcontroller_slash_Draw_0_gml_586_0"
)));
|
|
696
|
draw_item_icon(xx + 74, yy + 236 + (ch_vspace * 0), 1);
|
|
697
|
draw_text(xx + 100, yy + 230 + (ch_vspace * 1), string_hash_to_newline(stringsetloc(Defense: "Defense: ", "obj_darkcontroller_slash_Draw_0_gml_587_0"
)));
|
|
698
|
draw_item_icon(xx + 74, yy + 236 + (ch_vspace * 1), 4);
|
|
699
|
draw_text(xx + 100, yy + 230 + (ch_vspace * 2), string_hash_to_newline(stringsetloc(Magic: "Magic: ", "obj_darkcontroller_slash_Draw_0_gml_588_0"
)));
|
|
700
|
draw_item_icon(xx + 74, yy + 236 + (ch_vspace * 2), 5);
|
|
701
|
atsum = global.at[global.char[coord]] + global.itemat[global.char[coord]][0] + global.itemat[global.char[coord]][1] + global.itemat[global.char[coord]][2];
|
|
702
|
dfsum = global.df[global.char[coord]] + global.itemdf[global.char[coord]][0] + global.itemdf[global.char[coord]][1] + global.itemdf[global.char[coord]][2];
|
|
703
|
magsum = global.mag[global.char[coord]] + global.itemmag[global.char[coord]][0] + global.itemmag[global.char[coord]][1] + global.itemmag[global.char[coord]][2];
|
|
704
|
atsum = floor(atsum);
|
|
705
|
dfsum = floor(dfsum);
|
|
706
|
magsum = floor(magsum);
|
|
707
|
grazesum = global.grazeamt;
|
|
708
|
sizesum = global.grazesize;
|
|
709
|
for (i = 0; i < 3; i += 1)
|
|
710
|
{
|
|
711
|
for (j = 0; j < 3; j += 1)
|
|
712
|
{
|
|
713
|
if (global.char[i] != 0)
|
|
714
|
{
|
|
715
|
grazesum += global.itemgrazeamt[global.char[i]][j];
|
|
716
|
sizesum += global.itemgrazesize[global.char[i]][j];
|
|
717
|
}
|
|
718
|
}
|
|
719
|
}
|
|
720
|
if (global.submenu == 12 || global.submenu == 13 || global.submenu == 14)
|
|
721
|
{
|
|
722
|
cur = global.submenucoord[global.submenu];
|
|
723
|
g = 0;
|
|
724
|
if (global.submenu == 12)
|
|
725
|
{
|
|
726
|
if (charcoord == 1 && weaponchar1[cur] == 0)
|
|
727
|
g = 1;
|
|
728
|
if (charcoord == 2 && weaponchar2[cur] == 0)
|
|
729
|
g = 1;
|
|
730
|
if (charcoord == 3 && weaponchar3[cur] == 0)
|
|
731
|
g = 1;
|
|
732
|
if (charcoord == 4 && weaponchar4[cur] == 0)
|
|
733
|
g = 1;
|
|
734
|
}
|
|
735
|
if (global.submenu == 13 || global.submenu == 14)
|
|
736
|
{
|
|
737
|
if (charcoord == 1 && armorchar1[cur] == 0)
|
|
738
|
g = 1;
|
|
739
|
if (charcoord == 2 && armorchar2[cur] == 0)
|
|
740
|
g = 1;
|
|
741
|
if (charcoord == 3 && armorchar3[cur] == 0)
|
|
742
|
g = 1;
|
|
743
|
if (charcoord == 4 && armorchar4[cur] == 0)
|
|
744
|
g = 1;
|
|
745
|
}
|
|
746
|
_abilitytext[0] = charweaponability[charcoord];
|
|
747
|
_abilitytext[1] = chararmor1ability[charcoord];
|
|
748
|
_abilitytext[2] = chararmor2ability[charcoord];
|
|
749
|
_abilitycolor[0] = 4210752;
|
|
750
|
_abilitycolor[1] = 4210752;
|
|
751
|
_abilitycolor[2] = 4210752;
|
|
752
|
_abilityicon[0] = charweaponabilityicon[charcoord];
|
|
753
|
_abilityicon[1] = chararmor1abilityicon[charcoord];
|
|
754
|
_abilityicon[2] = chararmor2abilityicon[charcoord];
|
|
755
|
if (g == 0 && global.submenu == 12)
|
|
756
|
{
|
|
757
|
atup = weaponat[cur] - global.itemat[charcoord][0];
|
|
758
|
dfup = weapondf[cur] - global.itemdf[charcoord][0];
|
|
759
|
magup = weaponmag[cur] - global.itemmag[charcoord][0];
|
|
760
|
styleup = weaponstyle[cur];
|
|
761
|
grazeup = weapongrazeamt[cur] - global.itemgrazeamt[charcoord][0];
|
|
762
|
sizeup = weapongrazesize[cur] - global.itemgrazesize[charcoord][0];
|
|
763
|
_abilitycolor[0] = 16777215;
|
|
764
|
_abilityicon[0] = weaponabilityicon[cur];
|
|
765
|
if (weaponability[cur] != _abilitytext[0])
|
|
766
|
{
|
|
767
|
_abilitycolor[0] = 65535;
|
|
768
|
if (weaponability[cur] == " ")
|
|
769
|
_abilitycolor[0] = 255;
|
|
770
|
}
|
|
771
|
_abilitytext[0] = weaponability[cur];
|
|
772
|
draw_set_color(c_white);
|
|
773
|
var atupsign = "";
|
|
774
|
if (atup > 0)
|
|
775
|
{
|
|
776
|
draw_set_color(c_yellow);
|
|
777
|
atupsign = "+";
|
|
778
|
}
|
|
779
|
if (atup < 0)
|
|
780
|
draw_set_color(c_red);
|
|
781
|
var s1_string = langopt(string(atsum + atup) + "(" + atupsign + string(atup) + ")", string(atsum + atup));
|
|
782
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 0), string(s1_string));
|
|
783
|
draw_set_color(c_white);
|
|
784
|
if (dfup > 0)
|
|
785
|
draw_set_color(c_yellow);
|
|
786
|
if (dfup < 0)
|
|
787
|
draw_set_color(c_red);
|
|
788
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 1), string(dfsum + dfup));
|
|
789
|
draw_set_color(c_white);
|
|
790
|
if (magup > 0)
|
|
791
|
draw_set_color(c_yellow);
|
|
792
|
if (magup < 0)
|
|
793
|
draw_set_color(c_red);
|
|
794
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 2), string(magsum + magup));
|
|
795
|
}
|
|
796
|
if (g == 0)
|
|
797
|
{
|
|
798
|
if (global.submenu == 13 || global.submenu == 14)
|
|
799
|
{
|
|
800
|
arno = global.submenu - 12;
|
|
801
|
atup = armorat[cur] - global.itemat[charcoord][arno];
|
|
802
|
dfup = armordf[cur] - global.itemdf[charcoord][arno];
|
|
803
|
magup = armormag[cur] - global.itemmag[charcoord][arno];
|
|
804
|
grazeup = armorgrazeamt[cur] - global.itemgrazeamt[charcoord][arno];
|
|
805
|
sizeup = armorgrazesize[cur] - global.itemgrazesize[charcoord][arno];
|
|
806
|
_abilitycolor[arno] = 16777215;
|
|
807
|
_abilityicon[arno] = armorabilityicon[cur];
|
|
808
|
if (armorability[cur] != _abilitytext[arno])
|
|
809
|
{
|
|
810
|
_abilitycolor[arno] = 65535;
|
|
811
|
if (armorability[cur] == " ")
|
|
812
|
_abilitycolor[arno] = 255;
|
|
813
|
}
|
|
814
|
_abilitytext[arno] = armorability[cur];
|
|
815
|
draw_set_color(c_white);
|
|
816
|
if (atup > 0)
|
|
817
|
draw_set_color(c_yellow);
|
|
818
|
if (atup < 0)
|
|
819
|
draw_set_color(c_red);
|
|
820
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 0), string(atsum + atup));
|
|
821
|
draw_set_color(c_white);
|
|
822
|
if (dfup > 0)
|
|
823
|
draw_set_color(c_yellow);
|
|
824
|
if (dfup < 0)
|
|
825
|
draw_set_color(c_red);
|
|
826
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 1), string(dfsum + dfup));
|
|
827
|
draw_set_color(c_white);
|
|
828
|
if (magup > 0)
|
|
829
|
draw_set_color(c_yellow);
|
|
830
|
if (magup < 0)
|
|
831
|
draw_set_color(c_red);
|
|
832
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 2), string(magsum + magup));
|
|
833
|
}
|
|
834
|
}
|
|
835
|
if (g == 1)
|
|
836
|
{
|
|
837
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 0), string(atsum));
|
|
838
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 1), string(dfsum));
|
|
839
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 2), string(magsum));
|
|
840
|
}
|
|
841
|
for (i = 0; i < 3; i += 1)
|
|
842
|
{
|
|
843
|
if (_abilitytext[i] == " ")
|
|
844
|
{
|
|
845
|
draw_set_color(_abilitycolor[i]);
|
|
846
|
draw_text(xx + 100, yy + 230 + (ch_vspace * (i + 3)), string_hash_to_newline(stringsetloc((No ability.)"(No ability.)", "obj_darkcontroller_slash_Draw_0_gml_766_0"
)));
|
|
847
|
}
|
|
848
|
else
|
|
849
|
{
|
|
850
|
draw_set_color(_abilitycolor[i]);
|
|
851
|
draw_text(xx + 100, yy + 230 + (ch_vspace * (i + 3)), string_hash_to_newline(_abilitytext[i]));
|
|
852
|
draw_set_color(c_orange);
|
|
853
|
draw_item_icon(xx + 74, yy + 238 + (ch_vspace * (i + 3)), _abilityicon[i]);
|
|
854
|
}
|
|
855
|
}
|
|
856
|
}
|
|
857
|
else
|
|
858
|
{
|
|
859
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 0), string(atsum));
|
|
860
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 1), string(dfsum));
|
|
861
|
draw_text(xx + 230, yy + 230 + (ch_vspace * 2), string(magsum));
|
|
862
|
_abilitytext[0] = charweaponability[charcoord];
|
|
863
|
_abilitytext[1] = chararmor1ability[charcoord];
|
|
864
|
_abilitytext[2] = chararmor2ability[charcoord];
|
|
865
|
_abilitycolor[0] = 16777215;
|
|
866
|
_abilitycolor[1] = 16777215;
|
|
867
|
_abilitycolor[2] = 16777215;
|
|
868
|
_abilityicon[0] = charweaponabilityicon[charcoord];
|
|
869
|
_abilityicon[1] = chararmor1abilityicon[charcoord];
|
|
870
|
_abilityicon[2] = chararmor2abilityicon[charcoord];
|
|
871
|
for (i = 0; i < 3; i += 1)
|
|
872
|
{
|
|
873
|
if (_abilitytext[i] == " ")
|
|
874
|
{
|
|
875
|
draw_set_color(c_dkgray);
|
|
876
|
draw_text(xx + 100, yy + 230 + (ch_vspace * (i + 3)), string_hash_to_newline(stringsetloc((No ability.)"(No ability.)", "obj_darkcontroller_slash_Draw_0_gml_803_0"
)));
|
|
877
|
}
|
|
878
|
else
|
|
879
|
{
|
|
880
|
draw_set_color(_abilitycolor[i]);
|
|
881
|
draw_text(xx + 100, yy + 230 + (ch_vspace * (i + 3)), string_hash_to_newline(_abilitytext[i]));
|
|
882
|
draw_set_color(c_orange);
|
|
883
|
draw_item_icon(xx + 74, yy + 238 + (ch_vspace * (i + 3)), _abilityicon[i]);
|
|
884
|
}
|
|
885
|
}
|
|
886
|
}
|
|
887
|
xx = memxx;
|
|
888
|
}
|
|
889
|
if (global.menuno == 1)
|
|
890
|
{
|
|
891
|
draw_set_color(c_black);
|
|
892
|
draw_rectangle(xx + langopt(70, 46), yy + 90, xx + langopt(570, 594), yy + 360, false);
|
|
893
|
scr_darkboxscr_darkbox
function scr_darkbox(arg0, arg1, arg2, arg3)
{
cur_jewel += 1;
textbox_width = arg2 - arg0 - 63;
if (textbox_width < 0)
textbox_width = 0;
textbox_height = arg3 - arg1 - 63;
if (textbox_height < 0)
textbox_height = 0;
if (textbox_width > 0)
{
draw_sprite_stretched(spr_textbox_top, 0, arg0 + 32, arg1, textbox_width, 32);
draw_sprite_ext(spr_textbox_top, 0, arg0 + 32, arg3 + 1, textbox_width, -2, 0, c_white, 1);
}
if (textbox_height > 0)
{
draw_sprite_ext(spr_textbox_left, 0, arg2 + 1, arg1 + 32, -2, textbox_height, 0, c_white, 1);
draw_sprite_ext(spr_textbox_left, 0, arg0, arg1 + 32, 2, textbox_height, 0, c_white, 1);
}
if (global.flag[8 simplify_vfx] == 0)
{
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, cur_jewel / 10, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
else
{
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg1, 2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg1, -2, 2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg0, arg3 + 1, 2, -2, 0, c_white, 1);
draw_sprite_ext(spr_textbox_topleft, 0, arg2 + 1, arg3 + 1, -2, -2, 0, c_white, 1);
}
}
(xx + langopt(60, 36), yy + 80, xx + langopt(580, 604), yy + 370);
|
|
894
|
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");
|
|
895
|
scr_itemnamescr_itemname
function scr_itemname()
{
for (i = 0; i < 12; i += 1)
{
itemid = global.item[i];
scr_itemnamelist();
}
}
();
|
|
896
|
if (global.submenu == 1)
|
|
897
|
draw_sprite(spr_heart, 0, xx + langopt(155, 134) + (120 * global.submenucoord[1]), yy + 120);
|
|
898
|
draw_set_color(c_white);
|
|
899
|
var itemoff = langopt([180, 300, 420], [158, 278, 398]);
|
|
900
|
if (global.submenu > 1)
|
|
901
|
{
|
|
902
|
if (global.submenucoord[1] == 0)
|
|
903
|
draw_set_color(c_orange);
|
|
904
|
else
|
|
905
|
draw_set_color(c_gray);
|
|
906
|
}
|
|
907
|
draw_text(xx + itemoff[0], yy + 110, string_hash_to_newline(stringsetloc(USE"USE", "obj_darkcontroller_slash_Draw_0_gml_837_0"
)));
|
|
908
|
if (global.submenu > 1)
|
|
909
|
{
|
|
910
|
if (global.submenucoord[1] == 1)
|
|
911
|
draw_set_color(c_orange);
|
|
912
|
else
|
|
913
|
draw_set_color(c_gray);
|
|
914
|
}
|
|
915
|
draw_text(xx + itemoff[1], yy + 110, string_hash_to_newline(stringsetloc(TOSS"TOSS", "obj_darkcontroller_slash_Draw_0_gml_839_0"
)));
|
|
916
|
if (global.submenu > 1)
|
|
917
|
{
|
|
918
|
if (global.submenucoord[1] == 2)
|
|
919
|
draw_set_color(c_orange);
|
|
920
|
else
|
|
921
|
draw_set_color(c_gray);
|
|
922
|
}
|
|
923
|
draw_text(xx + itemoff[2], yy + 110, string_hash_to_newline(stringsetloc(KEY"KEY", "obj_darkcontroller_slash_Draw_0_gml_841_0"
)));
|
|
924
|
if (global.submenu >= 2 && global.submenu <= 6 && global.submenu != 4)
|
|
925
|
{
|
|
926
|
sm = global.submenucoord[2];
|
|
927
|
yheart = (floor(sm / 2) * 30) + 162 + yy;
|
|
928
|
xheart = langopt(120, 72) + xx;
|
|
929
|
if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11)
|
|
930
|
xheart = langopt(330, 334) + xx;
|
|
931
|
if (global.submenu == 2 || global.submenu == 3)
|
|
932
|
draw_sprite(spr_heart, 0, xheart, yheart);
|
|
933
|
draw_set_color(c_white);
|
|
934
|
draw_text(xx + 20, yy + 10, string_hash_to_newline(itemdesc[global.submenucoord[2]]));
|
|
935
|
}
|
|
936
|
if (global.submenu == 7)
|
|
937
|
{
|
|
938
|
draw_set_color(c_white);
|
|
939
|
draw_text(xx + 20, yy + 10, string_hash_to_newline(stringsetsubloc("Really throw away the#~1?", global.itemname[global.submenucoord[2]], "obj_darkcontroller_slash_Draw_0_gml_956_0")));
|
|
940
|
}
|
|
941
|
if (global.submenucoord[1] != 2)
|
|
942
|
{
|
|
943
|
draw_set_color(bcolor);
|
|
944
|
for (i = 0; i < 6; i += 1)
|
|
945
|
{
|
|
946
|
draw_text(xx + langopt(148, 94), yy + 154 + (30 * i), string_hash_to_newline(global.itemname[i * 2]));
|
|
947
|
draw_text(xx + 358, yy + 154 + (30 * i), string_hash_to_newline(global.itemname[(i * 2) + 1]));
|
|
948
|
}
|
|
949
|
draw_set_color(c_white);
|
|
950
|
if (global.submenu == 1)
|
|
951
|
draw_set_color(c_gray);
|
|
952
|
for (i = 0; i < 6; i += 1)
|
|
953
|
{
|
|
954
|
draw_text(xx + langopt(146, 92), yy + 152 + (30 * i), string_hash_to_newline(global.itemname[i * 2]));
|
|
955
|
draw_text(xx + 356, yy + 152 + (30 * i), string_hash_to_newline(global.itemname[(i * 2) + 1]));
|
|
956
|
}
|
|
957
|
}
|
|
958
|
if (global.submenucoord[1] == 2)
|
|
959
|
{
|
|
960
|
scr_keyiteminfo_allscr_keyiteminfo_all
function scr_keyiteminfo_all()
{
for (i = 0; i < 12; i += 1)
{
keyitemid = global.keyitem[i];
keyitemname[i] = " ";
scr_keyiteminfo(keyitemid);
keyitemusable[i] = tempkeyitemusable;
keyitemname[i] = tempkeyitemname;
keyitemdesc[i] = tempkeyitemdesc;
}
}
();
|
|
961
|
draw_set_color(bcolor);
|
|
962
|
for (i = 0; i < 6; i += 1)
|
|
963
|
{
|
|
964
|
draw_text(xx + langopt(148, 94), yy + 154 + (30 * i), string_hash_to_newline(keyitemname[i * 2]));
|
|
965
|
draw_text(xx + 358, yy + 154 + (30 * i), string_hash_to_newline(keyitemname[(i * 2) + 1]));
|
|
966
|
}
|
|
967
|
draw_set_color(c_white);
|
|
968
|
if (global.submenu == 1)
|
|
969
|
draw_set_color(c_gray);
|
|
970
|
for (i = 0; i < 6; i += 1)
|
|
971
|
{
|
|
972
|
if (global.submenu == 4)
|
|
973
|
{
|
|
974
|
if (keyitemusable[i * 2] == 1)
|
|
975
|
draw_set_color(c_white);
|
|
976
|
else
|
|
977
|
draw_set_color(c_ltgray);
|
|
978
|
}
|
|
979
|
draw_text(xx + langopt(146, 92), yy + 152 + (30 * i), string_hash_to_newline(keyitemname[i * 2]));
|
|
980
|
if (global.submenu == 4)
|
|
981
|
{
|
|
982
|
if (keyitemusable[(i * 2) + 1] == 1)
|
|
983
|
draw_set_color(c_white);
|
|
984
|
else
|
|
985
|
draw_set_color(c_ltgray);
|
|
986
|
}
|
|
987
|
draw_text(xx + 356, yy + 152 + (30 * i), string_hash_to_newline(keyitemname[(i * 2) + 1]));
|
|
988
|
}
|
|
989
|
if (global.submenu == 4)
|
|
990
|
{
|
|
991
|
sm = global.submenucoord[4];
|
|
992
|
yheart = (floor(sm / 2) * 30) + 162 + yy;
|
|
993
|
xheart = langopt(120, 72) + xx;
|
|
994
|
if (sm == 1 || sm == 3 || sm == 5 || sm == 7 || sm == 9 || sm == 11)
|
|
995
|
xheart = langopt(330, 334) + xx;
|
|
996
|
draw_sprite(spr_heart, 0, xheart, yheart);
|
|
997
|
draw_set_color(c_white);
|
|
998
|
draw_text(xx + 20, yy + 10, string_hash_to_newline(keyitemdesc[global.submenucoord[4]]));
|
|
999
|
}
|
|
1000
|
}
|
|
1001
|
}
|
|
1002
|
|
|
1003
|
enum e__VW
|
|
1004
|
{
|
|
1005
|
XView,
|
|
1006
|
YView,
|
|
1007
|
WView,
|
|
1008
|
HView,
|
|
1009
|
Angle,
|
|
1010
|
HBorder,
|
|
1011
|
VBorder,
|
|
1012
|
HSpeed,
|
|
1013
|
VSpeed,
|
|
1014
|
Object,
|
|
1015
|
Visible,
|
|
1016
|
XPort,
|
|
1017
|
YPort,
|
|
1018
|
WPort,
|
|
1019
|
HPort,
|
|
1020
|
Camera,
|
|
1021
|
SurfaceID
|
|
1022
|
}
|