gdjs.free_95tryCode = {};
gdjs.free_95tryCode.GDplataformaObjects1= [];
gdjs.free_95tryCode.GDplataformaObjects2= [];
gdjs.free_95tryCode.GDplataformaObjects3= [];
gdjs.free_95tryCode.GDheroiObjects1= [];
gdjs.free_95tryCode.GDheroiObjects2= [];
gdjs.free_95tryCode.GDheroiObjects3= [];
gdjs.free_95tryCode.GDtiledpiece2Objects1= [];
gdjs.free_95tryCode.GDtiledpiece2Objects2= [];
gdjs.free_95tryCode.GDtiledpiece2Objects3= [];
gdjs.free_95tryCode.GDtiledpiece1Objects1= [];
gdjs.free_95tryCode.GDtiledpiece1Objects2= [];
gdjs.free_95tryCode.GDtiledpiece1Objects3= [];
gdjs.free_95tryCode.GDmais_95zoomObjects1= [];
gdjs.free_95tryCode.GDmais_95zoomObjects2= [];
gdjs.free_95tryCode.GDmais_95zoomObjects3= [];
gdjs.free_95tryCode.GDmenos_95zoomObjects1= [];
gdjs.free_95tryCode.GDmenos_95zoomObjects2= [];
gdjs.free_95tryCode.GDmenos_95zoomObjects3= [];
gdjs.free_95tryCode.GDcamera1Objects1= [];
gdjs.free_95tryCode.GDcamera1Objects2= [];
gdjs.free_95tryCode.GDcamera1Objects3= [];
gdjs.free_95tryCode.GDfundo_95backgroundObjects1= [];
gdjs.free_95tryCode.GDfundo_95backgroundObjects2= [];
gdjs.free_95tryCode.GDfundo_95backgroundObjects3= [];
gdjs.free_95tryCode.GDinventario_95gridObjects1= [];
gdjs.free_95tryCode.GDinventario_95gridObjects2= [];
gdjs.free_95tryCode.GDinventario_95gridObjects3= [];
gdjs.free_95tryCode.GDTIMERObjects1= [];
gdjs.free_95tryCode.GDTIMERObjects2= [];
gdjs.free_95tryCode.GDTIMERObjects3= [];
gdjs.free_95tryCode.GDbox1Objects1= [];
gdjs.free_95tryCode.GDbox1Objects2= [];
gdjs.free_95tryCode.GDbox1Objects3= [];
gdjs.free_95tryCode.GDico_95box1Objects1= [];
gdjs.free_95tryCode.GDico_95box1Objects2= [];
gdjs.free_95tryCode.GDico_95box1Objects3= [];
gdjs.free_95tryCode.GDqtd_95box1Objects1= [];
gdjs.free_95tryCode.GDqtd_95box1Objects2= [];
gdjs.free_95tryCode.GDqtd_95box1Objects3= [];
gdjs.free_95tryCode.GDbolaObjects1= [];
gdjs.free_95tryCode.GDbolaObjects2= [];
gdjs.free_95tryCode.GDbolaObjects3= [];
gdjs.free_95tryCode.GDico_95bolaObjects1= [];
gdjs.free_95tryCode.GDico_95bolaObjects2= [];
gdjs.free_95tryCode.GDico_95bolaObjects3= [];
gdjs.free_95tryCode.GDqtd_95bolaObjects1= [];
gdjs.free_95tryCode.GDqtd_95bolaObjects2= [];
gdjs.free_95tryCode.GDqtd_95bolaObjects3= [];
gdjs.free_95tryCode.GDmolaObjects1= [];
gdjs.free_95tryCode.GDmolaObjects2= [];
gdjs.free_95tryCode.GDmolaObjects3= [];
gdjs.free_95tryCode.GDico_95molaObjects1= [];
gdjs.free_95tryCode.GDico_95molaObjects2= [];
gdjs.free_95tryCode.GDico_95molaObjects3= [];
gdjs.free_95tryCode.GDqtd_95molaObjects1= [];
gdjs.free_95tryCode.GDqtd_95molaObjects2= [];
gdjs.free_95tryCode.GDqtd_95molaObjects3= [];
gdjs.free_95tryCode.GDjumpballObjects1= [];
gdjs.free_95tryCode.GDjumpballObjects2= [];
gdjs.free_95tryCode.GDjumpballObjects3= [];
gdjs.free_95tryCode.GDoutbox_95itemObjects1= [];
gdjs.free_95tryCode.GDoutbox_95itemObjects2= [];
gdjs.free_95tryCode.GDoutbox_95itemObjects3= [];
gdjs.free_95tryCode.GDcenter_95screenObjects1= [];
gdjs.free_95tryCode.GDcenter_95screenObjects2= [];
gdjs.free_95tryCode.GDcenter_95screenObjects3= [];
gdjs.free_95tryCode.GDsprite_95aguaObjects1= [];
gdjs.free_95tryCode.GDsprite_95aguaObjects2= [];
gdjs.free_95tryCode.GDsprite_95aguaObjects3= [];
gdjs.free_95tryCode.GDplataforma1Objects1= [];
gdjs.free_95tryCode.GDplataforma1Objects2= [];
gdjs.free_95tryCode.GDplataforma1Objects3= [];
gdjs.free_95tryCode.GDico_95plataforma1Objects1= [];
gdjs.free_95tryCode.GDico_95plataforma1Objects2= [];
gdjs.free_95tryCode.GDico_95plataforma1Objects3= [];
gdjs.free_95tryCode.GDqtd_95plataforma1Objects1= [];
gdjs.free_95tryCode.GDqtd_95plataforma1Objects2= [];
gdjs.free_95tryCode.GDqtd_95plataforma1Objects3= [];
gdjs.free_95tryCode.GDclique_95aquiObjects1= [];
gdjs.free_95tryCode.GDclique_95aquiObjects2= [];
gdjs.free_95tryCode.GDclique_95aquiObjects3= [];
gdjs.free_95tryCode.GDcheckpointObjects1= [];
gdjs.free_95tryCode.GDcheckpointObjects2= [];
gdjs.free_95tryCode.GDcheckpointObjects3= [];
gdjs.free_95tryCode.GDstarthereObjects1= [];
gdjs.free_95tryCode.GDstarthereObjects2= [];
gdjs.free_95tryCode.GDstarthereObjects3= [];
gdjs.free_95tryCode.GDico_95relogioObjects1= [];
gdjs.free_95tryCode.GDico_95relogioObjects2= [];
gdjs.free_95tryCode.GDico_95relogioObjects3= [];
gdjs.free_95tryCode.GDbarroObjects1= [];
gdjs.free_95tryCode.GDbarroObjects2= [];
gdjs.free_95tryCode.GDbarroObjects3= [];
gdjs.free_95tryCode.GDletsgoObjects1= [];
gdjs.free_95tryCode.GDletsgoObjects2= [];
gdjs.free_95tryCode.GDletsgoObjects3= [];
gdjs.free_95tryCode.GDtryagainObjects1= [];
gdjs.free_95tryCode.GDtryagainObjects2= [];
gdjs.free_95tryCode.GDtryagainObjects3= [];
gdjs.free_95tryCode.GDwelldoneObjects1= [];
gdjs.free_95tryCode.GDwelldoneObjects2= [];
gdjs.free_95tryCode.GDwelldoneObjects3= [];
gdjs.free_95tryCode.GDtimeisupObjects1= [];
gdjs.free_95tryCode.GDtimeisupObjects2= [];
gdjs.free_95tryCode.GDtimeisupObjects3= [];
gdjs.free_95tryCode.GDmoretimeObjects1= [];
gdjs.free_95tryCode.GDmoretimeObjects2= [];
gdjs.free_95tryCode.GDmoretimeObjects3= [];
gdjs.free_95tryCode.GDrestartObjects1= [];
gdjs.free_95tryCode.GDrestartObjects2= [];
gdjs.free_95tryCode.GDrestartObjects3= [];
gdjs.free_95tryCode.GDendpointObjects1= [];
gdjs.free_95tryCode.GDendpointObjects2= [];
gdjs.free_95tryCode.GDendpointObjects3= [];

