//--------------------------------------------------------------------------- // This is the L4Score.cs file. It contains functions for the Lesson 4 Test. //--------------------------------------------------------------------------- $L4points = 0; function WrongL4Guess() { //Pop-up the message for wrong choice Canvas.pushDialog(WrongAnswerGui); //Decrement the tracker variable, adding a wrong answer $L4points = $L4points - 8; } function InitializeL4Test() { //Sets the point value to 100 to avoid the "infinite tries on first question with no negative" problem $L4points = 100; //Sends the player to the next GUI Canvas.setContent(TAR02); } function EndMyTraining() { //This closes the PlayGui() disconnect(); }