gdjs.GameCode = {};
gdjs.GameCode.GDButtonObjects1= [];
gdjs.GameCode.GDButtonObjects2= [];
gdjs.GameCode.GDButtonObjects3= [];
gdjs.GameCode.GDButtonObjects4= [];
gdjs.GameCode.GDScoreObjects1= [];
gdjs.GameCode.GDScoreObjects2= [];
gdjs.GameCode.GDScoreObjects3= [];
gdjs.GameCode.GDScoreObjects4= [];
gdjs.GameCode.GDSubmitButtonObjects1= [];
gdjs.GameCode.GDSubmitButtonObjects2= [];
gdjs.GameCode.GDSubmitButtonObjects3= [];
gdjs.GameCode.GDSubmitButtonObjects4= [];
gdjs.GameCode.GDSubmitObjects1= [];
gdjs.GameCode.GDSubmitObjects2= [];
gdjs.GameCode.GDSubmitObjects3= [];
gdjs.GameCode.GDSubmitObjects4= [];
gdjs.GameCode.GDUserNameInputBoxObjects1= [];
gdjs.GameCode.GDUserNameInputBoxObjects2= [];
gdjs.GameCode.GDUserNameInputBoxObjects3= [];
gdjs.GameCode.GDUserNameInputBoxObjects4= [];
gdjs.GameCode.GDUsernameInputPlaceholderObjects1= [];
gdjs.GameCode.GDUsernameInputPlaceholderObjects2= [];
gdjs.GameCode.GDUsernameInputPlaceholderObjects3= [];
gdjs.GameCode.GDUsernameInputPlaceholderObjects4= [];
gdjs.GameCode.GDUsernameInputTextObjects1= [];
gdjs.GameCode.GDUsernameInputTextObjects2= [];
gdjs.GameCode.GDUsernameInputTextObjects3= [];
gdjs.GameCode.GDUsernameInputTextObjects4= [];
gdjs.GameCode.GDUsernameInputObjects1= [];
gdjs.GameCode.GDUsernameInputObjects2= [];
gdjs.GameCode.GDUsernameInputObjects3= [];
gdjs.GameCode.GDUsernameInputObjects4= [];
gdjs.GameCode.GDleaderObjects1= [];
gdjs.GameCode.GDleaderObjects2= [];
gdjs.GameCode.GDleaderObjects3= [];
gdjs.GameCode.GDleaderObjects4= [];
gdjs.GameCode.GDmouseObjects1= [];
gdjs.GameCode.GDmouseObjects2= [];
gdjs.GameCode.GDmouseObjects3= [];
gdjs.GameCode.GDmouseObjects4= [];
gdjs.GameCode.GDparticle2Objects1= [];
gdjs.GameCode.GDparticle2Objects2= [];
gdjs.GameCode.GDparticle2Objects3= [];
gdjs.GameCode.GDparticle2Objects4= [];
gdjs.GameCode.GDparticleObjects1= [];
gdjs.GameCode.GDparticleObjects2= [];
gdjs.GameCode.GDparticleObjects3= [];
gdjs.GameCode.GDparticleObjects4= [];
gdjs.GameCode.GDscore_95markObjects1= [];
gdjs.GameCode.GDscore_95markObjects2= [];
gdjs.GameCode.GDscore_95markObjects3= [];
gdjs.GameCode.GDscore_95markObjects4= [];
gdjs.GameCode.GDviewObjects1= [];
gdjs.GameCode.GDviewObjects2= [];
gdjs.GameCode.GDviewObjects3= [];
gdjs.GameCode.GDviewObjects4= [];
gdjs.GameCode.GDvObjects1= [];
gdjs.GameCode.GDvObjects2= [];
gdjs.GameCode.GDvObjects3= [];
gdjs.GameCode.GDvObjects4= [];
gdjs.GameCode.GDdiscordObjects1= [];
gdjs.GameCode.GDdiscordObjects2= [];
gdjs.GameCode.GDdiscordObjects3= [];
gdjs.GameCode.GDdiscordObjects4= [];
gdjs.GameCode.GDlogoObjects1= [];
gdjs.GameCode.GDlogoObjects2= [];
gdjs.GameCode.GDlogoObjects3= [];
gdjs.GameCode.GDlogoObjects4= [];
gdjs.GameCode.GDbg_95objectObjects1= [];
gdjs.GameCode.GDbg_95objectObjects2= [];
gdjs.GameCode.GDbg_95objectObjects3= [];
gdjs.GameCode.GDbg_95objectObjects4= [];
gdjs.GameCode.GDindevObjects1= [];
gdjs.GameCode.GDindevObjects2= [];
gdjs.GameCode.GDindevObjects3= [];
gdjs.GameCode.GDindevObjects4= [];
gdjs.GameCode.GDcreatorObjects1= [];
gdjs.GameCode.GDcreatorObjects2= [];
gdjs.GameCode.GDcreatorObjects3= [];
gdjs.GameCode.GDcreatorObjects4= [];
gdjs.GameCode.GDborderObjects1= [];
gdjs.GameCode.GDborderObjects2= [];
gdjs.GameCode.GDborderObjects3= [];
gdjs.GameCode.GDborderObjects4= [];
gdjs.GameCode.GDinfo1Objects1= [];
gdjs.GameCode.GDinfo1Objects2= [];
gdjs.GameCode.GDinfo1Objects3= [];
gdjs.GameCode.GDinfo1Objects4= [];
gdjs.GameCode.GDlvlupObjects1= [];
gdjs.GameCode.GDlvlupObjects2= [];
gdjs.GameCode.GDlvlupObjects3= [];
gdjs.GameCode.GDlvlupObjects4= [];
gdjs.GameCode.GDlvlObjects1= [];
gdjs.GameCode.GDlvlObjects2= [];
gdjs.GameCode.GDlvlObjects3= [];
gdjs.GameCode.GDlvlObjects4= [];
gdjs.GameCode.GDlvlmarkObjects1= [];
gdjs.GameCode.GDlvlmarkObjects2= [];
gdjs.GameCode.GDlvlmarkObjects3= [];
gdjs.GameCode.GDlvlmarkObjects4= [];
gdjs.GameCode.GDdev_95give_95scoreObjects1= [];
gdjs.GameCode.GDdev_95give_95scoreObjects2= [];
gdjs.GameCode.GDdev_95give_95scoreObjects3= [];
gdjs.GameCode.GDdev_95give_95scoreObjects4= [];
gdjs.GameCode.GDdev_95give_95score_95textObjects1= [];
gdjs.GameCode.GDdev_95give_95score_95textObjects2= [];
gdjs.GameCode.GDdev_95give_95score_95textObjects3= [];
gdjs.GameCode.GDdev_95give_95score_95textObjects4= [];
gdjs.GameCode.GDdev_95take_95scoreObjects1= [];
gdjs.GameCode.GDdev_95take_95scoreObjects2= [];
gdjs.GameCode.GDdev_95take_95scoreObjects3= [];
gdjs.GameCode.GDdev_95take_95scoreObjects4= [];
gdjs.GameCode.GDdev_95take_95score_95textObjects1= [];
gdjs.GameCode.GDdev_95take_95score_95textObjects2= [];
gdjs.GameCode.GDdev_95take_95score_95textObjects3= [];
gdjs.GameCode.GDdev_95take_95score_95textObjects4= [];
gdjs.GameCode.GDdev_95give_95lvlObjects1= [];
gdjs.GameCode.GDdev_95give_95lvlObjects2= [];
gdjs.GameCode.GDdev_95give_95lvlObjects3= [];
gdjs.GameCode.GDdev_95give_95lvlObjects4= [];
gdjs.GameCode.GDdev_95take_95lvlObjects1= [];
gdjs.GameCode.GDdev_95take_95lvlObjects2= [];
gdjs.GameCode.GDdev_95take_95lvlObjects3= [];
gdjs.GameCode.GDdev_95take_95lvlObjects4= [];
gdjs.GameCode.GDdev_95give_95lvl_95textObjects1= [];
gdjs.GameCode.GDdev_95give_95lvl_95textObjects2= [];
gdjs.GameCode.GDdev_95give_95lvl_95textObjects3= [];
gdjs.GameCode.GDdev_95give_95lvl_95textObjects4= [];
gdjs.GameCode.GDdev_95take_95lvl_95textObjects1= [];
gdjs.GameCode.GDdev_95take_95lvl_95textObjects2= [];
gdjs.GameCode.GDdev_95take_95lvl_95textObjects3= [];
gdjs.GameCode.GDdev_95take_95lvl_95textObjects4= [];
gdjs.GameCode.GDbtn_95markObjects1= [];
gdjs.GameCode.GDbtn_95markObjects2= [];
gdjs.GameCode.GDbtn_95markObjects3= [];
gdjs.GameCode.GDbtn_95markObjects4= [];
gdjs.GameCode.GDshopObjects1= [];
gdjs.GameCode.GDshopObjects2= [];
gdjs.GameCode.GDshopObjects3= [];
gdjs.GameCode.GDshopObjects4= [];
gdjs.GameCode.GDshop_95backroundObjects1= [];
gdjs.GameCode.GDshop_95backroundObjects2= [];
gdjs.GameCode.GDshop_95backroundObjects3= [];
gdjs.GameCode.GDshop_95backroundObjects4= [];
gdjs.GameCode.GDwarning_95logoObjects1= [];
gdjs.GameCode.GDwarning_95logoObjects2= [];
gdjs.GameCode.GDwarning_95logoObjects3= [];
gdjs.GameCode.GDwarning_95logoObjects4= [];
gdjs.GameCode.GDupgradesObjects1= [];
gdjs.GameCode.GDupgradesObjects2= [];
gdjs.GameCode.GDupgradesObjects3= [];
gdjs.GameCode.GDupgradesObjects4= [];
gdjs.GameCode.GDinfo2Objects1= [];
gdjs.GameCode.GDinfo2Objects2= [];
gdjs.GameCode.GDinfo2Objects3= [];
gdjs.GameCode.GDinfo2Objects4= [];
gdjs.GameCode.GDkeyboardObjects1= [];
gdjs.GameCode.GDkeyboardObjects2= [];
gdjs.GameCode.GDkeyboardObjects3= [];
gdjs.GameCode.GDkeyboardObjects4= [];
gdjs.GameCode.GDticketObjects1= [];
gdjs.GameCode.GDticketObjects2= [];
gdjs.GameCode.GDticketObjects3= [];
gdjs.GameCode.GDticketObjects4= [];
gdjs.GameCode.GDwarning_95textObjects1= [];
gdjs.GameCode.GDwarning_95textObjects2= [];
gdjs.GameCode.GDwarning_95textObjects3= [];
gdjs.GameCode.GDwarning_95textObjects4= [];
gdjs.GameCode.GDwarning_951000Objects1= [];
gdjs.GameCode.GDwarning_951000Objects2= [];
gdjs.GameCode.GDwarning_951000Objects3= [];
gdjs.GameCode.GDwarning_951000Objects4= [];
gdjs.GameCode.GDwarning_95cancelObjects1= [];
gdjs.GameCode.GDwarning_95cancelObjects2= [];
gdjs.GameCode.GDwarning_95cancelObjects3= [];
gdjs.GameCode.GDwarning_95cancelObjects4= [];
gdjs.GameCode.GDwarning_95acceptObjects1= [];
gdjs.GameCode.GDwarning_95acceptObjects2= [];
gdjs.GameCode.GDwarning_95acceptObjects3= [];
gdjs.GameCode.GDwarning_95acceptObjects4= [];
gdjs.GameCode.GDyoutubeObjects1= [];
gdjs.GameCode.GDyoutubeObjects2= [];
gdjs.GameCode.GDyoutubeObjects3= [];
gdjs.GameCode.GDyoutubeObjects4= [];
gdjs.GameCode.GDwarning_95gold_95backroundObjects1= [];
gdjs.GameCode.GDwarning_95gold_95backroundObjects2= [];
gdjs.GameCode.GDwarning_95gold_95backroundObjects3= [];
gdjs.GameCode.GDwarning_95gold_95backroundObjects4= [];
gdjs.GameCode.GDwarning_95gold_95logoObjects1= [];
gdjs.GameCode.GDwarning_95gold_95logoObjects2= [];
gdjs.GameCode.GDwarning_95gold_95logoObjects3= [];
gdjs.GameCode.GDwarning_95gold_95logoObjects4= [];
gdjs.GameCode.GDwarning_95gold_95textObjects1= [];
gdjs.GameCode.GDwarning_95gold_95textObjects2= [];
gdjs.GameCode.GDwarning_95gold_95textObjects3= [];
gdjs.GameCode.GDwarning_95gold_95textObjects4= [];
gdjs.GameCode.GDwarning_95gold_95cancelObjects1= [];
gdjs.GameCode.GDwarning_95gold_95cancelObjects2= [];
gdjs.GameCode.GDwarning_95gold_95cancelObjects3= [];
gdjs.GameCode.GDwarning_95gold_95cancelObjects4= [];
gdjs.GameCode.GDwarnig_95gold_95payObjects1= [];
gdjs.GameCode.GDwarnig_95gold_95payObjects2= [];
gdjs.GameCode.GDwarnig_95gold_95payObjects3= [];
gdjs.GameCode.GDwarnig_95gold_95payObjects4= [];

