Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Change this and the other "score lines":
- if ((timescore < savedSN.abingotime1 || savedSN.abingotime1 == "-") && timescore != 0) {
- trace("Score 1");
- savedSN = { // Set the date the savedSN varible will have
- abingoname1:nameinput.text,
- abingoname2:savedSN.abingoname2,
- abingoname3:savedSN.abingoname3,
- abingoname4:savedSN.abingoname4,
- abingoname5:savedSN.abingoname5,
- abingoname6:savedSN.abingoname6,
- abingoname7:savedSN.abingoname7,
- abingoname8:savedSN.abingoname8,
- abingoname9:savedSN.abingoname9,
- abingoname10:savedSN.abingoname10,
- abingotime1:timescore,
- abingotime2:savedSN.abingotime2,
- abingotime3:savedSN.abingotime3,
- abingotime4:savedSN.abingotime4,
- abingotime5:savedSN.abingotime5,
- abingotime6:savedSN.abingotime6,
- abingotime7:savedSN.abingotime7,
- abingotime8:savedSN.abingotime8,
- abingotime9:savedSN.abingotime9,
- abingotime10:savedSN.abingotime10};
- soSavedScNa.data.nameScore = savedSN; // Set the data in the save file to the savedSN variable
- soSavedScNa.flush(); // Overwrite existing save file
- savebingo1.removeEventListener(MouseEvent.MOUSE_UP, saveScore);
- gotoAndStop(4); // Go to the start menu
- } ...
- To the change of this, then I think it should work:
- if ((timescore < savedSN.abingotime1 || savedSN.abingotime1 == "-") && timescore != 0) {
- trace("Score 1");
- savedSN = { // Set the date the savedSN varible will have
- abingoname1:nameinput.text,
- abingoname2:savedSN.abingoname1,
- abingoname3:savedSN.abingoname2,
- abingoname4:savedSN.abingoname3,
- abingoname5:savedSN.abingoname4,
- abingoname6:savedSN.abingoname5,
- abingoname7:savedSN.abingoname6,
- abingoname8:savedSN.abingoname7,
- abingoname9:savedSN.abingoname8,
- abingoname10:savedSN.abingoname9,
- abingotime1:timescore,
- abingotime2:savedSN.abingotime1,
- abingotime3:savedSN.abingotime2,
- abingotime4:savedSN.abingotime3,
- abingotime5:savedSN.abingotime4,
- abingotime6:savedSN.abingotime5,
- abingotime7:savedSN.abingotime6,
- abingotime8:savedSN.abingotime7,
- abingotime9:savedSN.abingotime8,
- abingotime10:savedSN.abingotime9};
- soSavedScNa.data.nameScore = savedSN; // Set the data in the save file to the savedSN variable
- soSavedScNa.flush(); // Overwrite existing save file
- savebingo1.removeEventListener(MouseEvent.MOUSE_UP, saveScore);
- gotoAndStop(4); // Go to the start menu
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement