Unbroke the game

Fixed NPC dialogue code