gdjs.GameCode.conditionTrue_0 = {val:false};
gdjs.GameCode.condition0IsTrue_0 = {val:false};
gdjs.GameCode.condition1IsTrue_0 = {val:false};
gdjs.GameCode.condition2IsTrue_0 = {val:false};
gdjs.GameCode.condition3IsTrue_0 = {val:false};
gdjs.GameCode.condition4IsTrue_0 = {val:false};
gdjs.GameCode.condition5IsTrue_0 = {val:false};
gdjs.GameCode.conditionTrue_1 = {val:false};
gdjs.GameCode.condition0IsTrue_1 = {val:false};
gdjs.GameCode.condition1IsTrue_1 = {val:false};
gdjs.GameCode.condition2IsTrue_1 = {val:false};
gdjs.GameCode.condition3IsTrue_1 = {val:false};
gdjs.GameCode.condition4IsTrue_1 = {val:false};
gdjs.GameCode.condition5IsTrue_1 = {val:false};


gdjs.GameCode.eventsList0 = function(runtimeScene) {

{


{
gdjs.copyArray(runtimeScene.getObjects("Score"), gdjs.GameCode.GDScoreObjects1);
gdjs.copyArray(runtimeScene.getObjects("UsernameInput"), gdjs.GameCode.GDUsernameInputObjects1);
gdjs.copyArray(runtimeScene.getObjects("UsernameInputText"), gdjs.GameCode.GDUsernameInputTextObjects1);
gdjs.copyArray(runtimeScene.getObjects("lvl"), gdjs.GameCode.GDlvlObjects1);
{for(var i = 0, len = gdjs.GameCode.GDScoreObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDScoreObjects1[i].setString("" + gdjs.evtTools.common.getVariableString(runtimeScene.getVariables().getFromIndex(0).getChild("score")));
}
}{for(var i = 0, len = gdjs.GameCode.GDlvlObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDlvlObjects1[i].setString("" + gdjs.evtTools.common.getVariableString(runtimeScene.getVariables().getFromIndex(0).getChild("lvl")));
}
}{for(var i = 0, len = gdjs.GameCode.GDUsernameInputObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputObjects1[i].setString(gdjs.evtTools.string.subStr(gdjs.evtsExt__InputValidation__RemoveNewLines.func(runtimeScene, gdjs.evtsExt__InputValidation__ToAlphanumerical.func(runtimeScene, (gdjs.GameCode.GDUsernameInputObjects1[i].getString()), (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined)), (typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined)), 0, 14));
}
}{for(var i = 0, len = gdjs.GameCode.GDUsernameInputTextObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputTextObjects1[i].setString((( gdjs.GameCode.GDUsernameInputObjects1.length === 0 ) ? "" :gdjs.GameCode.GDUsernameInputObjects1[0].getString()));
}
}{runtimeScene.getVariables().getFromIndex(0).getChild("name").setString((( gdjs.GameCode.GDUsernameInputObjects1.length === 0 ) ? "" :gdjs.GameCode.GDUsernameInputObjects1[0].getString()));
}}

}


};gdjs.GameCode.eventsList1 = function(runtimeScene) {

{


{
{gdjs.evtTools.storage.readNumberFromJSONFile("progress", "Payload.score", runtimeScene, runtimeScene.getVariables().getFromIndex(0).getChild("score"));
}{gdjs.evtTools.storage.readNumberFromJSONFile("progress", "Payload.lvl", runtimeScene, runtimeScene.getVariables().getFromIndex(0).getChild("lvl"));
}}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDButtonObjects3Objects = Hashtable.newFrom({"Button": gdjs.GameCode.GDButtonObjects3});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDparticleObjects3Objects = Hashtable.newFrom({"particle": gdjs.GameCode.GDparticleObjects3});gdjs.GameCode.eventsList2 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDlvlupObjects2Objects = Hashtable.newFrom({"lvlup": gdjs.GameCode.GDlvlupObjects2});gdjs.GameCode.eventsList3 = function(runtimeScene) {

{


{
{runtimeScene.getVariables().getFromIndex(0).getChild("lvl").add(10000);
}{runtimeScene.getVariables().getFromIndex(0).getChild("score").add(3500);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.lvl", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("lvl")));
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.score", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")));
}{gdjs.evtTools.sound.playSound(runtimeScene, "levelup.wav", false, 35, 1);
}}

}


};gdjs.GameCode.eventsList4 = function(runtimeScene) {

{


gdjs.GameCode.condition0IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
}if (gdjs.GameCode.condition0IsTrue_0.val) {
{runtimeScene.getVariables().getFromIndex(0).getChild("score").setNumber(0);
}{runtimeScene.getVariables().getFromIndex(0).getChild("lvl").setNumber(0);
}
{ //Subevents
gdjs.GameCode.eventsList1(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Button"), gdjs.GameCode.GDButtonObjects3);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDButtonObjects3Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9374524);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDButtonObjects3 */
gdjs.GameCode.GDparticleObjects3.length = 0;

{for(var i = 0, len = gdjs.GameCode.GDButtonObjects3.length ;i < len;++i) {
    gdjs.GameCode.GDButtonObjects3[i].setAnimationName("pressed");
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "hit.wav", false, 10, 1);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.score", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")));
}{gdjs.evtTools.object.createObjectOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDparticleObjects3Objects, (( gdjs.GameCode.GDButtonObjects3.length === 0 ) ? 0 :gdjs.GameCode.GDButtonObjects3[0].getPointX("hit")), (( gdjs.GameCode.GDButtonObjects3.length === 0 ) ? 0 :gdjs.GameCode.GDButtonObjects3[0].getPointY("hit")), "");
}
{ //Subevents
gdjs.GameCode.eventsList2(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Button"), gdjs.GameCode.GDButtonObjects3);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
for(var i = 0, k = 0, l = gdjs.GameCode.GDButtonObjects3.length;i<l;++i) {
    if ( gdjs.GameCode.GDButtonObjects3[i].isCurrentAnimationName("pressed") ) {
        gdjs.GameCode.condition1IsTrue_0.val = true;
        gdjs.GameCode.GDButtonObjects3[k] = gdjs.GameCode.GDButtonObjects3[i];
        ++k;
    }
}
gdjs.GameCode.GDButtonObjects3.length = k;}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9376924);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDButtonObjects3 */
{for(var i = 0, len = gdjs.GameCode.GDButtonObjects3.length ;i < len;++i) {
    gdjs.GameCode.GDButtonObjects3[i].setAnimationName("released");
}
}{runtimeScene.getVariables().getFromIndex(0).getChild("score").add(99999999);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("lvlup"), gdjs.GameCode.GDlvlupObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")) > 3500;
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDlvlupObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition3IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9378236);
}
}}
}
}
if (gdjs.GameCode.condition3IsTrue_0.val) {

{ //Subevents
gdjs.GameCode.eventsList3(runtimeScene);} //End of subevents
}

}


};gdjs.GameCode.eventsList5 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("UsernameInput"), gdjs.GameCode.GDUsernameInputObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition0IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = (gdjs.evtTools.string.strLen((( gdjs.GameCode.GDUsernameInputObjects2.length === 0 ) ? "" :gdjs.GameCode.GDUsernameInputObjects2[0].getString())) == 0);
}
}if (gdjs.GameCode.condition0IsTrue_0.val) {
gdjs.copyArray(runtimeScene.getObjects("UsernameInputPlaceholder"), gdjs.GameCode.GDUsernameInputPlaceholderObjects2);
{for(var i = 0, len = gdjs.GameCode.GDUsernameInputPlaceholderObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputPlaceholderObjects2[i].hide(false);
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("UsernameInput"), gdjs.GameCode.GDUsernameInputObjects1);

gdjs.GameCode.condition0IsTrue_0.val = false;
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition0IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = (gdjs.evtTools.string.strLen((( gdjs.GameCode.GDUsernameInputObjects1.length === 0 ) ? "" :gdjs.GameCode.GDUsernameInputObjects1[0].getString())) != 0);
}
}if (gdjs.GameCode.condition0IsTrue_0.val) {
gdjs.copyArray(runtimeScene.getObjects("UsernameInputPlaceholder"), gdjs.GameCode.GDUsernameInputPlaceholderObjects1);
{for(var i = 0, len = gdjs.GameCode.GDUsernameInputPlaceholderObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputPlaceholderObjects1[i].hide();
}
}}

}


};gdjs.GameCode.eventsList6 = function(runtimeScene) {

{


gdjs.GameCode.eventsList4(runtimeScene);
}


{


gdjs.GameCode.eventsList5(runtimeScene);
}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDviewObjects1Objects = Hashtable.newFrom({"view": gdjs.GameCode.GDviewObjects1});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdiscordObjects1Objects = Hashtable.newFrom({"discord": gdjs.GameCode.GDdiscordObjects1});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDyoutubeObjects1Objects = Hashtable.newFrom({"youtube": gdjs.GameCode.GDyoutubeObjects1});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595give_9595scoreObjects2Objects = Hashtable.newFrom({"dev_give_score": gdjs.GameCode.GDdev_95give_95scoreObjects2});gdjs.GameCode.eventsList7 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595take_9595scoreObjects2Objects = Hashtable.newFrom({"dev_take_score": gdjs.GameCode.GDdev_95take_95scoreObjects2});gdjs.GameCode.eventsList8 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595give_9595lvlObjects2Objects = Hashtable.newFrom({"dev_give_lvl": gdjs.GameCode.GDdev_95give_95lvlObjects2});gdjs.GameCode.eventsList9 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595take_9595lvlObjects2Objects = Hashtable.newFrom({"dev_take_lvl": gdjs.GameCode.GDdev_95take_95lvlObjects2});gdjs.GameCode.eventsList10 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.eventsList11 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("dev_give_score"), gdjs.GameCode.GDdev_95give_95scoreObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595give_9595scoreObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9394452);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95give_95scoreObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95give_95scoreObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95give_95scoreObjects2[i].setAnimationName("pressed");
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "dev.wav", false, 10, 1);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.score", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")));
}
{ //Subevents
gdjs.GameCode.eventsList7(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("dev_give_score"), gdjs.GameCode.GDdev_95give_95scoreObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
for(var i = 0, k = 0, l = gdjs.GameCode.GDdev_95give_95scoreObjects2.length;i<l;++i) {
    if ( gdjs.GameCode.GDdev_95give_95scoreObjects2[i].isCurrentAnimationName("pressed") ) {
        gdjs.GameCode.condition1IsTrue_0.val = true;
        gdjs.GameCode.GDdev_95give_95scoreObjects2[k] = gdjs.GameCode.GDdev_95give_95scoreObjects2[i];
        ++k;
    }
}
gdjs.GameCode.GDdev_95give_95scoreObjects2.length = k;}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9396364);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95give_95scoreObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95give_95scoreObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95give_95scoreObjects2[i].setAnimationName("released");
}
}{runtimeScene.getVariables().getFromIndex(0).getChild("score").add(10000);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("dev_take_score"), gdjs.GameCode.GDdev_95take_95scoreObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595take_9595scoreObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9397756);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95take_95scoreObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95take_95scoreObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95take_95scoreObjects2[i].setAnimationName("pressed");
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "dev.wav", false, 10, 1);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.score", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")));
}
{ //Subevents
gdjs.GameCode.eventsList8(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("dev_take_score"), gdjs.GameCode.GDdev_95take_95scoreObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
for(var i = 0, k = 0, l = gdjs.GameCode.GDdev_95take_95scoreObjects2.length;i<l;++i) {
    if ( gdjs.GameCode.GDdev_95take_95scoreObjects2[i].isCurrentAnimationName("pressed") ) {
        gdjs.GameCode.condition1IsTrue_0.val = true;
        gdjs.GameCode.GDdev_95take_95scoreObjects2[k] = gdjs.GameCode.GDdev_95take_95scoreObjects2[i];
        ++k;
    }
}
gdjs.GameCode.GDdev_95take_95scoreObjects2.length = k;}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9399676);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95take_95scoreObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95take_95scoreObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95take_95scoreObjects2[i].setAnimationName("released");
}
}{runtimeScene.getVariables().getFromIndex(0).getChild("score").add(10000);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("dev_give_lvl"), gdjs.GameCode.GDdev_95give_95lvlObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595give_9595lvlObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9401036);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95give_95lvlObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95give_95lvlObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95give_95lvlObjects2[i].setAnimationName("pressed");
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "dev.wav", false, 10, 1);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.lvl", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("lvl")));
}
{ //Subevents
gdjs.GameCode.eventsList9(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("dev_give_lvl"), gdjs.GameCode.GDdev_95give_95lvlObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
for(var i = 0, k = 0, l = gdjs.GameCode.GDdev_95give_95lvlObjects2.length;i<l;++i) {
    if ( gdjs.GameCode.GDdev_95give_95lvlObjects2[i].isCurrentAnimationName("pressed") ) {
        gdjs.GameCode.condition1IsTrue_0.val = true;
        gdjs.GameCode.GDdev_95give_95lvlObjects2[k] = gdjs.GameCode.GDdev_95give_95lvlObjects2[i];
        ++k;
    }
}
gdjs.GameCode.GDdev_95give_95lvlObjects2.length = k;}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9402980);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95give_95lvlObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95give_95lvlObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95give_95lvlObjects2[i].setAnimationName("released");
}
}{runtimeScene.getVariables().getFromIndex(0).getChild("lvl").add(100000);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("dev_take_lvl"), gdjs.GameCode.GDdev_95take_95lvlObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdev_9595take_9595lvlObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9404340);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95take_95lvlObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95take_95lvlObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95take_95lvlObjects2[i].setAnimationName("pressed");
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "dev.wav", false, 10, 1);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.lvl", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("lvl")));
}
{ //Subevents
gdjs.GameCode.eventsList10(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("dev_take_lvl"), gdjs.GameCode.GDdev_95take_95lvlObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
for(var i = 0, k = 0, l = gdjs.GameCode.GDdev_95take_95lvlObjects2.length;i<l;++i) {
    if ( gdjs.GameCode.GDdev_95take_95lvlObjects2[i].isCurrentAnimationName("pressed") ) {
        gdjs.GameCode.condition1IsTrue_0.val = true;
        gdjs.GameCode.GDdev_95take_95lvlObjects2[k] = gdjs.GameCode.GDdev_95take_95lvlObjects2[i];
        ++k;
    }
}
gdjs.GameCode.GDdev_95take_95lvlObjects2.length = k;}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9406252);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdev_95take_95lvlObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdev_95take_95lvlObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95take_95lvlObjects2[i].setAnimationName("released");
}
}{runtimeScene.getVariables().getFromIndex(0).getChild("lvl").add(1);
}}

}