gdjs.free_95tryCode.conditionTrue_0 = {val:false};
gdjs.free_95tryCode.condition0IsTrue_0 = {val:false};
gdjs.free_95tryCode.condition1IsTrue_0 = {val:false};
gdjs.free_95tryCode.condition2IsTrue_0 = {val:false};
gdjs.free_95tryCode.condition3IsTrue_0 = {val:false};
gdjs.free_95tryCode.condition4IsTrue_0 = {val:false};
gdjs.free_95tryCode.condition5IsTrue_0 = {val:false};
gdjs.free_95tryCode.condition6IsTrue_0 = {val:false};
gdjs.free_95tryCode.condition7IsTrue_0 = {val:false};


gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDcenter_9595screenObjects1Objects = Hashtable.newFrom({"center_screen": gdjs.free_95tryCode.GDcenter_95screenObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.eventsList0x791a2c = function(runtimeScene) {

{

gdjs.free_95tryCode.GDcenter_95screenObjects2.createFrom(gdjs.free_95tryCode.GDcenter_95screenObjects1);

gdjs.free_95tryCode.GDheroiObjects2.createFrom(gdjs.free_95tryCode.GDheroiObjects1);


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
for(var i = 0, k = 0, l = gdjs.free_95tryCode.GDcenter_95screenObjects2.length;i<l;++i) {
    if ( gdjs.free_95tryCode.GDcenter_95screenObjects2[i].getX() < (( gdjs.free_95tryCode.GDheroiObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDheroiObjects2[0].getPointX("")) ) {
        gdjs.free_95tryCode.condition0IsTrue_0.val = true;
        gdjs.free_95tryCode.GDcenter_95screenObjects2[k] = gdjs.free_95tryCode.GDcenter_95screenObjects2[i];
        ++k;
    }
}
gdjs.free_95tryCode.GDcenter_95screenObjects2.length = k;}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDcenter_95screenObjects2 */
{for(var i = 0, len = gdjs.free_95tryCode.GDcenter_95screenObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDcenter_95screenObjects2[i].setX(gdjs.free_95tryCode.GDcenter_95screenObjects2[i].getX() + (5));
}
}}

}


{

gdjs.free_95tryCode.GDcenter_95screenObjects2.createFrom(gdjs.free_95tryCode.GDcenter_95screenObjects1);

gdjs.free_95tryCode.GDheroiObjects2.createFrom(gdjs.free_95tryCode.GDheroiObjects1);


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
for(var i = 0, k = 0, l = gdjs.free_95tryCode.GDcenter_95screenObjects2.length;i<l;++i) {
    if ( gdjs.free_95tryCode.GDcenter_95screenObjects2[i].getX() > (( gdjs.free_95tryCode.GDheroiObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDheroiObjects2[0].getPointX("")) ) {
        gdjs.free_95tryCode.condition0IsTrue_0.val = true;
        gdjs.free_95tryCode.GDcenter_95screenObjects2[k] = gdjs.free_95tryCode.GDcenter_95screenObjects2[i];
        ++k;
    }
}
gdjs.free_95tryCode.GDcenter_95screenObjects2.length = k;}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDcenter_95screenObjects2 */
{for(var i = 0, len = gdjs.free_95tryCode.GDcenter_95screenObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDcenter_95screenObjects2[i].setX(gdjs.free_95tryCode.GDcenter_95screenObjects2[i].getX() - (5));
}
}}

}


{

gdjs.free_95tryCode.GDcenter_95screenObjects2.createFrom(gdjs.free_95tryCode.GDcenter_95screenObjects1);

gdjs.free_95tryCode.GDheroiObjects2.createFrom(gdjs.free_95tryCode.GDheroiObjects1);


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
for(var i = 0, k = 0, l = gdjs.free_95tryCode.GDcenter_95screenObjects2.length;i<l;++i) {
    if ( gdjs.free_95tryCode.GDcenter_95screenObjects2[i].getY() < (( gdjs.free_95tryCode.GDheroiObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDheroiObjects2[0].getPointY("")) - 100 ) {
        gdjs.free_95tryCode.condition0IsTrue_0.val = true;
        gdjs.free_95tryCode.GDcenter_95screenObjects2[k] = gdjs.free_95tryCode.GDcenter_95screenObjects2[i];
        ++k;
    }
}
gdjs.free_95tryCode.GDcenter_95screenObjects2.length = k;}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDcenter_95screenObjects2 */
{for(var i = 0, len = gdjs.free_95tryCode.GDcenter_95screenObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDcenter_95screenObjects2[i].setY(gdjs.free_95tryCode.GDcenter_95screenObjects2[i].getY() + (8));
}
}}

}


