Question Pre and post heart event dialogue.



I'm making an NPC mod and at some point want to have heart events. I am wondering though, since the story they follow if I can have say on 10 hearts some dialogue, then when the event is triggered, the 10 heart dialogue changes afterwards to reflect it? I've been on the dialogue section in the wiki and it helped a lot with time and location based conversations but I don't know if I can do what I want to here.

I had maybe the idea to have the 10 heart dialogue be pre event, then when the 10 heart event is triggered it immediately bumps the hearts to 12 and that's when post event is talked about, but I don't know if I can do that either.

If neither is possible, then I'll have to think of something else.