It is based on the Lesson/Break time whenever you hear the bell to ring
Viewing post in Angelica's Chaotic Hardcore School comments
Um... I see. But is it a glitch? If the times switched randomly, I can't imagine that I will be able to escape from brainiac Angelica. She is so fast.
By the way, I found new glitch(?) on language level. If I collect only all of language notebooks, I can collect math notebooks even after inputting all numbers to the elevator. When that, Lucas has been stopped and Angelica has disappeared so I can collect safely. Then, if I collect all of the notebooks, Angelica will appear in front of the elevator and I can get achievement of completing language level with math, even in this case.