Added a state variable. Not everyone triggers room change now, and the door are (almost) invincible too