I’m planning a game where the gameplay is in between Ace Attorney Investigations and L. A. Noire, but in text. To give some context on how those games work, when you are investigating a location, you can look around and/or talk with someone to get more information.
Is anyone willing to take a look and streamline my coding? It’s about 250 lines long, and I did this in about two hours, so the script is awful. But this is how the code for the rest of the game will be structured like. Trying to keep it neat, too, so I can actually proofread it with eyeballs.
I don’t know if this is the most efficient way to use the code considering there are lots of repetitions (especially when interrogating a character, with the truth/doubt/accuse options, although not every piece of dialogue will have that when they’re obviously giving it to you straight - though doing it this way also means I can also customise the text every time if I wanted to), so any advice to streamline it would be appreciated!