gdjs.Choose_32characterCode = {};
gdjs.Choose_32characterCode.localVariables = [];
gdjs.Choose_32characterCode.idToCallbackMap = new Map();
gdjs.Choose_32characterCode.GDNewSpriteObjects1= [];
gdjs.Choose_32characterCode.GDNewSpriteObjects2= [];
gdjs.Choose_32characterCode.GDNewBBTextObjects1= [];
gdjs.Choose_32characterCode.GDNewBBTextObjects2= [];
gdjs.Choose_32characterCode.GDGreenHeroObjects1= [];
gdjs.Choose_32characterCode.GDGreenHeroObjects2= [];
gdjs.Choose_32characterCode.GDRedHeroObjects1= [];
gdjs.Choose_32characterCode.GDRedHeroObjects2= [];
gdjs.Choose_32characterCode.GDDogObjects1= [];
gdjs.Choose_32characterCode.GDDogObjects2= [];
gdjs.Choose_32characterCode.GDRobotObjects1= [];
gdjs.Choose_32characterCode.GDRobotObjects2= [];
gdjs.Choose_32characterCode.GDCuteGirlObjects1= [];
gdjs.Choose_32characterCode.GDCuteGirlObjects2= [];
gdjs.Choose_32characterCode.GDCharacterPinkObjects1= [];
gdjs.Choose_32characterCode.GDCharacterPinkObjects2= [];
gdjs.Choose_32characterCode.GDRedHatBoyObjects1= [];
gdjs.Choose_32characterCode.GDRedHatBoyObjects2= [];
gdjs.Choose_32characterCode.GDFlatBoyObjects1= [];
gdjs.Choose_32characterCode.GDFlatBoyObjects2= [];


gdjs.Choose_32characterCode.eventsList0 = function(runtimeScene) {

{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
if (isConditionTrue_0) {
gdjs.copyArray(runtimeScene.getObjects("NewSprite"), gdjs.Choose_32characterCode.GDNewSpriteObjects1);
{gdjs.evtTools.camera.setCameraZoom(runtimeScene, 1.2, "", 0);
}
{gdjs.evtTools.camera.centerCamera(runtimeScene, (gdjs.Choose_32characterCode.GDNewSpriteObjects1.length !== 0 ? gdjs.Choose_32characterCode.GDNewSpriteObjects1[0] : null), true, "", 0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("GreenHero"), gdjs.Choose_32characterCode.GDGreenHeroObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDGreenHeroObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDGreenHeroObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDGreenHeroObjects1[k] = gdjs.Choose_32characterCode.GDGreenHeroObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDGreenHeroObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Dog"), gdjs.Choose_32characterCode.GDDogObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDDogObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDDogObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDDogObjects1[k] = gdjs.Choose_32characterCode.GDDogObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDDogObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene1");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("RedHero"), gdjs.Choose_32characterCode.GDRedHeroObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDRedHeroObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDRedHeroObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDRedHeroObjects1[k] = gdjs.Choose_32characterCode.GDRedHeroObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDRedHeroObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene2");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("Robot"), gdjs.Choose_32characterCode.GDRobotObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDRobotObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDRobotObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDRobotObjects1[k] = gdjs.Choose_32characterCode.GDRobotObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDRobotObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene3");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("CuteGirl"), gdjs.Choose_32characterCode.GDCuteGirlObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDCuteGirlObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDCuteGirlObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDCuteGirlObjects1[k] = gdjs.Choose_32characterCode.GDCuteGirlObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDCuteGirlObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene4");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("CharacterPink"), gdjs.Choose_32characterCode.GDCharacterPinkObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDCharacterPinkObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDCharacterPinkObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDCharacterPinkObjects1[k] = gdjs.Choose_32characterCode.GDCharacterPinkObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDCharacterPinkObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene5");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("RedHatBoy"), gdjs.Choose_32characterCode.GDRedHatBoyObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDRedHatBoyObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDRedHatBoyObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDRedHatBoyObjects1[k] = gdjs.Choose_32characterCode.GDRedHatBoyObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDRedHatBoyObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene6");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{

gdjs.copyArray(runtimeScene.getObjects("FlatBoy"), gdjs.Choose_32characterCode.GDFlatBoyObjects1);

let isConditionTrue_0 = false;
isConditionTrue_0 = false;
for (var i = 0, k = 0, l = gdjs.Choose_32characterCode.GDFlatBoyObjects1.length;i<l;++i) {
    if ( gdjs.Choose_32characterCode.GDFlatBoyObjects1[i].getBehavior("ButtonFSM").IsClicked(null) ) {
        isConditionTrue_0 = true;
        gdjs.Choose_32characterCode.GDFlatBoyObjects1[k] = gdjs.Choose_32characterCode.GDFlatBoyObjects1[i];
        ++k;
    }
}
gdjs.Choose_32characterCode.GDFlatBoyObjects1.length = k;
if (isConditionTrue_0) {
{gdjs.evtTools.runtimeScene.pushScene(runtimeScene, "Untitled scene7");
}
{runtimeScene.getGame().getVariables().getFromIndex(0).setNumber(0);
}
elseEventsChainSatisfied = true;
}

}


{



}


{


let isConditionTrue_0 = false;
isConditionTrue_0 = false;
isConditionTrue_0 = gdjs.evtTools.runtimeScene.sceneJustBegins(runtimeScene);
if (isConditionTrue_0) {
{gdjs.adMob.showRewardedVideo();
}
elseEventsChainSatisfied = true;
}

}


{


let isConditionTrue_0 = false;
{
{gdjs.adMob.loadInterstitial("ca-app-pub-4780277561120418/8165051542ca-app-pub-4780277561120418/8165051542", "", true);
}
elseEventsChainSatisfied = true;
}

}


};

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

