sSubScrSuit
0
-1
-10
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
image_speed = 0.5;
halpha = 1;
targetx = x;
if (x < 160) fadedir = -1;
if (x > 160) fadedir = 1;
x += 90 * fadedir;
drawlines = 0;
suit = get_text("ItemsMenu", "Suits");
psuit = get_text("ItemsMenu", "PowerSuit");
vsuit = get_text("ItemsMenu", "VariaSuit");
gsuit = get_text("ItemsMenu", "GravitySuit");
1
603
7
0
0
-1
2
self
0
0
1
halpha -= 0.05;
if (halpha <= 0) halpha = 1;
if (oSubscreenMenu.fadeout == 0) {
if (x < targetx) x += 10;
if (x > targetx) x -= 10;
}
if (oSubscreenMenu.fadeout) hspeed = fadedir * 10;
if (oSubscreenMenu.active) {
drawlines = 1;
} else drawlines = 0;
1
603
7
0
0
-1
2
self
0
0
1
draw_sprite(sprite_index, -1, x, y);
draw_set_color(c_white);
draw_set_font(fontMenuTiny);
draw_set_alpha(1);
draw_sprite(sSubScrButton, global.currentsuit == 0, x - 28, y + 16);
draw_text(x - 20, y + 15 + oControl.subScrItemOffset, psuit);
if (global.item[5]) {
draw_sprite(sSubScrButton, global.currentsuit == 1, x - 28, y + 25);
draw_text(x - 20, y + 24 + oControl.subScrItemOffset, vsuit);
}
if (global.item[9]) {
draw_sprite(sSubScrButton, global.currentsuit == 2, x - 28, y + 34);
draw_text(x - 20, y + 33 + oControl.subScrItemOffset, gsuit);
}
draw_set_alpha(1);
draw_set_color(c_white);
if (drawlines) {
if (global.curropt == 0) {
draw_sprite_ext(sSubScrHilight, -1, x - 28, y + 16, 1, 1, 0, -1, halpha);
draw_line(x + 34, y + 18, x + 50, y + 18);
draw_line(x + 50, y + 18, oSubScrPlayer.x, oSubScrPlayer.y + 43);
draw_sprite_ext(sSubScrItem, -1, oSubScrPlayer.x, oSubScrPlayer.y + 43, 1, 1, 0, -1, 1);
}
if (global.curropt == 1) {
draw_sprite_ext(sSubScrHilight, -1, x - 28, y + 25, 1, 1, 0, -1, halpha);
draw_line(x + 34, y + 27, x + 50, y + 27);
draw_line(x + 50, y + 27, oSubScrPlayer.x, oSubScrPlayer.y + 43);
draw_sprite_ext(sSubScrItem, -1, oSubScrPlayer.x, oSubScrPlayer.y + 43, 1, 1, 0, -1, 1);
}
if (global.curropt == 2) {
draw_sprite_ext(sSubScrHilight, -1, x - 28, y + 34, 1, 1, 0, -1, halpha);
draw_line(x + 34, y + 36, x + 50, y + 36);
draw_line(x + 50, y + 36, oSubScrPlayer.x, oSubScrPlayer.y + 43);
draw_sprite_ext(sSubScrItem, -1, oSubScrPlayer.x, oSubScrPlayer.y + 43, 1, 1, 0, -1, 1);
}
}
draw_set_alpha(1);
draw_set_font(fontSubScr);
draw_set_halign(fa_left);
draw_set_color(c_black);
draw_text(x + 1 - 30, y + 4 - 1 + oControl.subScrHeaderOffset, suit);
//draw_text(x + 1 - 30, y + 4 - 63, "BEAM");
//draw_text(x + 1 - 30, y + 4 - 1, "MISC");
//draw_text(x + 1 - 30, y + 4 - 45, "BOOTS");
draw_set_color(c_white);
draw_text(x - 30, y + 3 - 1 + oControl.subScrHeaderOffset, suit);
//draw_text(x - 30, y + 3 - 63, "BEAM");
//draw_text(x - 30, y + 3 - 1, "MISC");
//draw_text(x - 30, y + 3 - 45, "BOOTS");
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0