My guess at this would be making 10 actors and a variable for Health.
“If Health < 10 then Recycle” same with 9,8,7,6. For a potion/buff you could just add health and for a hit you could subtract health. For the actual drawing a small green block would suffice. Also why not have default green shit when what you’re doing seems to be the same.
Recent posts by Cyndaquil on Kongregate