okay, I don't know why this is happening.
at the end of a script where a boss battle begins, the boss flag is unset, and another flag is set. the other flag works for the door to be blocked, but not for an entity to change dialogue. then when the boss battle ends, a third flag is set. after...