Reducing the amount of times the "function" command is called
posted 3 years ago
Hi, I'm new to this forum and I'm a beginner programming. Thus, I hope to have help in learning how to program. My question is I'm trying to change the game program below so that the function command is used much less. Below, the function command had been called about 20 times, and I'm trying to rearrange it and/or make it so that the function command be used just 5 times or less, or as minimal amount of times as possible (because too many function commands for me gets confusing and I'm just trying to simplify it more). Thus, I was wondering what to do. Thanks.