{


{
}

}


};gdjs.GameCode.eventsList12 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDkeyboardObjects2Objects = Hashtable.newFrom({"keyboard": gdjs.GameCode.GDkeyboardObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDkeyboardObjects1Objects = Hashtable.newFrom({"keyboard": gdjs.GameCode.GDkeyboardObjects1});gdjs.GameCode.eventsList13 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("keyboard"), gdjs.GameCode.GDkeyboardObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDkeyboardObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
gdjs.copyArray(runtimeScene.getObjects("UsernameInput"), gdjs.GameCode.GDUsernameInputObjects2);
{for(var i = 0, len = gdjs.GameCode.GDUsernameInputObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputObjects2[i].getBehavior("TextEntryVirtualKeyboard").openKeyboard((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("keyboard"), gdjs.GameCode.GDkeyboardObjects1);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDkeyboardObjects1Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
gdjs.copyArray(runtimeScene.getObjects("UsernameInput"), gdjs.GameCode.GDUsernameInputObjects1);
{for(var i = 0, len = gdjs.GameCode.GDUsernameInputObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputObjects1[i].getBehavior("TextEntryVirtualKeyboard").closeKeyboard((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : undefined));
}
}}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDleaderObjects2Objects = Hashtable.newFrom({"leader": gdjs.GameCode.GDleaderObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDleaderObjects2Objects = Hashtable.newFrom({"leader": gdjs.GameCode.GDleaderObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDviewObjects2Objects = Hashtable.newFrom({"view": gdjs.GameCode.GDviewObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDviewObjects2Objects = Hashtable.newFrom({"view": gdjs.GameCode.GDviewObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects = Hashtable.newFrom({"warning_cancel": gdjs.GameCode.GDwarning_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects = Hashtable.newFrom({"warning_cancel": gdjs.GameCode.GDwarning_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects = Hashtable.newFrom({"warning_accept": gdjs.GameCode.GDwarning_95acceptObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects = Hashtable.newFrom({"warning_accept": gdjs.GameCode.GDwarning_95acceptObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects = Hashtable.newFrom({"warning_gold_cancel": gdjs.GameCode.GDwarning_95gold_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects = Hashtable.newFrom({"warning_gold_cancel": gdjs.GameCode.GDwarning_95gold_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects = Hashtable.newFrom({"warnig_gold_pay": gdjs.GameCode.GDwarnig_95gold_95payObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects = Hashtable.newFrom({"warnig_gold_pay": gdjs.GameCode.GDwarnig_95gold_95payObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdiscordObjects2Objects = Hashtable.newFrom({"discord": gdjs.GameCode.GDdiscordObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdiscordObjects2Objects = Hashtable.newFrom({"discord": gdjs.GameCode.GDdiscordObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDyoutubeObjects2Objects = Hashtable.newFrom({"youtube": gdjs.GameCode.GDyoutubeObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDyoutubeObjects2Objects = Hashtable.newFrom({"youtube": gdjs.GameCode.GDyoutubeObjects2});gdjs.GameCode.eventsList14 = function(runtimeScene) {

{

gdjs.copyArray(runtimeScene.getObjects("leader"), gdjs.GameCode.GDleaderObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDleaderObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9410532);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDleaderObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDleaderObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDleaderObjects2[i].setColor("95;95;95");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("leader"), gdjs.GameCode.GDleaderObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDleaderObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9411396);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDleaderObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDleaderObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDleaderObjects2[i].setColor("255;255;255");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("view"), gdjs.GameCode.GDviewObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDviewObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9412548);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDviewObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDviewObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDviewObjects2[i].setColor("95;95;95");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("view"), gdjs.GameCode.GDviewObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDviewObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9413428);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDviewObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDviewObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDviewObjects2[i].setColor("255;255;255");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_cancel"), gdjs.GameCode.GDwarning_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9414364);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarning_95cancelObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarning_95cancelObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95cancelObjects2[i].setColor("95;95;95");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_cancel"), gdjs.GameCode.GDwarning_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9415316);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarning_95cancelObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarning_95cancelObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95cancelObjects2[i].setColor("255;255;255");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_accept"), gdjs.GameCode.GDwarning_95acceptObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9416028);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarning_95acceptObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarning_95acceptObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95acceptObjects2[i].setColor("95;95;95");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_accept"), gdjs.GameCode.GDwarning_95acceptObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9417204);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarning_95acceptObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarning_95acceptObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95acceptObjects2[i].setColor("255;255;255");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_gold_cancel"), gdjs.GameCode.GDwarning_95gold_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9417940);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarning_95gold_95cancelObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarning_95gold_95cancelObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95gold_95cancelObjects2[i].setColor("95;95;95");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_gold_cancel"), gdjs.GameCode.GDwarning_95gold_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9418932);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarning_95gold_95cancelObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarning_95gold_95cancelObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95gold_95cancelObjects2[i].setColor("255;255;255");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warnig_gold_pay"), gdjs.GameCode.GDwarnig_95gold_95payObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9420148);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarnig_95gold_95payObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarnig_95gold_95payObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarnig_95gold_95payObjects2[i].setColor("95;95;95");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warnig_gold_pay"), gdjs.GameCode.GDwarnig_95gold_95payObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9420820);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDwarnig_95gold_95payObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDwarnig_95gold_95payObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDwarnig_95gold_95payObjects2[i].setColor("255;255;255");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("discord"), gdjs.GameCode.GDdiscordObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdiscordObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(7896396);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdiscordObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdiscordObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdiscordObjects2[i].setColor("59;149;179");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("discord"), gdjs.GameCode.GDdiscordObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdiscordObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(8072988);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDdiscordObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDdiscordObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDdiscordObjects2[i].setColor("70;169;201");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("youtube"), gdjs.GameCode.GDyoutubeObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDyoutubeObjects2Objects, runtimeScene, true, false);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(8201500);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDyoutubeObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDyoutubeObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDyoutubeObjects2[i].setGradient("LINEAR_HORIZONTAL", "224;224;224", "224;224;224", "129;0;0", "129;0;0");
}
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("youtube"), gdjs.GameCode.GDyoutubeObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDyoutubeObjects2Objects, runtimeScene, true, true);
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition1IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(7902300);
}
}}
if (gdjs.GameCode.condition1IsTrue_0.val) {
/* Reuse gdjs.GameCode.GDyoutubeObjects2 */
{for(var i = 0, len = gdjs.GameCode.GDyoutubeObjects2.length ;i < len;++i) {
    gdjs.GameCode.GDyoutubeObjects2[i].setGradient("LINEAR_HORIZONTAL", "255;255;255", "255;255;255", "255;0;0", "255;0;0");
}
}}

}


{


{
}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDleaderObjects2Objects = Hashtable.newFrom({"leader": gdjs.GameCode.GDleaderObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects = Hashtable.newFrom({"warning_cancel": gdjs.GameCode.GDwarning_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects = Hashtable.newFrom({"warning_cancel": gdjs.GameCode.GDwarning_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects = Hashtable.newFrom({"warning_accept": gdjs.GameCode.GDwarning_95acceptObjects2});gdjs.GameCode.eventsList15 = function(runtimeScene) {

{


{
{gdjs.evtTools.firebaseTools.firestore.addDocument("lvls", runtimeScene.getVariables().getFromIndex(0), gdjs.VariablesContainer.badVariable);
}{runtimeScene.getVariables().getFromIndex(0).getChild("score").add(1000);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.lvl", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("lvl")));
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.score", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")));
}{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Scoreboard", false);
}}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects = Hashtable.newFrom({"warning_accept": gdjs.GameCode.GDwarning_95acceptObjects2});gdjs.GameCode.eventsList16 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.eventsList17 = function(runtimeScene) {

{


gdjs.GameCode.condition0IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
}if (gdjs.GameCode.condition0IsTrue_0.val) {
{gdjs.evtTools.camera.hideLayer(runtimeScene, "warning");
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("leader"), gdjs.GameCode.GDleaderObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDleaderObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9422948);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
{gdjs.evtTools.camera.showLayer(runtimeScene, "warning");
}{gdjs.evtTools.sound.playSound(runtimeScene, "open.wav", false, 35, 1);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_cancel"), gdjs.GameCode.GDwarning_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition3IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9423988);
}
}}
}
}
if (gdjs.GameCode.condition3IsTrue_0.val) {
{gdjs.evtTools.camera.hideLayer(runtimeScene, "warning");
}{gdjs.evtTools.sound.playSound(runtimeScene, "open.wav", false, 35, 1);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_cancel"), gdjs.GameCode.GDwarning_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = !(gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning"));
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595cancelObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition3IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9426276);
}
}}
}
}
if (gdjs.GameCode.condition3IsTrue_0.val) {
}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_accept"), gdjs.GameCode.GDwarning_95acceptObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
gdjs.GameCode.condition4IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")) > 1000;
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
gdjs.GameCode.condition3IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition3IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition4IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9427596);
}
}}
}
}
}
if (gdjs.GameCode.condition4IsTrue_0.val) {

{ //Subevents
gdjs.GameCode.eventsList15(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_accept"), gdjs.GameCode.GDwarning_95acceptObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
gdjs.GameCode.condition4IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = !(gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning"));
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")) > 1000;
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
gdjs.GameCode.condition3IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595acceptObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition3IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition4IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9430444);
}
}}
}
}
}
if (gdjs.GameCode.condition4IsTrue_0.val) {

{ //Subevents
gdjs.GameCode.eventsList16(runtimeScene);} //End of subevents
}

}


{


{
}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDticketObjects2Objects = Hashtable.newFrom({"ticket": gdjs.GameCode.GDticketObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects = Hashtable.newFrom({"warning_gold_cancel": gdjs.GameCode.GDwarning_95gold_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects = Hashtable.newFrom({"warning_gold_cancel": gdjs.GameCode.GDwarning_95gold_95cancelObjects2});gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects = Hashtable.newFrom({"warnig_gold_pay": gdjs.GameCode.GDwarnig_95gold_95payObjects2});gdjs.GameCode.eventsList18 = function(runtimeScene) {

{


{
{runtimeScene.getVariables().getFromIndex(0).getChild("score").sub(25000);
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.lvl", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("lvl")));
}{gdjs.evtTools.storage.writeNumberInJSONFile("progress", "Payload.score", gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")));
}{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Game_gold", false);
}}

}


};gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects = Hashtable.newFrom({"warnig_gold_pay": gdjs.GameCode.GDwarnig_95gold_95payObjects2});gdjs.GameCode.eventsList19 = function(runtimeScene) {

{


{
}

}


};gdjs.GameCode.eventsList20 = function(runtimeScene) {

{


gdjs.GameCode.condition0IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
}if (gdjs.GameCode.condition0IsTrue_0.val) {
{gdjs.evtTools.camera.hideLayer(runtimeScene, "warning_game_gold");
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("ticket"), gdjs.GameCode.GDticketObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDticketObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9432420);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
{gdjs.evtTools.camera.showLayer(runtimeScene, "warning_game_gold");
}{gdjs.evtTools.sound.playSound(runtimeScene, "open.wav", false, 35, 1);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_gold_cancel"), gdjs.GameCode.GDwarning_95gold_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning_game_gold");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition3IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9433444);
}
}}
}
}
if (gdjs.GameCode.condition3IsTrue_0.val) {
{gdjs.evtTools.camera.hideLayer(runtimeScene, "warning_game_gold");
}{gdjs.evtTools.sound.playSound(runtimeScene, "open.wav", false, 35, 1);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("warning_gold_cancel"), gdjs.GameCode.GDwarning_95gold_95cancelObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = !(gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning_game_gold"));
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarning_9595gold_9595cancelObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition3IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9435540);
}
}}
}
}
if (gdjs.GameCode.condition3IsTrue_0.val) {
}

}


{

gdjs.copyArray(runtimeScene.getObjects("warnig_gold_pay"), gdjs.GameCode.GDwarnig_95gold_95payObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
gdjs.GameCode.condition4IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning_game_gold");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0).getChild("score")) > 25000;
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
gdjs.GameCode.condition3IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition3IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition4IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9437188);
}
}}
}
}
}
if (gdjs.GameCode.condition4IsTrue_0.val) {

{ //Subevents
gdjs.GameCode.eventsList18(runtimeScene);} //End of subevents
}

}


