Based on the information provided within the question it can be said that this is emphasized in the implementation intentions. This term refers to a self-regulatory strategy which places the when, where, and how on different situation towards goal-directed behavior. Such as is being described in the question above.
Erotomania which is defined as <span>a delusion in which a person (typically a woman) believes that
another person (typically of higher social status) is in love with them.</span>