if (is_platmode) { var ymod = 0; if (d == 1) ymod = 155; var xxx = camerax() + 0; var yyy = cameray() + 0; var boxwidth_real = 592; var sidemod = d * 380; if (d == 1 && obj_darkcontroller.charcon == 1) { sidemod = sidemod - 44; d_add = 155; } else { d_add = 177; } draw_set_color(c_black); draw_set_alpha(0.7); d_rectangle(xxx, yyy + sidemod, xxx + 640, yyy + sidemod + 100, false); draw_set_alpha(1); draw_set_color(c_white); } if (canchoose == 1) { var drawstyle = 0; if (global.chapter == 3) { if (i_ex(obj_board_writer)) drawstyle = 1; } if (drawstyle == 0) scr_84_set_draw_font((dar == 1) ? "main" : "mainbig"); if (drawstyle == 1) draw_set_font(fnt_8bit); var textx = xx; var texty = yy; if (drawstyle == 0) { var memalign = { h: draw_get_halign(), v: draw_get_valign() }; if (neostyle == 1) { draw_set_halign(fa_center); draw_set_valign(fa_middle); } for (var i = 0; i < (choicetotal + 1); i += 1) { draw_set_color((mychoice == i) ? highlightCol : c_white); textx = textposx[i]; texty = textposy[i]; draw_text(textx, texty, string_hash_to_newline(global.choicemsg[i])); } draw_set_halign(memalign.h); draw_set_valign(memalign.v); draw_sprite_ext(heartSprite, 0, hx, hy, image_xscale, image_yscale, 0, heartCol, 1); } if (drawstyle == 1) { var midy = (yy + 60) - 1; var bhx = xx + 182; var bhy = midy - 8; draw_set_valign(fa_middle); draw_set_halign(fa_right); draw_text_ext(xx + 154, midy, string_hash_to_newline(global.choicemsg[0]), 18, 320); draw_set_halign(fa_left); draw_text_ext(xx + 230, midy, string_hash_to_newline(global.choicemsg[1]), 18, 320); if (choicetotal >= 2) { draw_set_halign(fa_center); draw_text_ext(xx + 192, (midy - 29) + 1, string_hash_to_newline(global.choicemsg[2]), 18, 320); } if (choicetotal >= 3) { draw_set_halign(fa_center); draw_text_ext(xx + 192, ((midy + 27) - 1) + 6, string_hash_to_newline(global.choicemsg[3]), 18, 320); } draw_set_halign(fa_left); draw_set_valign(fa_top); if (mychoice == 0) bhx = (xx + 154) - string_width(string_hash_to_newline(global.choicemsg[0])) - 20; if (mychoice == 1) bhx = (xx + 230) - 20; if (mychoice == 2) { bhx = (xx + 192) - round(string_width(string_hash_to_newline(global.choicemsg[2])) / 2) - 20; bhy = (midy - 38) + 1; } if (mychoice == 3) { bhx = (xx + 192) - round(string_width(string_hash_to_newline(global.choicemsg[3])) / 2) - 20; bhy = ((midy + 18) - 1) + 6; } draw_sprite_ext(heartSprite, 0, bhx, bhy, image_xscale, image_yscale, 0, heartCol, 1); } }