anchor.diff:  			p.client.screen += mtext
   
   			if(isMana)
  -				Set(p.MP / (p.MMP + p.extraMMP), instant=1)
  +
  +				Set(clamp(p.MP / p.MMP + p.extraMMP, 0, 1), instant=1)
   				UpdateText(p.MP, p.MMP + p.extraMMP)
   			else
  -				Set(p.HP / (p.MHP + p.extraMHP), instant=1)
  +				Set(clamp(p.HP / (p.MHP + p.extraMHP), 0, 1), instant=1)
   				UpdateText(p.HP, p.MHP + p.extraMHP)
   
   		proc
  
positive.code: 	proc
  		Set(var/perc, mob/M, instant=0)
  			set waitfor = 0
  			var/newX     = ((perc - 1) * barSize - 1) / 2
  
  			var/matrix/m = matrix(perc, 0, newX, 0, 1, 0)
  
  
negative.code: 			p.client.screen += back
  
  			screen_loc = loc
  			p.client.screen += src
  
  			mtext = new
  