In case anyone wants to take a look, here is the save/ load code, which I believe is causing the problem.
Loading (should be fairly self explanatory, but CARIDEN is the car last viewed in the dealership, CARIDENA-E are the identification numbers of each car you own in the garage, and ACCA-E and TOPSPA-E are their stats; CURRCASH and CURREXP are your current cash and EXP levels):
Code: sum(0)
sum(1,"DEALCAR","r"→A
If A=0
999999→CURRCASH
0→CARIDEN→CURREXP→CARIDENA→CARIDENB→CARIDENC→CARIDEND→CARIDENE→ACCA→TOPSPA→ACCB→TOPSPB→ACCC→TOPSPC→ACCD→TOPSPD→ACCE→TOPSPE
Else
sum(5,°CARIDEN,3,1,A)
sum(5,°CURRCASH,3,1,A)
sum(5,°CURREXP,3,1,A)
sum(5,°CARIDENA,3,1,A)
sum(5,°CARIDENB,3,1,A)
sum(5,°CARIDENC,3,1,A)
sum(5,°CARIDEND,3,1,A)
sum(5,°CARIDENE,3,1,A)
sum(5,°ACCA,3,1,A)
sum(5,°TOPSPA,3,1,A)
sum(5,°ACCB,3,1,A)
sum(5,°TOPSPB,3,1,A)
sum(5,°ACCC,3,1,A)
sum(5,°TOPSPC,3,1,A)
sum(5,°ACCD,3,1,A)
sum(5,°TOPSPD,3,1,A)
sum(5,°ACCE,3,1,A)
sum(5,°TOPSPE,3,1,A)
End
sum(0)
Saving (same things apply here):
Code: sum(0)
sum(1,"DEALCAR","w+"→A
If A≠0
sum(4,°CARIDEN,3,1,A)
sum(4,°CURRCASH,3,1,A)
sum(4,°CURREXP,3,1,A)
sum(4,°CARIDENA,3,1,A)
sum(4,°CARIDENB,3,1,A)
sum(4,°CARIDENC,3,1,A)
sum(4,°CARIDEND,3,1,A)
sum(4,°CARIDENE,3,1,A)
sum(4,°ACCA,3,1,A)
sum(4,°TOPSPA,3,1,A)
sum(4,°ACCB,3,1,A)
sum(4,°TOPSPB,3,1,A)
sum(4,°ACCC,3,1,A)
sum(4,°TOPSPC,3,1,A)
sum(4,°ACCD,3,1,A)
sum(4,°TOPSPD,3,1,A)
sum(4,°ACCE,3,1,A)
sum(4,°TOPSPE,3,1,A)
End
If anyone could help it would be much appreciated. The glitch is probably just something I overlooked. Thanks in advance.
EDIT- Now that I have some more time to work on this (assuming I don't submit it for CC22), maybe I'll just start over (keeping some stuff, though). The program in its current state has an infestation of bugs and takes up far too much space. So, I think that it might be time to start fresh, keeping clear goals in mind. What do you guys think?