{

gdjs.copyArray(runtimeScene.getObjects("warnig_gold_pay"), gdjs.GameCode.GDwarnig_95gold_95payObjects2);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
gdjs.GameCode.condition3IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = !(gdjs.evtTools.camera.layerIsVisible(runtimeScene, "warning_game_gold"));
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
gdjs.GameCode.condition2IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDwarnig_9595gold_9595payObjects2Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition2IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition3IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9439660);
}
}}
}
}
if (gdjs.GameCode.condition3IsTrue_0.val) {

{ //Subevents
gdjs.GameCode.eventsList19(runtimeScene);} //End of subevents
}

}


{


{
}

}


};gdjs.GameCode.eventsList21 = function(runtimeScene) {

{


gdjs.GameCode.condition0IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
}if (gdjs.GameCode.condition0IsTrue_0.val) {
{gdjs.evtTools.sound.playSound(runtimeScene, "backround_music.mp3", false, 10, 1);
}}

}


};gdjs.GameCode.eventsList22 = function(runtimeScene) {

{


gdjs.GameCode.eventsList0(runtimeScene);
}


{


gdjs.GameCode.eventsList6(runtimeScene);
}


{


{
gdjs.copyArray(runtimeScene.getObjects("Score"), gdjs.GameCode.GDScoreObjects1);
gdjs.copyArray(runtimeScene.getObjects("UsernameInputPlaceholder"), gdjs.GameCode.GDUsernameInputPlaceholderObjects1);
gdjs.copyArray(runtimeScene.getObjects("UsernameInputText"), gdjs.GameCode.GDUsernameInputTextObjects1);
gdjs.copyArray(runtimeScene.getObjects("btn_mark"), gdjs.GameCode.GDbtn_95markObjects1);
gdjs.copyArray(runtimeScene.getObjects("creator"), gdjs.GameCode.GDcreatorObjects1);
gdjs.copyArray(runtimeScene.getObjects("dev_give_lvl_text"), gdjs.GameCode.GDdev_95give_95lvl_95textObjects1);
gdjs.copyArray(runtimeScene.getObjects("dev_give_score_text"), gdjs.GameCode.GDdev_95give_95score_95textObjects1);
gdjs.copyArray(runtimeScene.getObjects("dev_take_lvl_text"), gdjs.GameCode.GDdev_95take_95lvl_95textObjects1);
gdjs.copyArray(runtimeScene.getObjects("dev_take_score_text"), gdjs.GameCode.GDdev_95take_95score_95textObjects1);
gdjs.copyArray(runtimeScene.getObjects("discord"), gdjs.GameCode.GDdiscordObjects1);
gdjs.copyArray(runtimeScene.getObjects("indev"), gdjs.GameCode.GDindevObjects1);
gdjs.copyArray(runtimeScene.getObjects("info1"), gdjs.GameCode.GDinfo1Objects1);
gdjs.copyArray(runtimeScene.getObjects("info2"), gdjs.GameCode.GDinfo2Objects1);
gdjs.copyArray(runtimeScene.getObjects("leader"), gdjs.GameCode.GDleaderObjects1);
gdjs.copyArray(runtimeScene.getObjects("logo"), gdjs.GameCode.GDlogoObjects1);
gdjs.copyArray(runtimeScene.getObjects("lvl"), gdjs.GameCode.GDlvlObjects1);
gdjs.copyArray(runtimeScene.getObjects("lvlmark"), gdjs.GameCode.GDlvlmarkObjects1);
gdjs.copyArray(runtimeScene.getObjects("lvlup"), gdjs.GameCode.GDlvlupObjects1);
gdjs.copyArray(runtimeScene.getObjects("score_mark"), gdjs.GameCode.GDscore_95markObjects1);
gdjs.copyArray(runtimeScene.getObjects("shop"), gdjs.GameCode.GDshopObjects1);
gdjs.copyArray(runtimeScene.getObjects("upgrades"), gdjs.GameCode.GDupgradesObjects1);
gdjs.copyArray(runtimeScene.getObjects("v"), gdjs.GameCode.GDvObjects1);
gdjs.copyArray(runtimeScene.getObjects("view"), gdjs.GameCode.GDviewObjects1);
gdjs.copyArray(runtimeScene.getObjects("warnig_gold_pay"), gdjs.GameCode.GDwarnig_95gold_95payObjects1);
gdjs.copyArray(runtimeScene.getObjects("warning_1000"), gdjs.GameCode.GDwarning_951000Objects1);
gdjs.copyArray(runtimeScene.getObjects("warning_accept"), gdjs.GameCode.GDwarning_95acceptObjects1);
gdjs.copyArray(runtimeScene.getObjects("warning_cancel"), gdjs.GameCode.GDwarning_95cancelObjects1);
gdjs.copyArray(runtimeScene.getObjects("warning_gold_cancel"), gdjs.GameCode.GDwarning_95gold_95cancelObjects1);
gdjs.copyArray(runtimeScene.getObjects("warning_gold_logo"), gdjs.GameCode.GDwarning_95gold_95logoObjects1);
gdjs.copyArray(runtimeScene.getObjects("warning_gold_text"), gdjs.GameCode.GDwarning_95gold_95textObjects1);
gdjs.copyArray(runtimeScene.getObjects("warning_logo"), gdjs.GameCode.GDwarning_95logoObjects1);
gdjs.copyArray(runtimeScene.getObjects("warning_text"), gdjs.GameCode.GDwarning_95textObjects1);
gdjs.copyArray(runtimeScene.getObjects("youtube"), gdjs.GameCode.GDyoutubeObjects1);
{for(var i = 0, len = gdjs.GameCode.GDUsernameInputPlaceholderObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputPlaceholderObjects1[i].setOutline("0;0;0", 10);
}
}{for(var i = 0, len = gdjs.GameCode.GDUsernameInputTextObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDUsernameInputTextObjects1[i].setOutline("0;0;0", 10);
}
}{for(var i = 0, len = gdjs.GameCode.GDscore_95markObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDscore_95markObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDviewObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDviewObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDvObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDvObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDcreatorObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDcreatorObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDleaderObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDleaderObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDScoreObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDScoreObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDdiscordObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDdiscordObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDyoutubeObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDyoutubeObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDlogoObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDlogoObjects1[i].setOutline("0;0;0", 15);
}
}{for(var i = 0, len = gdjs.GameCode.GDindevObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDindevObjects1[i].setOutline("0;0;0", 15);
}
}{for(var i = 0, len = gdjs.GameCode.GDinfo1Objects1.length ;i < len;++i) {
    gdjs.GameCode.GDinfo1Objects1[i].setOutline("0;0;0", 4);
}
}{for(var i = 0, len = gdjs.GameCode.GDlvlObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDlvlObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDlvlupObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDlvlupObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDlvlmarkObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDlvlmarkObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDdev_95give_95score_95textObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95give_95score_95textObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDdev_95take_95score_95textObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95take_95score_95textObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDdev_95give_95lvl_95textObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95give_95lvl_95textObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDbtn_95markObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDbtn_95markObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDdev_95take_95lvl_95textObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDdev_95take_95lvl_95textObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDshopObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDshopObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_95logoObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95logoObjects1[i].setOutline("0;0;0", 15);
}
}{for(var i = 0, len = gdjs.GameCode.GDupgradesObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDupgradesObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_95cancelObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95cancelObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_951000Objects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_951000Objects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_95textObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95textObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_95acceptObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95acceptObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDinfo2Objects1.length ;i < len;++i) {
    gdjs.GameCode.GDinfo2Objects1[i].setOutline("0;0;0", 4);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_95gold_95logoObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95gold_95logoObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_95gold_95textObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95gold_95textObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarning_95gold_95cancelObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarning_95gold_95cancelObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDwarnig_95gold_95payObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDwarnig_95gold_95payObjects1[i].setOutline("0;0;0", 6);
}
}{for(var i = 0, len = gdjs.GameCode.GDyoutubeObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDyoutubeObjects1[i].setGradient("LINEAR_HORIZONTAL", "255;255;255", "255;255;255", "255;0;0", "255;0;0");
}
}}

}


{


{
gdjs.copyArray(runtimeScene.getObjects("bg_object"), gdjs.GameCode.GDbg_95objectObjects1);
{for(var i = 0, len = gdjs.GameCode.GDbg_95objectObjects1.length ;i < len;++i) {
    gdjs.GameCode.GDbg_95objectObjects1[i].rotate(45, runtimeScene);
}
}}

}


{


gdjs.GameCode.condition0IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
}if (gdjs.GameCode.condition0IsTrue_0.val) {
}

}


{

gdjs.copyArray(runtimeScene.getObjects("view"), gdjs.GameCode.GDviewObjects1);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDviewObjects1Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9391772);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "Scoreboard", false);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("discord"), gdjs.GameCode.GDdiscordObjects1);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDdiscordObjects1Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(8808932);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
{gdjs.evtTools.window.openURL("https://discord.gg/uP449kycQP", runtimeScene);
}}

}


{

gdjs.copyArray(runtimeScene.getObjects("youtube"), gdjs.GameCode.GDyoutubeObjects1);

gdjs.GameCode.condition0IsTrue_0.val = false;
gdjs.GameCode.condition1IsTrue_0.val = false;
gdjs.GameCode.condition2IsTrue_0.val = false;
{
gdjs.GameCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonPressed(runtimeScene, "Left");
}if ( gdjs.GameCode.condition0IsTrue_0.val ) {
{
gdjs.GameCode.condition1IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.GameCode.mapOfGDgdjs_46GameCode_46GDyoutubeObjects1Objects, runtimeScene, false, false);
}if ( gdjs.GameCode.condition1IsTrue_0.val ) {
{
{gdjs.GameCode.conditionTrue_1 = gdjs.GameCode.condition2IsTrue_0;
gdjs.GameCode.conditionTrue_1.val = runtimeScene.getOnceTriggers().triggerOnce(9392868);
}
}}
}
if (gdjs.GameCode.condition2IsTrue_0.val) {
{gdjs.evtTools.window.openURL("https://www.youtube.com/channel/UCupVWpWOlMEVHY1DGmteabw/videos", runtimeScene);
}}

}


