quite interesting! My take is that this is an AI that has been malfunctioning but nevertheless tries to make Alex Happy? Did I understand correctly and it wanted to keep Alex staying but didn't succeeed? (at least I didn't!) so many questions..
Hey, fascinating to see someone discover this game I made years ago. You nailed it! You reached the end (all the endings are fairly sad) and did way better than most people! :)