Sleep. The triggers for Lyx are super simple:
First Appearance: Sleep after being in a fight.
Second appearance: Sleep after getting Claire.
The variable calls are extremely basic so there's no chance of the code getting confused or failing.
So long as you're using an official version, not applying translation patches or mods, and not letting anyone mess with your variables, everything will work correctly.