You need to be on Krystal's Route to get it and then agree to go with her when she asks in the school hallway.