It's a combination of dialogue choices as well as you get a point for looking at a particular item during the inputting the code sequence at the start. If you still have any issues, I can post a guide. :D