>>253
if(prev_hp>threshold_lower && hp<=threshold_lower) hoge();
else if(prev_hp>threshold_higher && hp<=threshold_higher) fuga();