{


gdjs.GameCode.eventsList11(runtimeScene);
}


{


gdjs.GameCode.eventsList12(runtimeScene);
}


{


gdjs.GameCode.eventsList13(runtimeScene);
}


{


gdjs.GameCode.eventsList14(runtimeScene);
}


{


gdjs.GameCode.eventsList17(runtimeScene);
}


{


gdjs.GameCode.eventsList20(runtimeScene);
}


{


gdjs.GameCode.eventsList21(runtimeScene);
}


};

gdjs.GameCode.func = function(runtimeScene) {
runtimeScene.getOnceTriggers().startNewFrame();

gdjs.GameCode.GDButtonObjects1.length = 0;
gdjs.GameCode.GDButtonObjects2.length = 0;
gdjs.GameCode.GDButtonObjects3.length = 0;
gdjs.GameCode.GDButtonObjects4.length = 0;
gdjs.GameCode.GDScoreObjects1.length = 0;
gdjs.GameCode.GDScoreObjects2.length = 0;
gdjs.GameCode.GDScoreObjects3.length = 0;
gdjs.GameCode.GDScoreObjects4.length = 0;
gdjs.GameCode.GDSubmitButtonObjects1.length = 0;
gdjs.GameCode.GDSubmitButtonObjects2.length = 0;
gdjs.GameCode.GDSubmitButtonObjects3.length = 0;
gdjs.GameCode.GDSubmitButtonObjects4.length = 0;
gdjs.GameCode.GDSubmitObjects1.length = 0;
gdjs.GameCode.GDSubmitObjects2.length = 0;
gdjs.GameCode.GDSubmitObjects3.length = 0;
gdjs.GameCode.GDSubmitObjects4.length = 0;
gdjs.GameCode.GDUserNameInputBoxObjects1.length = 0;
gdjs.GameCode.GDUserNameInputBoxObjects2.length = 0;
gdjs.GameCode.GDUserNameInputBoxObjects3.length = 0;
gdjs.GameCode.GDUserNameInputBoxObjects4.length = 0;
gdjs.GameCode.GDUsernameInputPlaceholderObjects1.length = 0;
gdjs.GameCode.GDUsernameInputPlaceholderObjects2.length = 0;
gdjs.GameCode.GDUsernameInputPlaceholderObjects3.length = 0;
gdjs.GameCode.GDUsernameInputPlaceholderObjects4.length = 0;
gdjs.GameCode.GDUsernameInputTextObjects1.length = 0;
gdjs.GameCode.GDUsernameInputTextObjects2.length = 0;
gdjs.GameCode.GDUsernameInputTextObjects3.length = 0;
gdjs.GameCode.GDUsernameInputTextObjects4.length = 0;
gdjs.GameCode.GDUsernameInputObjects1.length = 0;
gdjs.GameCode.GDUsernameInputObjects2.length = 0;
gdjs.GameCode.GDUsernameInputObjects3.length = 0;
gdjs.GameCode.GDUsernameInputObjects4.length = 0;
gdjs.GameCode.GDleaderObjects1.length = 0;
gdjs.GameCode.GDleaderObjects2.length = 0;
gdjs.GameCode.GDleaderObjects3.length = 0;
gdjs.GameCode.GDleaderObjects4.length = 0;
gdjs.GameCode.GDmouseObjects1.length = 0;
gdjs.GameCode.GDmouseObjects2.length = 0;
gdjs.GameCode.GDmouseObjects3.length = 0;
gdjs.GameCode.GDmouseObjects4.length = 0;
gdjs.GameCode.GDparticle2Objects1.length = 0;
gdjs.GameCode.GDparticle2Objects2.length = 0;
gdjs.GameCode.GDparticle2Objects3.length = 0;
gdjs.GameCode.GDparticle2Objects4.length = 0;
gdjs.GameCode.GDparticleObjects1.length = 0;
gdjs.GameCode.GDparticleObjects2.length = 0;
gdjs.GameCode.GDparticleObjects3.length = 0;
gdjs.GameCode.GDparticleObjects4.length = 0;
gdjs.GameCode.GDscore_95markObjects1.length = 0;
gdjs.GameCode.GDscore_95markObjects2.length = 0;
gdjs.GameCode.GDscore_95markObjects3.length = 0;
gdjs.GameCode.GDscore_95markObjects4.length = 0;
gdjs.GameCode.GDviewObjects1.length = 0;
gdjs.GameCode.GDviewObjects2.length = 0;
gdjs.GameCode.GDviewObjects3.length = 0;
gdjs.GameCode.GDviewObjects4.length = 0;
gdjs.GameCode.GDvObjects1.length = 0;
gdjs.GameCode.GDvObjects2.length = 0;
gdjs.GameCode.GDvObjects3.length = 0;
gdjs.GameCode.GDvObjects4.length = 0;
gdjs.GameCode.GDdiscordObjects1.length = 0;
gdjs.GameCode.GDdiscordObjects2.length = 0;
gdjs.GameCode.GDdiscordObjects3.length = 0;
gdjs.GameCode.GDdiscordObjects4.length = 0;
gdjs.GameCode.GDlogoObjects1.length = 0;
gdjs.GameCode.GDlogoObjects2.length = 0;
gdjs.GameCode.GDlogoObjects3.length = 0;
gdjs.GameCode.GDlogoObjects4.length = 0;
gdjs.GameCode.GDbg_95objectObjects1.length = 0;
gdjs.GameCode.GDbg_95objectObjects2.length = 0;
gdjs.GameCode.GDbg_95objectObjects3.length = 0;
gdjs.GameCode.GDbg_95objectObjects4.length = 0;
gdjs.GameCode.GDindevObjects1.length = 0;
gdjs.GameCode.GDindevObjects2.length = 0;
gdjs.GameCode.GDindevObjects3.length = 0;
gdjs.GameCode.GDindevObjects4.length = 0;
gdjs.GameCode.GDcreatorObjects1.length = 0;
gdjs.GameCode.GDcreatorObjects2.length = 0;
gdjs.GameCode.GDcreatorObjects3.length = 0;
gdjs.GameCode.GDcreatorObjects4.length = 0;
gdjs.GameCode.GDborderObjects1.length = 0;
gdjs.GameCode.GDborderObjects2.length = 0;
gdjs.GameCode.GDborderObjects3.length = 0;
gdjs.GameCode.GDborderObjects4.length = 0;
gdjs.GameCode.GDinfo1Objects1.length = 0;
gdjs.GameCode.GDinfo1Objects2.length = 0;
gdjs.GameCode.GDinfo1Objects3.length = 0;
gdjs.GameCode.GDinfo1Objects4.length = 0;
gdjs.GameCode.GDlvlupObjects1.length = 0;
gdjs.GameCode.GDlvlupObjects2.length = 0;
gdjs.GameCode.GDlvlupObjects3.length = 0;
gdjs.GameCode.GDlvlupObjects4.length = 0;
gdjs.GameCode.GDlvlObjects1.length = 0;
gdjs.GameCode.GDlvlObjects2.length = 0;
gdjs.GameCode.GDlvlObjects3.length = 0;
gdjs.GameCode.GDlvlObjects4.length = 0;
gdjs.GameCode.GDlvlmarkObjects1.length = 0;
gdjs.GameCode.GDlvlmarkObjects2.length = 0;
gdjs.GameCode.GDlvlmarkObjects3.length = 0;
gdjs.GameCode.GDlvlmarkObjects4.length = 0;
gdjs.GameCode.GDdev_95give_95scoreObjects1.length = 0;
gdjs.GameCode.GDdev_95give_95scoreObjects2.length = 0;
gdjs.GameCode.GDdev_95give_95scoreObjects3.length = 0;
gdjs.GameCode.GDdev_95give_95scoreObjects4.length = 0;
gdjs.GameCode.GDdev_95give_95score_95textObjects1.length = 0;
gdjs.GameCode.GDdev_95give_95score_95textObjects2.length = 0;
gdjs.GameCode.GDdev_95give_95score_95textObjects3.length = 0;
gdjs.GameCode.GDdev_95give_95score_95textObjects4.length = 0;
gdjs.GameCode.GDdev_95take_95scoreObjects1.length = 0;
gdjs.GameCode.GDdev_95take_95scoreObjects2.length = 0;
gdjs.GameCode.GDdev_95take_95scoreObjects3.length = 0;
gdjs.GameCode.GDdev_95take_95scoreObjects4.length = 0;
gdjs.GameCode.GDdev_95take_95score_95textObjects1.length = 0;
gdjs.GameCode.GDdev_95take_95score_95textObjects2.length = 0;
gdjs.GameCode.GDdev_95take_95score_95textObjects3.length = 0;
gdjs.GameCode.GDdev_95take_95score_95textObjects4.length = 0;
gdjs.GameCode.GDdev_95give_95lvlObjects1.length = 0;
gdjs.GameCode.GDdev_95give_95lvlObjects2.length = 0;
gdjs.GameCode.GDdev_95give_95lvlObjects3.length = 0;
gdjs.GameCode.GDdev_95give_95lvlObjects4.length = 0;
gdjs.GameCode.GDdev_95take_95lvlObjects1.length = 0;
gdjs.GameCode.GDdev_95take_95lvlObjects2.length = 0;
gdjs.GameCode.GDdev_95take_95lvlObjects3.length = 0;
gdjs.GameCode.GDdev_95take_95lvlObjects4.length = 0;
gdjs.GameCode.GDdev_95give_95lvl_95textObjects1.length = 0;
gdjs.GameCode.GDdev_95give_95lvl_95textObjects2.length = 0;
gdjs.GameCode.GDdev_95give_95lvl_95textObjects3.length = 0;
gdjs.GameCode.GDdev_95give_95lvl_95textObjects4.length = 0;
gdjs.GameCode.GDdev_95take_95lvl_95textObjects1.length = 0;
gdjs.GameCode.GDdev_95take_95lvl_95textObjects2.length = 0;
gdjs.GameCode.GDdev_95take_95lvl_95textObjects3.length = 0;
gdjs.GameCode.GDdev_95take_95lvl_95textObjects4.length = 0;
gdjs.GameCode.GDbtn_95markObjects1.length = 0;
gdjs.GameCode.GDbtn_95markObjects2.length = 0;
gdjs.GameCode.GDbtn_95markObjects3.length = 0;
gdjs.GameCode.GDbtn_95markObjects4.length = 0;
gdjs.GameCode.GDshopObjects1.length = 0;
gdjs.GameCode.GDshopObjects2.length = 0;
gdjs.GameCode.GDshopObjects3.length = 0;
gdjs.GameCode.GDshopObjects4.length = 0;
gdjs.GameCode.GDshop_95backroundObjects1.length = 0;
gdjs.GameCode.GDshop_95backroundObjects2.length = 0;
gdjs.GameCode.GDshop_95backroundObjects3.length = 0;
gdjs.GameCode.GDshop_95backroundObjects4.length = 0;
gdjs.GameCode.GDwarning_95logoObjects1.length = 0;
gdjs.GameCode.GDwarning_95logoObjects2.length = 0;
gdjs.GameCode.GDwarning_95logoObjects3.length = 0;
gdjs.GameCode.GDwarning_95logoObjects4.length = 0;
gdjs.GameCode.GDupgradesObjects1.length = 0;
gdjs.GameCode.GDupgradesObjects2.length = 0;
gdjs.GameCode.GDupgradesObjects3.length = 0;
gdjs.GameCode.GDupgradesObjects4.length = 0;
gdjs.GameCode.GDinfo2Objects1.length = 0;
gdjs.GameCode.GDinfo2Objects2.length = 0;
gdjs.GameCode.GDinfo2Objects3.length = 0;
gdjs.GameCode.GDinfo2Objects4.length = 0;
gdjs.GameCode.GDkeyboardObjects1.length = 0;
gdjs.GameCode.GDkeyboardObjects2.length = 0;
gdjs.GameCode.GDkeyboardObjects3.length = 0;
gdjs.GameCode.GDkeyboardObjects4.length = 0;
gdjs.GameCode.GDticketObjects1.length = 0;
gdjs.GameCode.GDticketObjects2.length = 0;
gdjs.GameCode.GDticketObjects3.length = 0;
gdjs.GameCode.GDticketObjects4.length = 0;
gdjs.GameCode.GDwarning_95textObjects1.length = 0;
gdjs.GameCode.GDwarning_95textObjects2.length = 0;
gdjs.GameCode.GDwarning_95textObjects3.length = 0;
gdjs.GameCode.GDwarning_95textObjects4.length = 0;
gdjs.GameCode.GDwarning_951000Objects1.length = 0;
gdjs.GameCode.GDwarning_951000Objects2.length = 0;
gdjs.GameCode.GDwarning_951000Objects3.length = 0;
gdjs.GameCode.GDwarning_951000Objects4.length = 0;
gdjs.GameCode.GDwarning_95cancelObjects1.length = 0;
gdjs.GameCode.GDwarning_95cancelObjects2.length = 0;
gdjs.GameCode.GDwarning_95cancelObjects3.length = 0;
gdjs.GameCode.GDwarning_95cancelObjects4.length = 0;
gdjs.GameCode.GDwarning_95acceptObjects1.length = 0;
gdjs.GameCode.GDwarning_95acceptObjects2.length = 0;
gdjs.GameCode.GDwarning_95acceptObjects3.length = 0;
gdjs.GameCode.GDwarning_95acceptObjects4.length = 0;
gdjs.GameCode.GDyoutubeObjects1.length = 0;
gdjs.GameCode.GDyoutubeObjects2.length = 0;
gdjs.GameCode.GDyoutubeObjects3.length = 0;
gdjs.GameCode.GDyoutubeObjects4.length = 0;
gdjs.GameCode.GDwarning_95gold_95backroundObjects1.length = 0;
gdjs.GameCode.GDwarning_95gold_95backroundObjects2.length = 0;
gdjs.GameCode.GDwarning_95gold_95backroundObjects3.length = 0;
gdjs.GameCode.GDwarning_95gold_95backroundObjects4.length = 0;
gdjs.GameCode.GDwarning_95gold_95logoObjects1.length = 0;
gdjs.GameCode.GDwarning_95gold_95logoObjects2.length = 0;
gdjs.GameCode.GDwarning_95gold_95logoObjects3.length = 0;
gdjs.GameCode.GDwarning_95gold_95logoObjects4.length = 0;
gdjs.GameCode.GDwarning_95gold_95textObjects1.length = 0;
gdjs.GameCode.GDwarning_95gold_95textObjects2.length = 0;
gdjs.GameCode.GDwarning_95gold_95textObjects3.length = 0;
gdjs.GameCode.GDwarning_95gold_95textObjects4.length = 0;
gdjs.GameCode.GDwarning_95gold_95cancelObjects1.length = 0;
gdjs.GameCode.GDwarning_95gold_95cancelObjects2.length = 0;
gdjs.GameCode.GDwarning_95gold_95cancelObjects3.length = 0;
gdjs.GameCode.GDwarning_95gold_95cancelObjects4.length = 0;
gdjs.GameCode.GDwarnig_95gold_95payObjects1.length = 0;
gdjs.GameCode.GDwarnig_95gold_95payObjects2.length = 0;
gdjs.GameCode.GDwarnig_95gold_95payObjects3.length = 0;
gdjs.GameCode.GDwarnig_95gold_95payObjects4.length = 0;

gdjs.GameCode.eventsList22(runtimeScene);
return;

}

gdjs['GameCode'] = gdjs.GameCode;
