  modHPx = 0;
  if global.hpmode > 0
  and (global.mmlife >= 1)
  {
    alignhp = 1;
    mylife = global.hpmode * 2;
    if obj_mario.canHP >= 1
    {
        if (global.mmlife = 3)
            draw_sprite_ext(spr_mm_health_bar,mylife - 1,view_xview[0]+111+modHPx,view_yview[0]+alignhp,1,1,0,c_white,0.7);
        else
            draw_sprite_ext(spr_mm_health_bar,mylife,view_xview[0]+111+modHPx,view_yview[0]+alignhp,1,1,0,c_white,0.7);
        if (global.mmlife >= 2)
            draw_sprite_ext(spr_mm_health_bar,mylife - 1,view_xview[0]+123+modHPx,view_yview[0]+alignhp,1,1,0,c_white,0.7);
        else
            draw_sprite_ext(spr_mm_health_bar,mylife,view_xview[0]+123+modHPx,view_yview[0]+alignhp,1,1,0,c_white,0.7);
        draw_sprite_ext(spr_mm_health_bar,mylife - 1,view_xview[0]+135+modHPx,view_yview[0]+alignhp,1,1,0,c_white,0.7);
    }
  }
    pclife = global.playerhpmode;
    draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+99,view_yview[0]+14,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+107,view_yview[0]+14,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+115,view_yview[0]+14,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+123,view_yview[0]+14,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+131,view_yview[0]+14,1,1,0,c_white,0.7);
    if global.playerhp >= 5
        draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+99,view_yview[0]+14,1,1,0,c_white,0.7);
    if global.playerhp >= 4
        draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+107,view_yview[0]+14,1,1,0,c_white,0.7);
    if global.playerhp >= 3
        draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+115,view_yview[0]+14,1,1,0,c_white,0.7);
    if global.playerhp >= 2
        draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+123,view_yview[0]+14,1,1,0,c_white,0.7);
    if global.playerhp >= 1
        draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+131,view_yview[0]+14,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_coinbottom,1,view_xview[0]+270,view_yview[0]+24,1,1,0,c_white,1);
    draw_set_halign (fa_right);
    draw_set_font (fontscore);
    draw_text(view_xview[0] + 310,view_yview[0] + 24,string(global.Sheart));
    draw_set_halign(fa_left);
    if global.Sshot = 2 or global.Sshot = 3
        draw_sprite_ext(spr_mushroom,global.Sshot+4,view_xview[0]+254,view_yview[0]+24,1,1,0,c_white,1);
    draw_sprite_ext(spr_reservebox,2,view_xview[0]+147,view_yview[0]+2,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_reservebox,1,view_xview[0]+147,view_yview[0]+2,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_fireflower,global.Sreserve,view_xview[0]+155,view_yview[0]+10,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_reservebox,3,view_xview[0]+147,view_yview[0]+2,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_fireflower,global.Sweapon,view_xview[0]+149,view_yview[0]+4,1,1,0,c_white,0.7);
