<undefined> 0 -1 0 -1 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 menu_scale = 0.0; global.created_logo = false; global.total_frames = 0; global.flashing_msg = ""; draw_flashing_text = false; action_done = false; back_up = true; back_down = false; action = "game_end();"; up_action = "create_product_menu();"; alarm[0] = 10; draw_subimage = 0; 1 603 7 0 0 -1 2 self 0 0 1 global.flashing_msg = ""; 1 603 7 0 0 -1 2 self 0 0 1 if(draw_flashing_text) draw_flashing_text = false; else draw_flashing_text = true; if(global.flashing_msg != "" && alarm[1] <= 0){ alarm[1] = room_speed*5; } alarm[0] = 10; 1 603 7 0 0 -1 2 self 0 0 1 centerX = room_width/2; centerY = room_height/2; draw_set_font(fn_text); draw_set_color(c_white); draw_text_center(0,"Press 'ESC' to exit."); if(draw_flashing_text){ draw_text(centerX - (string_width(global.flashing_msg) / 2), room_height - (string_height(global.flashing_msg)), global.flashing_msg); } draw_sprite_ext(spr_menu,draw_subimage,centerX, centerY, menu_scale, menu_scale,0,c_white,255); if(back_up && menu_scale < 1.0) { menu_scale += 0.1; } else if(back_down && menu_scale >- 0.0) { menu_scale -= 0.1; } else if(back_down && menu_scale <= 0.00) { back_down = false; back_up = true; action_done = false; execute_string(action); } else { back_up = false; if(global.created_logo == false) { instance_create(centerX, -60, obj_universal_patcher); global.created_logo = true; } if(action_done == false) { execute_string(up_action); action_done = true; } } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116