Code: Select all
if val(health) = 7 then
call Lset(HP2, 1, 1) end if
if val(health) = 6 then
call Lset(HP3, 1, 1) end if
if val(health) = 5 then
call Lset(HP4, 1, 1) end if
if val(health) = 4 then
call Lset(HP5, 1, 1) end if
if val(health) = 3 then
call Lset(HP6, 1, 1) end if
if val(health) = 2 then
call Lset(HP7, 1, 1) end if