gdjs.Choose_32characterCode.GDNewSpriteObjects1.length = 0;
gdjs.Choose_32characterCode.GDNewSpriteObjects2.length = 0;
gdjs.Choose_32characterCode.GDNewBBTextObjects1.length = 0;
gdjs.Choose_32characterCode.GDNewBBTextObjects2.length = 0;
gdjs.Choose_32characterCode.GDGreenHeroObjects1.length = 0;
gdjs.Choose_32characterCode.GDGreenHeroObjects2.length = 0;
gdjs.Choose_32characterCode.GDRedHeroObjects1.length = 0;
gdjs.Choose_32characterCode.GDRedHeroObjects2.length = 0;
gdjs.Choose_32characterCode.GDDogObjects1.length = 0;
gdjs.Choose_32characterCode.GDDogObjects2.length = 0;
gdjs.Choose_32characterCode.GDRobotObjects1.length = 0;
gdjs.Choose_32characterCode.GDRobotObjects2.length = 0;
gdjs.Choose_32characterCode.GDCuteGirlObjects1.length = 0;
gdjs.Choose_32characterCode.GDCuteGirlObjects2.length = 0;
gdjs.Choose_32characterCode.GDCharacterPinkObjects1.length = 0;
gdjs.Choose_32characterCode.GDCharacterPinkObjects2.length = 0;
gdjs.Choose_32characterCode.GDRedHatBoyObjects1.length = 0;
gdjs.Choose_32characterCode.GDRedHatBoyObjects2.length = 0;
gdjs.Choose_32characterCode.GDFlatBoyObjects1.length = 0;
gdjs.Choose_32characterCode.GDFlatBoyObjects2.length = 0;

gdjs.Choose_32characterCode.eventsList0(runtimeScene);
gdjs.Choose_32characterCode.GDNewSpriteObjects1.length = 0;
gdjs.Choose_32characterCode.GDNewSpriteObjects2.length = 0;
gdjs.Choose_32characterCode.GDNewBBTextObjects1.length = 0;
gdjs.Choose_32characterCode.GDNewBBTextObjects2.length = 0;
gdjs.Choose_32characterCode.GDGreenHeroObjects1.length = 0;
gdjs.Choose_32characterCode.GDGreenHeroObjects2.length = 0;
gdjs.Choose_32characterCode.GDRedHeroObjects1.length = 0;
gdjs.Choose_32characterCode.GDRedHeroObjects2.length = 0;
gdjs.Choose_32characterCode.GDDogObjects1.length = 0;
gdjs.Choose_32characterCode.GDDogObjects2.length = 0;
gdjs.Choose_32characterCode.GDRobotObjects1.length = 0;
gdjs.Choose_32characterCode.GDRobotObjects2.length = 0;
gdjs.Choose_32characterCode.GDCuteGirlObjects1.length = 0;
gdjs.Choose_32characterCode.GDCuteGirlObjects2.length = 0;
gdjs.Choose_32characterCode.GDCharacterPinkObjects1.length = 0;
gdjs.Choose_32characterCode.GDCharacterPinkObjects2.length = 0;
gdjs.Choose_32characterCode.GDRedHatBoyObjects1.length = 0;
gdjs.Choose_32characterCode.GDRedHatBoyObjects2.length = 0;
gdjs.Choose_32characterCode.GDFlatBoyObjects1.length = 0;
gdjs.Choose_32characterCode.GDFlatBoyObjects2.length = 0;


return;

}

gdjs['Choose_32characterCode'] = gdjs.Choose_32characterCode;
