if (init == 1) { init = 2; input_timer = 0; } if (instance_exists(obj_heart)) { var presstext; if (obj_heart.color == 1) { if (con < 19) { presstext = stringsetloc("PRESS ", "obj_ch2_sceneex2_special_slash_Draw_0_gml_16_0"); if (!i_ex(obj_yheart_shot)) input_timer++; else input_timer = 0; } if (con >= 19) { presstext = stringsetloc("HOLD ", "obj_ch2_sceneex2_special_slash_Draw_0_gml_23_0"); var bigcheck = 0; with (obj_yheart_shot) { if (big == 1) bigcheck = 1; } if (obj_heart.z_hold >= 40) presstext = stringsetloc("RELEASE ", "obj_ch2_sceneex2_special_slash_Draw_0_gml_27_0"); if (bigcheck == 0) input_timer++; else input_timer = 0; } } if (input_timer >= 240) { draw_set_color(c_white); scr_84_set_draw_font("main"); if (global.is_console || obj_gamecontroller.gamepad_active) { if (global.lang == "en") { draw_set_alpha((sin(input_timer / 8) * 0.1) + 0.8); draw_sprite_ext(scr_getbuttonsprite(global.input_g[4], false), 0, obj_heart.x + 26, obj_heart.y - 26, 2, 2, 0, c_white, 1); draw_text(obj_heart.x - 30, obj_heart.y - 20, presstext); } else { draw_set_alpha((sin(input_timer / 8) * 0.1) + 0.8); draw_sprite_ext(scr_getbuttonsprite(global.input_g[4], false), 0, obj_heart.x - 26, obj_heart.y - 32, 2, 2, 0, c_white, 1); draw_text(obj_heart.x + 8, obj_heart.y - 26, presstext); } } else { var buttontext = stringsetsubloc("~1", scr_get_input_name(4), "obj_ch2_sceneex2_special_slash_Draw_0_gml_39_0"); draw_set_alpha((sin(input_timer / 8) * 0.1) + 0.8); draw_text(obj_heart.x - 30, obj_heart.y - 20, presstext + buttontext); } draw_set_alpha(1); } }