{

/* Reuse gdjs.free_95tryCode.GDcenter_95screenObjects1 */
/* Reuse gdjs.free_95tryCode.GDheroiObjects1 */

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
for(var i = 0, k = 0, l = gdjs.free_95tryCode.GDcenter_95screenObjects1.length;i<l;++i) {
    if ( gdjs.free_95tryCode.GDcenter_95screenObjects1[i].getY() > (( gdjs.free_95tryCode.GDheroiObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDheroiObjects1[0].getPointY("")) - 100 ) {
        gdjs.free_95tryCode.condition0IsTrue_0.val = true;
        gdjs.free_95tryCode.GDcenter_95screenObjects1[k] = gdjs.free_95tryCode.GDcenter_95screenObjects1[i];
        ++k;
    }
}
gdjs.free_95tryCode.GDcenter_95screenObjects1.length = k;}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDcenter_95screenObjects1 */
{for(var i = 0, len = gdjs.free_95tryCode.GDcenter_95screenObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDcenter_95screenObjects1[i].setY(gdjs.free_95tryCode.GDcenter_95screenObjects1[i].getY() - (8));
}
}}

}


}; //End of gdjs.free_95tryCode.eventsList0x791a2c
gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmenos_9595zoomObjects1Objects = Hashtable.newFrom({"menos_zoom": gdjs.free_95tryCode.GDmenos_95zoomObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmais_9595zoomObjects1Objects = Hashtable.newFrom({"mais_zoom": gdjs.free_95tryCode.GDmais_95zoomObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDtiledpiece1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDbox1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDmolaObjects1ObjectsGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects = Hashtable.newFrom({"tiledpiece1": gdjs.free_95tryCode.GDtiledpiece1Objects1, "box1": gdjs.free_95tryCode.GDbox1Objects1, "mola": gdjs.free_95tryCode.GDmolaObjects1, "plataforma1": gdjs.free_95tryCode.GDplataforma1Objects1});gdjs.free_95tryCode.eventsList0x6b6efc = function(runtimeScene) {

{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
gdjs.free_95tryCode.condition2IsTrue_0.val = false;
gdjs.free_95tryCode.condition3IsTrue_0.val = false;
gdjs.free_95tryCode.condition4IsTrue_0.val = false;
gdjs.free_95tryCode.condition5IsTrue_0.val = false;
gdjs.free_95tryCode.condition6IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = !(gdjs.evtTools.input.wasKeyReleased(runtimeScene, "Space"));
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = !(gdjs.evtTools.input.isKeyPressed(runtimeScene, "Left"));
}if ( gdjs.free_95tryCode.condition1IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition2IsTrue_0.val = !(gdjs.evtTools.input.isKeyPressed(runtimeScene, "a"));
}if ( gdjs.free_95tryCode.condition2IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition3IsTrue_0.val = !(gdjs.evtTools.input.isKeyPressed(runtimeScene, "Right"));
}if ( gdjs.free_95tryCode.condition3IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition4IsTrue_0.val = !(gdjs.evtTools.input.isKeyPressed(runtimeScene, "d"));
}if ( gdjs.free_95tryCode.condition4IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition5IsTrue_0.val = !(gdjs.evtTools.input.isKeyPressed(runtimeScene, "Numpad4"));
}if ( gdjs.free_95tryCode.condition5IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition6IsTrue_0.val = !(gdjs.evtTools.input.isKeyPressed(runtimeScene, "Numpad6"));
}}
}
}
}
}
}
if (gdjs.free_95tryCode.condition6IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects2.createFrom(gdjs.free_95tryCode.GDheroiObjects1);

{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects2[i].setAnimationName("parado");
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.wasKeyReleased(runtimeScene, "Space");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects2.createFrom(gdjs.free_95tryCode.GDheroiObjects1);

gdjs.free_95tryCode.GDletsgoObjects2.createFrom(runtimeScene.getObjects("letsgo"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects2[i].getBehavior("Physics2").applyForce(0, -(120), 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDletsgoObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDletsgoObjects2[i].hide();
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "jump.wav", false, 80, 1);
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.wasKeyReleased(runtimeScene, "Return");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDheroiObjects1 */
gdjs.free_95tryCode.GDletsgoObjects1.createFrom(runtimeScene.getObjects("letsgo"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].getBehavior("Physics2").applyForce(0, -(120), 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDletsgoObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDletsgoObjects1[i].hide();
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "jump.wav", false, 80, 1);
}}

}


}; //End of gdjs.free_95tryCode.eventsList0x6b6efc
gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDtiledpiece1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDbox1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDmolaObjects1ObjectsGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects = Hashtable.newFrom({"tiledpiece1": gdjs.free_95tryCode.GDtiledpiece1Objects1, "box1": gdjs.free_95tryCode.GDbox1Objects1, "mola": gdjs.free_95tryCode.GDmolaObjects1, "plataforma1": gdjs.free_95tryCode.GDplataforma1Objects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDsprite_9595aguaObjects1Objects = Hashtable.newFrom({"sprite_agua": gdjs.free_95tryCode.GDsprite_95aguaObjects1});gdjs.free_95tryCode.eventsList0x70d88c = function(runtimeScene) {

{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.wasKeyReleased(runtimeScene, "Space");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects2.createFrom(gdjs.free_95tryCode.GDheroiObjects1);

{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects2[i].getBehavior("Physics2").applyForce(0, -(120), 0, 0);
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.wasKeyReleased(runtimeScene, "Return");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects2.createFrom(gdjs.free_95tryCode.GDheroiObjects1);

{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects2[i].getBehavior("Physics2").applyForce(0, -(120), 0, 0);
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.timerElapsedTime(runtimeScene, 0.3, "indanger");
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(1)) > 0;
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
{runtimeScene.getVariables().getFromIndex(1).sub(1);
}{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "indanger");
}}

}


}; //End of gdjs.free_95tryCode.eventsList0x70d88c
gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDsprite_9595aguaObjects1Objects = Hashtable.newFrom({"sprite_agua": gdjs.free_95tryCode.GDsprite_95aguaObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDbolaObjects1Objects = Hashtable.newFrom({"bola": gdjs.free_95tryCode.GDbolaObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmolaObjects1Objects = Hashtable.newFrom({"mola": gdjs.free_95tryCode.GDmolaObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDtiledpiece1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDbox1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDmolaObjects1ObjectsGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects = Hashtable.newFrom({"tiledpiece1": gdjs.free_95tryCode.GDtiledpiece1Objects1, "box1": gdjs.free_95tryCode.GDbox1Objects1, "mola": gdjs.free_95tryCode.GDmolaObjects1, "plataforma1": gdjs.free_95tryCode.GDplataforma1Objects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDclique_9595aquiObjects1Objects = Hashtable.newFrom({"clique_aqui": gdjs.free_95tryCode.GDclique_95aquiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDoutbox_9595itemObjects1Objects = Hashtable.newFrom({"outbox_item": gdjs.free_95tryCode.GDoutbox_95itemObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDclique_9595aquiObjects1Objects = Hashtable.newFrom({"clique_aqui": gdjs.free_95tryCode.GDclique_95aquiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595box1Objects2Objects = Hashtable.newFrom({"ico_box1": gdjs.free_95tryCode.GDico_95box1Objects2});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDbox1Objects2Objects = Hashtable.newFrom({"box1": gdjs.free_95tryCode.GDbox1Objects2});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595bolaObjects2Objects = Hashtable.newFrom({"ico_bola": gdjs.free_95tryCode.GDico_95bolaObjects2});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDbolaObjects2Objects = Hashtable.newFrom({"bola": gdjs.free_95tryCode.GDbolaObjects2});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595molaObjects2Objects = Hashtable.newFrom({"ico_mola": gdjs.free_95tryCode.GDico_95molaObjects2});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmolaObjects2Objects = Hashtable.newFrom({"mola": gdjs.free_95tryCode.GDmolaObjects2});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595plataforma1Objects1Objects = Hashtable.newFrom({"ico_plataforma1": gdjs.free_95tryCode.GDico_95plataforma1Objects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects = Hashtable.newFrom({"plataforma1": gdjs.free_95tryCode.GDplataforma1Objects1});gdjs.free_95tryCode.eventsList0x7f126c = function(runtimeScene) {

{

gdjs.free_95tryCode.GDico_95box1Objects2.createFrom(runtimeScene.getObjects("ico_box1"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595box1Objects2Objects, runtimeScene, true, false);
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(4)) > 0;
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
gdjs.free_95tryCode.GDclique_95aquiObjects2.createFrom(gdjs.free_95tryCode.GDclique_95aquiObjects1);

gdjs.free_95tryCode.GDoutbox_95itemObjects2.createFrom(gdjs.free_95tryCode.GDoutbox_95itemObjects1);

gdjs.free_95tryCode.GDbox1Objects2.length = 0;

{gdjs.evtTools.object.createObjectFromGroupOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDbox1Objects2Objects, "box1", (( gdjs.free_95tryCode.GDoutbox_95itemObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects2[0].getPointX("")), (( gdjs.free_95tryCode.GDoutbox_95itemObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects2[0].getPointY("")), "GAME");
}{for(var i = 0, len = gdjs.free_95tryCode.GDclique_95aquiObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDclique_95aquiObjects2[i].deleteFromScene(runtimeScene);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDoutbox_95itemObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDoutbox_95itemObjects2[i].hide();
}
}{runtimeScene.getVariables().getFromIndex(4).sub(1);
}}

}


{

gdjs.free_95tryCode.GDico_95bolaObjects2.createFrom(runtimeScene.getObjects("ico_bola"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595bolaObjects2Objects, runtimeScene, true, false);
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(3)) > 0;
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
gdjs.free_95tryCode.GDclique_95aquiObjects2.createFrom(gdjs.free_95tryCode.GDclique_95aquiObjects1);

gdjs.free_95tryCode.GDoutbox_95itemObjects2.createFrom(gdjs.free_95tryCode.GDoutbox_95itemObjects1);

gdjs.free_95tryCode.GDbolaObjects2.length = 0;

{gdjs.evtTools.object.createObjectFromGroupOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDbolaObjects2Objects, "bola", (( gdjs.free_95tryCode.GDoutbox_95itemObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects2[0].getPointX("")), (( gdjs.free_95tryCode.GDoutbox_95itemObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects2[0].getPointY("")), "GAME");
}{for(var i = 0, len = gdjs.free_95tryCode.GDclique_95aquiObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDclique_95aquiObjects2[i].deleteFromScene(runtimeScene);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDoutbox_95itemObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDoutbox_95itemObjects2[i].hide();
}
}{runtimeScene.getVariables().getFromIndex(3).sub(1);
}}

}


{

gdjs.free_95tryCode.GDico_95molaObjects2.createFrom(runtimeScene.getObjects("ico_mola"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595molaObjects2Objects, runtimeScene, true, false);
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(6)) > 0;
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
gdjs.free_95tryCode.GDclique_95aquiObjects2.createFrom(gdjs.free_95tryCode.GDclique_95aquiObjects1);

gdjs.free_95tryCode.GDoutbox_95itemObjects2.createFrom(gdjs.free_95tryCode.GDoutbox_95itemObjects1);

gdjs.free_95tryCode.GDmolaObjects2.length = 0;

{gdjs.evtTools.object.createObjectFromGroupOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmolaObjects2Objects, "mola", (( gdjs.free_95tryCode.GDoutbox_95itemObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects2[0].getPointX("")), (( gdjs.free_95tryCode.GDoutbox_95itemObjects2.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects2[0].getPointY("")), "GAME");
}{for(var i = 0, len = gdjs.free_95tryCode.GDclique_95aquiObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDclique_95aquiObjects2[i].deleteFromScene(runtimeScene);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDoutbox_95itemObjects2.length ;i < len;++i) {
    gdjs.free_95tryCode.GDoutbox_95itemObjects2[i].hide();
}
}{runtimeScene.getVariables().getFromIndex(6).sub(1);
}}

}


{

gdjs.free_95tryCode.GDico_95plataforma1Objects1.createFrom(runtimeScene.getObjects("ico_plataforma1"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDico_9595plataforma1Objects1Objects, runtimeScene, true, false);
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(5)) > 0;
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDclique_95aquiObjects1 */
/* Reuse gdjs.free_95tryCode.GDoutbox_95itemObjects1 */
gdjs.free_95tryCode.GDplataforma1Objects1.length = 0;

{gdjs.evtTools.object.createObjectFromGroupOnScene((typeof eventsFunctionContext !== 'undefined' ? eventsFunctionContext : runtimeScene), gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects, "plataforma1", (( gdjs.free_95tryCode.GDoutbox_95itemObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects1[0].getPointX("")), (( gdjs.free_95tryCode.GDoutbox_95itemObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDoutbox_95itemObjects1[0].getPointY("")), "GAME");
}{for(var i = 0, len = gdjs.free_95tryCode.GDclique_95aquiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDclique_95aquiObjects1[i].deleteFromScene(runtimeScene);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDoutbox_95itemObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDoutbox_95itemObjects1[i].hide();
}
}{runtimeScene.getVariables().getFromIndex(5).sub(1);
}}

}


}; //End of gdjs.free_95tryCode.eventsList0x7f126c
gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDcheckpointObjects1Objects = Hashtable.newFrom({"checkpoint": gdjs.free_95tryCode.GDcheckpointObjects1});gdjs.free_95tryCode.eventsList0x7e9adc = function(runtimeScene) {

{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.wasKeyReleased(runtimeScene, "Back");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "level_select", false);
}}

}


}; //End of gdjs.free_95tryCode.eventsList0x7e9adc
gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmoretimeObjects1Objects = Hashtable.newFrom({"moretime": gdjs.free_95tryCode.GDmoretimeObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDrestartObjects1Objects = Hashtable.newFrom({"restart": gdjs.free_95tryCode.GDrestartObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects = Hashtable.newFrom({"heroi": gdjs.free_95tryCode.GDheroiObjects1});gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDendpointObjects1Objects = Hashtable.newFrom({"endpoint": gdjs.free_95tryCode.GDendpointObjects1});gdjs.free_95tryCode.eventsList0xb4be0 = function(runtimeScene) {

{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDcenter_95screenObjects1.createFrom(runtimeScene.getObjects("center_screen"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDsprite_95aguaObjects1.createFrom(runtimeScene.getObjects("sprite_agua"));
gdjs.free_95tryCode.GDstarthereObjects1.createFrom(runtimeScene.getObjects("starthere"));
gdjs.free_95tryCode.GDtimeisupObjects1.createFrom(runtimeScene.getObjects("timeisup"));
gdjs.free_95tryCode.GDtryagainObjects1.createFrom(runtimeScene.getObjects("tryagain"));
gdjs.free_95tryCode.GDwelldoneObjects1.createFrom(runtimeScene.getObjects("welldone"));
{runtimeScene.getVariables().getFromIndex(0).setNumber(1);
}{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "chance_time");
}{runtimeScene.getVariables().getFromIndex(1).setNumber(99);
}{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "mili_cicle");
}{for(var i = 0, len = gdjs.free_95tryCode.GDsprite_95aguaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].setY(1152);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDcenter_95screenObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDcenter_95screenObjects1[i].hide();
}
}{runtimeScene.getVariables().getFromIndex(4).setNumber(10);
}{runtimeScene.getVariables().getFromIndex(3).setNumber(10);
}{runtimeScene.getVariables().getFromIndex(6).setNumber(10);
}{runtimeScene.getVariables().getFromIndex(5).setNumber(10);
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setZOrder(5000);
}
}{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "indanger");
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setPosition((( gdjs.free_95tryCode.GDstarthereObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDstarthereObjects1[0].getPointX("")),(( gdjs.free_95tryCode.GDstarthereObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDstarthereObjects1[0].getPointY("")));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDtimeisupObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDtimeisupObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDwelldoneObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDwelldoneObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDtryagainObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDtryagainObjects1[i].hide();
}
}{gdjs.evtTools.sound.playMusicOnChannel(runtimeScene, "level.mp3", 0, true, 100, 1);
}}

}


{

gdjs.free_95tryCode.GDcenter_95screenObjects1.createFrom(runtimeScene.getObjects("center_screen"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.object.distanceTest(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDcenter_9595screenObjects1Objects, gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, 50, true);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {

{ //Subevents
gdjs.free_95tryCode.eventsList0x791a2c(runtimeScene);} //End of subevents
}

}


{


{
gdjs.free_95tryCode.GDTIMERObjects1.createFrom(runtimeScene.getObjects("TIMER"));
gdjs.free_95tryCode.GDbarroObjects1.createFrom(runtimeScene.getObjects("barro"));
gdjs.free_95tryCode.GDcenter_95screenObjects1.createFrom(runtimeScene.getObjects("center_screen"));
gdjs.free_95tryCode.GDfundo_95backgroundObjects1.createFrom(runtimeScene.getObjects("fundo_background"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDqtd_95bolaObjects1.createFrom(runtimeScene.getObjects("qtd_bola"));
gdjs.free_95tryCode.GDqtd_95box1Objects1.createFrom(runtimeScene.getObjects("qtd_box1"));
gdjs.free_95tryCode.GDqtd_95molaObjects1.createFrom(runtimeScene.getObjects("qtd_mola"));
gdjs.free_95tryCode.GDqtd_95plataforma1Objects1.createFrom(runtimeScene.getObjects("qtd_plataforma1"));
{gdjs.evtTools.camera.centerCamera(runtimeScene, (gdjs.free_95tryCode.GDcenter_95screenObjects1.length !== 0 ? gdjs.free_95tryCode.GDcenter_95screenObjects1[0] : null), true, "GAME", 0);
}{gdjs.evtTools.camera.setCameraZoom(runtimeScene, gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(0)), "GAME", 0);
}{for(var i = 0, len = gdjs.free_95tryCode.GDfundo_95backgroundObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDfundo_95backgroundObjects1[i].setX(gdjs.evtTools.camera.getCameraX(runtimeScene, "GAME", 0) * -(0.3));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDTIMERObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDTIMERObjects1[i].setString(gdjs.evtTools.common.getVariableString(runtimeScene.getVariables().getFromIndex(1)));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDqtd_95box1Objects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDqtd_95box1Objects1[i].setString(gdjs.evtTools.common.getVariableString(runtimeScene.getVariables().getFromIndex(4)));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDqtd_95molaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDqtd_95molaObjects1[i].setString(gdjs.evtTools.common.getVariableString(runtimeScene.getVariables().getFromIndex(6)));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDqtd_95bolaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDqtd_95bolaObjects1[i].setString(gdjs.evtTools.common.getVariableString(runtimeScene.getVariables().getFromIndex(3)));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDqtd_95plataforma1Objects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDqtd_95plataforma1Objects1[i].setString(gdjs.evtTools.common.getVariableString(runtimeScene.getVariables().getFromIndex(5)));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDbarroObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDbarroObjects1[i].setPosition((( gdjs.free_95tryCode.GDheroiObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDheroiObjects1[0].getPointX("")),(( gdjs.free_95tryCode.GDheroiObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDheroiObjects1[0].getPointY("")));
}
}}

}


{

gdjs.free_95tryCode.GDmenos_95zoomObjects1.createFrom(runtimeScene.getObjects("menos_zoom"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmenos_9595zoomObjects1Objects, runtimeScene, true, false);
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
{runtimeScene.getVariables().getFromIndex(0).sub(0.1);
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Subtract");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
{runtimeScene.getVariables().getFromIndex(0).sub(0.01);
}}

}


{

gdjs.free_95tryCode.GDmais_95zoomObjects1.createFrom(runtimeScene.getObjects("mais_zoom"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmais_9595zoomObjects1Objects, runtimeScene, true, false);
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
{runtimeScene.getVariables().getFromIndex(0).add(0.1);
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Add");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
{runtimeScene.getVariables().getFromIndex(0).add(0.01);
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.timerElapsedTime(runtimeScene, 1, "chance_time");
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(1)) > 0;
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
{runtimeScene.getVariables().getFromIndex(1).sub(1);
}{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "chance_time");
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.runtimeScene.timerElapsedTime(runtimeScene, 0.1, "mili_cicle");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
{gdjs.evtTools.runtimeScene.resetTimer(runtimeScene, "mili_cicle");
}{runtimeScene.getVariables().getFromIndex(2).add(1);
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(2)) <= 10;
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDsprite_95aguaObjects1.createFrom(runtimeScene.getObjects("sprite_agua"));
{for(var i = 0, len = gdjs.free_95tryCode.GDsprite_95aguaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].setHeight(gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].getHeight() + (0.3));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDsprite_95aguaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].setY(gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].getY() - (0.3));
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(2)) > 10;
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDsprite_95aguaObjects1.createFrom(runtimeScene.getObjects("sprite_agua"));
{for(var i = 0, len = gdjs.free_95tryCode.GDsprite_95aguaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].setHeight(gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].getHeight() - (0.3));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDsprite_95aguaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].setY(gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].getY() + (0.3));
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(2)) > 20;
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDsprite_95aguaObjects1.createFrom(runtimeScene.getObjects("sprite_agua"));
{runtimeScene.getVariables().getFromIndex(2).setNumber(0);
}{for(var i = 0, len = gdjs.free_95tryCode.GDsprite_95aguaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDsprite_95aguaObjects1[i].setY(1152);
}
}}

}


{

gdjs.free_95tryCode.GDbox1Objects1.createFrom(runtimeScene.getObjects("box1"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDmolaObjects1.createFrom(runtimeScene.getObjects("mola"));
gdjs.free_95tryCode.GDplataforma1Objects1.createFrom(runtimeScene.getObjects("plataforma1"));
gdjs.free_95tryCode.GDtiledpiece1Objects1.createFrom(runtimeScene.getObjects("tiledpiece1"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.physics2.objectsCollide(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, "Physics2", gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDtiledpiece1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDbox1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDmolaObjects1ObjectsGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {

{ //Subevents
gdjs.free_95tryCode.eventsList0x6b6efc(runtimeScene);} //End of subevents
}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Left");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].getBehavior("Physics2").applyImpulse(-(0.05), 0, 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("correndo");
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].flipX(true);
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Numpad4");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].getBehavior("Physics2").applyImpulse(-(0.05), 0, 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("correndo");
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].flipX(true);
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "a");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].getBehavior("Physics2").applyImpulse(-(0.05), 0, 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("correndo");
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].flipX(true);
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Right");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].getBehavior("Physics2").applyImpulse(0.05, 0, 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("correndo");
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].flipX(false);
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "Numpad6");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].getBehavior("Physics2").applyImpulse(0.05, 0, 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("correndo");
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].flipX(false);
}
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isKeyPressed(runtimeScene, "d");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].getBehavior("Physics2").applyImpulse(0.05, 0, 0, 0);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("correndo");
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].flipX(false);
}
}}

}


{

gdjs.free_95tryCode.GDbox1Objects1.createFrom(runtimeScene.getObjects("box1"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDmolaObjects1.createFrom(runtimeScene.getObjects("mola"));
gdjs.free_95tryCode.GDplataforma1Objects1.createFrom(runtimeScene.getObjects("plataforma1"));
gdjs.free_95tryCode.GDtiledpiece1Objects1.createFrom(runtimeScene.getObjects("tiledpiece1"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.physics2.objectsCollide(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, "Physics2", gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDtiledpiece1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDbox1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDmolaObjects1ObjectsGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects, true);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDheroiObjects1 */
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("pulando");
}
}}

}


{

gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDsprite_95aguaObjects1.createFrom(runtimeScene.getObjects("sprite_agua"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.physics2.objectsCollide(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, "Physics2", gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDsprite_9595aguaObjects1Objects, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDbarroObjects1.createFrom(runtimeScene.getObjects("barro"));
/* Reuse gdjs.free_95tryCode.GDheroiObjects1 */
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setAnimationName("nadando");
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDbarroObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDbarroObjects1[i].setParticleSize1(200);
}
}
{ //Subevents
gdjs.free_95tryCode.eventsList0x70d88c(runtimeScene);} //End of subevents
}

}


{

gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDsprite_95aguaObjects1.createFrom(runtimeScene.getObjects("sprite_agua"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.physics2.objectsCollide(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, "Physics2", gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDsprite_9595aguaObjects1Objects, true);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDbarroObjects1.createFrom(runtimeScene.getObjects("barro"));
{for(var i = 0, len = gdjs.free_95tryCode.GDbarroObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDbarroObjects1[i].setParticleSize1(0);
}
}}

}


{

gdjs.free_95tryCode.GDbolaObjects1.createFrom(runtimeScene.getObjects("bola"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.physics2.objectsCollide(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, "Physics2", gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDbolaObjects1Objects, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDbolaObjects1 */
{for(var i = 0, len = gdjs.free_95tryCode.GDbolaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDbolaObjects1[i].getBehavior("Physics2").applyForceTowardPosition(10, 0, 0, 0, 0);
}
}}

}


{

gdjs.free_95tryCode.GDbox1Objects1.createFrom(runtimeScene.getObjects("box1"));
gdjs.free_95tryCode.GDmolaObjects1.createFrom(runtimeScene.getObjects("mola"));
gdjs.free_95tryCode.GDplataforma1Objects1.createFrom(runtimeScene.getObjects("plataforma1"));
gdjs.free_95tryCode.GDtiledpiece1Objects1.createFrom(runtimeScene.getObjects("tiledpiece1"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.physics2.objectsCollide(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmolaObjects1Objects, "Physics2", gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDtiledpiece1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDbox1Objects1ObjectsGDgdjs_46free_9595tryCode_46GDmolaObjects1ObjectsGDgdjs_46free_9595tryCode_46GDplataforma1Objects1Objects, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDmolaObjects1 */
{for(var i = 0, len = gdjs.free_95tryCode.GDmolaObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDmolaObjects1[i].getBehavior("Physics2").setStatic();
}
}}

}


{

gdjs.free_95tryCode.GDclique_95aquiObjects1.createFrom(runtimeScene.getObjects("clique_aqui"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDclique_9595aquiObjects1Objects, runtimeScene, true, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDclique_95aquiObjects1 */
gdjs.free_95tryCode.GDoutbox_95itemObjects1.createFrom(runtimeScene.getObjects("outbox_item"));
{for(var i = 0, len = gdjs.free_95tryCode.GDoutbox_95itemObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDoutbox_95itemObjects1[i].setPosition((( gdjs.free_95tryCode.GDclique_95aquiObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDclique_95aquiObjects1[0].getPointX("")),(( gdjs.free_95tryCode.GDclique_95aquiObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDclique_95aquiObjects1[0].getPointY("")));
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDoutbox_95itemObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDoutbox_95itemObjects1[i].setZOrder(5000);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDoutbox_95itemObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDoutbox_95itemObjects1[i].hide(false);
}
}}

}


{

gdjs.free_95tryCode.GDclique_95aquiObjects1.createFrom(runtimeScene.getObjects("clique_aqui"));
gdjs.free_95tryCode.GDoutbox_95itemObjects1.createFrom(runtimeScene.getObjects("outbox_item"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDoutbox_9595itemObjects1Objects, gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDclique_9595aquiObjects1Objects, false, runtimeScene, false);
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
{gdjs.evtTools.sound.playSound(runtimeScene, "build.wav", false, 100, 1);
}
{ //Subevents
gdjs.free_95tryCode.eventsList0x7f126c(runtimeScene);} //End of subevents
}

}


{

gdjs.free_95tryCode.GDcheckpointObjects1.createFrom(runtimeScene.getObjects("checkpoint"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDcheckpointObjects1Objects, false, runtimeScene, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDcheckpointObjects1 */
gdjs.free_95tryCode.GDstarthereObjects1.createFrom(runtimeScene.getObjects("starthere"));
{for(var i = 0, len = gdjs.free_95tryCode.GDcheckpointObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDcheckpointObjects1[i].deleteFromScene(runtimeScene);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDstarthereObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDstarthereObjects1[i].setPosition((( gdjs.free_95tryCode.GDcheckpointObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDcheckpointObjects1[0].getPointX("")),(( gdjs.free_95tryCode.GDcheckpointObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDcheckpointObjects1[0].getPointY("")));
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "checkpoint.wav", false, 100, 1);
}}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.common.getVariableNumber(runtimeScene.getVariables().getFromIndex(1)) <= 0;
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDtimeisupObjects1.createFrom(runtimeScene.getObjects("timeisup"));
gdjs.free_95tryCode.GDtryagainObjects1.createFrom(runtimeScene.getObjects("tryagain"));
{for(var i = 0, len = gdjs.free_95tryCode.GDtimeisupObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDtimeisupObjects1[i].hide(false);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDtryagainObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDtryagainObjects1[i].hide(false);
}
}{runtimeScene.getVariables().getFromIndex(3).setNumber(0);
}{runtimeScene.getVariables().getFromIndex(4).setNumber(0);
}{runtimeScene.getVariables().getFromIndex(5).setNumber(0);
}{runtimeScene.getVariables().getFromIndex(6).setNumber(0);
}{gdjs.evtTools.sound.stopMusicOnChannel(runtimeScene, 0);
}
{ //Subevents
gdjs.free_95tryCode.eventsList0x7e9adc(runtimeScene);} //End of subevents
}

}


{


gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.wasKeyReleased(runtimeScene, "Back");
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDstarthereObjects1.createFrom(runtimeScene.getObjects("starthere"));
{for(var i = 0, len = gdjs.free_95tryCode.GDheroiObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDheroiObjects1[i].setPosition((( gdjs.free_95tryCode.GDstarthereObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDstarthereObjects1[0].getPointX("")),(( gdjs.free_95tryCode.GDstarthereObjects1.length === 0 ) ? 0 :gdjs.free_95tryCode.GDstarthereObjects1[0].getPointY("")));
}
}}

}


{

gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));
gdjs.free_95tryCode.GDmoretimeObjects1.createFrom(runtimeScene.getObjects("moretime"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDmoretimeObjects1Objects, false, runtimeScene, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
/* Reuse gdjs.free_95tryCode.GDmoretimeObjects1 */
{for(var i = 0, len = gdjs.free_95tryCode.GDmoretimeObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDmoretimeObjects1[i].deleteFromScene(runtimeScene);
}
}{runtimeScene.getVariables().getFromIndex(1).add(10);
}{gdjs.evtTools.sound.playSound(runtimeScene, "moretime.wav", false, 100, 1);
}}

}


{

gdjs.free_95tryCode.GDrestartObjects1.createFrom(runtimeScene.getObjects("restart"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
gdjs.free_95tryCode.condition1IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.input.cursorOnObject(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDrestartObjects1Objects, runtimeScene, true, false);
}if ( gdjs.free_95tryCode.condition0IsTrue_0.val ) {
{
gdjs.free_95tryCode.condition1IsTrue_0.val = gdjs.evtTools.input.isMouseButtonReleased(runtimeScene, "Left");
}}
if (gdjs.free_95tryCode.condition1IsTrue_0.val) {
{gdjs.evtTools.runtimeScene.replaceScene(runtimeScene, "level_select", false);
}{gdjs.evtTools.sound.playSound(runtimeScene, "restart.wav", false, 100, 1);
}}

}


{

gdjs.free_95tryCode.GDendpointObjects1.createFrom(runtimeScene.getObjects("endpoint"));
gdjs.free_95tryCode.GDheroiObjects1.createFrom(runtimeScene.getObjects("heroi"));

gdjs.free_95tryCode.condition0IsTrue_0.val = false;
{
gdjs.free_95tryCode.condition0IsTrue_0.val = gdjs.evtTools.object.hitBoxesCollisionTest(gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDheroiObjects1Objects, gdjs.free_95tryCode.mapOfGDgdjs_46free_9595tryCode_46GDendpointObjects1Objects, false, runtimeScene, false);
}if (gdjs.free_95tryCode.condition0IsTrue_0.val) {
gdjs.free_95tryCode.GDletsgoObjects1.createFrom(runtimeScene.getObjects("letsgo"));
gdjs.free_95tryCode.GDtimeisupObjects1.createFrom(runtimeScene.getObjects("timeisup"));
gdjs.free_95tryCode.GDtryagainObjects1.createFrom(runtimeScene.getObjects("tryagain"));
gdjs.free_95tryCode.GDwelldoneObjects1.createFrom(runtimeScene.getObjects("welldone"));
{runtimeScene.getVariables().getFromIndex(1).setNumber(500);
}{for(var i = 0, len = gdjs.free_95tryCode.GDwelldoneObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDwelldoneObjects1[i].hide(false);
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDtryagainObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDtryagainObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDtimeisupObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDtimeisupObjects1[i].hide();
}
}{for(var i = 0, len = gdjs.free_95tryCode.GDletsgoObjects1.length ;i < len;++i) {
    gdjs.free_95tryCode.GDletsgoObjects1[i].hide();
}
}{gdjs.evtTools.sound.playSound(runtimeScene, "welldone.wav", false, 100, 1);
}{gdjs.evtTools.sound.stopMusicOnChannel(runtimeScene, 0);
}}

}


}; //End of gdjs.free_95tryCode.eventsList0xb4be0


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

gdjs.free_95tryCode.GDplataformaObjects1.length = 0;
gdjs.free_95tryCode.GDplataformaObjects2.length = 0;
gdjs.free_95tryCode.GDplataformaObjects3.length = 0;
gdjs.free_95tryCode.GDheroiObjects1.length = 0;
gdjs.free_95tryCode.GDheroiObjects2.length = 0;
gdjs.free_95tryCode.GDheroiObjects3.length = 0;
gdjs.free_95tryCode.GDtiledpiece2Objects1.length = 0;
gdjs.free_95tryCode.GDtiledpiece2Objects2.length = 0;
gdjs.free_95tryCode.GDtiledpiece2Objects3.length = 0;
gdjs.free_95tryCode.GDtiledpiece1Objects1.length = 0;
gdjs.free_95tryCode.GDtiledpiece1Objects2.length = 0;
gdjs.free_95tryCode.GDtiledpiece1Objects3.length = 0;
gdjs.free_95tryCode.GDmais_95zoomObjects1.length = 0;
gdjs.free_95tryCode.GDmais_95zoomObjects2.length = 0;
gdjs.free_95tryCode.GDmais_95zoomObjects3.length = 0;
gdjs.free_95tryCode.GDmenos_95zoomObjects1.length = 0;
gdjs.free_95tryCode.GDmenos_95zoomObjects2.length = 0;
gdjs.free_95tryCode.GDmenos_95zoomObjects3.length = 0;
gdjs.free_95tryCode.GDcamera1Objects1.length = 0;
gdjs.free_95tryCode.GDcamera1Objects2.length = 0;
gdjs.free_95tryCode.GDcamera1Objects3.length = 0;
gdjs.free_95tryCode.GDfundo_95backgroundObjects1.length = 0;
gdjs.free_95tryCode.GDfundo_95backgroundObjects2.length = 0;
gdjs.free_95tryCode.GDfundo_95backgroundObjects3.length = 0;
gdjs.free_95tryCode.GDinventario_95gridObjects1.length = 0;
gdjs.free_95tryCode.GDinventario_95gridObjects2.length = 0;
gdjs.free_95tryCode.GDinventario_95gridObjects3.length = 0;
gdjs.free_95tryCode.GDTIMERObjects1.length = 0;
gdjs.free_95tryCode.GDTIMERObjects2.length = 0;
gdjs.free_95tryCode.GDTIMERObjects3.length = 0;
gdjs.free_95tryCode.GDbox1Objects1.length = 0;
gdjs.free_95tryCode.GDbox1Objects2.length = 0;
gdjs.free_95tryCode.GDbox1Objects3.length = 0;
gdjs.free_95tryCode.GDico_95box1Objects1.length = 0;
gdjs.free_95tryCode.GDico_95box1Objects2.length = 0;
gdjs.free_95tryCode.GDico_95box1Objects3.length = 0;
gdjs.free_95tryCode.GDqtd_95box1Objects1.length = 0;
gdjs.free_95tryCode.GDqtd_95box1Objects2.length = 0;
gdjs.free_95tryCode.GDqtd_95box1Objects3.length = 0;
gdjs.free_95tryCode.GDbolaObjects1.length = 0;
gdjs.free_95tryCode.GDbolaObjects2.length = 0;
gdjs.free_95tryCode.GDbolaObjects3.length = 0;
gdjs.free_95tryCode.GDico_95bolaObjects1.length = 0;
gdjs.free_95tryCode.GDico_95bolaObjects2.length = 0;
gdjs.free_95tryCode.GDico_95bolaObjects3.length = 0;
gdjs.free_95tryCode.GDqtd_95bolaObjects1.length = 0;
gdjs.free_95tryCode.GDqtd_95bolaObjects2.length = 0;
gdjs.free_95tryCode.GDqtd_95bolaObjects3.length = 0;
gdjs.free_95tryCode.GDmolaObjects1.length = 0;
gdjs.free_95tryCode.GDmolaObjects2.length = 0;
gdjs.free_95tryCode.GDmolaObjects3.length = 0;
gdjs.free_95tryCode.GDico_95molaObjects1.length = 0;
gdjs.free_95tryCode.GDico_95molaObjects2.length = 0;
gdjs.free_95tryCode.GDico_95molaObjects3.length = 0;
gdjs.free_95tryCode.GDqtd_95molaObjects1.length = 0;
gdjs.free_95tryCode.GDqtd_95molaObjects2.length = 0;
gdjs.free_95tryCode.GDqtd_95molaObjects3.length = 0;
gdjs.free_95tryCode.GDjumpballObjects1.length = 0;
gdjs.free_95tryCode.GDjumpballObjects2.length = 0;
gdjs.free_95tryCode.GDjumpballObjects3.length = 0;
gdjs.free_95tryCode.GDoutbox_95itemObjects1.length = 0;
gdjs.free_95tryCode.GDoutbox_95itemObjects2.length = 0;
gdjs.free_95tryCode.GDoutbox_95itemObjects3.length = 0;
gdjs.free_95tryCode.GDcenter_95screenObjects1.length = 0;
gdjs.free_95tryCode.GDcenter_95screenObjects2.length = 0;
gdjs.free_95tryCode.GDcenter_95screenObjects3.length = 0;
gdjs.free_95tryCode.GDsprite_95aguaObjects1.length = 0;
gdjs.free_95tryCode.GDsprite_95aguaObjects2.length = 0;
gdjs.free_95tryCode.GDsprite_95aguaObjects3.length = 0;
gdjs.free_95tryCode.GDplataforma1Objects1.length = 0;
gdjs.free_95tryCode.GDplataforma1Objects2.length = 0;
gdjs.free_95tryCode.GDplataforma1Objects3.length = 0;
gdjs.free_95tryCode.GDico_95plataforma1Objects1.length = 0;
gdjs.free_95tryCode.GDico_95plataforma1Objects2.length = 0;
gdjs.free_95tryCode.GDico_95plataforma1Objects3.length = 0;
gdjs.free_95tryCode.GDqtd_95plataforma1Objects1.length = 0;
gdjs.free_95tryCode.GDqtd_95plataforma1Objects2.length = 0;
gdjs.free_95tryCode.GDqtd_95plataforma1Objects3.length = 0;
gdjs.free_95tryCode.GDclique_95aquiObjects1.length = 0;
gdjs.free_95tryCode.GDclique_95aquiObjects2.length = 0;
gdjs.free_95tryCode.GDclique_95aquiObjects3.length = 0;
gdjs.free_95tryCode.GDcheckpointObjects1.length = 0;
gdjs.free_95tryCode.GDcheckpointObjects2.length = 0;
gdjs.free_95tryCode.GDcheckpointObjects3.length = 0;
gdjs.free_95tryCode.GDstarthereObjects1.length = 0;
gdjs.free_95tryCode.GDstarthereObjects2.length = 0;
gdjs.free_95tryCode.GDstarthereObjects3.length = 0;
gdjs.free_95tryCode.GDico_95relogioObjects1.length = 0;
gdjs.free_95tryCode.GDico_95relogioObjects2.length = 0;
gdjs.free_95tryCode.GDico_95relogioObjects3.length = 0;
gdjs.free_95tryCode.GDbarroObjects1.length = 0;
gdjs.free_95tryCode.GDbarroObjects2.length = 0;
gdjs.free_95tryCode.GDbarroObjects3.length = 0;
gdjs.free_95tryCode.GDletsgoObjects1.length = 0;
gdjs.free_95tryCode.GDletsgoObjects2.length = 0;
gdjs.free_95tryCode.GDletsgoObjects3.length = 0;
gdjs.free_95tryCode.GDtryagainObjects1.length = 0;
gdjs.free_95tryCode.GDtryagainObjects2.length = 0;
gdjs.free_95tryCode.GDtryagainObjects3.length = 0;
gdjs.free_95tryCode.GDwelldoneObjects1.length = 0;
gdjs.free_95tryCode.GDwelldoneObjects2.length = 0;
gdjs.free_95tryCode.GDwelldoneObjects3.length = 0;
gdjs.free_95tryCode.GDtimeisupObjects1.length = 0;
gdjs.free_95tryCode.GDtimeisupObjects2.length = 0;
gdjs.free_95tryCode.GDtimeisupObjects3.length = 0;
gdjs.free_95tryCode.GDmoretimeObjects1.length = 0;
gdjs.free_95tryCode.GDmoretimeObjects2.length = 0;
gdjs.free_95tryCode.GDmoretimeObjects3.length = 0;
gdjs.free_95tryCode.GDrestartObjects1.length = 0;
gdjs.free_95tryCode.GDrestartObjects2.length = 0;
gdjs.free_95tryCode.GDrestartObjects3.length = 0;
gdjs.free_95tryCode.GDendpointObjects1.length = 0;
gdjs.free_95tryCode.GDendpointObjects2.length = 0;
gdjs.free_95tryCode.GDendpointObjects3.length = 0;

gdjs.free_95tryCode.eventsList0xb4be0(runtimeScene);
return;

}
gdjs['free_95tryCode'] = gdjs.free_95tryCode;
