if MrPersistant.customreserve = false
{
    draw_sprite_ext(spr_reservebox,0,view_xview[0]+147,view_yview[0]+2,1,1,0,c_white,0.7);
    scr_drawreserveitem(152,7,spr_mushroom,spr_fireflower,spr_hammersuit,spr_leaf,spr_tanookisuit,spr_spartansphere,spr_megamansuit,spr_suit_troop,spr_suit_demon,spr_suit_sega,spr_suit_blueshell);
}
if global.playerclass != 11
{
  if global.playerclass = 8
      modHPx = 24;
  else
      modHPx = 0;
  if global.playerhpmode >= 1 and global.playerhp > 0
  {
    pclife = global.playerhpmode;
    if global.playerhpmax >= 4
    {
        if (global.playerhp = 4)
            draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+99+modHPx,view_yview[0]+14,1,1,0,c_white,0.7);
        else
            draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+99+modHPx,view_yview[0]+14,1,1,0,c_white,0.7);
    }
    if global.playerhpmax >= 3
    {
        if (global.playerhp >= 3)
            draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+111+modHPx,view_yview[0]+14,1,1,0,c_white,0.7);
        else
            draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+111+modHPx,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+modHPx,view_yview[0]+14,1,1,0,c_white,0.7);
    else
        draw_sprite_ext(spr_mm_health_bar,pclife,view_xview[0]+123+modHPx,view_yview[0]+14,1,1,0,c_white,0.7);
    draw_sprite_ext(spr_mm_health_bar,pclife - 1,view_xview[0]+135+modHPx,view_yview[0]+14,1,1,0,c_white,0.7);
  }
  if global.hpmode > 0
  and (global.mmlife >= 1)
  {
    if global.playerhpmode >= 1
        alignhp = 1;
    else
        alignhp = 9;
    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);
    }
  }
}                