I don't like your usage of these `hungryNotified` and `sickNotified` variables. You may just if and only iff old health/hunger value was above 10 and its current value is below 10. Please reconsider your implementation.