So I unfortunately managed to break my code so badly that I had to face a hard decision, either give up, move to a new idea, or remake my current idea in Game Maker, but I am done.
It contains all the previous storyline, and 2 of the 3 minigames I planned, and Ive (hopefully) squashed all the bugs that there were.
Ive learnt a lot. My head hurts, AND I got sunburnt. Good luck to everyone!