    if global.hpmode > 0
    {
        draw_sprite_ext(spr_meter_vilehealth_back,1,view_xview[0]+112,view_yview[0]+8,1,1,0,c_white,1)
        myhealth = global.playerhp + global.mmlife
        if (myhealth >= 10)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+113,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 9)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+116,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 8)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+119,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 7)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+122,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 6)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+125,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 5)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+128,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 4)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+131,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 3)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+134,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 2)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+137,view_yview[0]+12,1,1,0,c_white,1)
        if (myhealth >= 1)
            draw_sprite_ext(spr_meter_vilehealth,1,view_xview[0]+140,view_yview[0]+12,1,1,0,c_white,1)
    }
    else
    {
        draw_sprite_ext(spr_meter_vilehealth_back,0,view_xview[0]+112,view_yview[0]+8,1,1,0,c_white,1)
        if (global.playerhp >= 4)
            draw_sprite_ext(spr_meter_vilehealth,0,view_xview[0]+122,view_yview[0]+12,1,1,0,c_white,1)
        if (global.playerhp >= 3)
            draw_sprite_ext(spr_meter_vilehealth,0,view_xview[0]+128,view_yview[0]+12,1,1,0,c_white,1)
        if (global.playerhp >= 2)
            draw_sprite_ext(spr_meter_vilehealth,0,view_xview[0]+134,view_yview[0]+12,1,1,0,c_white,1)
        if (global.playerhp >= 1)
            draw_sprite_ext(spr_meter_vilehealth,0,view_xview[0]+140,view_yview[0]+12,1,1,0,c_white,1)
    }
