The dialogue code was the worst part of it everything else was literally just logic gates and simple variable functions